//
// sub_62E514 from 0x62e514 to 0x62e55c (72 bytes)
//
// 11 xrefs:
// > sub_610044 @ 0x6100b0
// > sub_610224 @ 0x610296
// > sub_6105EC @ 0x610700
// > sub_62E9C8 @ 0x62ea4a
// > sub_62E9C8 @ 0x62ea5a
// > sub_62E9C8 @ 0x62eafe
// > sub_62F738 @ 0x62f758
// > sub_62FD98 @ 0x62fdaa
// > sub_6313B8 @ 0x6313de
// > sub_63E208 @ 0x63e242
// > sub_63E278 @ 0x63e2c8
//
// 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_62E514(int *a1, int a2, int a3)
{
int v6; // r4
_DWORD *v7; // r4
int v8; // r5
if ( !a1 )
return 0;
v6 = *a1;
v7 = **(_DWORD ***)(v6 + 4 * ((int (__fastcall *)(int, int, int))a1[1])(a2, a3, a1[4]));
if ( !v7 )
return 0;
while ( 1 )
{
v8 = *v7;
if ( ((int (__fastcall *)(_DWORD, _DWORD, int, int))a1[2])(*(_DWORD *)(*v7 + 4), *(_DWORD *)(*v7 + 8), a2, a3) )
break;
v7 = (_DWORD *)v7[2];
if ( !v7 )
return 0;
}
return *(_DWORD *)v8;
}