//
// sub_981DB6 from 0x981db6 to 0x981e08 (82 bytes)
//
// 0 xrefs:
//
// 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
//
int __fastcall sub_981DB6(int a1, int a2, int a3, int a4, int a5, int a6)
{
int v8; // r0
v8 = *(_DWORD *)(a2 + 8);
if ( a6 == 1 )
{
v8 = strcmp(*(const char **)(a1 + 4), *(const char **)(v8 + 4));
if ( !v8 )
return sub_9818D4(v8, a2, a3, a4, a5);
return (*(int (__fastcall **)(_DWORD, int, int, int, int, int))(**(_DWORD **)(a1 + 8) + 20))(
*(_DWORD *)(a1 + 8),
a2,
a3,
a4,
a5,
a6);
}
if ( a1 != v8 )
return (*(int (__fastcall **)(_DWORD, int, int, int, int, int))(**(_DWORD **)(a1 + 8) + 20))(
*(_DWORD *)(a1 + 8),
a2,
a3,
a4,
a5,
a6);
return sub_9818D4(v8, a2, a3, a4, a5);
}