//
// sub_1006735EC from 0x1006735ec to 0x1006736f0 (260 bytes)
//
// 1 xrefs:
// > sub_10067EF10 @ 0x100681574
//
// 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:09 +0000
//
void __fastcall sub_1006735EC(__int64 a1)
{
_QWORD *v2; // x21
_QWORD *v3; // x23
_QWORD *v4; // x20
_QWORD *v5; // x8
_QWORD *v6; // x24
if ( a1 )
{
v2 = *(_QWORD **)a1;
if ( *(_QWORD *)a1 )
{
v3 = *(_QWORD **)a1;
v4 = *(_QWORD **)a1;
while ( 1 )
{
v5 = v4;
v4 = v2;
if ( !v2 )
break;
v2 = (_QWORD *)*v2;
if ( !v4[6] )
{
if ( v3 == v4 )
v3 = (_QWORD *)*v4;
v6 = (_QWORD *)*v4;
if ( v5 != v4 )
{
*v5 = v2;
v6 = v5;
}
off_1009E5FD8((void *)v4[7]);
off_1009E5FD8((void *)v4[5]);
off_1009E5FD8((void *)v4[3]);
off_1009E5FD8((void *)v4[4]);
off_1009E5FD8((void *)v4[1]);
off_1009E5FD8((void *)v4[2]);
off_1009E5FD8((void *)v4[10]);
off_1009E5FD8((void *)v4[9]);
off_1009E5FD8(v4);
--*(_QWORD *)(a1 + 24);
v4 = v6;
}
}
*(_QWORD *)a1 = v3;
}
}
}