// // GJBaseGameLayer::updateKeyframeOrder from 0x100129ad0 to 0x100129bd8 (264 bytes) // // 3 xrefs: // > LevelEditorLayer::reverseKeyframeAnimationOrder @ 0x1000c853e // > GJBaseGameLayer::addKeyframe @ 0x100129ac1 // > GJBaseGameLayer::removeKeyframe @ 0x100129c23 // // 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:24:43 +0000 // __int64 __fastcall GJBaseGameLayer::updateKeyframeOrder(__int64 a1) { __int64 result; // rax __int64 v2; // rbx __int64 v3; // rax char v4; // r15 __int16 v5; // r14 __int16 v6; // r13 unsigned int v7; // r14d __int64 v8; // rax unsigned int v9; // r14d __int64 v10; // rax __int16 v11; // [rsp+0h] [rbp-30h] result = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 13272)); if ( result ) { v2 = result; result = sub_1007FEF90(result); if ( (_DWORD)result ) { v3 = sub_1007FEFE0(v2, 0); v4 = *(_BYTE *)(v3 + 1882); v5 = *(_WORD *)(v3 + 1202); result = sub_1007FEF90(v2); if ( (_DWORD)result ) { if ( v4 ) { v11 = v5; v6 = v5 + 1; v7 = 0; do { v8 = sub_1007FEFE0(v2, v7); *(_DWORD *)(v8 + 1860) = v7; *(_BYTE *)(v8 + 1882) = v4; *(_WORD *)(v8 + 1202) = v11; *(_WORD *)(v8 + 1204) = v7++ + v6; result = sub_1007FEF90(v2); } while ( v7 < (unsigned int)result ); } else { v9 = 0; do { v10 = sub_1007FEFE0(v2, v9); *(_DWORD *)(v10 + 1860) = v9; *(_BYTE *)(v10 + 1882) = 0; ++v9; result = sub_1007FEF90(v2); } while ( v9 < (unsigned int)result ); } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source