Jump to content

AnotherLurker

Senior Member
  • Posts

    1,093
  • Joined

  • Last visited

Everything posted by AnotherLurker

  1. @@castix u can't return a value unless the value is a function with parameters %hook ClassName - (BOOL)affordProduct:(id)fp8 withCurrency:(int)fp12 { return true; } %end you don't need to modify the currency, u can just return true to always afford a product no matter what @@tigger
  2. @@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); } }
  3. @@ZahirSher er... *awkward silence*
  4. @@ZahirSher Happy Birthday
  5. yo @@TheOnlySkiff69
  6. MYHACKNAME_FRAMEWORKS = UIKit in Makefile
  7. @@Laxus really?, with syscall patched? try brothers in arms 3, me and Swag had it crash on our devices
  8. @ he already understands arm, no need to go through all that outdated crap @@Shmoo419 hmmm... me and Swag had the same issue with Brothers In arms 3... trying disabling calls to _dlsym
  9. Add this in your Tweak.xm: #import <UIKit/UIKit.h>
  10. @@KingRalph It is Objective-C, He's not hooking any methods so he doesn't need %hook
  11. @@KingRalph STR is a ARM function that is used to store values in memory, When u have a function like str r0, [r1, #0x99], what the computer does, is it grabs the value of r0, and stores it into R1 at the address 0x99 in memory. Changing the address to 0x0 (0) will without a doubt cause a crash, as the program would be modifying section of memory that probably doesn't even exist. Same goes for NOPing an STR, sooner or later, some function will try to access the amount stored at the register at the memory address, and crash, since the value is not present. When we hack, we changes R0 to another register so when the program stores the values, it will store a higher value from the other register, into a register at a memory location, which could hold currency, energy, health, damage, stats etc etc.
  12. @@Dex @@DiDA, - (void)setAutoPlay:(BOOL)autoPlay { %orig(GetPrefBool(@"k1")); } Also, methods with a return type of "void" means that the method should not return anything
  13. The fact that you removed credits from Jack, and gave credits to yourself is disgusting, you don't even know what and how gdb works, and u expect us to fall for that? sickening
  14. I'm proud of you EDIT: where is the art?
  15. just remember, loners don't get boners

    1. rok3r

      rok3r

      u1o3ixgyhui39pgt;98gt

    2. LeLenny420

      LeLenny420

      words to live by

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