//
// sub_9FE160 from 0x9fe160 to 0x9fe200 (160 bytes)
//
// 2 xrefs:
// > std::__ndk1::vector>::assign @ 0x9ff37c
// > std::__ndk1::vector>::assign @ 0x9ff3e4
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:59:18 +0000
//
__int64 *__fastcall sub_9FE160(__int64 *result, __int64 a2, __int64 a3)
{
__int64 v3; // x19
__int64 *v5; // x20
__int64 v6; // x3
v3 = a2;
v5 = result;
if ( a3 != a2 )
{
v6 = result[1];
do
{
result = (__int64 *)(v6 + 32);
if ( v6 )
{
*(_BYTE *)v6 = *(_BYTE *)v3;
*(_DWORD *)(v6 + 4) = *(_DWORD *)(v3 + 4);
*(_BYTE *)(v6 + 8) = *(_BYTE *)(v3 + 8);
*(_DWORD *)(v6 + 12) = *(_DWORD *)(v3 + 12);
*(_DWORD *)(v6 + 16) = *(_DWORD *)(v3 + 16);
*(_DWORD *)(v6 + 20) = *(_DWORD *)(v3 + 20);
*(_DWORD *)(v6 + 24) = *(_DWORD *)(v3 + 24);
*(_BYTE *)(v6 + 28) = *(_BYTE *)(v3 + 28);
result = std::vector::vector(result, (const void **)(v3 + 32));
v6 = v5[1];
}
v3 += 56;
v6 += 56;
v5[1] = v6;
}
while ( v3 != a3 );
}
return result;
}