//
// sub_4EFC8 from 0x4efc8 to 0x4eff6 (46 bytes)
//
// 1 xrefs:
// > sub_55FA0 @ 0x55fc0
//
// 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
//
int __fastcall sub_4EFC8(int **a1, _DWORD *a2, _DWORD *a3)
{
int v3; // r4
int **v4; // r5
int i; // r3
v3 = 0;
v4 = a1;
for ( i = 0; ; i += *((unsigned __int8 *)v4 + 36) )
{
v4 = (int **)*v4;
if ( v4 == a1 )
break;
++v3;
}
if ( a2 )
*a2 = v3;
if ( a3 )
*a3 = i;
return 0;
}