//
// sub_A30CF0 from 0xa30cf0 to 0xa30d38 (72 bytes)
//
// 3 xrefs:
// > OBJ_obj2nid @ 0xa31488
// > OBJ_obj2nid @ 0xa31490
// > ??> @ 0xa314dc
//
// 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:08:04 +0000
//
int __fastcall sub_A30CF0(int *a1, _DWORD *a2)
{
int v2; // r0
char **v3; // r3
size_t v4; // r2
v2 = *a1;
v3 = &off_C796A0[6 * *a2];
v4 = *(_DWORD *)(v2 + 12);
if ( v4 == (_DWORD)v3[3] )
{
if ( v4 )
return memcmp(*(const void **)(v2 + 16), v3[4], v4);
}
else
{
v4 -= (unsigned int)v3[3];
}
return v4;
}