//
// SetupPortalPopup::create from 0x63485c to 0x6349ca (366 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:19 +0000
//
int *__fastcall SetupPortalPopup::create(SetupPortalPopup *this, EffectGameObject *a2, cocos2d::CCArray *a3)
{
int *v5; // r4
int v6; // r3
int *v7; // r0
v5 = (int *)operator new(0x234u);
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[123] = -1;
v5[125] = -1;
v5[120] = 0;
v5[121] = 0;
v5[122] = 0;
*((_BYTE *)v5 + 496) = 0;
*((_BYTE *)v5 + 497) = 0;
*((_BYTE *)v5 + 504) = 0;
v5[127] = 0;
v5[128] = 0;
*((_BYTE *)v5 + 516) = 0;
*v5 = (int)&off_CCC858;
v5[130] = 0;
v5[66] = (int)&off_CCCB00;
v5[131] = 0;
v5[67] = (int)&off_CCCB38;
v5[132] = 0;
v5[68] = (int)&off_CCCB44;
v5[133] = 0;
v5[69] = (int)&off_CCCB54;
v5[134] = 0;
v5[70] = (int)&off_CCCB68;
v5[135] = 0;
v5[79] = (int)&off_CCCB80;
v5[136] = 0;
v5[83] = (int)&off_CCCBC0;
v5[139] = 0;
*((_BYTE *)v5 + 560) = 0;
*((_BYTE *)v5 + 561) = 0;
v5[110] = (int)&off_CCCBD0;
if ( SetupPortalPopup::init((SetupPortalPopup *)v5, this, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5);
}
else
{
v6 = *v5;
v7 = v5;
v5 = nullptr;
(*(void (__fastcall **)(int *))(v6 + 8))(v7);
}
return v5;
}