// // LevelEditorLayer::addKeyframe from 0x140401340 to 0x1404013e6 (166 bytes) // // 4 xrefs: // > @ 0x14078b340 // > @ 0x1408c6bc0 // > @ 0x1408c6bd0 // > @ 0x140925b08 // // 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:31:54 +0000 // int __fastcall LevelEditorLayer::addKeyframe(__int64 a1, __int64 a2) { int v2; // eax cocos2d::CCArray *v5; // rax cocos2d::CCArray *v6; // rsi unsigned int v7; // r14d v2 = *(_DWORD *)(a1 + 15548); if ( v2 > 0 ) *(_DWORD *)(a2 + 1872) = v2; *(_BYTE *)(a2 + 1897) = 1; v5 = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(a1 + 13872), *(int *)(a2 + 1872)); v6 = v5; if ( v5 ) { v7 = *(_DWORD *)(a2 + 1876); if ( v7 < cocos2d::CCArray::count(v5) ) cocos2d::CCArray::insertObject(v6, (struct cocos2d::CCObject *)a2, v7); else cocos2d::CCArray::addObject(v6, (struct cocos2d::CCObject *)a2); LODWORD(v5) = GJBaseGameLayer::updateKeyframeOrder(a1, *(_DWORD *)(a2 + 1872)); } return (int)v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source