//
// sub_1004F3D18 from 0x1004f3d18 to 0x1004f3d78 (96 bytes)
//
// 2 xrefs:
// > sub_10022F288 @ 0x10022f294
// > sub_100264620 @ 0x100264684
//
// 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:46 +0000
//
void *sub_1004F3D18()
{
void *v0; // x19
v0 = operator new(0x3B0u);
sub_1005154E0();
if ( (*(unsigned int (__fastcall **)(void *))(*(_QWORD *)v0 + 80LL))(v0) )
{
cocos2d::CCObject::autorelease((__int64)v0);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return v0;
}