//
// ClearPlatformerSavesPopup::create from 0x761618 to 0x7616c4 (172 bytes)
//
// 1 xrefs:
// > GameSettingsLayer::onCustomButton @ 0x710b94
//
// 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 ClearPlatformerSavesPopup::create(ClearPlatformerSavesPopup *this)
{
int *v1; // r4
int v2; // r3
int *v3; // r0
v1 = (int *)operator new(0x21Cu);
memset(v1, 0, 0x21Cu);
FLAlertLayer::FLAlertLayer((FLAlertLayer *)v1);
*v1 = (int)&off_CF3ED0;
v1[66] = (int)&off_CF417C;
v1[67] = (int)&off_CF41B4;
v1[68] = (int)&off_CF41C0;
v1[69] = (int)&off_CF41D0;
v1[70] = (int)&off_CF41E4;
v1[79] = (int)&off_CF41FC;
v1[83] = (int)&off_CF423C;
v1[110] = (int)&off_CF424C;
v1[130] = (int)&off_CF4270;
*((_BYTE *)v1 + 524) = 0;
v1[132] = 0;
v1[133] = 0;
v1[134] = 0;
if ( ClearPlatformerSavesPopup::init((ClearPlatformerSavesPopup *)v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
}
else
{
v2 = *v1;
v3 = v1;
v1 = nullptr;
(*(void (__fastcall **)(int *))(v2 + 8))(v3);
}
return v1;
}