//
// sub_981360 from 0x981360 to 0x9813b4 (84 bytes)
//
// 2 xrefs:
// > sub_9813BC @ 0x9813e2
// > sub_981748 @ 0x981762
//
// 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:07 +0000
//
int __fastcall sub_981360(const char **a1, const char **lpsrc)
{
int v4; // r6
_BYTE *v5; // r0
bool v6; // zf
if ( ((_BYTE)a1[2] & 0x18) != 0 )
goto LABEL_5;
if ( !lpsrc )
return 0;
v4 = 0;
v5 = _dynamic_cast(
lpsrc,
(const struct __class_type_info *)&`typeinfo for'__cxxabiv1::__shim_type_info,
(const struct __class_type_info *)&`typeinfo for'__cxxabiv1::__pbase_type_info,
0);
if ( v5 )
{
if ( (v5[8] & 0x18) == 0 )
{
v4 = 0;
v6 = a1 == lpsrc;
LABEL_6:
if ( v6 )
return 1;
return v4;
}
LABEL_5:
v4 = 0;
v6 = strcmp(a1[1], lpsrc[1]) == 0;
goto LABEL_6;
}
return v4;
}