Jump to content

14 posts in this topic

Recommended Posts

Posted (edited)

I am trying to make a deb (patcher) for a particular game. I used DiDA/SUPERGIU template to get my project set up. I first had errors making the DEB because the offsets I inputted for the Keys were "too long", so I broke them up to not exceed 4 bytes. I still tried to group the under 1 key so that it won't require multiple switches to turn on one cheat. Now it makes the deb without any problems. I then proceeded to install the package, and configuring my cheats in the settings, but when I launch the game, it would crash.

 

I figured I messed up by trying to fit multiple offsets under 1 key, so I removed the keys and strings that had more than one offset assigned to it. I remade the package and installed, configured my cheats in the settings, then launched the game. It no longer crashes, but the cheats don't seem to take effect either.

 

Could it be something with the Tweak.xm?

 

Well this what I originally tried to make:

 

 

#import <Foundation/Foundation.h>
#import "writeData.h"

BOOL Key1;
%ctor
{
Key1 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key1"]boolValue];
if(Key1)
{
writeData(0x3E14E0, 0x00207047);
}
else
{
writeData(0x3E14E0, 0x90B50446);
}

}

BOOL Key2;
%ctor
{
Key2 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key2"]boolValue];
if(Key2)
{
writeData(0x3D01E0, 0x64207047);
}
else
{
writeData(0x3D01E0, 0xC16D90F9);
}

}

BOOL Key3;
%ctor
{
Key3 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key3"]boolValue];
if(Key3)
{
writeData(0x5CB85C, 0xFF207047);
}
else
{
writeData(0x5CB85C, 0x806F7047);
}

}

BOOL Key4;
%ctor
{
Key4 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key4"]boolValue];
if(Key4)
{
writeData(0x36B8F0, 0xFF20FF23);
writeData(0x36B8F4, 0x58437047);
}
else
{
writeData(0x36B8F0, 0xD0E90801);
writeData(0x36B8F4, 0x401A7047);
}

}

BOOL Key5;
%ctor
{
Key5 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key5"]boolValue];
if(Key5)
{
writeData(0x36BB18, 0xFF20FF23);
writeData(0x36BB1C, 0x58437047);
}
else
{
writeData(0x36BB18, 0xC169406A);
writeData(0x36BB1C, 0x081A7047);
}

}

BOOL Key6;
%ctor
{
Key6 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key6"]boolValue];
if(Key6)
{
writeData(0xB99820, 0x64207047);
}
else
{
writeData(0xB99820, 0xC16C90F9);
}

}

BOOL Key7;
%ctor
{
Key7 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key7"]boolValue];
if(Key7)
{
writeData(0x368842, 0x6320);
}
else
{
writeData(0x368842, 0x2046);
}

}

BOOL Key8;
%ctor
{
Key8 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key8"]boolValue];
if(Key8)
{
writeData(0xB99CAC, 0x01200000);
writeData(0xB99CBC, 0xFF200000);
}
else
{
writeData(0xB99CAC, 0xD0F84C01);
writeData(0xB99CBC, 0xD0F85001);
}

}

BOOL Key9;
%ctor
{
Key9 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key9"]boolValue];
if(Key9)
{
writeData(0x7F0659, 0xE0);
writeData(0x7F84B2, 0x0000);
}
else
{
writeData(0x7F0659, 0xD0);
writeData(0x7F84B2, 0x0FD1);
}

}

BOOL Key10;
%ctor
{
Key10 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key10"]boolValue];
if(Key10)
{
writeData(0x84ED12, 0x52);
}
else
{
writeData(0x84ED12, 0x34);
}

}

BOOL Key11;
%ctor
{
Key11 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key11"]boolValue];
if(Key11)
{
writeData(0x24F82E, 0xF6);
}
else
{
writeData(0x24F82E, 0xD8);
}

}

BOOL Key12;
%ctor
{
Key12 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key12"]boolValue];
if(Key12)
{
writeData(0xCEE64, 0x01207047);
writeData(0xCEEA8, 0x00207047);
}
else
{
writeData(0xCEE64, 0xD0F89010);
writeData(0xCEEA8, 0xD0F89C10);
}

}

