//
// sub_77B68 from 0x77b68 to 0x77ba0 (56 bytes)
//
// 5 xrefs:
// > sub_529D8 @ 0x52b50
// > sub_75F9C @ 0x760d4
// > sub_7C19C @ 0x7c3b4
// > sub_7C19C @ 0x7c5e0
// > sub_7DB40 @ 0x7db6c
//
// 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_77B68(__int64 a1, unsigned int a2, _QWORD *a3)
{
__int64 result; // x0
__int64 v5; // x8
result = 31;
if ( a2 <= 8 && a3 )
{
v5 = *(_QWORD *)(a1 + 8LL * a2 + 67968);
*a3 = v5;
if ( v5 )
return 0;
else
return 9;
}
return result;
}