// // GJBaseGameLayer::updateKeyframeOrder from 0x1001fb3f8 to 0x1001fb49c (164 bytes) // // 3 xrefs: // > GJBaseGameLayer::addKeyframe @ 0x1001fb3f4 // > GJBaseGameLayer::removeKeyframe @ 0x1001fb4dc // > LevelEditorLayer::reverseKeyframeAnimationOrder @ 0x10036438c // // 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; // x0 cocos2d::CCObject *v3; // x19 __int64 v4; // x0 int v5; // w21 int v6; // w22 __int64 v7; // x20 int v8; // w23 __int64 v9; // x0 v2 = cocos2d::CCDictionary::objectForKey(a1->m_keyframeGroups, a2); if ( v2 ) { v3 = v2; if ( (unsigned int)sub_10024A36C(v2) ) { v4 = sub_10024A388(v3, 0); v5 = *(unsigned __int8 *)(v4 + 1882); v6 = *(unsigned __int16 *)(v4 + 1202); if ( (unsigned int)sub_10024A36C(v3) ) { v7 = 0; v8 = v6 + 1; do { v9 = sub_10024A388(v3, v7); *(_DWORD *)(v9 + 1860) = v7; *(_BYTE *)(v9 + 1882) = v5; if ( v5 ) { *(_WORD *)(v9 + 1202) = v6; *(_WORD *)(v9 + 1204) = v8++; } v7 = (unsigned int)(v7 + 1); } while ( (unsigned int)v7 < (unsigned int)sub_10024A36C(v3) ); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source