//
// SetupShaderEffectPopup::create from 0x68df88 to 0x68e1c8 (576 bytes)
//
// 1 xrefs:
// > EditorUI::editObject @ 0x48693c
//
// 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:56:09 +0000
//
int *__fastcall SetupShaderEffectPopup::create(
SetupShaderEffectPopup *this,
EffectGameObject *a2,
cocos2d::CCArray *a3,
int a4)
{
int *v7; // r4
int v8; // r3
int *v9; // r0
v7 = (int *)operator new(0x2DCu);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v7);
v7[111] = 0;
v7[112] = 0;
v7[113] = 0;
*v7 = (int)&off_C86768;
*((_BYTE *)v7 + 456) = 0;
v7[66] = (int)&off_C86A10;
v7[115] = 0;
v7[67] = (int)&off_C86A48;
v7[116] = 0;
v7[68] = (int)&off_C86A54;
*((_BYTE *)v7 + 468) = 0;
v7[69] = (int)&off_C86A64;
*((_BYTE *)v7 + 469) = 0;
v7[70] = (int)&off_C86A78;
*((_BYTE *)v7 + 470) = 0;
v7[79] = (int)&off_C86A90;
*((_BYTE *)v7 + 471) = 0;
v7[83] = (int)&off_C86AD0;
v7[110] = (int)&off_C86AE0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v7 + 118));
v7[120] = 0;
v7[121] = 0;
v7[122] = 0;
v7[123] = -1;
*((_BYTE *)v7 + 496) = 0;
*((_BYTE *)v7 + 497) = 0;
v7[125] = -1;
*((_BYTE *)v7 + 504) = 0;
v7[127] = 0;
v7[128] = 0;
*((_BYTE *)v7 + 516) = 0;
v7[132] = 0;
v7[133] = 0;
*((_BYTE *)v7 + 536) = 0;
*((_BYTE *)v7 + 537) = 0;
v7[135] = 0;
v7[136] = 0;
v7[137] = 0;
*((_BYTE *)v7 + 552) = 0;
v7[139] = 0;
v7[140] = 0;
v7[141] = 0;
*((_BYTE *)v7 + 568) = 0;
v7[143] = 0;
v7[144] = 0;
v7[145] = 0;
v7[146] = 0;
v7[147] = 0;
v7[148] = 0;
v7[149] = 0;
v7[150] = 0;
v7[151] = 0;
v7[152] = 0;
v7[153] = 0;
v7[157] = (int)(v7 + 158);
v7[160] = (int)(v7 + 161);
v7[166] = 1065353216;
v7[177] = 10;
v7[154] = 0;
v7[155] = 0;
v7[156] = 0;
v7[158] = 0;
v7[159] = 0;
v7[161] = 0;
v7[162] = 0;
*((_BYTE *)v7 + 652) = 0;
*((_BYTE *)v7 + 653) = 0;
v7[164] = 0;
v7[165] = 0;
v7[167] = 0;
v7[168] = 0;
v7[169] = 0;
v7[170] = 0;
v7[171] = 0;
v7[172] = 0;
v7[173] = 0;
v7[174] = 0;
*((_BYTE *)v7 + 700) = 0;
v7[176] = 0;
*v7 = (int)&off_CD5998;
v7[66] = (int)&off_CD5C90;
v7[67] = (int)&off_CD5CC8;
v7[68] = (int)&off_CD5CD4;
v7[69] = (int)&off_CD5CE4;
v7[70] = (int)&off_CD5CF8;
v7[79] = (int)&off_CD5D10;
v7[83] = (int)&off_CD5D50;
v7[178] = 0;
v7[110] = (int)&off_CD5D60;
v7[179] = 0;
v7[130] = (int)&off_CD5D84;
v7[131] = (int)&off_CD5D90;
v7[180] = 0;
*((_BYTE *)v7 + 724) = 0;
v7[182] = 0;
if ( SetupShaderEffectPopup::init((SetupShaderEffectPopup *)v7, this, a2, (int)a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v7);
}
else
{
v8 = *v7;
v9 = v7;
v7 = nullptr;
(*(void (__fastcall **)(int *))(v8 + 8))(v9);
}
return v7;
}