//
// sub_10020D250 from 0x10020d250 to 0x10020d310 (192 bytes)
//
// 3 xrefs:
// > sub_10020D0EC @ 0x10020d108
// > sub_10020D128 @ 0x10020d144
// > sub_100490A64 @ 0x100490a8c
//
// 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:01:01 +0000
//
_QWORD *__fastcall sub_10020D250(__int64 a1, __int64 a2)
{
_QWORD *v4; // x19
v4 = operator new(0x2B0u);
FLAlertLayer::FLAlertLayer((__int64)v4);
*v4 = off_1008F6EE8;
v4[40] = off_1008F7438;
v4[41] = &off_1008F74A8;
v4[42] = off_1008F74C0;
v4[43] = off_1008F74E0;
v4[44] = off_1008F7508;
v4[51] = off_1008F7538;
v4[54] = off_1008F75B8;
v4[68] = off_1008F75D8;
v4[83] = 0;
*((_DWORD *)v4 + 168) = 0;
v4[85] = 0;
if ( (unsigned int)sub_10020E640(v4, a1, a2) )
{
cocos2d::CCObject::autorelease((__int64)v4);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v4 + 16LL))(v4);
return nullptr;
}
return v4;
}