//
// sub_7B7A8 from 0x7b7a8 to 0x7b824 (124 bytes)
//
// 2 xrefs:
// > sub_6B00C @ 0x6b4a8
// > ??> @ 0x10f878
//
// 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:05 +0000
//
__int64 __fastcall sub_7B7A8(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
float *v4; // x19
int v5; // w20
__int64 result; // x0
char v7; // cf
char v8; // zf
__int64 v9; // x8
__int64 v10; // x1
__int64 v11; // x2
int *v12; // x0
long double v13; // q0
float v14; // s1
float v15; // s2
float v16; // s3
float v17; // s4
__int64 v18; // [xsp+8h] [xbp-38h]
result = 31;
if ( a4 )
{
result = sub_7B984(31);
if ( !(!v8 & v7) )
{
sub_7B994(result);
result = sub_7B964(*(_QWORD *)(v9 + 168), v10, v11);
if ( !(_DWORD)result )
{
v12 = (int *)sub_7B96C(v18);
return sub_75360(v12, v5, v4, v13, v14, v15, v16, v17);
}
}
}
return result;
}