//
// sub_5E814 from 0x5e814 to 0x5e84e (58 bytes)
//
// 1 xrefs:
// > sub_8D574 @ 0x8d65e
//
// 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_5E814(int result, int a2, int a3)
{
char *v3; // r1
char v4; // r4
int v5; // r3
v3 = (char *)&unk_E86FC + 2 * byte_E87DC[8 * a2 - 9 + a3] + 1;
do
{
v4 = *v3;
v5 = (unsigned __int8)*(v3 - 1);
v3 += 2;
*(_DWORD *)(result + 4 * v5) = dword_E86B8[v4 & 0x7F];
}
while ( (v4 & 0x80) == 0 );
return result;
}