//
// sub_BE2D6 from 0xbe2d6 to 0xbe30e (56 bytes)
//
// 5 xrefs:
// > sub_52FF4 @ 0x5301c
// > sub_52FF4 @ 0x53028
// > sub_622EC @ 0x62330
// > sub_BC194 @ 0xbc462
// > sub_BC194 @ 0xbc490
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:41:47 +0000
//
int __fastcall sub_BE2D6(unsigned __int8 *a1, unsigned __int8 *a2)
{
unsigned __int8 v2; // r2
int v3; // r3
do
{
v2 = *a2;
if ( (unsigned __int8)(*a2 - 65) < 0x1Au )
v2 += 32;
v3 = *a1;
if ( (unsigned __int8)(v3 - 65) < 0x1Au )
v3 += 32;
if ( !(v3 << 24) )
break;
++a1;
++a2;
}
while ( (unsigned __int8)v3 == v2 );
return (unsigned __int8)v3 - v2;
}