//
// sub_8E1188 from 0x8e1188 to 0x8e1348 (448 bytes)
//
// 3 xrefs:
// > sub_8E6108 @ 0x8e6244
// > sub_8E6108 @ 0x8e6248
// > ??> @ 0x8e63fc
//
// 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_8E1188(
int result,
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 __int16 *a12)
{
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)
| (*(unsigned __int8 *)(*(_DWORD *)(result + 80) + *a12++) << 24);
a9 += a7;
a10 += a7;
a11 += a7;
a12 += a7;
a2 += a8;
}
return result;
}