//
// sub_1004EE1C8 from 0x1004ee1c8 to 0x1004ee2ac (228 bytes)
//
// 1 xrefs:
// > sub_100023D50 @ 0x100023d7c
//
// 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:44 +0000
//
void *__fastcall sub_1004EE1C8(__int64 a1, __int64 a2)
{
void *v4; // x19
v4 = operator new(0x2E8u);
bzero(v4, 0x2E8u);
FLAlertLayer::FLAlertLayer((__int64)v4);
*(_QWORD *)v4 = off_100993258;
*((_QWORD *)v4 + 40) = off_1009937B0;
*((_QWORD *)v4 + 41) = &off_100993820;
*((_QWORD *)v4 + 42) = off_100993838;
*((_QWORD *)v4 + 43) = off_100993858;
*((_QWORD *)v4 + 44) = off_100993880;
*((_QWORD *)v4 + 51) = off_1009938B0;
*((_QWORD *)v4 + 54) = off_100993930;
*((_QWORD *)v4 + 68) = off_100993950;
*((_QWORD *)v4 + 83) = &off_100993998;
*((_OWORD *)v4 + 42) = 0u;
*((_OWORD *)v4 + 43) = 0u;
*((_DWORD *)v4 + 176) = 0;
*((_QWORD *)v4 + 89) = 0;
*((_QWORD *)v4 + 91) = 0;
*((_QWORD *)v4 + 90) = 0;
*((_DWORD *)v4 + 184) = 0;
if ( (unsigned int)sub_1004EE2C0(v4, a1, a2) )
{
cocos2d::CCObject::autorelease((__int64)v4);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return v4;
}