//
// sub_100605FC8 from 0x100605fc8 to 0x100606030 (104 bytes)
//
// 2 xrefs:
// > ??> @ 0x10083fd08
// > ??> @ 0x10083fd70
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_100605FC8(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v4; // x20
__int64 v5; // x8
__int64 v7; // [xsp+8h] [xbp-18h] BYREF
v7 = a3;
v4 = *(_QWORD *)(a1 + 96);
if ( *(_QWORD *)(v4 + 8) )
{
do
{
if ( sub_1005EEBD0(a2, *(_DWORD *)v4) )
sub_100606CE4(*(_QWORD *)(v4 + 8), 0, &v7);
v5 = *(_QWORD *)(v4 + 32);
v4 += 24;
}
while ( v5 );
return v7;
}
return a3;
}