//
// sub_5E3C4 from 0x5e3c4 to 0x5e406 (66 bytes)
//
// 1 xrefs:
// > sub_5DBEC @ 0x5dbfe
//
// 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_5E3C4(_DWORD *a1)
{
int i; // r5
int j; // r6
int v4; // r0
int v5; // r0
if ( a1[12] )
{
for ( i = 0; i < a1[4]; ++i )
{
for ( j = 0; ; ++j )
{
v4 = a1[5];
if ( j >= v4 )
break;
v5 = *(_DWORD *)(a1[12] + 4 * (j + i * v4));
(*(void (__fastcall **)(int))(*(_DWORD *)v5 + 20))(v5);
}
}
a1[10] = 0;
}
return 0;
}