// // GJBaseGameLayer::updateKeyframeOrder from 0x595476 to 0x5954de (104 bytes) // // 3 xrefs: // > LevelEditorLayer::reverseKeyframeAnimationOrder @ 0x462c20 // > GJBaseGameLayer::addKeyframe @ 0x595524 // > GJBaseGameLayer::removeKeyframe @ 0x595552 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:53:08 +0000 // cocos2d::CCArray *__fastcall GJBaseGameLayer::updateKeyframeOrder(cocos2d::CCDictionary **this, int a2) { cocos2d::CCArray *result; // r0 cocos2d::CCArray *v3; // r6 int v4; // r0 unsigned int v5; // r4 __int16 v6; // r7 int v7; // r8 int v8; // r5 int v9; // r0 result = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(*(this + 2808), a2); v3 = result; if ( result ) { result = (cocos2d::CCArray *)cocos2d::CCArray::count(result); if ( result ) { v4 = cocos2d::CCArray::objectAtIndex(v3, 0); v5 = 0; v6 = *(_WORD *)(v4 + 1038); v7 = *(unsigned __int8 *)(v4 + 1682); v8 = v6 + 1; while ( 1 ) { result = (cocos2d::CCArray *)cocos2d::CCArray::count(v3); if ( v5 >= (unsigned int)result ) break; v9 = cocos2d::CCArray::objectAtIndex(v3, v5); *(_DWORD *)(v9 + 1660) = v5; *(_BYTE *)(v9 + 1682) = v7; if ( v7 ) { *(_WORD *)(v9 + 1040) = v8++; *(_WORD *)(v9 + 1038) = v6; } ++v5; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source