BOOL Key13;
%ctor
{
Key13 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key13"]boolValue];
if(Key13)
{
writeData(0x3DC508, 0x00);
}
else
{
writeData(0x3DC508, 0x01);
}

}

BOOL Key14;
%ctor
{
Key14 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key14"]boolValue];
if(Key14)
{
writeData(0x7A5F7C, 0x01207047);
writeData(0x7A602C, 0x01207047);
writeData(0x7A60D0, 0x01207047);
writeData(0x7A6174, 0x01207047);
}
else
{
writeData(0x7A5F7C, 0xF0B503AF);
writeData(0x7A602C, 0xF0B503AF);
writeData(0x7A60D0, 0xF0B503AF);
writeData(0x7A6174, 0xF0B503AF);
}

}

BOOL Key15;
%ctor
{
Key15 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key15"]boolValue];
if(Key15)
{
writeData(0x47F002, 0x012090BD);
}
else
{
writeData(0x47F002, 0x044601AF);
}

}

BOOL Key16;
%ctor
{
Key16 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key16"]boolValue];
if(Key16)
{
writeData(0x3DBA08, 0x01207047);
}
else
{
writeData(0x3DBA08, 0xD0F74EBE);
}

}

BOOL Key17;
%ctor
{
Key17 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key17"]boolValue];
if(Key17)
{
writeData(0x2EDB1C, 0x01);
}
else
{
writeData(0x2EDB1C, 0x00);
}

}

BOOL Key18;
%ctor
{
Key18 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key18"]boolValue];
if(Key18)
{
writeData(0x3699C8, 0x00000000);
writeData(0x3699CC, 0x00000000);
writeData(0x3699D0, 0x0000);
writeData(0x37E1B4, 0x01493FF0);
writeData(0x37E1B8, 0x05FF2DE0);
writeData(0x37E1BC, 0xCD280000);
writeData(0x37E6A4, 0x01207047);
writeData(0x37EA7C, 0x01207047);
writeData(0x369B25, 0xE0);
writeData(0x369B4C, 0x0000);
}
else
{
writeData(0x3699C8, 0xD0E90501);
writeData(0x3699CC, 0x814200F0);
writeData(0x3699D0, 0xBE80);
writeData(0x37E1B4, 0x01AE0C46);
writeData(0x37E1B8, 0x04F11401);
writeData(0x37E1BC, 0x05463046);
writeData(0x37E6A4, 0xF0B503AF);
writeData(0x37EA7C, 0xF0B503AF);
writeData(0x369B25, 0xD2);
writeData(0x369B4C, 0x86D3);
}

}

BOOL Key19;
%ctor
{
Key19 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key19"]boolValue];
if(Key19)
{
writeData(0x63969A, 0x00000000);
writeData(0x6D11A6, 0xC6F0F9F3);
writeData(0x6D11AA, 0x07A9C8F0);
writeData(0x6D11AE, 0xB6F21CE0);
}
else
{
writeData(0x63969A, 0x60F13FF0);
writeData(0x6D11A6, 0x029807A9);
writeData(0x6D11AA, 0x07F77DFA);
writeData(0x6D11AE, 0x0799059D);
}

}

BOOL Key20;
%ctor
{
Key20 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key20"]boolValue];
if(Key20)
{
writeData(0xB9996C, 0x0220FA23);
writeData(0xB99970, 0x58437047);
}
else
{
writeData(0xB9996C, 0xD0F8D410);
writeData(0xB99970, 0x90F9D800);
}

}

 

 

 

This is after I removed the complicated keys:

 

 

#import <Foundation/Foundation.h>
#import "writeData.h"

BOOL Key1;
%ctor
{
Key1 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key1"]boolValue];
if(Key1)
{
writeData(0x3E14E0, 0x00207047);
}
else
{
writeData(0x3E14E0, 0x90B50446);
}

}

BOOL Key2;
%ctor
{
Key2 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key2"]boolValue];
if(Key2)
{
writeData(0x3D01E0, 0x64207047);
}
else
{
writeData(0x3D01E0, 0xC16D90F9);
}

}

