//
// sub_8DCD84 from 0x8dcd84 to 0x8dcea4 (288 bytes)
//
// 3 xrefs:
// > sub_8E5A20 @ 0x8e5d88
// > sub_8E5A20 @ 0x8e5d8c
// > ??> @ 0x8e60d8
//
// 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:08 +0000
//
int __fastcall sub_8DCD84(int result, int *a2, int a3, int a4, int a5, int a6, int a7, int a8, unsigned __int8 *a9)
{
int v11; // [sp+4h] [bp-18h]
int v13; // [sp+10h] [bp-Ch]
int v14; // [sp+14h] [bp-8h]
v13 = *(unsigned __int16 *)(result + 26);
v14 = *(_DWORD *)(result + 60);
while ( a6-- != 0 )
{
v11 = a5;
while ( v11-- != 0 )
{
*a2++ = **(_DWORD **)(v14 + 4 * *a9) & ~(~a9[1] << 24);
a9 += v13;
}
a2 += a8;
a9 += a7;
}
return result;
}