// // SetupEventLinkPopup::onSelectEvent from 0x1404664c0 to 0x1404666d4 (532 bytes) // // 2 xrefs: // > SetupEventLinkPopup::init @ 0x1404663e6 // > @ 0x1406db0a8 // // 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 // // Hidden C++ exception states: #wind=4 void SetupEventLinkPopup::onSelectEvent(SetupEventLinkPopup *a1, cocos2d::CCObject *a2) { _QWORD *v3; // rax EffectGameObject *m_gameObject; // rdx unsigned int *p_m_uID; // rdx char *v6; // rdi _QWORD *v7; // rax _QWORD *v8; // rax __int64 (__fastcall *v9)(__int64); // rdx std::set v10[2]; // [rsp+20h] [rbp-28h] BYREF v10[0]._Mypair._Myval2._Myval2._Mysize = 0; v3 = operator new(0x20u); *v3 = v3; v3[1] = v3; v3[2] = v3; *((_WORD *)v3 + 12) = 257; v10[0]._Mypair._Myval2._Myval2._Myhead = (std::_Tree_val>::_Nodeptr)v3; m_gameObject = a1->m_gameObject; if ( m_gameObject ) { p_m_uID = (unsigned int *)&m_gameObject[1]; } else { if ( !cocos2d::CCArray::count(a1->m_gameObjects) ) goto LABEL_6; p_m_uID = &cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, 0)[33].m_uID; } sub_140473880(v10, p_m_uID); LABEL_6: v6 = (char *)operator new(0x3E0u); SetupTriggerPopup::SetupTriggerPopup((SetupTriggerPopup *)v6); *(_QWORD *)v6 = &SelectEventLayer::`vftable'; *((_QWORD *)v6 + 40) = &SelectEventLayer::`vftable'; *((_QWORD *)v6 + 41) = &SelectEventLayer::`vftable'; *((_QWORD *)v6 + 42) = &SelectEventLayer::`vftable'; *((_QWORD *)v6 + 43) = &SelectEventLayer::`vftable'; *((_QWORD *)v6 + 44) = &SelectEventLayer::`vftable'; *((_QWORD *)v6 + 51) = &SelectEventLayer::`vftable'; *((_QWORD *)v6 + 54) = &SelectEventLayer::`vftable'; *((_QWORD *)v6 + 79) = &SelectEventLayer::`vftable'; *((_QWORD *)v6 + 80) = &SelectEventLayer::`vftable'; *((_QWORD *)v6 + 81) = &SelectEventLayer::`vftable'; *((_QWORD *)v6 + 117) = 0; v6[944] = 0; *(_QWORD *)(v6 + 948) = 0; *((_DWORD *)v6 + 239) = 0; *((_QWORD *)v6 + 120) = 0; *((_QWORD *)v6 + 121) = 0; v7 = operator new(0x48u); *v7 = v7; v7[1] = v7; v7[2] = v7; *((_WORD *)v7 + 12) = 257; *((_QWORD *)v6 + 120) = v7; *((_QWORD *)v6 + 122) = 0; *((_QWORD *)v6 + 123) = 0; v8 = operator new(0x20u); *v8 = v8; v8[1] = v8; v8[2] = v8; *((_WORD *)v8 + 12) = 257; *((_QWORD *)v6 + 122) = v8; if ( SelectEventLayer::init((SelectEventLayer *)v6, a1, v10) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6); } else { (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v6 + 8LL))(v6, 1); v6 = nullptr; } v9 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 1040LL); if ( v9 == CollisionBlockPopup::show ) CollisionBlockPopup::show((__int64)v6); else v9((__int64)v6); sub_1400CDB90((void **)&v10[0]._Mypair._Myval2._Myval2._Myhead); }
GD Web Decomp Icon

GD Web Decomp

Raw Source