// // GJBaseGameLayer::updateKeyframeOrder from 0x9a783c to 0x9a78ec (176 bytes) // // 5 xrefs: // > LevelEditorLayer::reverseKeyframeAnimationOrder @ 0x78e1a8 // > GJBaseGameLayer::addKeyframe @ 0x9a7954 // > GJBaseGameLayer::addKeyframe @ 0x9a7978 // > GJBaseGameLayer::removeKeyframe @ 0x9a79cc // > @ 0x9daf8 // // This function is hookable on this platform (idp: arm, 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:58:10 +0000 // cocos2d::CCArray *__fastcall GJBaseGameLayer::updateKeyframeOrder(cocos2d::CCDictionary **this, int a2) { cocos2d::CCArray *result; // x0 cocos2d::CCArray *v3; // x20 unsigned int v4; // w19 __int64 v5; // x0 int v6; // w23 int v7; // w21 int v8; // w22 bool v9; // cf unsigned int v10; // w1 __int64 v11; // x0 result = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(*(this + 1659), a2); v3 = result; if ( result ) { result = (cocos2d::CCArray *)cocos2d::CCArray::count(result); if ( (_DWORD)result ) { v4 = 0; v5 = cocos2d::CCArray::objectAtIndex(v3, 0); v6 = *(__int16 *)(v5 + 1202); v7 = *(unsigned __int8 *)(v5 + 1882); v8 = v6 + 1; while ( 1 ) { v9 = v4 >= (unsigned int)cocos2d::CCArray::count(v3); v10 = v4; result = v3; if ( v9 ) break; while ( 1 ) { v11 = cocos2d::CCArray::objectAtIndex(result, v10); *(_DWORD *)(v11 + 1860) = v4; *(_BYTE *)(v11 + 1882) = v7; ++v4; if ( !v7 ) break; *(_WORD *)(v11 + 1204) = v8++; *(_WORD *)(v11 + 1202) = v6; v9 = v4 >= (unsigned int)cocos2d::CCArray::count(v3); v10 = v4; result = v3; if ( v9 ) return result; } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source