//
// sub_10053D07C from 0x10053d07c to 0x10053d13c (192 bytes)
//
// 1 xrefs:
// > sub_1005423F4 @ 0x100542428
//
// 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:07:40 +0000
//
void *__fastcall sub_10053D07C(
__int64 a1,
__int64 a2,
__int64 a3,
__int64 a4,
__int64 a5,
__int64 a6,
__int64 a7,
int a8)
{
void *v16; // x19
v16 = operator new(0x528u);
sub_10053FF9C();
if ( (unsigned int)sub_10053D150(v16, a1, a2, a3, a4, a5, a6, a7, a8) )
{
cocos2d::CCObject::autorelease((__int64)v16);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v16 + 16LL))(v16);
return nullptr;
}
return v16;
}