//
// sub_1003FA6DC from 0x1003fa6dc to 0x1003fa718 (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x100814170
//
// 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_1003FA6DC(__int64 result, int a2)
{
__int64 v2; // x8
if ( a2 == 87 || a2 == 32 )
{
*(_BYTE *)(result + 1064) = 0;
*(_BYTE *)(result + 296) = 0;
}
v2 = *(_QWORD *)(result + 912);
if ( *(_DWORD *)(v2 + 1944) == 1 )
return (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v2 + 13152) + 1288LL))(*(_QWORD *)(v2 + 13152));
return result;
}