//
// sub_5E814 from 0x5e814 to 0x5e84e (58 bytes)
//
// 1 xrefs:
// > sub_8D574 @ 0x8d65e
//
// 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_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;
}