//
// sub_63926C from 0x63926c to 0x6392c6 (90 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall sub_63926C(int a1, const char **a2)
{
int v3; // r3
const char *v4; // r5
bool v5; // zf
int v6; // r3
int v7; // t1
bool v8; // zf
const char *v9; // r2
int v10; // r3
int v11; // t1
bool v12; // zf
unsigned int v13; // r3
char v14; // r4
int v15; // r3
int result; // r0
v3 = *(unsigned __int8 *)(a1 + 4);
v4 = (const char *)(a1 + 4);
v5 = v3 == 32;
if ( v3 != 32 )
v5 = v3 == 9;
if ( v5 )
{
do
{
v7 = *(unsigned __int8 *)++v4;
v6 = v7;
v8 = v7 == 32;
if ( v7 != 32 )
v8 = v6 == 9;
}
while ( v8 );
}
v9 = &v4[strlen(v4)];
do
{
result = v9 - v4;
if ( v9 == v4 )
{
*a2 = v4;
return result;
}
v11 = *(unsigned __int8 *)--v9;
v10 = v11;
v12 = v11 == 32;
if ( v11 != 32 )
v12 = v10 == 13;
v13 = v10 - 9;
v14 = !v12;
if ( v13 > 1 )
v15 = v14 & 1;
else
v15 = 0;
}
while ( !v15 );
v4[result] = 0;
*a2 = v4;
return result;
}