//
// sub_E3DD4 from 0xe3dd4 to 0xe3e1c (72 bytes)
//
// 6 xrefs:
// > sub_64DF8 @ 0x64e44
// > sub_64DF8 @ 0x64e58
// > sub_78090 @ 0x780fc
// > sub_E0F84 @ 0xe158c
// > sub_E0F84 @ 0xe15bc
// > sub_E3DD4 @ 0xe3e10
//
// 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 12:14:58 +0000
//
__int64 __fastcall sub_E3DD4(unsigned __int8 *a1, unsigned __int8 *a2)
{
int v2; // w8
int v3; // w9
do
{
v2 = *a1;
v3 = *a2;
if ( (unsigned int)(v2 - 65) < 0x1A )
LOBYTE(v2) = v2 + 32;
if ( (unsigned int)(v3 - 65) < 0x1A )
LOBYTE(v3) = v3 + 32;
if ( !(_BYTE)v2 )
break;
++a2;
++a1;
}
while ( (unsigned __int8)v2 == (unsigned __int8)v3 );
return (unsigned __int8)v2 - (unsigned int)(unsigned __int8)v3;
}