//
// sub_10053B738 from 0x10053b738 to 0x10053b800 (200 bytes)
//
// 1 xrefs:
// > sub_10053B668 @ 0x10053b670
//
// 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_10053B738(__int64 a1)
{
void *v2; // x19
double v3; // d0
v2 = operator new(0x408u);
bzero(v2, 0x408u);
v3 = SetupTriggerPopup::SetupTriggerPopup((__int64)v2);
*(_QWORD *)v2 = &off_1009A6A90;
*((_QWORD *)v2 + 40) = off_1009A7080;
*((_QWORD *)v2 + 41) = &off_1009A70F0;
*((_QWORD *)v2 + 42) = off_1009A7108;
*((_QWORD *)v2 + 43) = off_1009A7128;
*((_QWORD *)v2 + 44) = off_1009A7150;
*((_QWORD *)v2 + 51) = off_1009A7180;
*((_QWORD *)v2 + 54) = off_1009A7200;
*((_QWORD *)v2 + 68) = off_1009A7220;
*((_QWORD *)v2 + 83) = &off_1009A7268;
*((_QWORD *)v2 + 84) = off_1009A7280;
*((_QWORD *)v2 + 127) = 0;
*((_DWORD *)v2 + 256) = 0;
if ( (unsigned int)sub_10053BF58(v2, a1, v3) )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}