//
// sub_3FF7DC from 0x3ff7dc to 0x3ff800 (36 bytes)
//
// 2 xrefs:
// > std::__ndk1::vector>::assign @ 0x4108fa
// > 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 *> *>> @ 0x41098e
//
// 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:47:23 +0000
//
int __fastcall sub_3FF7DC(int result, int *a2, int *a3)
{
int v3; // r6
int *v6; // r5
int v7; // r1
int v8; // r2
int v9; // r3
v3 = result;
while ( a2 != a3 )
{
v6 = *(int **)(v3 + 4);
if ( v6 )
{
result = *a2;
v7 = a2[1];
v8 = a2[2];
v9 = a2[3];
*v6 = *a2;
v6[1] = v7;
v6[2] = v8;
v6[3] = v9;
}
a2 += 4;
*(_DWORD *)(v3 + 4) += 16;
}
return result;
}