//
// 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 (idp: arm, 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:15:08 +0000
//
__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;
}