BOOL Key3;
%ctor
{
Key3 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key3"]boolValue];
if(Key3)
{
writeData(0x5CB85C, 0xFF207047);
}
else
{
writeData(0x5CB85C, 0x806F7047);
}

}

BOOL Key6;
%ctor
{
Key6 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key6"]boolValue];
if(Key6)
{
writeData(0xB99820, 0x64207047);
}
else
{
writeData(0xB99820, 0xC16C90F9);
}

}

BOOL Key7;
%ctor
{
Key7 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key7"]boolValue];
if(Key7)
{
writeData(0x368842, 0x6320);
}
else
{
writeData(0x368842, 0x2046);
}

}

BOOL Key10;
%ctor
{
Key10 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key10"]boolValue];
if(Key10)
{
writeData(0x84ED12, 0x52);
}
else
{
writeData(0x84ED12, 0x34);
}

}

BOOL Key11;
%ctor
{
Key11 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key11"]boolValue];
if(Key11)
{
writeData(0x24F82E, 0xF6);
}
else
{
writeData(0x24F82E, 0xD8);
}

}

BOOL Key13;
%ctor
{
Key13 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key13"]boolValue];
if(Key13)
{
writeData(0x3DC508, 0x00);
}
else
{
writeData(0x3DC508, 0x01);
}

}

BOOL Key15;
%ctor
{
Key15 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key15"]boolValue];
if(Key15)
{
writeData(0x47F002, 0x012090BD);
}
else
{
writeData(0x47F002, 0x044601AF);
}

}

BOOL Key16;
%ctor
{
Key16 = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"]valueForKey:@"Key16"]boolValue];
if(Key16)
{
writeData(0x3DBA08, 0x01207047);
}
else
{
writeData(0x3DBA08, 0xD0F74EBE);
}

}

 

 

 

 

