//
// sub_5F808 from 0x5f808 to 0x5f848 (64 bytes)
//
// 1 xrefs:
// > sub_68D7C @ 0x68da4
//
// 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:13:53 +0000
//
__int64 __fastcall sub_5F808(__int64 **a1, _DWORD *a2, _DWORD *a3)
{
int v3; // w9
int v4; // w8
__int64 **i; // x10
v3 = 0;
v4 = 0;
for ( i = a1; ; v4 += *((unsigned __int8 *)i + 60) )
{
i = (__int64 **)*i;
if ( i == a1 )
break;
++v3;
}
if ( a2 )
*a2 = v3;
if ( a3 )
*a3 = v4;
return 0;
}