Skip to content

ontrey228/iOS-mod-menu-template

Repository files navigation

iOS template mod menu for theos!

Screenshot from the menu:

Features:

  • Categories in the menu
  • User menu color customization
  • 5 button types:
    • Empty Button
    • Offset Button
    • Slider Button
    • Textfield Button
    • Index button
  • Checking the user's game version

Menu setup:

Setting a framework as executable

const char *framework = "frameworkName";

Using the menu:

Create a menu category:

[menu category:@"Category Name" textColor:[UIColor purpleColor] font:[UIFont fontWithName:@"ChalkboardSE-Bold" size:12] borderWidth:1 borderRadius:5 borderColor:[UIColor colorWithRed:1.00 green:0.01 blue:0.01 alpha:0.90]];

Patching a offset without button:

[patch offset:@"0x1A64BB0" value:RET];
// or
[patch offset:@"0x1A64BB0" byte:@"0xC0035FD6"];

Empty Button:

[button buttonHeight:30 name:@"Developer Mode" textColor:[UIColor colorWithRed:1.00 green:0.01 blue:0.01 alpha:0.90] font:[UIFont fontWithName:@"ChalkboardSE-Bold" size:14]];

Offset Button:

[button buttonHeight:30 name:@"Drop Knife" textColor:[UIColor colorWithRed:1.00 green:0.01 blue:0.01 alpha:0.90] font:[UIFont fontWithName:@"ChalkboardSE-Bold" size:14] offsets:@[@"0xA9BEA8", @"0xA9BEA0"] bytes:@[@"0x20008052C0035FD6", @"BOOLtrue"]];

Slider Button:

[slider sliderSize:40 name:@"Flight Altitude" slideMin:0 slideMax:25 slideMinColor:[UIColor colorWithRed:1.00 green:0.01 blue:0.01 alpha:0.90] slideMaxColor:[UIColor whiteColor] textColor:[UIColor colorWithRed:1.00 green:0.01 blue:0.01 alpha:0.90] font:[UIFont fontWithName:@"ChalkboardSE-Bold" size:14]];

Textfield Button:

[textfield textfieldSize:35 name:@"Custom Ammo Quantity" borderWidth:1 borderColor:[UIColor colorWithRed:1.00 green:0.01 blue:0.01 alpha:0.90] textColor:[UIColor colorWithRed:1.00 green:0.01 blue:0.01 alpha:0.90] font:[UIFont fontWithName:@"ChalkboardSE-Bold" size:14]];

Index Button:

[indexs indexSize:35 name:@"Set Knife" indexText:@[@"Butterfly", @"Flip Knife", @"Kunai", @"Scorpino", @"Tanto", @"Daggers"] indexValues:@[@"75", @"77", @"78", @"79", @"80", @"81"] textColor:[UIColor colorWithRed:1.00 green:0.01 blue:0.01 alpha:0.90] font:[UIFont fontWithName:@"ChalkboardSE-Bold" size:14]];

Checking if a botton on:

if([button buttonOn:@"Button Name"]) {
   //work
}
// or
bool check = [button buttonOn:@"Button Name"];
if(ckeck) {
   //work
}

Getting slider button value:

float sliderval = [slider valueFromSlider:@"slider name"];

Getting textfield button value:

int textval = [[textfield valueFromTextfield:@"textfield name"]intValue];

Getting index button value:

float indexval = [[indexs valueFromIndex:@"index name"]floatValue];
// or
bool check = [indexs expected:@"expected value" fromIndexValue:@"index name"];

Credits:

About

ios mod menu template for theos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published