//
// SetupGravityModPopup::create from 0x66393c to 0x663ab6 (378 bytes)
//
// 0 xrefs:
//
// 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:39 +0000
//
int *__fastcall SetupGravityModPopup::create(
SetupGravityModPopup *this,
EffectGameObject *a2,
cocos2d::CCArray *a3,
bool a4)
{
int *v7; // r4
int v8; // r3
int *v9; // r0
v7 = (int *)operator new(0x238u);
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[123] = -1;
v7[125] = -1;
v7[120] = 0;
v7[121] = 0;
v7[122] = 0;
*((_BYTE *)v7 + 496) = 0;
*((_BYTE *)v7 + 497) = 0;
*((_BYTE *)v7 + 504) = 0;
v7[127] = 0;
v7[128] = 0;
*((_BYTE *)v7 + 516) = 0;
*v7 = (int)&off_CD17E8;
v7[130] = 0;
v7[66] = (int)&off_CD1A98;
v7[131] = 0;
v7[67] = (int)&off_CD1AD0;
*((_BYTE *)v7 + 540) = 0;
v7[68] = (int)&off_CD1ADC;
v7[136] = 0;
v7[69] = (int)&off_CD1AEC;
v7[137] = 0;
v7[70] = (int)&off_CD1B00;
v7[138] = 0;
v7[79] = (int)&off_CD1B18;
v7[139] = 0;
v7[83] = (int)&off_CD1B58;
v7[110] = (int)&off_CD1B68;
v7[140] = 0;
v7[134] = 1065353216;
*((_BYTE *)v7 + 564) = 0;
if ( SetupGravityModPopup::init((Slider **)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;
}