// // GameManager::addCustomAnimationFrame from 0x100266460 to 0x100266584 (292 bytes) // // 2 xrefs: // > GameManager::setupGameAnimations @ 0x100260389 // > GameManager::addDuplicateLastFrame @ 0x1002667c0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall GameManager::addCustomAnimationFrame( __int64 a1, intptr_t a2, unsigned int a3, unsigned __int8 *a4, unsigned __int8 *a5) { unsigned int v8; // eax unsigned int v9; // eax __int64 result; // rax cocos2d::CCObject *v11; // r15 unsigned int v12; // r12d __int64 v13; // rax cocos2d::CCObject *v14; // r15 unsigned int v15; // r12d __int64 v16; // rax v8 = *a4; if ( (v8 & 1) != 0 ) { a2 = (int)a2; if ( !*((_QWORD *)a4 + 1) ) { LABEL_3: v9 = *a5; if ( (v9 & 1) == 0 ) goto LABEL_4; LABEL_13: result = *((_QWORD *)a5 + 1); if ( !result ) return result; goto LABEL_5; } } else { a2 = (int)a2; if ( !(v8 >> 1) ) goto LABEL_3; } v14 = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(a1 + 352), a2); v15 = sub_100720070(v14); v16 = sub_1007AB360(a4); if ( v15 >= a3 ) sub_1007201F0(v14, v16, a3 - 1); else sub_10071FCD0(v14, v16); v9 = *a5; if ( (v9 & 1) != 0 ) goto LABEL_13; LABEL_4: result = v9 >> 1; if ( !result ) return result; LABEL_5: v11 = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(a1 + 360), a2); v12 = sub_100720070(v11); v13 = sub_1007AB360(a5); if ( v12 >= a3 ) return sub_1007201F0(v11, v13, a3 - 1); else return sub_10071FCD0(v11, v13); }
GD Web Decomp Icon

GD Web Decomp

Raw Source