//
// ClearPlatformerSavesOptionsPopup::create from 0x7616c8 to 0x761840 (376 bytes)
//
// 1 xrefs:
// > ClearPlatformerSavesPopup::onOptions @ 0x761846
//
// 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:59:04 +0000
//
int *__fastcall ClearPlatformerSavesOptionsPopup::create(ClearPlatformerSavesOptionsPopup *this)
{
int *v1; // r4
int v2; // r3
int *v3; // r0
v1 = (int *)operator new(0x2CCu);
memset(v1, 0, 0x2CCu);
FLAlertLayer::FLAlertLayer((FLAlertLayer *)v1);
v1[132] = 0;
v1[133] = 0;
*((_BYTE *)v1 + 536) = 0;
*((_BYTE *)v1 + 537) = 0;
v1[135] = 0;
v1[136] = 0;
v1[137] = 0;
*((_BYTE *)v1 + 552) = 0;
v1[139] = 0;
v1[140] = 0;
v1[141] = 0;
*((_BYTE *)v1 + 568) = 0;
v1[143] = 0;
v1[144] = 0;
v1[145] = 0;
v1[146] = 0;
v1[147] = 0;
v1[148] = 0;
v1[149] = 0;
v1[150] = 0;
v1[151] = 0;
v1[152] = 0;
v1[153] = 0;
v1[154] = 0;
v1[155] = 0;
v1[156] = 0;
v1[158] = 0;
v1[159] = 0;
v1[157] = (int)(v1 + 158);
v1[161] = 0;
v1[162] = 0;
v1[160] = (int)(v1 + 161);
*((_BYTE *)v1 + 652) = 0;
*((_BYTE *)v1 + 653) = 0;
v1[166] = 1065353216;
v1[177] = 10;
v1[164] = 0;
v1[165] = 0;
v1[167] = 0;
*v1 = (int)&off_CF4280;
v1[168] = 0;
v1[66] = (int)&off_CF4578;
v1[169] = 0;
v1[67] = (int)&off_CF45B0;
v1[170] = 0;
v1[68] = (int)&off_CF45BC;
v1[171] = 0;
v1[69] = (int)&off_CF45CC;
v1[172] = 0;
v1[70] = (int)&off_CF45E0;
v1[173] = 0;
v1[79] = (int)&off_CF45F8;
v1[174] = 0;
v1[83] = (int)&off_CF4638;
*((_BYTE *)v1 + 700) = 0;
v1[110] = (int)&off_CF4648;
v1[176] = 0;
v1[130] = (int)&off_CF466C;
v1[131] = (int)&off_CF4678;
v1[178] = 0;
if ( ClearPlatformerSavesOptionsPopup::init((ClearPlatformerSavesOptionsPopup *)v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
}
else
{
v2 = *v1;
v3 = v1;
v1 = nullptr;
(*(void (__fastcall **)(int *))(v2 + 8))(v3);
}
return v1;
}