//
// sub_1001DFE1C from 0x1001dfe1c to 0x1001dfe8c (112 bytes)
//
// 1 xrefs:
// > SFXSearchResult::updateObjects @ 0x1001e52ac
//
// 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:00:29 +0000
//
__int64 __fastcall sub_1001DFE1C(__int64 a1, char a2)
{
__int64 v4; // x20
__int64 v5; // x8
__int64 v6; // x21
__int64 v7; // x1
v4 = sub_1002E736C(a1);
v5 = *(_QWORD *)(a1 + 400);
if ( v5 )
{
v6 = *(_QWORD *)(v5 + 56);
while ( v6 )
{
while ( 1 )
{
v7 = *(_QWORD *)(v6 + 264);
v6 = *(_QWORD *)(v6 + 288);
if ( *(_BYTE *)(v7 + 72) != 1 || (a2 & 1) == 0 )
break;
if ( !v6 )
return v4;
}
sub_1002E74E0(v4, v7);
}
}
return v4;
}