//
// sub_1005BD51C from 0x1005bd51c to 0x1005bd6b8 (412 bytes)
//
// 2 xrefs:
// > sub_100530784 @ 0x1005307f0
// > sub_1005C3B2C @ 0x1005c3bb8
//
// 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
//
__int64 __fastcall sub_1005BD51C(char *__s2)
{
int v2; // w0
__int64 v3; // x8
int v4; // w0
int v5; // w0
int v6; // w0
int v7; // w0
int v8; // w0
int v9; // w0
int v10; // w0
int v11; // w0
int v12; // w0
int v13; // w0
int v14; // w0
int v15; // w0
int v16; // w0
if ( !strcmp("B-163", __s2) )
{
v3 = 0;
}
else
{
v2 = strcmp("B-233", __s2);
v3 = 1;
if ( v2 )
{
v4 = strcmp("B-283", __s2);
v3 = 2;
if ( v4 )
{
v5 = strcmp("B-409", __s2);
v3 = 3;
if ( v5 )
{
v6 = strcmp("B-571", __s2);
v3 = 4;
if ( v6 )
{
v7 = strcmp("K-163", __s2);
v3 = 5;
if ( v7 )
{
v8 = strcmp("K-233", __s2);
v3 = 6;
if ( v8 )
{
v9 = strcmp("K-283", __s2);
v3 = 7;
if ( v9 )
{
v10 = strcmp("K-409", __s2);
v3 = 8;
if ( v10 )
{
v11 = strcmp("K-571", __s2);
v3 = 9;
if ( v11 )
{
v12 = strcmp("P-192", __s2);
v3 = 10;
if ( v12 )
{
v13 = strcmp("P-224", __s2);
v3 = 11;
if ( v13 )
{
v14 = strcmp("P-256", __s2);
v3 = 12;
if ( v14 )
{
v15 = strcmp("P-384", __s2);
v3 = 13;
if ( v15 )
{
v16 = strcmp("P-521", __s2);
v3 = 14;
if ( v16 )
return 0;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
return LODWORD((&off_100839578)[2 * v3 + 1]);
}