//
// sub_1004AA6D8 from 0x1004aa6d8 to 0x1004aa794 (188 bytes)
//
// 1 xrefs:
// > sub_1004AA34C @ 0x1004aa354
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:06:07 +0000
//
_QWORD *sub_1004AA6D8()
{
_QWORD *v0; // x19
double v1; // d0
v0 = operator new(0x400u);
bzero(v0, 0x400u);
v1 = SetupTriggerPopup::SetupTriggerPopup((__int64)v0);
*v0 = &off_100980980;
v0[40] = off_100980F70;
v0[41] = &off_100980FE0;
v0[42] = off_100980FF8;
v0[43] = off_100981018;
v0[44] = off_100981040;
v0[51] = off_100981070;
v0[54] = off_1009810F0;
v0[68] = off_100981110;
v0[83] = &off_100981158;
v0[84] = off_100981170;
v0[127] = 0;
if ( (unsigned int)ClearPlatformerSavesOptionsPopup::init(v0, v1) )
{
cocos2d::CCObject::autorelease((__int64)v0);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v0 + 16LL))(v0);
return nullptr;
}
return v0;
}