Jump to content

iOS Modmenu Template for Theos!


114 posts in this topic

Recommended Posts

Posted
On 4/4/2021 at 12:05 PM, KillerAE said:

@Red16 Hey, the addPatch switch never shows up on the menu. Plain switch does show, but addPatch switch does not.

Your still having that issue?

Posted
9 hours ago, Red16 said:

Your still having that issue?

No thank you it was my fault I was adding code in the commented area! 
Also, is it possible to include the library in the NIC instead of having to install both debs to make it work? 

Posted (edited)

Good. But I think u need to add alert. For example, before  menu initialled. Via this users can give own credits a think about make cheat safety like a window with personality key activation 

 

Updated by robinbobin22
Posted (edited)

This is a great tool, but I have encountered some problems while using it. Can you help me?

I specified a custom Framework, but the hook did not work.

r16Menu.frameworkNamed = @"UnityFramework";

The address `0x1E15468` is directly obtained from IDA after decompiling the UnityFramework file.

int (*old_get_Gem)();
int new_get_Gem() {
    NSLog(@"hook---------new_get_Gem");
    return 102;
}

hook code

[r16Hook hook:@"0x1E15468" with:(void *)new_get_Gem original:(void **)&old_get_Gem];

I checked the dylib loading order through LLDB and found that my own `UnityTest.dylib` was loaded before `UnityFramework`.

[364] 0x0000000102da4000 /Library/MobileSubstrate/DynamicLibraries/UnityTest.dylib(0x0000000102da4000)
...
[369] 0x0000000109000000 /private/var/containers/Bundle/Application/D4AE8F9F-1403-4B4C-A533-9B8C5677D9C1/cookingadventure.app/Frameworks/UnityFramework.framework/UnityFramework(0x0000000109000000)

I don't know what I should do to load my own dylib after `UnityFramework`, nor how to get the offset address of UnityFramework in Tweak.

Updated by 6ag
I have solved it, there is a problem with my address
Guest
This topic is now closed to further replies.
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines