//
// sub_100499488 from 0x100499488 to 0x100499598 (272 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_100499488(__int64 a1)
{
__int64 *v1; // x25
__int64 v2; // x8
__int64 v3; // x26
__int64 v4; // x27
__int64 v5; // x28
__int64 v6; // x24
v1 = (__int64 *)(a1 + 49704);
v2 = *(_QWORD *)(a1 + 49704);
if ( v2 && *(int *)(a1 + 49716) >= 1 )
{
v3 = 0;
v4 = 0;
v5 = a1 + 536;
do
{
v6 = v2 + v3;
bzero((void *)(v2 + v3), 0x14020u);
bzero(&unk_100897348, 0x8000u);
bzero(flt_1008A9450, 0x4000u);
bzero(flt_1008AD450, 0x4000u);
bzero(&xmmword_1008A1450, 0x4000u);
bzero(dword_1008A5450, 0x4000u);
*(_DWORD *)(v6 + 81960) = 0;
*(_BYTE *)(v6 + 81984) = 0;
v2 = *v1;
*(_QWORD *)(*v1 + v3 + 81976) = v5;
++v4;
v3 += 81992;
}
while ( v4 < *((int *)v1 + 3) );
}
return 0;
}