//
// SetupTriggerPopup::create from 0x1002194a0 to 0x10021951e (126 bytes)
//
// 0 xrefs:
//
// 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 12:27:01 +0000
//
void *__fastcall SetupTriggerPopup::create(__int64 a1, __int64 a2, unsigned int a3, float a4, float a5)
{
void *v6; // rbx
v6 = operator new(0x3F8u);
SetupTriggerPopup::SetupTriggerPopup((__int64)v6);
if ( (unsigned __int8)SetupTriggerPopup::init(v6, a1, a2, a3, a4, a5, 0.0) )
{
cocos2d::CCObject::autorelease(v6);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v6 + 16LL))(v6);
return nullptr;
}
return v6;
}