//
// sub_100208D44 from 0x100208d44 to 0x100208db4 (112 bytes)
//
// 1 xrefs:
// > sub_100209CC0 @ 0x100209dcc
//
// 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:00:58 +0000
//
__int64 __fastcall sub_100208D44(const char *a1, const char *a2, int a3)
{
int v4; // w8
int v5; // t1
int v6; // w9
int v7; // t1
if ( a3 == 1 )
return strcmp(a1, a2);
while ( 1 )
{
v5 = *(unsigned __int8 *)a1++;
v4 = v5;
v7 = *(unsigned __int8 *)a2++;
v6 = v7;
if ( (unsigned int)(v4 - 97) < 0x1A )
LOBYTE(v4) = v4 - 32;
if ( (unsigned int)(v6 - 97) < 0x1A )
LOBYTE(v6) = v6 - 32;
if ( !(_BYTE)v4 )
break;
if ( !(_BYTE)v6 )
return 1;
if ( (char)v4 < (char)v6 )
return 0xFFFFFFFFLL;
if ( (char)v4 > (char)v6 )
return 1;
}
if ( (_BYTE)v6 )
return 0xFFFFFFFFLL;
else
return 0;
}