//
// sub_91F948 from 0x91f948 to 0x91f9ae (102 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:40 +0000
//
unsigned int *__fastcall sub_91F948(unsigned int *result, int a2, int a3, int a4, char a5, char a6, int a7)
{
int v7; // r12
unsigned int *v8; // r4
unsigned int v9; // t1
int v10; // r3
v7 = a4 - 1;
if ( a4 > 0 )
{
do
{
if ( a3 > 0 )
{
v8 = result;
do
{
v9 = *v8++;
v10 = (unsigned __int8)(v9
- ((unsigned int)(((__int16)v9 >> 8) * a5) >> 5)
- ((unsigned int)(((__int16)(v9 >> 8) >> 8) * a6) >> 5));
++*(_DWORD *)(a7 + 4 * v10);
}
while ( &result[a3] != v8 );
}
--v7;
result += a2;
}
while ( v7 != -1 );
}
return result;
}