// // GJBaseGameLayer::addKeyframe from 0x10014b720 to 0x10014b7a6 (134 bytes) // // 3 xrefs: // > LevelEditorLayer::addKeyframe @ 0x1000f4465 // > @ 0x1008b7420 // > @ 0x1008c19a0 // // 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::addKeyframe(GJBaseGameLayer *a1, KeyframeGameObject *a2) { cocos2d::CCObject *v2; // rax cocos2d::CCObject *v3; // r15 unsigned int m_keyframeIndex; // r12d a2->m_keyframeActive = 1; v2 = cocos2d::CCDictionary::objectForKey(a1->m_keyframeGroups, a2->m_keyframeGroup); if ( v2 ) { v3 = v2; m_keyframeIndex = a2->m_keyframeIndex; if ( m_keyframeIndex >= (unsigned int)sub_100720070(v2) ) sub_10071FCD0(v3, a2); else sub_1007201F0(v3, a2, (unsigned int)a2->m_keyframeIndex); GJBaseGameLayer::updateKeyframeOrder(a1, a2->m_keyframeGroup); } }