//
// sub_10060FD38 from 0x10060fd38 to 0x10060fdcc (148 bytes)
//
// 1 xrefs:
// > sub_1006102F4 @ 0x1006107e0
//
// 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
//
_QWORD *__fastcall sub_10060FD38(__int64 a1, __int64 a2, __int64 a3)
{
int v6; // w22
_QWORD *v7; // x0
_QWORD *v8; // x23
if ( (int)sub_1005DEA4C(*(unsigned int **)(a1 + 8)) < 1 )
return nullptr;
v6 = 0;
while ( 1 )
{
v7 = (_QWORD *)sub_1005DEA60(*(_QWORD *)(a1 + 8), v6);
v8 = v7;
if ( v7[1] == a2 && !(unsigned int)sub_10058C008(*(_QWORD *)(*v7 + 8LL), a3) )
break;
if ( ++v6 >= (int)sub_1005DEA4C(*(unsigned int **)(a1 + 8)) )
return nullptr;
}
return v8;
}