//
// sub_1004FAA84 from 0x1004faa84 to 0x1004faae0 (92 bytes)
//
// 1 xrefs:
// > sub_1004FAFD4 @ 0x1004fb4a4
//
// 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_1004FAA84(__int64 a1, __int64 a2)
{
__int64 v4; // x9
if ( a1 )
sub_100442B5C(a1, 0x13u);
*(_DWORD *)(a2 + 32) = 1;
v4 = *(_QWORD *)(a1 + 74040);
*(_QWORD *)a2 = v4;
*(_QWORD *)(a2 + 8) = a1 + 74040;
*(_QWORD *)(v4 + 8) = a2;
**(_QWORD **)(a2 + 8) = a2;
return sub_100442B7C(a1, 0x13u);
}