//
// sub_77E94 from 0x77e94 to 0x77eec (88 bytes)
//
// 2 xrefs:
// > sub_6B00C @ 0x6b42c
// > ??> @ 0x10f848
//
// 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_77E94(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
__int64 result; // x0
__int64 v5; // x0
__int64 v6; // x1
__int64 v7; // x2
__int64 v8; // x3
int v9; // w4
if ( !a1 )
return 31;
result = 31;
if ( a3 && a4 )
{
result = sub_78050(31);
if ( !(_DWORD)result )
{
v5 = sub_78068();
return sub_72404(v5, v6, v7, v8, v9);
}
}
return result;
}