//
// sub_77EEC from 0x77eec to 0x77f44 (88 bytes)
//
// 2 xrefs:
// > sub_6B00C @ 0x6b460
// > ??> @ 0x10f850
//
// 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:14:02 +0000
//
__int64 __fastcall sub_77EEC(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
__int64 result; // x0
__int64 v5; // x0
__int64 v6; // x1
float *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_7259C(v5, v6, v7, v8, v9);
}
}
return result;
}