// // LevelEditorLayer::addKeyframe from 0x1402e17d0 to 0x1402e1876 (166 bytes) // // 4 xrefs: // > @ 0x140586440 // > @ 0x14068efc8 // > @ 0x14068efd8 // > @ 0x1406d36f8 // // 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 LevelEditorLayer::addKeyframe(LevelEditorLayer *a1, KeyframeGameObject *a2) { int m_duplicateKeyframeGroup; // eax cocos2d::CCArray *v5; // rax cocos2d::CCArray *v6; // rsi unsigned int m_keyframeIndex; // r14d m_duplicateKeyframeGroup = a1->m_duplicateKeyframeGroup; if ( m_duplicateKeyframeGroup > 0 ) a2->m_keyframeGroup = m_duplicateKeyframeGroup; a2->m_keyframeActive = 1; v5 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(a1->m_keyframeGroups, a2->m_keyframeGroup); v6 = v5; if ( v5 ) { m_keyframeIndex = a2->m_keyframeIndex; if ( m_keyframeIndex < cocos2d::CCArray::count(v5) ) cocos2d::CCArray::insertObject(v6, a2, m_keyframeIndex); else cocos2d::CCArray::addObject(v6, a2); GJBaseGameLayer::updateKeyframeOrder(a1, a2->m_keyframeGroup); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source