//
// sub_100753424 from 0x100753424 to 0x100753580 (348 bytes)
//
// 1 xrefs:
// > sub_100752D00 @ 0x100752db4
//
// 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:13:31 +0000
//
__int64 __fastcall sub_100753424(__int64 a1, char *__s1, char *a3)
{
__int64 result; // x0
size_t v6; // x0
__darwin_ct_rune_t v7; // w0
int v8; // w20
__darwin_ct_rune_t v9; // w8
int v10; // w0
int *v11; // x8
int v12; // w9
int v13; // t1
if ( strcmp(__s1, "paramset") )
return 4294967294LL;
if ( !a3 )
return 0;
v6 = strlen(a3);
if ( v6 == 2 )
{
if ( __toupper((unsigned __int8)*a3) == 88 )
{
v7 = __toupper((unsigned __int8)a3[1]);
if ( v7 == 65 )
{
v8 = 843;
}
else
{
if ( v7 != 66 )
return 0;
v8 = 844;
}
goto LABEL_29;
}
goto LABEL_13;
}
if ( v6 != 1 )
{
LABEL_13:
v10 = sub_1006B1A54(a3);
v8 = v10;
if ( !v10 )
return 0;
v11 = (int *)&unk_1009F21D0;
do
{
v13 = *v11;
v11 += 14;
v12 = v13;
}
while ( v13 && v12 != v10 );
if ( !v12 )
{
sub_10074A888(126, 112, (__int64)"gost_pmeth.c", 238);
return 0;
}
goto LABEL_29;
}
v9 = __toupper((unsigned __int8)*a3);
result = 0;
if ( v9 > 65 )
{
if ( v9 == 67 )
{
v8 = 842;
}
else
{
if ( v9 != 66 )
return result;
v8 = 841;
}
}
else if ( v9 == 48 )
{
v8 = 839;
}
else
{
if ( v9 != 65 )
return result;
v8 = 840;
}
LABEL_29:
*(_DWORD *)sub_100712A60(a1) = v8;
return 1;
}