//
// SetupSongTriggerPopup::create from 0x658e18 to 0x659054 (572 bytes)
//
// 1 xrefs:
// > EditorUI::editObject @ 0x486ac8
//
// 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:31 +0000
//
int *__fastcall SetupSongTriggerPopup::create(SetupSongTriggerPopup *this, EffectGameObject *a2, cocos2d::CCArray *a3)
{
int *v5; // r4
int v6; // r3
int *v7; // r0
v5 = (int *)operator new(0x2D8u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v5);
v5[111] = 0;
v5[112] = 0;
v5[113] = 0;
*v5 = (int)&off_C86768;
*((_BYTE *)v5 + 456) = 0;
v5[66] = (int)&off_C86A10;
v5[115] = 0;
v5[67] = (int)&off_C86A48;
v5[116] = 0;
v5[68] = (int)&off_C86A54;
*((_BYTE *)v5 + 468) = 0;
v5[69] = (int)&off_C86A64;
*((_BYTE *)v5 + 469) = 0;
v5[70] = (int)&off_C86A78;
*((_BYTE *)v5 + 470) = 0;
v5[79] = (int)&off_C86A90;
*((_BYTE *)v5 + 471) = 0;
v5[83] = (int)&off_C86AD0;
v5[110] = (int)&off_C86AE0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v5 + 118));
v5[120] = 0;
v5[121] = 0;
v5[122] = 0;
v5[123] = -1;
*((_BYTE *)v5 + 496) = 0;
*((_BYTE *)v5 + 497) = 0;
v5[125] = -1;
*((_BYTE *)v5 + 504) = 0;
v5[127] = 0;
v5[128] = 0;
*((_BYTE *)v5 + 516) = 0;
v5[132] = 0;
v5[133] = 0;
*((_BYTE *)v5 + 536) = 0;
*((_BYTE *)v5 + 537) = 0;
v5[135] = 0;
v5[136] = 0;
v5[137] = 0;
*((_BYTE *)v5 + 552) = 0;
v5[139] = 0;
v5[140] = 0;
v5[141] = 0;
*((_BYTE *)v5 + 568) = 0;
v5[143] = 0;
v5[144] = 0;
v5[145] = 0;
v5[146] = 0;
v5[147] = 0;
v5[148] = 0;
v5[149] = 0;
v5[150] = 0;
v5[151] = 0;
v5[152] = 0;
v5[153] = 0;
v5[157] = (int)(v5 + 158);
v5[160] = (int)(v5 + 161);
v5[166] = 1065353216;
v5[177] = 10;
v5[154] = 0;
v5[155] = 0;
v5[156] = 0;
v5[158] = 0;
v5[159] = 0;
v5[161] = 0;
v5[162] = 0;
*((_BYTE *)v5 + 652) = 0;
*((_BYTE *)v5 + 653) = 0;
v5[164] = 0;
v5[165] = 0;
v5[167] = 0;
v5[168] = 0;
v5[169] = 0;
v5[170] = 0;
v5[171] = 0;
v5[172] = 0;
v5[173] = 0;
v5[174] = 0;
*((_BYTE *)v5 + 700) = 0;
v5[176] = 0;
v5[178] = 0;
*v5 = (int)&off_CD0010;
v5[66] = (int)&off_CD030C;
v5[67] = (int)&off_CD0344;
v5[68] = (int)&off_CD0350;
v5[69] = (int)&off_CD0360;
v5[70] = (int)&off_CD0374;
v5[79] = (int)&off_CD038C;
v5[181] = 0;
v5[83] = (int)&off_CD03CC;
v5[110] = (int)&off_CD03DC;
v5[130] = (int)&off_CD0400;
v5[131] = (int)&off_CD040C;
v5[179] = (int)&off_CD041C;
v5[180] = (int)&off_CD0454;
if ( SetupSongTriggerPopup::init((SetupSongTriggerPopup *)v5, this, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5);
}
else
{
v6 = *v5;
v7 = v5;
v5 = nullptr;
(*(void (__fastcall **)(int *))(v6 + 8))(v7);
}
return v5;
}