//
// sub_5F808 from 0x5f808 to 0x5f848 (64 bytes)
//
// 1 xrefs:
// > sub_68D7C @ 0x68da4
//
// 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_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;
}