//
// sub_879F34 from 0x879f34 to 0x879f70 (60 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:03:05 +0000
//
char *__fastcall sub_879F34(char *result, char **a2, _DWORD *a3, int a4, int a5)
{
int v6; // r6
int v7; // r2
int v8; // lr
char *v10; // t1
_BYTE *v11; // r3
_BYTE *v12; // r5
char v13; // r4
v6 = *((_DWORD *)result + 9);
v7 = *((_DWORD *)result + 7);
v8 = 4 * a4 - (_DWORD)a2 - 4;
while ( --a5 >= 0 )
{
while ( 1 )
{
v10 = *a2++;
result = v10;
v11 = *(char **)((char *)a2 + v8 + *a3);
if ( !v7 )
break;
v12 = &v11[v7];
do
{
v13 = *result;
result += v6;
*v11++ = v13;
}
while ( v11 != v12 );
if ( --a5 < 0 )
return result;
}
}
return result;
}