//
// sub_F8ABB8 from 0xf8abb8 to 0xf8acec (308 bytes)
//
// 1 xrefs:
// > sub_F8A7D4 @ 0xf8a99c
//
// This function is hookable on this platform (idp: arm, 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 13:13:55 +0000
//
void *__fastcall sub_F8ABB8(void *a1, void *lpsrc)
{
const void *i; // x8
_DWORD *v4; // x0
_DWORD *v5; // x20
int v6; // w9
__int64 v7; // x8
void *result; // x0
void *v9; // x0
_QWORD *v10; // x19
for ( i = lpsrc; i; a1 = v9 )
{
v4 = _dynamic_cast(
i,
(const struct __class_type_info *)&`typeinfo for'__cxxabiv1::__shim_type_info,
(const struct __class_type_info *)&`typeinfo for'__cxxabiv1::__pointer_type_info,
0);
v5 = v4;
if ( !v4 )
break;
v6 = *((_DWORD *)a1 + 4);
if ( (v4[4] & ~v6) != 0 )
break;
v7 = *((_QWORD *)a1 + 3);
if ( v7 == *((_QWORD *)v4 + 3) )
return dword_0 + 1;
result = nullptr;
if ( (v6 & 1) == 0 || !v7 )
return result;
v9 = _dynamic_cast(
*((const void **)a1 + 3),
(const struct __class_type_info *)&`typeinfo for'__cxxabiv1::__shim_type_info,
(const struct __class_type_info *)&`typeinfo for'__cxxabiv1::__pointer_type_info,
0);
if ( !v9 )
{
result = *((void **)a1 + 3);
if ( !result )
return result;
v10 = _dynamic_cast(
result,
(const struct __class_type_info *)&`typeinfo for'__cxxabiv1::__shim_type_info,
(const struct __class_type_info *)&`typeinfo for'__cxxabiv1::__pointer_to_member_type_info,
0);
if ( v10 )
{
result = *((void **)v5 + 3);
if ( !result )
return result;
result = _dynamic_cast(
result,
(const struct __class_type_info *)&`typeinfo for'__cxxabiv1::__shim_type_info,
(const struct __class_type_info *)&`typeinfo for'__cxxabiv1::__pointer_to_member_type_info,
0);
if ( !result )
return result;
if ( (*((_DWORD *)result + 4) & ~*((_DWORD *)v10 + 4)) == 0 && v10[3] == *((_QWORD *)result + 3) )
return (void *)(v10[4] == *((_QWORD *)result + 4));
}
return nullptr;
}
i = *((const void **)v5 + 3);
}
return nullptr;
}