// // GameManager::addCustomAnimationFrame from 0x1002504a0 to 0x1002505c4 (292 bytes) // // 2 xrefs: // > GameManager::setupGameAnimations @ 0x10024a319 // > GameManager::addDuplicateLastFrame @ 0x100250800 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:27:24 +0000 // __int64 __fastcall GameManager::addCustomAnimationFrame( __int64 a1, __int64 a2, unsigned int a3, unsigned __int8 *a4, unsigned __int8 *a5) { unsigned int v8; // eax unsigned int v9; // eax __int64 result; // rax __int64 v11; // r15 unsigned int v12; // r12d __int64 v13; // rax __int64 v14; // r15 unsigned int v15; // r12d __int64 v16; // rax v8 = *a4; if ( (v8 & 1) != 0 ) { 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 if ( !(v8 >> 1) ) { goto LABEL_3; } v14 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 376)); v15 = sub_1007FEF90(v14); v16 = sub_10088E600(a4); if ( v15 >= a3 ) sub_1007FF110(v14, v16, a3 - 1); else sub_1007FEBF0(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_1(*(_QWORD *)(a1 + 384)); v12 = sub_1007FEF90(v11); v13 = sub_10088E600(a5); if ( v12 >= a3 ) return sub_1007FF110(v11, v13, a3 - 1); else return sub_1007FEBF0(v11, v13); }
GD Web Decomp Icon

GD Web Decomp

Raw Source