// // GJBaseGameLayer::updateKeyframeOrder from 0x14033c8e0 to 0x14033c9ab (203 bytes) // // 7 xrefs: // > GJBaseGameLayer::addKeyframe @ 0x14033c8c0 // > LevelEditorLayer::removeSpecial @ 0x1403f534c // > LevelEditorLayer::addKeyframe @ 0x1404013c7 // > SetupKeyframePopup::onCustomButton @ 0x1405bbd49 // > @ 0x1408b7338 // > @ 0x1408b7348 // > @ 0x14091fbe0 // // 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 11:30:37 +0000 // int __fastcall GJBaseGameLayer::updateKeyframeOrder(__int64 a1, int a2) { cocos2d::CCArray *v2; // rax cocos2d::CCArray *v3; // rsi struct cocos2d::CCObject *v4; // rax unsigned int v5; // ebx int v6; // r14d char v7; // bp int v8; // edi struct cocos2d::CCObject *v9; // rax v2 = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(a1 + 13872), a2); v3 = v2; if ( v2 ) { LODWORD(v2) = cocos2d::CCArray::count(v2); if ( (_DWORD)v2 ) { v4 = cocos2d::CCArray::objectAtIndex(v3, 0); v5 = 0; v6 = *((__int16 *)v4 + 605); v7 = *((_BYTE *)v4 + 1898); v8 = v6 + 1; for ( LODWORD(v2) = cocos2d::CCArray::count(v3); v5 < (unsigned int)v2; LODWORD(v2) = cocos2d::CCArray::count(v3) ) { v9 = cocos2d::CCArray::objectAtIndex(v3, v5); *((_DWORD *)v9 + 469) = v5; *((_BYTE *)v9 + 1898) = v7; if ( v7 ) { *((_WORD *)v9 + 606) = v8++; *((_WORD *)v9 + 605) = v6; } ++v5; } } } return (int)v2; }