//
// sub_1002C1A40 from 0x1002c1a40 to 0x1002c1ad8 (152 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b100a8
//
// 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:28:05 +0000
//
__int64 __fastcall sub_1002C1A40(__int64 a1)
{
*(_QWORD *)(a1 - 320) = off_100B0FB58;
*(_QWORD *)a1 = off_100B100A8;
*(_QWORD *)(a1 + 8) = &off_100B10118;
*(_QWORD *)(a1 + 16) = off_100B10130;
*(_QWORD *)(a1 + 24) = off_100B10150;
*(_QWORD *)(a1 + 32) = off_100B10178;
*(_QWORD *)(a1 + 88) = off_100B101A8;
*(_QWORD *)(a1 + 112) = off_100B10228;
*(_QWORD *)(a1 + 224) = off_100B10248;
if ( (*(_BYTE *)(a1 + 360) & 1) != 0 )
operator delete(*(void **)(a1 + 376));
return sub_1004936F0(a1 - 320);
}