//
// sub_E3EC0 from 0xe3ec0 to 0xe3f34 (116 bytes)
//
// 5 xrefs:
// > sub_E0F84 @ 0xe20f0
// > sub_E0F84 @ 0xe2130
// > sub_E0F84 @ 0xe21b8
// > sub_E376C @ 0xe3820
// > sub_E376C @ 0xe3888
//
// 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
//
char *__fastcall sub_E3EC0(char *a1, const void *a2)
{
int v4; // w0
int v5; // w21
int i; // w22
v4 = sub_E3BB0((__int64)a2);
if ( v4 )
{
v5 = v4;
for ( i = sub_E3BB0((__int64)a1); i >= v5; --i )
{
if ( !memcmp(a1, a2, v5) )
return a1;
++a1;
}
return nullptr;
}
return a1;
}