//
// sub_100428D94 from 0x100428d94 to 0x100428e30 (156 bytes)
//
// 0 xrefs:
//
// 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_100428D94(__int64 a1, __int64 a2, __int64 a3)
{
_QWORD *v3; // x21
_QWORD *v4; // x23
__int64 v7; // x22
__int64 result; // x0
v3 = (_QWORD *)(a1 + 40);
v4 = *(_QWORD **)(a1 + 40);
if ( v4 == (_QWORD *)(a1 + 40) )
return 0;
while ( 1 )
{
v7 = v4 ? (__int64)(v4 - 1) : 0LL;
if ( (**(unsigned int (__fastcall ***)(__int64))v7)(v7) == *(unsigned __int8 *)(a2 + 8) )
{
result = (*(__int64 (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v7 + 40LL))(v7, a2, a3);
if ( (_DWORD)result )
break;
}
v4 = (_QWORD *)*v4;
if ( v4 == v3 )
return 0;
}
return result;
}