Where am I screwing up? :( If you can help me figure out how I can make it work, it'll be my first deb package ever :happycry:

Updated by Javi Tech
Posted (edited)

Oh my goodness....

why do iOSGods members always do everything the hard way!?!

 

 

For the keys use this:

#define PLIST_PATH @"/var/mobile/Library/Preferences/YOUR_PLIST_NAME.plist"
 
inline bool GetPrefBool(NSString *key) 
{
    return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}

then call is by

GetPrefBool(@"kSomeKey")
 

You also only need one

%ctor

Example:

%ctor{
    if(GetPrefBool(@"kSomeKey")){
      writeData(0xBlah, 0xBlah);
    }else{
      writeData(0xBlah, 0xBlah);
    }
    if(GetPrefBool(@"kOtherKey")){
      writeData(0xBlah, 0xBlah);
    }else{
      writeData(0xBlah, 0xBlah);
    }
}
Updated by Gh0stByte
Posted (edited)

@@Gh0stByte
Oh my goodness....
why do iOSGods coders always do everything the inefficient way!?!
 
For the keys use this:
 

#define PLIST_PATH @"/var/mobile/Library/Preferences/YOUR_PLIST_NAME.plist"
 
NSDictionary *dict;

inline BOOL GetPrefBool(NSString *key) 
{
    return [dict[key] boolValue];
}

 
then call is by
 

GetPrefBool(@"kSomeKey");

 
You also only need one 

%ctor

 
Example:


%ctor{
    
    dict = [NSDictionary dictionaryWithContentsOfFile:PLIST_PATH];
    
    if(GetPrefBool(@"kSomeKey"))
    {
      writeData(0xBlah, 0xBlah);
    }else
    {
      writeData(0xBlah, 0xBlah);
    }

    if(GetPrefBool(@"kOtherKey"))
    {
      writeData(0xBlah, 0xBlah);
    }
}
Updated by RickHaks
Posted (edited)

So it becomes like this:

 

 

 

#import <Foundation/Foundation.h>
#import "writeData.h"

%ctor{
dict = [NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"];
if(GetPrefBool(@"Key1"))
{
writeData(0x3E14E0, 0x00207047);
}else
{
writeData(0x3E14E0, 0x90B50446);
}

if(GetPrefBool(@"Key2"))
{
writeData(0x3D01E0, 0x64207047);
}else
{
writeData(0x3D01E0, 0xC16D90F9);
}

if(GetPrefBool(@"Key3"))
{
writeData(0x5CB85C, 0xFF207047);
}else
{
writeData(0x5CB85C, 0x806F7047);
}

if(GetPrefBool(@"Key4"))
{
writeData(0x36B8F0, 0xFF20FF23);
writeData(0x36B8F4, 0x58437047);
}else
{
writeData(0x36B8F0, 0xD0E90801);
writeData(0x36B8F4, 0x401A7047);
}

if(GetPrefBool(@"Key5"))
{
writeData(0x36BB18, 0xFF20FF23);
writeData(0x36BB1C, 0x58437047);
}else
{
writeData(0x36BB18, 0xC169406A);
writeData(0x36BB1C, 0x081A7047);
}

if(GetPrefBool(@"Key6"))
{
writeData(0xB99820, 0x64207047);
}else
{
writeData(0xB99820, 0xC16C90F9);
}

if(GetPrefBool(@"Key7"))
{
writeData(0x368842, 0x6320);
}else
{
writeData(0x368842, 0x2046);
}

if(GetPrefBool(@"Key8"))
{
writeData(0xB99CAC, 0x01200000);
writeData(0xB99CBC, 0xFF200000);
}else
{
writeData(0xB99CAC, 0xD0F84C01);
writeData(0xB99CBC, 0xD0F85001);
}

if(GetPrefBool(@"Key9"))
{
writeData(0x7F0659, 0xE0);
writeData(0x7F84B2, 0x0000);
}else
{
writeData(0x7F0659, 0xD0);
writeData(0x7F84B2, 0x0FD1);
}

if(GetPrefBool(@"Key10"))
{
writeData(0x84ED12, 0x52);
}else
{
writeData(0x84ED12, 0x34);
}

if(GetPrefBool(@"Key11"))
{
writeData(0x24F82E, 0xF6);
}else
{
writeData(0x24F82E, 0xD8);
}

if(GetPrefBool(@"Key12"))
{
writeData(0xCEE64, 0x01207047);
writeData(0xCEEA8, 0x00207047);
}else
{
writeData(0xCEE64, 0xD0F89010);
writeData(0xCEEA8, 0xD0F89C10);
}

if(GetPrefBool(@"Key13"))
{
writeData(0x3DC508, 0x00);
}else
{
writeData(0x3DC508, 0x01);
}

if(GetPrefBool(@"Key14"))
{
writeData(0x7A5F7C, 0x01207047);
writeData(0x7A602C, 0x01207047);
writeData(0x7A60D0, 0x01207047);
writeData(0x7A6174, 0x01207047);
}else
{
writeData(0x7A5F7C, 0xF0B503AF);
writeData(0x7A602C, 0xF0B503AF);
writeData(0x7A60D0, 0xF0B503AF);
writeData(0x7A6174, 0xF0B503AF);
}

if(GetPrefBool(@"Key15"))
{
writeData(0x47F002, 0x012090BD);
}else
{
writeData(0x47F002, 0x044601AF);
}

if(GetPrefBool(@"Key16"))
{
writeData(0x3DBA08, 0x01207047);
}else
{
writeData(0x3DBA08, 0xD0F74EBE);
}

if(GetPrefBool(@"Key17"))
{
writeData(0x2EDB1C, 0x01);
}else
{
writeData(0x2EDB1C, 0x00);
}

if(GetPrefBool(@"Key18"))
{
writeData(0x3699C8, 0x00000000);
writeData(0x3699CC, 0x00000000);
writeData(0x3699D0, 0x0000);
writeData(0x37E1B4, 0x01493FF0);
writeData(0x37E1B8, 0x05FF2DE0);
writeData(0x37E1BC, 0xCD280000);
writeData(0x37E6A4, 0x01207047);
writeData(0x37EA7C, 0x01207047);
writeData(0x369B25, 0xE0);
writeData(0x369B4C, 0x0000);
}else
{
writeData(0x3699C8, 0xD0E90501);
writeData(0x3699CC, 0x814200F0);
writeData(0x3699D0, 0xBE80);
writeData(0x37E1B4, 0x01AE0C46);
writeData(0x37E1B8, 0x04F11401);
writeData(0x37E1BC, 0x05463046);
writeData(0x37E6A4, 0xF0B503AF);
writeData(0x37EA7C, 0xF0B503AF);
writeData(0x369B25, 0xD2);
writeData(0x369B4C, 0x86D3);
}

if(GetPrefBool(@"Key19"))
{
writeData(0x63969A, 0x00000000);
writeData(0x6D11A6, 0xC6F0F9F3);
writeData(0x6D11AA, 0x07A9C8F0);
writeData(0x6D11AE, 0xB6F21CE0);
}else
{
writeData(0x63969A, 0x60F13FF0);
writeData(0x6D11A6, 0x029807A9);
writeData(0x6D11AA, 0x07F77DFA);
writeData(0x6D11AE, 0x0799059D);
}

if(GetPrefBool(@"Key20"))
{
writeData(0xB9996C, 0x0220FA23);
writeData(0xB99970, 0x58437047);
}else
{
writeData(0xB9996C, 0xD0F8D410);
writeData(0xB99970, 0x90F9D800);
}

}

 

 

 

Going to try it... B)

Updated by Javi Tech
Posted (edited)

So it becomes like this:

 

 

 

#import <Foundation/Foundation.h>
#import "writeData.h"

%ctor{
dict = [NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.javitech.bravefrontiercheats1.2.2-4.plist"];
if(GetPrefBool(@"Key1"))
{
writeData(0x3E14E0, 0x00207047);
}else
{
writeData(0x3E14E0, 0x90B50446);
}

if(GetPrefBool(@"Key2"))
{
writeData(0x3D01E0, 0x64207047);
}else
{
writeData(0x3D01E0, 0xC16D90F9);
}

if(GetPrefBool(@"Key3"))
{
writeData(0x5CB85C, 0xFF207047);
}else
{
writeData(0x5CB85C, 0x806F7047);
}

if(GetPrefBool(@"Key4"))
{
writeData(0x36B8F0, 0xFF20FF23);
writeData(0x36B8F4, 0x58437047);
}else
{
writeData(0x36B8F0, 0xD0E90801);
writeData(0x36B8F4, 0x401A7047);
}

if(GetPrefBool(@"Key5"))
{
writeData(0x36BB18, 0xFF20FF23);
writeData(0x36BB1C, 0x58437047);
}else
{
writeData(0x36BB18, 0xC169406A);
writeData(0x36BB1C, 0x081A7047);
}

if(GetPrefBool(@"Key6"))
{
writeData(0xB99820, 0x64207047);
}else
{
writeData(0xB99820, 0xC16C90F9);
}

if(GetPrefBool(@"Key7"))
{
writeData(0x368842, 0x6320);
}else
{
writeData(0x368842, 0x2046);
}

if(GetPrefBool(@"Key8"))
{
writeData(0xB99CAC, 0x01200000);
writeData(0xB99CBC, 0xFF200000);
}else
{
writeData(0xB99CAC, 0xD0F84C01);
writeData(0xB99CBC, 0xD0F85001);
}

if(GetPrefBool(@"Key9"))
{
writeData(0x7F0659, 0xE0);
writeData(0x7F84B2, 0x0000);
}else
{
writeData(0x7F0659, 0xD0);
writeData(0x7F84B2, 0x0FD1);
}

if(GetPrefBool(@"Key10"))
{
writeData(0x84ED12, 0x52);
}else
{
writeData(0x84ED12, 0x34);
}

if(GetPrefBool(@"Key11"))
{
writeData(0x24F82E, 0xF6);
}else
{
writeData(0x24F82E, 0xD8);
}

if(GetPrefBool(@"Key12"))
{
writeData(0xCEE64, 0x01207047);
writeData(0xCEEA8, 0x00207047);
}else
{
writeData(0xCEE64, 0xD0F89010);
writeData(0xCEEA8, 0xD0F89C10);
}

if(GetPrefBool(@"Key13"))
{
writeData(0x3DC508, 0x00);
}else
{
writeData(0x3DC508, 0x01);
}

if(GetPrefBool(@"Key14"))
{
writeData(0x7A5F7C, 0x01207047);
writeData(0x7A602C, 0x01207047);
writeData(0x7A60D0, 0x01207047);
writeData(0x7A6174, 0x01207047);
}else
{
writeData(0x7A5F7C, 0xF0B503AF);
writeData(0x7A602C, 0xF0B503AF);
writeData(0x7A60D0, 0xF0B503AF);
writeData(0x7A6174, 0xF0B503AF);
}

if(GetPrefBool(@"Key15"))
{
writeData(0x47F002, 0x012090BD);
}else
{
writeData(0x47F002, 0x044601AF);
}

if(GetPrefBool(@"Key16"))
{
writeData(0x3DBA08, 0x01207047);
}else
{
writeData(0x3DBA08, 0xD0F74EBE);
}

if(GetPrefBool(@"Key17"))
{
writeData(0x2EDB1C, 0x01);
}else
{
writeData(0x2EDB1C, 0x00);
}

if(GetPrefBool(@"Key18"))
{
writeData(0x3699C8, 0x00000000);
writeData(0x3699CC, 0x00000000);
writeData(0x3699D0, 0x0000);
writeData(0x37E1B4, 0x01493FF0);
writeData(0x37E1B8, 0x05FF2DE0);
writeData(0x37E1BC, 0xCD280000);
writeData(0x37E6A4, 0x01207047);
writeData(0x37EA7C, 0x01207047);
writeData(0x369B25, 0xE0);
writeData(0x369B4C, 0x0000);
}else
{
writeData(0x3699C8, 0xD0E90501);
writeData(0x3699CC, 0x814200F0);
writeData(0x3699D0, 0xBE80);
writeData(0x37E1B4, 0x01AE0C46);
writeData(0x37E1B8, 0x04F11401);
writeData(0x37E1BC, 0x05463046);
writeData(0x37E6A4, 0xF0B503AF);
writeData(0x37EA7C, 0xF0B503AF);
writeData(0x369B25, 0xD2);
writeData(0x369B4C, 0x86D3);
}

if(GetPrefBool(@"Key19"))
{
writeData(0x63969A, 0x00000000);
writeData(0x6D11A6, 0xC6F0F9F3);
writeData(0x6D11AA, 0x07A9C8F0);
writeData(0x6D11AE, 0xB6F21CE0);
}else
{
writeData(0x63969A, 0x60F13FF0);
writeData(0x6D11A6, 0x029807A9);
writeData(0x6D11AA, 0x07F77DFA);
writeData(0x6D11AE, 0x0799059D);
}

if(GetPrefBool(@"Key20"))
{
writeData(0xB9996C, 0x0220FA23);
writeData(0xB99970, 0x58437047);
}else
{
writeData(0xB9996C, 0xD0F8D410);
writeData(0xB99970, 0x90F9D800);
}

}

 

 

 

Going to try it... B)

Use the one I sent you in PM. Just replace offsets and keys with yours. :)

