//
// sub_91D860 from 0x91d860 to 0x91d894 (52 bytes)
//
// 0 xrefs:
//
// 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:39 +0000
//
unsigned __int8 *__fastcall sub_91D860(unsigned __int8 *result, int a2, int a3, int a4, int a5, int a6)
{
int v6; // r5
unsigned __int8 *v7; // r6
int v8; // t1
if ( a4 < a5 )
{
do
{
if ( a6 > 0 )
{
v6 = a3 - 1;
v7 = &result[a6];
do
{
v8 = *result++;
*(_BYTE *)++v6 = BYTE1(*(_DWORD *)(a2 + 4 * v8));
}
while ( result != v7 );
a3 += a6;
}
++a4;
}
while ( a4 != a5 );
}
return result;
}