//
// sub_73C56C from 0x73c56c to 0x73c5aa (62 bytes)
//
// 2 xrefs:
// > AutoBackupPopup::buildRows @ 0x73edee
// > AutoBackupPopup::textChanged @ 0x73f478
//
// 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:58:30 +0000
//
int *__fastcall sub_73C56C(int *a1, int a2)
{
unsigned int i; // r5
unsigned int v4; // r3
int v5; // r2
char *v6; // r3
char *v7; // r6
char *v8; // r3
int v9; // r0
std::string::basic_string(a1, a2);
for ( i = 0; ; ++i )
{
v4 = *(unsigned __int8 *)a1;
v5 = v4 & 1;
if ( (v4 & 1) == 0 )
break;
if ( i >= a1[1] )
return a1;
v6 = (char *)a1[2];
LABEL_7:
v7 = &v6[i];
if ( v5 )
v8 = (char *)a1[2];
else
v8 = (char *)a1 + 1;
v9 = (unsigned __int8)v8[i];
*v7 = tolower(v9);
}
if ( i < v4 >> 1 )
{
v6 = (char *)a1 + 1;
goto LABEL_7;
}
return a1;
}