Skip to content
Guest Big Announcement

0xSUBZ3R0

Developer
  • Joined

  • Last visited

0xSUBZ3R0

@Rook

can we have two new ap functions 

that we dont have to pass string littarls through 

 

ApPatch writetoffset: (newoffset),hexdata:(newHex)

 

or anyone know a way of doing this @ cheaters

@batchh the offset comes from a json file which is parsed @offset so should only be the uint6r_t being passed through writedata :/

 

Tweak.xm:166:48: error: non-constant-expression cannot be narrowed from type 'uint64_t' (aka 'unsigned long long') to 'unsigned char' in initializer list [-Wc++11-narrowing]
  166 |               [APPatch writeToOffset:APEncrypt(offsetValue) hexValue:APEncrypt("20008052C0035FD6")]; 

 

@batchh i think apPatch only accepts hardcoded offsets ? 
 

So i assume it's something like @10023218 
 

#include <string>
#include <cstdlib> 

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wmissing-braces"
  
std::string rawOffset = "@100213";  
std::string numberPart = rawOffset.substr(1);  

uint64_t offset = std::stoul(numberPart, nullptr, 16);

unsigned char offsetChar = static_cast<unsigned char>(offset);

[APPatch writeToSecretOffset:IGSecretHexInt(offsetChar)
                   data:IGSecretHexData("C0035FD6")];

I didn't test it, but it compiles, if you want a simpler solution just use my mod menu [Patch offset function 

Create an account or sign in to comment

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.