// // GJBaseGameLayer::updateKeyframeOrder from 0x10014b7b0 to 0x10014b8b8 (264 bytes) // // 3 xrefs: // > LevelEditorLayer::reverseKeyframeAnimationOrder @ 0x1000f457e // > GJBaseGameLayer::addKeyframe @ 0x10014b7a1 // > GJBaseGameLayer::removeKeyframe @ 0x10014b903 // // 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 // void __fastcall GJBaseGameLayer::updateKeyframeOrder(GJBaseGameLayer *a1, int a2) { cocos2d::CCObject *v2; // rax cocos2d::CCObject *v3; // rbx __int64 v4; // rax char v5; // r15 __int16 v6; // r14 __int16 v7; // r13 unsigned int v8; // r14d __int64 v9; // rax unsigned int v10; // r14d __int64 v11; // rax __int16 v12; // [rsp+0h] [rbp-30h] v2 = cocos2d::CCDictionary::objectForKey(a1->m_keyframeGroups, a2); if ( v2 ) { v3 = v2; if ( (unsigned int)sub_100720070(v2) ) { v4 = sub_1007200C0(v3, 0); v5 = *(_BYTE *)(v4 + 1882); v6 = *(_WORD *)(v4 + 1202); if ( (unsigned int)sub_100720070(v3) ) { if ( v5 ) { v12 = v6; v7 = v6 + 1; v8 = 0; do { v9 = sub_1007200C0(v3, v8); *(_DWORD *)(v9 + 1860) = v8; *(_BYTE *)(v9 + 1882) = v5; *(_WORD *)(v9 + 1202) = v12; *(_WORD *)(v9 + 1204) = v8++ + v7; } while ( v8 < (unsigned int)sub_100720070(v3) ); } else { v10 = 0; do { v11 = sub_1007200C0(v3, v10); *(_DWORD *)(v11 + 1860) = v10; *(_BYTE *)(v11 + 1882) = 0; ++v10; } while ( v10 < (unsigned int)sub_100720070(v3) ); } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source