//
// sub_1007530B0 from 0x1007530b0 to 0x1007531d0 (288 bytes)
//
// 1 xrefs:
// > sub_100752D00 @ 0x100752e68
//
// 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_1007530B0(__int64 a1, char *__s1, char *a3)
{
size_t v6; // x0
__darwin_ct_rune_t v7; // w0
int v8; // w20
__darwin_ct_rune_t v9; // w0
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 ( (unsigned int)(v7 - 65) < 3 )
{
v8 = v7 + 771;
LABEL_17:
*(_DWORD *)sub_100712A60(a1) = v8;
return 1;
}
return 0;
}
LABEL_12:
v10 = sub_1006B1A54(a3);
v8 = v10;
if ( !v10 )
return 0;
v11 = (int *)&unk_1009F20D0;
do
{
v13 = *v11;
v11 += 8;
v12 = v13;
}
while ( v13 && v12 != v10 );
if ( v12 )
goto LABEL_17;
sub_10074A888(127, 112, (__int64)"gost_pmeth.c", 177);
return 0;
}
if ( v6 != 1 )
goto LABEL_12;
v9 = __toupper((unsigned __int8)*a3);
if ( (unsigned int)(v9 - 65) < 4 )
{
v8 = v9 + 767;
goto LABEL_17;
}
return 0;
}