//
// sub_EA9B4C from 0xea9b4c to 0xea9b84 (56 bytes)
//
// 4 xrefs:
// > TIFFFindField @ 0xea9d28
// > TIFFFindField @ 0xea9d44
// > _TIFFMergeFields @ 0xea9e50
// > _TIFFMergeFields @ 0xea9e58
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:11:11 +0000
//
__int64 __fastcall sub_EA9B4C(int **a1, int **a2)
{
int *v2; // x2
int *v3; // x3
int v4; // w0
int v5; // w1
__int64 result; // x0
int v7; // w1
v2 = *a1;
v3 = *a2;
v4 = **a1;
v5 = **a2;
if ( v4 != v5 )
return (unsigned int)(v4 - v5);
v7 = v2[2];
result = 0;
if ( v7 )
return (unsigned int)(v3[2] - v7);
return result;
}