Jump to content

jux3z

Member
  • Posts

    16
  • Joined

  • Last visited

Posts posted by jux3z

  1. 10 hours ago, Ted2 said:

    The function you're hooking, are you actually returning something?

    No, it's just Update function 
     

    private void Update(); // 0x101A25EA4


    So, code:
     

    void (*Player_Update)(void *player);
    
    void _Player_Update(void *player) {
    
        NSLog(@"Player UPDATE!"); // Just for test
    
        Player_Update(player);
    
    }
    
    %hook UnityAppController
    
    - (void)applicationDidBecomeActive:(id)arg1
    
    {
    	NSLog(@"did become active"); // It works
        MSHookFunction((void *)(getRealOffset(0x101A25EA4)), (void *)_Player_Update, (void **)&Player_Update);
    
        %orig;
    }
    
    %end


    P.S.: I tried to hook not only the Update function, but also many others. No effect

  2. Hello everyone!

    I'm trying to hack a game with Logos (MonkeyDev project).
    So I have dump.cs with function offsets.
    But when I try to

    MSHookFunction((void *)getRealOffset(0xoffset), (void *)_replaceFunc, (void **)&origFunc) 

    nothing happens (NSLog in _replaceFunc doesn't print something)
    Offset is real, because writeData(0xoffset, data) works correctly.

    iOS: 11.3.1
    MonkeyDev Xcode project
    substrate.h

    Any ideas? ?

×
  • 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