//
// sub_81D348 from 0x81d348 to 0x81d36c (36 bytes)
//
// 3 xrefs:
// > OBJ_find_sigid_by_algs @ 0x81d4a4
// > OBJ_find_sigid_by_algs @ 0x81d4ac
// > ??> @ 0x81d4e0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall sub_81D348(int *a1, int a2)
{
int v2; // r12
int result; // r0
v2 = *a1;
result = *(_DWORD *)(*a1 + 4) - *(_DWORD *)(*(_DWORD *)a2 + 4);
if ( !result )
return *(_DWORD *)(v2 + 8) - *(_DWORD *)(*(_DWORD *)a2 + 8);
return result;
}