//
// sub_1005ED12C from 0x1005ed12c to 0x1005ed150 (36 bytes)
//
// 10 xrefs:
// > sub_1005D885C @ 0x1005d88b4
// > sub_1005D885C @ 0x1005d88f8
// > sub_1005D8990 @ 0x1005d8a28
// > sub_1005D8B68 @ 0x1005d8bc0
// > sub_1005D9DB0 @ 0x1005d9e14
// > sub_1005D9DB0 @ 0x1005d9e28
// > sub_1005D9DB0 @ 0x1005d9e3c
// > sub_1005ED12C @ 0x1005ed13c
// > sub_1005F71F8 @ 0x1005f7294
// > sub_1005FA31C @ 0x1005fa6fc
//
// 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 11:09:46 +0000
//
__int64 __fastcall sub_1005ED12C(unsigned __int8 *a1, unsigned __int8 *a2)
{
int v2; // w8
int v3; // t1
int v4; // w9
int v5; // t1
bool v6; // zf
do
{
v3 = *a1++;
v2 = v3;
v5 = *a2++;
v4 = v5;
if ( v2 )
v6 = v2 == v4;
else
v6 = 0;
}
while ( v6 );
return (unsigned int)((char)v2 - (char)v4);
}