//
// sub_10005F420 from 0x10005f420 to 0x10005f482 (98 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ab7cc0
//
// This function is hookable on this platform (idp: pc, 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 12:19:41 +0000
//
__int64 __fastcall sub_10005F420(__int64 a1, __int64 a2)
{
_QWORD *i; // r15
if ( (*(unsigned __int8 (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)a2 + 32LL))(
a2,
a1,
*(_QWORD *)(a1 + 96)) )
{
for ( i = *(_QWORD **)(a1 + 48); i; i = (_QWORD *)i[9] )
{
if ( !(*(unsigned __int8 (__fastcall **)(_QWORD *, __int64))(*i + 112LL))(i, a2) )
break;
}
}
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a2 + 40LL))(a2, a1);
}