Ledger Nano X - The secure hardware wallet
SHARE
TWEET

TP dEvDtEvent_c::finishCheck

dragonbane Dec 25th, 2019 (edited) 92 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. bool __thiscall finishCheck(dEvDtEvent_c *this)
  2. {
  3.   int offset = 0;
  4.  
  5.   for (int i = 0; i < 3; i++) {
  6.  
  7.     //Checks 3x4 byte flags stored at dEvDtEvent_c + 0x88-0x90
  8.     int flagAddress = *(int*)(this + 0x88 + offset)
  9.     if (flagAddress == -1) {
  10.       return true;
  11.     }
  12.  
  13.     int checkResult = flagCheck((dEvDtFlag_c *)&DAT_8040b374 (g_dComIfG_gameInfo + 0x51B4), flagAddress);
  14.     if (checkResult == 0)
  15.       return false;
  16.  
  17.     offset += 4;
  18.   }
  19.   return true;
  20. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top