//
// sub_E3D84 from 0xe3d84 to 0xe3da8 (36 bytes)
//
// 7 xrefs:
// > sub_5F970 @ 0x5f9cc
// > sub_5FA28 @ 0x5fa7c
// > sub_5FB80 @ 0x5fb88
// > sub_6C4D4 @ 0x6c570
// > sub_6F158 @ 0x6f43c
// > sub_E3528 @ 0xe3594
// > sub_E3D84 @ 0xe3d9c
//
// 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_E3D84(_BYTE *a1, unsigned __int8 *a2)
{
int v2; // w8
int v3; // w9
do
{
v2 = (unsigned __int8)*a1;
v3 = *a2;
if ( !*a1 )
break;
++a2;
++a1;
}
while ( v2 == v3 );
return (unsigned int)(v2 - v3);
}