//
// sub_1006E3684 from 0x1006e3684 to 0x1006e3820 (412 bytes)
//
// 2 xrefs:
// > sub_1006568EC @ 0x100656958
// > sub_1006E9C94 @ 0x1006e9d20
//
// 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:12:34 +0000
//
__int64 __fastcall sub_1006E3684(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_1009BCBE8)[2 * v3 + 1]);
}