//
// sub_9F823C from 0x9f823c to 0x9f8290 (84 bytes)
//
// 3 xrefs:
// > std::__ndk1::vector
>::assign @ 0xa04cd8
// > std::__ndk1::vector>::assign @ 0xa04d14
// > std::__ndk1::__hash_table>>,std::__ndk1::__unordered_map_hasher>>,std::__ndk1::hash,true>,std::__ndk1::__unordered_map_equal>>,std::__ndk1::equal_to,true>,std::__ndk1::allocator>>>>::__assign_multi>>,void *> *>> @ 0xa0c4ac
//
// 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:15 +0000
//
__int64 __fastcall sub_9F823C(__int64 result, _QWORD *a2, _QWORD *a3)
{
_QWORD *v3; // x3
__int64 v4; // x5
__int64 v5; // x5
__int64 v6; // x5
__int64 v7; // x5
if ( a3 != a2 )
{
v3 = *(_QWORD **)(result + 8);
do
{
if ( v3 )
{
v4 = a2[1];
*v3 = *a2;
v3[1] = v4;
v5 = a2[3];
v3[2] = a2[2];
v3[3] = v5;
v6 = a2[5];
v3[4] = a2[4];
v3[5] = v6;
v7 = a2[7];
v3[6] = a2[6];
v3[7] = v7;
v3[8] = a2[8];
v3 = *(_QWORD **)(result + 8);
}
a2 += 9;
v3 += 9;
*(_QWORD *)(result + 8) = v3;
}
while ( a2 != a3 );
}
return result;
}