//
// sub_4A9C4E from 0x4a9c4e to 0x4a9c80 (50 bytes)
//
// 1 xrefs:
// > std::__ndk1::vector>::insert @ 0x4b28a2
//
// 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 11:49:57 +0000
//
_DWORD *__fastcall sub_4A9C4E(_DWORD *result, char *a2, unsigned int a3, int a4)
{
_DWORD *v4; // r6
signed int v5; // r3
char *v6; // r4
int v7; // lr
int v8; // t1
v4 = (_DWORD *)*result;
v5 = *result - a4;
v6 = &a2[v5];
while ( (unsigned int)v6 < a3 )
{
v8 = *(_DWORD *)v6;
v6 += 4;
v7 = v8;
if ( *result )
*(_DWORD *)*result = v7;
*result += 4;
}
if ( v5 >> 2 )
return j_memmove((char *)v4 - v5, a2, v5);
return result;
}