//
// sub_100932980 from 0x100932980 to 0x100932ae8 (360 bytes)
//
// 2 xrefs:
// > sub_10092F660 @ 0x10092f68f
// > sub_100946B60 @ 0x100946b76
//
// 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:38:24 +0000
//
char *__fastcall sub_100932980(__int64 a1)
{
char *v1; // rbx
v1 = (char *)operator new(0x428u);
sub_100737E80((__int64)v1);
*(_QWORD *)v1 = off_100BC4760;
*((_QWORD *)v1 + 40) = off_100BC4CF0;
*((_QWORD *)v1 + 41) = &off_100BC4D60;
*((_QWORD *)v1 + 42) = off_100BC4D78;
*((_QWORD *)v1 + 43) = off_100BC4D98;
*((_QWORD *)v1 + 44) = off_100BC4DC0;
*((_QWORD *)v1 + 51) = off_100BC4DF0;
*((_QWORD *)v1 + 54) = off_100BC4E70;
*((_QWORD *)v1 + 68) = off_100BC4E90;
*((_QWORD *)v1 + 97) = off_100BC4ED8;
*((_QWORD *)v1 + 98) = off_100BC4F10;
*(_OWORD *)(v1 + 792) = 0;
*(_DWORD *)(v1 + 807) = 0;
*((_OWORD *)v1 + 51) = 0;
*((_DWORD *)v1 + 208) = 0;
*(_OWORD *)(v1 + 840) = 0;
*(_OWORD *)(v1 + 856) = 0;
*(_OWORD *)(v1 + 872) = 0;
*(_OWORD *)(v1 + 888) = 0;
*(_OWORD *)(v1 + 904) = 0;
*(_OWORD *)(v1 + 920) = 0;
*(_OWORD *)(v1 + 936) = 0;
*(_OWORD *)(v1 + 952) = 0;
*(_OWORD *)(v1 + 968) = 0;
*(_OWORD *)(v1 + 984) = 0;
*(_OWORD *)(v1 + 1000) = 0;
*(_OWORD *)(v1 + 1016) = 0;
*(_OWORD *)(v1 + 1032) = 0;
*(_OWORD *)(v1 + 1041) = 0;
if ( (unsigned __int8)sub_10093E4A0(v1, a1) )
{
cocos2d::CCObject::autorelease((__int64)v1);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return v1;
}