//
// SetupInstantCollisionTriggerPopup::create from 0x1405b04f0 to 0x1405b0572 (130 bytes)
//
// 2 xrefs:
// > EditorUI::editObject @ 0x1401bcd39
// > ??> @ 0x14092da88
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:34:42 +0000
//
// Hidden C++ exception states: #wind=1
cocos2d::CCObject *__fastcall SetupInstantCollisionTriggerPopup::create(__int64 a1, __int64 a2)
{
cocos2d::CCObject *v4; // rax
cocos2d::CCObject *v5; // rbx
_QWORD *v7; // [rsp+40h] [rbp+18h]
v7 = operator new(0x3E8u);
v4 = (cocos2d::CCObject *)SetupInstantCollisionTriggerPopup::SetupInstantCollisionTriggerPopup(v7);
v5 = v4;
if ( v4 )
{
if ( (unsigned __int8)SetupInstantCollisionTriggerPopup::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v5);
return v5;
}
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v5 + 8LL))(v5, 1);
return nullptr;
}
return v5;
}