// // LevelEditorLayer::duplicateKeyframeAnimation from 0x100364278 to 0x10036433c (196 bytes) // // 1 xrefs: // > SetupKeyframePopup::onCustomButton @ 0x1001b5b8c // // 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 // cocos2d::CCArray *__fastcall LevelEditorLayer::duplicateKeyframeAnimation(LevelEditorLayer *a1, int a2) { cocos2d::CCArray *NewKeyframeAnim; // x20 cocos2d::CCObject *v5; // x0 cocos2d::CCObject *v6; // x21 cocos2d::CCArray *v7; // x0 std::string __p; // [xsp+8h] [xbp-38h] BYREF NewKeyframeAnim = GJBaseGameLayer::createNewKeyframeAnim(a1); a1->m_duplicateKeyframeGroup = ((__int64 (__fastcall *)(cocos2d::CCArray *))NewKeyframeAnim->getTag)(NewKeyframeAnim); v5 = cocos2d::CCDictionary::objectForKey(a1->m_keyframeGroups, a2); if ( v5 ) { v6 = v5; if ( (unsigned int)sub_10024A36C((__int64)v5) ) { EditorUI::copyObjects(&__p, a1->m_editorUI, v6, 0, 1); a1->m_keepEditorLayer = 1; v7 = (cocos2d::CCArray *)LevelEditorLayer::createObjectsFromString((__int64)a1, &__p, 1, 1); GJBaseGameLayer::assignNewStickyGroups(a1, v7); a1->m_keepEditorLayer = 0; if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__p.__r_.__value_.__l.__data_); } } a1->m_duplicateKeyframeGroup = 0; return NewKeyframeAnim; }
GD Web Decomp Icon

GD Web Decomp

Raw Source