//
// sub_5E3C4 from 0x5e3c4 to 0x5e406 (66 bytes)
//
// 1 xrefs:
// > sub_5DBEC @ 0x5dbfe
//
// 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:50 +0000
//
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;
}