//
// SetupCollisionTriggerPopup::create from 0x10022f4dc to 0x10022f5b4 (216 bytes)
//
// 1 xrefs:
// > EditorUI::editObject @ 0x1003e55c4
//
// 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
//
SetupCollisionTriggerPopup *__fastcall SetupCollisionTriggerPopup::create(EffectGameObject *a1, cocos2d::CCArray *a2)
{
char *v4; // x19
v4 = (char *)operator new(0x3E0u);
SetupTriggerPopup::SetupTriggerPopup((SetupTriggerPopup *)v4);
*(_QWORD *)v4 = &off_1007C4990;
*((_QWORD *)v4 + 40) = off_1007C4F60;
*((_QWORD *)v4 + 41) = &off_1007C4FD0;
*((_QWORD *)v4 + 42) = off_1007C4FE8;
*((_QWORD *)v4 + 43) = off_1007C5008;
*((_QWORD *)v4 + 44) = off_1007C5028;
*((_QWORD *)v4 + 51) = off_1007C5050;
*((_QWORD *)v4 + 54) = off_1007C50D0;
*((_QWORD *)v4 + 79) = off_1007C50F0;
*((_QWORD *)v4 + 80) = &off_1007C5138;
*((_QWORD *)v4 + 81) = off_1007C5150;
*((_OWORD *)v4 + 59) = 0u;
*((_OWORD *)v4 + 60) = 0u;
*((_DWORD *)v4 + 244) = 0;
*(_DWORD *)(v4 + 981) = 0;
if ( SetupCollisionTriggerPopup::init((SetupCollisionTriggerPopup *)v4, a1, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return (SetupCollisionTriggerPopup *)v4;
}