//
// sub_F94A8 from 0xf94a8 to 0xf9508 (96 bytes)
//
// 7 xrefs:
// > sub_F91D8 @ 0xf9254
// > sub_F9638 @ 0xf9a08
// > sub_F9638 @ 0xf9a6c
// > sub_FA954 @ 0xfa9c4
// > sub_FAAB0 @ 0xfac94
// > sub_FAECC @ 0xfaed4
// > sub_FB058 @ 0xfb060
//
// 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_F94A8(_QWORD *a1, __int64 a2)
{
unsigned int (*v3)(void); // x8
if ( !*a1 )
return 4294967167LL;
v3 = (unsigned int (*)(void))a1[99];
if ( !v3 || v3() == -1 )
return 4294967168LL;
a1[2] = a2;
sub_F38F0((__int64)(a1 + 4));
return 0;
}