//
// sub_1001138EC from 0x1001138ec to 0x1001139a8 (188 bytes)
//
// 2 xrefs:
// > sub_100113524 @ 0x100113554
// > ParentalGateLayer::onDone @ 0x100118548
//
// 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 10:59:09 +0000
//
char *sub_1001138EC()
{
char *v0; // x19
v0 = (char *)operator new(0x2F0u);
FLAlertLayer::FLAlertLayer((__int64)v0);
*(_QWORD *)v0 = off_1008D1A08;
*((_QWORD *)v0 + 40) = off_1008D1F58;
*((_QWORD *)v0 + 41) = &off_1008D1FC8;
*((_QWORD *)v0 + 42) = off_1008D1FE0;
*((_QWORD *)v0 + 43) = off_1008D2000;
*((_QWORD *)v0 + 44) = off_1008D2028;
*((_QWORD *)v0 + 51) = off_1008D2058;
*((_QWORD *)v0 + 54) = off_1008D20D8;
*((_QWORD *)v0 + 68) = off_1008D20F8;
*((_DWORD *)v0 + 165) = -1;
*((_QWORD *)v0 + 83) = 0;
v0[672] = 0;
*((_QWORD *)v0 + 91) = 0;
*(_OWORD *)(v0 + 696) = 0u;
*(_OWORD *)(v0 + 712) = 0u;
if ( (unsigned int)ParentalOptionsLayer::init(v0) )
{
cocos2d::CCObject::autorelease((__int64)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return v0;
}