//
// sub_4EFC8 from 0x4efc8 to 0x4eff6 (46 bytes)
//
// 1 xrefs:
// > sub_55FA0 @ 0x55fc0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:40:42 +0000
//
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;
}