//
// sub_100993630 from 0x100993630 to 0x10099377c (332 bytes)
//
// 2 xrefs:
// > sub_100995F90 @ 0x1009966c4
// > sub_100996930 @ 0x100997b24
//
// This function is hookable on this platform (idp: pc, 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 12:39:09 +0000
//
_QWORD *__fastcall sub_100993630(int a1, int a2, int a3, int a4, int a5, __int64 a6, char a7, char *a8)
{
_QWORD *v10; // rbx
v10 = operator new(0x410u);
SetupTriggerPopup::SetupTriggerPopup((__int64)v10);
*v10 = off_100BD7160;
v10[40] = off_100BD7750;
v10[41] = &off_100BD77C0;
v10[42] = off_100BD77D8;
v10[43] = off_100BD77F8;
v10[44] = off_100BD7820;
v10[51] = off_100BD7850;
v10[54] = off_100BD78D0;
v10[68] = off_100BD78F0;
v10[83] = &off_100BD7938;
v10[84] = off_100BD7950;
v10[127] = 0;
*((_DWORD *)v10 + 256) = 0;
v10[129] = 0;
if ( (unsigned __int8)sub_100993790((int)v10, a1, a2, a3, a4, a5, a6, a7, a8) )
{
cocos2d::CCObject::autorelease((__int64)v10);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v10 + 16LL))(v10);
return nullptr;
}
return v10;
}