//
// SetupTriggerPopup::create from 0x100234c40 to 0x100234e7d (573 bytes)
//
// 1 xrefs:
// > SetupTriggerPopup::create_1 @ 0x1002351de
//
// 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
//
SetupTriggerPopup *__fastcall SetupTriggerPopup::create(
EffectGameObject *a1,
cocos2d::CCArray *a2,
float a3,
float a4,
int a5)
{
char *v6; // rbx
v6 = (char *)operator new(0x3B0u);
cocos2d::CCLayerColor::CCLayerColor(v6);
*((_QWORD *)v6 + 72) = 0;
*((_DWORD *)v6 + 146) = 0;
v6[588] = 0;
*((_OWORD *)v6 + 34) = 0;
*(_OWORD *)(v6 + 553) = 0;
*((_OWORD *)v6 + 37) = 0;
*((_QWORD *)v6 + 76) = 0;
*((_DWORD *)v6 + 154) = -1;
*((_WORD *)v6 + 310) = 0;
*((_DWORD *)v6 + 156) = -1;
v6[628] = 0;
*(_QWORD *)v6 = off_1008E2620;
*((_QWORD *)v6 + 40) = off_1008E2BF0;
*((_QWORD *)v6 + 41) = &off_1008E2C60;
*((_QWORD *)v6 + 42) = off_1008E2C78;
*((_QWORD *)v6 + 43) = off_1008E2C98;
*((_QWORD *)v6 + 44) = off_1008E2CB8;
*((_QWORD *)v6 + 51) = off_1008E2CE0;
*((_QWORD *)v6 + 54) = off_1008E2D60;
*((_QWORD *)v6 + 79) = off_1008E2D80;
*((_QWORD *)v6 + 80) = &off_1008E2DC8;
*((_QWORD *)v6 + 81) = off_1008E2DE0;
*((_OWORD *)v6 + 52) = 0;
*((_OWORD *)v6 + 41) = 0;
*((_WORD *)v6 + 336) = 0;
*(_OWORD *)(v6 + 680) = 0;
*(_OWORD *)(v6 + 689) = 0;
*(_QWORD *)(v6 + 708) = 0;
v6[716] = 0;
*((_OWORD *)v6 + 45) = 0;
*((_OWORD *)v6 + 46) = 0;
*((_OWORD *)v6 + 47) = 0;
*((_OWORD *)v6 + 48) = 0;
*((_OWORD *)v6 + 49) = 0;
*((_OWORD *)v6 + 50) = 0;
*((_QWORD *)v6 + 102) = 0;
*((_QWORD *)v6 + 103) = v6 + 832;
v6[848] = 0;
v6[849] = 0;
*((_QWORD *)v6 + 107) = 0;
*((_QWORD *)v6 + 108) = 0x3F80000000000000LL;
*(_OWORD *)(v6 + 920) = 0;
*(_OWORD *)(v6 + 904) = 0;
*(_OWORD *)(v6 + 888) = 0;
*(_OWORD *)(v6 + 872) = 0;
v6[936] = 0;
if ( SetupTriggerPopup::init((SetupTriggerPopup *)v6, a1, a2, a3, a4, a5) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v6 + 16LL))(v6);
return nullptr;
}
return (SetupTriggerPopup *)v6;
}