// // SetupKeyframePopup::onClose from 0x573430 to 0x573496 (102 bytes) // // 0 xrefs: // // 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 SetupKeyframePopup::onClose(SetupKeyframePopup *a1, cocos2d::CCObject *a2) { LevelEditorLayer *m_editorLayer; // r2 EffectGameObject *m_gameObject; // r3 int m_targetGroupID; // r5 cocos2d::CCObject *v7; // r0 cocos2d::CCObject_vtbl *v8; // r2 cocos2d::CCObject *(__fastcall *copyWithZone)(cocos2d::CCCopying *__hidden, cocos2d::CCZone *); // r3 bool (__fastcall *isEqual)(cocos2d::CCObject *__hidden, const cocos2d::CCObject *); // r2 bool (__fastcall *v11)(cocos2d::CCObject *__hidden, const cocos2d::CCObject *); // r3 int v12; // r1 int v13; // t1 if ( a1->m_groupIDChanged ) { m_editorLayer = a1->m_editorLayer; if ( m_editorLayer ) { m_gameObject = a1->m_gameObject; m_targetGroupID = m_gameObject->m_targetGroupID; v7 = cocos2d::CCDictionary::objectForKey(m_editorLayer->m_keyframeGroups, m_gameObject[1].m_uID); if ( v7 ) { v8 = v7[1].__vftable; copyWithZone = v8->copyWithZone; if ( v8->copyWithZone ) { isEqual = v8->isEqual; v11 = (bool (__fastcall *)(cocos2d::CCObject *__hidden, const cocos2d::CCObject *))((char *)isEqual + 4 * ((_DWORD)copyWithZone + 0x3FFFFFFF)); while ( (unsigned int)isEqual <= (unsigned int)v11 ) { v13 = *(_DWORD *)isEqual; isEqual = (bool (__fastcall *)(cocos2d::CCObject *__hidden, const cocos2d::CCObject *))((char *)isEqual + 4); v12 = v13; if ( !v13 ) break; *(_DWORD *)(v12 + 1276) = m_targetGroupID; *(_BYTE *)(v12 + 1669) = 1; } } } } } SetupTriggerPopup::onClose(a1, a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source