// // SetupKeyframePopup::onClose from 0x100201db0 to 0x100201e5d (173 bytes) // // 1 xrefs: // > @ 0x1008dafa0 // // 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 SetupKeyframePopup::onClose(SetupKeyframePopup *a1, cocos2d::CCObject *a2) { LevelEditorLayer *m_editorLayer; // rax EffectGameObject *m_gameObject; // rcx int m_targetGroupID; // ebx cocos2d::CCObject *v5; // rax cocos2d::CCObject_vtbl *v6; // rax __int64 copyWithZone_low; // rcx void (__cdecl *v8)(cocos2d::CCObject *__hidden); // rax unsigned __int64 v9; // rcx __int64 v10; // rdx if ( a1->m_groupIDChanged ) { m_editorLayer = a1->m_editorLayer; if ( m_editorLayer ) { m_gameObject = a1->m_gameObject; m_targetGroupID = m_gameObject->m_targetGroupID; v5 = cocos2d::CCDictionary::objectForKey(m_editorLayer->m_keyframeGroups, m_gameObject[1].m_nTag); if ( v5 ) { v6 = v5[1].__vftable; copyWithZone_low = LODWORD(v6->copyWithZone); if ( LODWORD(v6->copyWithZone) ) { v8 = v6->~CCObject_0; v9 = (unsigned __int64)v8 + 8 * copyWithZone_low - 8; do { v10 = *(_QWORD *)v8; if ( !*(_QWORD *)v8 ) break; *(_DWORD *)(v10 + 1464) = m_targetGroupID; *(_BYTE *)(v10 + 1881) = 1; v8 = (void (__cdecl *)(cocos2d::CCObject *__hidden))((char *)v8 + 8); } while ( (unsigned __int64)v8 <= v9 ); } } } } SetupTriggerPopup::onClose(a1, a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source