//
// sub_8E100C from 0x8e100c to 0x8e1188 (380 bytes)
//
// 3 xrefs:
// > sub_8E6108 @ 0x8e62b8
// > sub_8E6108 @ 0x8e62bc
// > ??> @ 0x8e6404
//
// 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:09 +0000
//
int __fastcall sub_8E100C(
int result,
unsigned int *a2,
int a3,
int a4,
unsigned int a5,
int a6,
int a7,
int a8,
unsigned __int16 *a9,
unsigned __int16 *a10,
unsigned __int16 *a11)
{
unsigned int i; // [sp+4h] [bp-20h]
while ( a6-- != 0 )
{
for ( i = 0; i < a5; ++i )
*a2++ = *(unsigned __int8 *)(*(_DWORD *)(result + 80) + *a9++)
| (*(unsigned __int8 *)(*(_DWORD *)(result + 80) + *a10++) << 8)
| (*(unsigned __int8 *)(*(_DWORD *)(result + 80) + *a11++) << 16)
| 0xFF000000;
a9 += a7;
a10 += a7;
a11 += a7;
a2 += a8;
}
return result;
}