//
// sub_9DC284 from 0x9dc284 to 0x9dc2b4 (48 bytes)
//
// 3 xrefs:
// > sub_9DCBD0 @ 0x9dd048
// > sub_9DCBD0 @ 0x9dd050
// > ??> @ 0x9dd148
//
// 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:07:17 +0000
//
int __fastcall sub_9DC284(int a1, int a2)
{
signed int v2; // r4
signed int v3; // r5
const void *v4; // r1
size_t v5; // r2
int result; // r0
v2 = *(_DWORD *)(a2 + 4);
v3 = *(_DWORD *)(a1 + 4);
v4 = *(const void **)a2;
if ( v3 >= v2 )
v5 = v2;
else
v5 = *(_DWORD *)(a1 + 4);
result = memcmp(*(const void **)a1, v4, v5);
if ( !result )
return v3 - v2;
return result;
}