Updated by DiDA
Posted

Same one I sent you in PM. Just replace offsets and keys with yours. :3

Ohhhh, I see now! The light has shown guys! The light has shown! Everything just clicked now. I feel my IQ rising by the tens :idea:

 

@ :worship:  @@Gh0stByte :worship:  @@DiDA :worship:  Thank You Guys! :wiggle:

Posted

I made my .deb and it works! The ONLY issue I have with it is that the cheats stay on even if I toggle it off, I look at the hex and it's stuck on the modified hex. It doesn't revert back to the original values. How do I fix this? :/

Posted

I made my .deb and it works! The ONLY issue I have with it is that the cheats stay on even if I toggle it off, I look at the hex and it's stuck on the modified hex. It doesn't revert back to the original values. How do I fix this? :/

You have to restart the app to apply changes.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • Puzzle & Dragons (English) v22.3.0 Jailed Cheats +2
      Modded/Hacked App: Puzzle & Dragons (English) By GungHo Online Entertainment, INC.
      Bundle ID: jp.gungho.padEN
      iTunes Store Link: https://apps.apple.com/us/app/puzzle-dragons-english/id563474464?uo=4


      Hack Features:
      - God Mode
      - One Hit Kill


      Jailbreak required hack(s): https://iosgods.com/topic/133984-puzzle-dragons-japan-english-cheats-all-versions-3/


      iOS Hack Download Link: https://iosgods.com/topic/135066-puzzle-dragons-english-v1931-jailed-cheats-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 316 replies
    • [ Puzzle & Dragons KR ] 퍼즐앤드래곤 v22.3.0 Jailed Cheats +2
      Modded/Hacked App: 퍼즐앤드래곤 By GungHo Online Entertainment, INC.
      Bundle ID: jp.gungho.padKO
      iTunes Store Link: https://apps.apple.com/kr/app/%ED%8D%BC%EC%A6%90%EC%95%A4%EB%93%9C%EB%9E%98%EA%B3%A4/id588637521?uo=4


      Hack Features:
      - God Mode
      - One Hit Kill


      Jailbreak required hack(s): https://iosgods.com/topic/133984-puzzle-dragons-japan-english-cheats-all-versions-3/


      iOS Hack Download Link: https://iosgods.com/topic/146388-puzzle-dragons-korea-%ED%8D%BC%EC%A6%90%EC%95%A4%EB%93%9C%EB%9E%98%EA%B3%A4-v1920-jailed-cheats-2/
        • Agree
        • Thanks
        • Winner
        • Like
      • 23 replies
    • Skullgirls Fighting RPG V7.3.3 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Skullgirls: Fighting RPG By Autumn Games, LLC
      Bundle ID: com.autumn.skullgirls
      iTunes Store Link: https://apps.apple.com/us/app/skullgirls-fighting-rpg/id1280762571?uo=4


      Hack Features:

      - Auto win

      - Damage [ One HiT WiN ]

      - Energy Max

      - Skill

      - Enemy Disable

      - Goals Claimed [ Free Pass Only ]
        • Informative
        • Thanks
        • Winner
        • Like
      • 38 replies
    • Skullgirls Fighting RPG V7.3.3 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Skullgirls: Fighting RPG By Autumn Games, LLC
      Bundle ID: com.autumn.skullgirls
      iTunes Store Link: https://apps.apple.com/us/app/skullgirls-fighting-rpg/id1280762571?uo=4


      Hack Features:
      - Auto win

      - Damage [ One HiT WiN ]

      - Energy Max

      - Skill

      - Enemy Disable

      - Goals Claimed [ Free Pass Only ]
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 127 replies
    • Fortress Saga: AFK RPG Cheats v1.8.09 +5
      Modded/Hacked App: Fortress Saga: AFK RPG By cookapps
      Bundle ID: com.cookapps.bm.fortresssaga
      iTunes Store Link: https://apps.apple.com/us/app/fortress-saga-afk-rpg/id6446308106?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier
      - Freeze Currencies
      - PREMIUM
      - No Ads

       

      Non-Jailbroken Hack: https://iosgods.com/topic/184193-fortress-saga-afk-rpg-v1800-jailed-cheats-3/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/178933-fortress-saga-afk-rpg-cheats-v1801-5/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 364 replies
    • Prison Empire Tycoon-Idle Game Cheats v3.9.2 +2
      Modded/Hacked App: Prison Empire Tycoon-Idle Game by Digital Things Sociedad Limitada
      Bundle ID: com.codigames.idle.prison.empire.manager.tycoon
      iTunes Store Link: https://apps.apple.com/us/app/prison-empire-tycoon-idle-game/id1508490923?uo=4&at=1010lce4


      Hack Features:
      - Infinite Cash
      - No Ads


      Non-Jailbroken & No Jailbreak required hack(s):  https://iosgods.com/topic/128324-arm64-prison-empire-tycoon%EF%BC%8Didle-game-v102-jailed-cheats-2/

       
      iOS Hack Download Link: https://iosgods.com/topic/128322-arm64-prison-empire-tycoon%EF%BC%8Didle-game-cheats-all-versions-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,161 replies
    • Left to Survive: Zombie Games Cheats v7.6.0 +10 Hacks
      Modded/Hacked App: Left to Survive: Zombie TPS By MY COM
      Bundle ID: com.glu.zbs
      iTunes Store Link: https://apps.apple.com/us/app/left-to-survive-zombie-tps/id1090501422

      Hack Features:
      - No Bullet Disperse 
      - Unlimited Ammo
      - No Recoil
      - Increased Fire-rate 

      - One Hit Campaign 
      - Grenades and Med-kits Dont Subtract
      - God Mode
      - God Mode PVP

      - Unlock Chapters early 
      - Weapons Unlocked Ready to buy 


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/

        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,592 replies
    • [ Seven Deadly Sins KR ] 일곱 개의 대죄: GRAND CROSS Cheats v8.6.72 +5
      Modded/Hacked App: 일곱 개의 대죄: GRAND CROSS By Netmarble Corporation
      Bundle ID: com.netmarble.nanakr
      iTunes Store Link: https://apps.apple.com/kr/app/%EC%9D%BC%EA%B3%B1-%EA%B0%9C%EC%9D%98-%EB%8C%80%EC%A3%84-grand-cross/id1449552940?uo=4


      Hack Features:
      - God Mode
      - One Hit Kill
      - Multiply Attack
      - Multiply Defense
      - Make Enemies God Mode for some quests


      iOS Hack Download Link: https://iosgods.com/topic/154899-seven-deadly-sins-kr-%EC%9D%BC%EA%B3%B1-%EA%B0%9C%EC%9D%98-%EB%8C%80%EC%A3%84-grand-cross-cheats-v750-5/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 177 replies
    • Zooba: Zoo Battle Royale Game v5.19.0 Jailed Cheats +2
      Modded/Hacked App: Zooba: Zoo Battle Royale Games By Wildlife Studios Limited
      Bundle ID: com.fungames.battleroyale
      iTunes Store Link: https://apps.apple.com/us/app/zooba-zoo-battle-royale-games/id1459402952?uo=4


      Hack Features:
      - Map Hacks
      - Allow Shoot in Water


      Jailbreak required hack(s): https://iosgods.com/topic/131104-arm64-zooba-zoo-battle-royale-game-cheats-all-versions-2/


      iOS Hack Download Link: https://iosgods.com/topic/131134-arm64-zooba-zoo-battle-royale-game-v320-jailed-cheats-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,301 replies
    • The Seven Deadly Sins Cheats v2.81.0 +5
      Modded/Hacked App: The Seven Deadly Sins by Netmarble Corporation
      Bundle ID: com.netmarble.nanagb
      iTunes Store Link: https://apps.apple.com/us/app/the-seven-deadly-sins/id1475440231?uo=4&at=1010lce4


      Hack Features:
      - God Mode
      - OHK
      - Infinite MP


      iOS Hack Download Link: https://iosgods.com/topic/131686-arm64-the-seven-deadly-sins-cheats-v117-3/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 2,051 replies
    • Zombastic: Time to Survive v1.12.4 [ +1+++ Jailed ] Currency Max
      Modded/Hacked App: Zombastic: Time to Survive By Playmotional Limited
      Bundle ID: com.playmotional.survival
      iTunes Store Link: https://apps.apple.com/us/app/zombastic-time-to-survive/id6475173073?uo=4


      Hack Features:
      - Currency & Resources Unlimited [ Disable When Playing ] 





      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Agree
        • Thanks
        • Winner
        • Like
      • 52 replies
    • Zombastic: Time to Survive v1.12.4 [ +1+++ Cheats ] Currency Max
      Modded/Hacked App: Zombastic: Time to Survive By Playmotional Limited
      Bundle ID: com.playmotional.survival
      iTunes Store Link: https://apps.apple.com/us/app/zombastic-time-to-survive/id6475173073?uo=4


      Hack Features:
      - Currency & Resources Unlimited [ Disable When Playing ] 





      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 50 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