//
// sub_1005EB7C4 from 0x1005eb7c4 to 0x1005eb7e8 (36 bytes)
//
// 2 xrefs:
// > sub_1005EB490 @ 0x1005eb51c
// > sub_1005EB6B8 @ 0x1005eb724
//
// 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
//
__int64 __fastcall sub_1005EB7C4(int *a1, _DWORD *a2)
{
int v3; // w9
__int64 result; // x0
v3 = *a1;
result = (unsigned int)(*a1 - *a2);
if ( v3 == *a2 )
return (unsigned int)(a1[1] - a2[1]);
return result;
}