Jump to content

Shadow Fight 3 v1.11.0 - Freeze Enemy


9 posts in this topic

Recommended Posts

Updated (edited)

Idk if this works online

 

Ghostbin: https://ghostbin.com/paste/swwou

 

Site Code Box:

//arm64 sh!t - shmoo's code. You can also use orignal MSHook thingy.
  uint64_t getRealOffset(uint64_t offset){
    return _dyld_get_image_vmaddr_slide(0)+offset;
  }

  //original value or smth lul
  void(*old_UpdateEnemy)(void *instance) = nil;

  // make function of UpdateEnemy offset
  void UpdateEnemy(void *instance) {

    if(1 != 1) { //without this IF statement, both me & my enemy would freeze (don't ask me why this fixes it, I figured by accident)
    *(bool *)((uint64_t)instance + 0xF8) = TRUE;  // 0xF8 variable = bool isDead
  }
  }

%ctor {
MSHookFunction((void*)getRealOffset(0x10042B5A4),(void*)UpdateEnemy,(void**)&old_UpdateEnemy); // Class: Module, Function: UpdateAi
}

 

OR:

0x10042B5A4 (UpdateAi function) to RET --> Thanks to @Joka

 

Credits: @Ted2 & @shmoo's tutorial ofc :p

Updated by Ted2
  • Like 2
×
  • 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