//
// SetupTriggerPopup::create from 0x6765fc to 0x676838 (572 bytes)
//
// 1 xrefs:
// > SetupTriggerPopup::create @ 0x67684e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:55:56 +0000
//
int *__fastcall SetupTriggerPopup::create(
SetupTriggerPopup *this,
EffectGameObject *a2,
cocos2d::CCArray *a3,
float a4,
char *a5,
int a6)
{
int *v10; // r4
int v11; // r3
int *v12; // r0
v10 = (int *)operator new(0x2C8u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v10);
v10[111] = 0;
v10[112] = 0;
v10[113] = 0;
*v10 = (int)&off_C86768;
*((_BYTE *)v10 + 456) = 0;
v10[66] = (int)&off_C86A10;
v10[115] = 0;
v10[67] = (int)&off_C86A48;
v10[116] = 0;
v10[68] = (int)&off_C86A54;
*((_BYTE *)v10 + 468) = 0;
v10[69] = (int)&off_C86A64;
*((_BYTE *)v10 + 469) = 0;
v10[70] = (int)&off_C86A78;
*((_BYTE *)v10 + 470) = 0;
v10[79] = (int)&off_C86A90;
*((_BYTE *)v10 + 471) = 0;
v10[83] = (int)&off_C86AD0;
v10[110] = (int)&off_C86AE0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v10 + 118));
v10[123] = -1;
v10[125] = -1;
v10[120] = 0;
v10[121] = 0;
v10[122] = 0;
*((_BYTE *)v10 + 496) = 0;
*((_BYTE *)v10 + 497) = 0;
*((_BYTE *)v10 + 504) = 0;
v10[127] = 0;
v10[128] = 0;
*((_BYTE *)v10 + 516) = 0;
*v10 = (int)&off_CD3E38;
v10[132] = 0;
v10[66] = (int)&off_CD4130;
v10[133] = 0;
v10[67] = (int)&off_CD4168;
*((_BYTE *)v10 + 536) = 0;
v10[68] = (int)&off_CD4174;
*((_BYTE *)v10 + 537) = 0;
v10[69] = (int)&off_CD4184;
v10[135] = 0;
v10[70] = (int)&off_CD4198;
v10[136] = 0;
v10[79] = (int)&off_CD41B0;
v10[137] = 0;
v10[83] = (int)&off_CD41F0;
*((_BYTE *)v10 + 552) = 0;
v10[110] = (int)&off_CD4200;
v10[139] = 0;
v10[130] = (int)&off_CD4224;
v10[131] = (int)&off_CD4230;
v10[140] = 0;
v10[141] = 0;
*((_BYTE *)v10 + 568) = 0;
v10[143] = 0;
v10[144] = 0;
v10[145] = 0;
v10[146] = 0;
v10[147] = 0;
v10[148] = 0;
v10[149] = 0;
v10[150] = 0;
v10[151] = 0;
v10[152] = 0;
v10[153] = 0;
v10[154] = 0;
v10[155] = 0;
v10[156] = 0;
v10[158] = 0;
v10[159] = 0;
v10[157] = (int)(v10 + 158);
v10[161] = 0;
v10[162] = 0;
v10[160] = (int)(v10 + 161);
*((_BYTE *)v10 + 652) = 0;
*((_BYTE *)v10 + 653) = 0;
v10[164] = 0;
v10[165] = 0;
v10[166] = 1065353216;
v10[167] = 0;
v10[168] = 0;
v10[169] = 0;
v10[170] = 0;
v10[171] = 0;
v10[172] = 0;
v10[173] = 0;
v10[174] = 0;
v10[177] = 10;
*((_BYTE *)v10 + 700) = 0;
v10[176] = 0;
if ( SetupTriggerPopup::init((SetupTriggerPopup *)v10, this, a2, *(float *)&a3, a4, a5, 0.0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v10);
}
else
{
v11 = *v10;
v12 = v10;
v10 = nullptr;
(*(void (__fastcall **)(int *))(v11 + 8))(v12);
}
return v10;
}