//
// SetupOptionsTriggerPopup::create from 0x1005e6d30 to 0x1005e6d8a (90 bytes)
//
// 1 xrefs:
// > EditorUI::editObject @ 0x10002b36f
//
// 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
//
SetupOptionsTriggerPopup *__fastcall SetupOptionsTriggerPopup::create(GameOptionsTrigger *a1, cocos2d::CCArray *a2)
{
SetupOptionsTriggerPopup *v2; // rbx
v2 = (SetupOptionsTriggerPopup *)operator new(0x3B8u);
SetupOptionsTriggerPopup::SetupOptionsTriggerPopup(v2);
if ( SetupOptionsTriggerPopup::init(v2, a1, a2) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
((void (__fastcall *)(SetupOptionsTriggerPopup *))v2->~SetupOptionsTriggerPopup_0)(v2);
return nullptr;
}
return v2;
}