//
// sub_10043EB14 from 0x10043eb14 to 0x10043ebb4 (160 bytes)
//
// 1 xrefs:
// > sub_10043E934 @ 0x10043ea84
//
// 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_10043EB14(_QWORD *a1, __int64 a2)
{
_QWORD *v4; // x22
__int64 i; // x8
_QWORD *v6; // x21
__int64 result; // x0
_QWORD *v8; // x20
_QWORD *v9; // x21
v4 = a1 + 62;
for ( i = a1[109]; ; i = v6[47] )
{
v6 = i ? (_QWORD *)(i - 376) : nullptr;
if ( v6 == v4 )
break;
result = (*(__int64 (__fastcall **)(_QWORD *, __int64))(*v6 + 120LL))(v6, a2);
if ( (_DWORD)result )
return result;
}
v8 = a1 + 8732;
v9 = (_QWORD *)(*v8 + 400LL);
while ( 1 )
{
v9 = (_QWORD *)*v9;
if ( v9 == (_QWORD *)(*v8 + 400LL) )
break;
result = sub_10045B160(v9[2], a2);
if ( (_DWORD)result )
return result;
}
return 0;
}