//
// sub_8E4EBC from 0x8e4ebc to 0x8e4fc0 (260 bytes)
//
// 1 xrefs:
// > sub_8E5900 @ 0x8e5994
//
// 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 12:04:10 +0000
//
int __fastcall sub_8E4EBC(int result)
{
int v1; // [sp+8h] [bp-14h]
int v2; // [sp+Ch] [bp-10h]
int v3; // [sp+10h] [bp-Ch]
int i; // [sp+14h] [bp-8h]
v1 = *(_DWORD *)(result + 36);
v2 = *(_DWORD *)(result + 40);
v3 = *(_DWORD *)(result + 44);
for ( i = (1 << *(_WORD *)(result + 24)) - 1; i >= 0; --i )
{
*(_WORD *)(v1 + 2 * i) >>= 8;
*(_WORD *)(v2 + 2 * i) >>= 8;
*(_WORD *)(v3 + 2 * i) >>= 8;
}
return result;
}