//
// sub_1006923F4 from 0x1006923f4 to 0x100692470 (124 bytes)
//
// 2 xrefs:
// > sub_10066FF50 @ 0x10066ff84
// > sub_10066FF50 @ 0x10066ffb0
//
// 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 11:11:32 +0000
//
__int64 __fastcall sub_1006923F4(__int64 result)
{
__int64 v1; // x19
int v2; // w8
__int64 i; // x21
_QWORD *v4; // x20
_QWORD *v5; // x1
_QWORD *v6; // x22
v1 = result;
if ( result )
{
v2 = *(_DWORD *)(result + 32);
if ( v2 >= 1 )
{
for ( i = 0; i < v2; ++i )
{
v4 = *(_QWORD **)(*(_QWORD *)v1 + 8 * i);
v5 = (_QWORD *)*v4;
if ( *v4 )
{
do
{
v6 = (_QWORD *)v5[2];
result = sub_100691D08((__int64)v4, v5, v1);
--*(_QWORD *)(v1 + 40);
v5 = v6;
}
while ( v6 );
v2 = *(_DWORD *)(v1 + 32);
}
}
}
}
return result;
}