Skip to content

jokerart06/iOS-Mod-Menu-Template-for-Theos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iOS Mod Menu Template for Theos!

Sample UI of the Menu:

Features:

  • Customizable UI

  • Customizable menu & button image icon

  • 4 types of switches:

    • Offset Patcher Switch
    • Empty Switch
    • Textfield Switch
    • Slider Switch
  • Backend Offset Patcher Switch is based on KittyMemory

    • Original bytes are not required
    • Supports MSHookMemory
  • Open Source Menu


Usage:

Download the .tar file & place it inside '/var/theos/templates/ios' & then run nic.pl to create a project
If you want to customize the template, download the github project & copy the "project" folder on your phone.
Make the changes you want, cd into your project & run this command: '/var/theos/bin/nicify.pl ./'.
This will create a new .tar file inside the folder, place this in '/var/theos/templates/ios'.

Patching a offset without switch:

  patchOffset(0x1002DB3C8, 0xC0035FD6);
  patchOffset(0x10020D2D3, 0x00008052C0035FD6);

Offset Patcher Switch:
Note : "Bytes" allow up to two arm instructions per offset, not more.

  [switches addOffsetSwitch:@"One Hit Kill"
              description:@"Enemy will die instantly!"
                offsets:{0x1001BB2C0, 0x1002CB3B0}
                  bytes:{0x00E0BF12C0035FD6, 0xC0035FD6}];

Empty Switch:

  [switches addSwitch:@"Anti Ban"
              description:@"You can't get banned, keep this enabled!"];

Textfield Switch:

  [switches addTextfieldSwitch:@"Custom Gold: "
              description:@"Here you can enter your own gold amount!"
                inputBorderColor:[UIColor colorWithRed:0.74 green:0.00 blue:0.00 alpha:1.0]];

Slider Switch:

  [switches addSliderSwitch:@"Custom Move Speed: "
              description:@"Set your custom move speed!"
                minimumValue:0
                  maximumValue:10
                    sliderColor:[UIColor colorWithRed:0.74 green:0.00 blue:0.00 alpha:1.0]];  

Checking if a switch is on:

bool isOn = [switches isSwitchOn:@"Switch Name Goes Here"];
    
if(isOn) {
	//Do stuff
}
    
//Or check directly:
if([switches isSwitchOn:@"Switch Name Goes Here"]) {
    // Do stuff
}

Getting textfield or slider value:

int userValue = [[switches getValueFromSwitch:@"Switch Name Goes Here"] intValue];
float userValue2 = [[switches getValueFromSwitch:@"Switch Name Goes Here"] floatValue];

The sample.xm in the project shows an example project.

To Do:

  • Re-design the textfield UI, I'm not a fan of it.
  • Offset Tester Switch
  • You tell me!

Contact:

If you have any questions, suggestions, bugs or anything else:
Discord: Joey #0309