//
// sub_9816F8 from 0x9816f8 to 0x981740 (72 bytes)
//
// 2 xrefs:
// > sub_9813BC @ 0x9814d2
// > sub_981638 @ 0x9816ce
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:06:08 +0000
//
bool __fastcall sub_9816F8(_DWORD *a1, void *lpsrc)
{
int v3; // r5
_DWORD *v4; // r0
if ( !lpsrc )
return 0;
v3 = 0;
v4 = _dynamic_cast(
lpsrc,
(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 ( v4 )
{
if ( (v4[2] & ~a1[2]) != 0 )
return 0;
v3 = 0;
if ( a1[3] == v4[3] )
return a1[4] == v4[4];
}
return v3;
}