//
// sub_633808 from 0x633808 to 0x633862 (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_633808(int *a1)
{
int v1; // r5
char *v3; // r3
int v4; // r0
int v5; // r0
v1 = *a1;
a1[35] = 2;
v3 = strstr(*(const char **)(v1 + 34676), ";mode=");
if ( !v3 )
{
v3 = strstr((const char *)a1[36], ";mode=");
if ( !v3 )
return 0;
}
v4 = (unsigned __int8)v3[6];
*v3 = 0;
v5 = sub_62AA64(v4);
if ( v5 == 65 || v5 == 78 )
{
*(_BYTE *)(v1 + 891) = 1;
return 0;
}
else
{
*(_BYTE *)(v1 + 891) = 0;
return 0;
}
}