//
// sub_911578 from 0x911578 to 0x9115aa (50 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:27 +0000
//
int __fastcall sub_911578(int result, int a2, int a3, int a4, int a5, unsigned int *a6)
{
unsigned int *v6; // r6
int v7; // r5
unsigned int *v8; // r3
int v9; // lr
int v10; // r7
unsigned int v11; // r4
if ( a4 > 0 )
{
v6 = a6;
v7 = 0;
v8 = &a6[a4];
do
{
v9 = *(unsigned __int8 *)(result + v7);
v10 = *(unsigned __int8 *)(a2 + v7);
v11 = *(unsigned __int8 *)(a3 + v7) | 0xFF000000;
v7 += a5;
*v6++ = v11 | (v9 << 16) | (v10 << 8);
}
while ( v6 != v8 );
}
return result;
}