//
// sub_1005327A8 from 0x1005327a8 to 0x100532878 (208 bytes)
//
// 1 xrefs:
// > sub_100168124 @ 0x100168130
//
// 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:21 +0000
//
void *__fastcall sub_1005327A8(__int64 a1)
{
void *v2; // x19
v2 = operator new(0x410u);
bzero(v2, 0x410u);
SetupTriggerPopup::SetupTriggerPopup((__int64)v2);
*(_QWORD *)v2 = &off_1009A52E8;
*((_QWORD *)v2 + 40) = off_1009A58E0;
*((_QWORD *)v2 + 41) = &off_1009A5950;
*((_QWORD *)v2 + 42) = off_1009A5968;
*((_QWORD *)v2 + 43) = off_1009A5988;
*((_QWORD *)v2 + 44) = off_1009A59B0;
*((_QWORD *)v2 + 51) = off_1009A59E0;
*((_QWORD *)v2 + 54) = off_1009A5A60;
*((_QWORD *)v2 + 68) = off_1009A5A80;
*((_QWORD *)v2 + 83) = &off_1009A5AC8;
*((_QWORD *)v2 + 84) = off_1009A5AE0;
*((_QWORD *)v2 + 127) = &off_1009A5B00;
*((_OWORD *)v2 + 64) = 0u;
if ( (unsigned int)sub_10053288C(v2, a1) )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}