//
// sub_100543940 from 0x100543940 to 0x100543a64 (292 bytes)
//
// 2 xrefs:
// > sub_100543540 @ 0x100543580
// > sub_100545244 @ 0x10054524c
//
// 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 sub_100543940()
{
__int64 v0; // x0
__int64 v1; // x3
_QWORD *v2; // x19
__int64 v3; // x0
sub_100588190(5, 16, "ssl_ciph.c", 476);
if ( qword_100882990[0] )
{
v0 = 6;
v1 = 508;
}
else
{
sub_100588190(6, 16, "ssl_ciph.c", 478);
sub_100588190(9, 16, "ssl_ciph.c", 479);
if ( !qword_100882990[0] )
{
sub_100588CAC(3);
qword_100882990[0] = sub_1005DE27C(sub_100545310);
if ( qword_100882990[0] )
{
v2 = (_QWORD *)sub_100588710(24, "ssl_ciph.c", 488);
if ( v2 )
{
v3 = sub_100616468();
v2[2] = v3;
if ( v3 && !*(_DWORD *)v3 )
{
sub_100588C44(v2);
}
else
{
*(_DWORD *)v2 = 1;
v2[1] = *(_QWORD *)(v3 + 8);
sub_1005DE80C(qword_100882990[0], v2);
}
}
sub_1005DEAC4(qword_100882990[0]);
}
sub_100588CAC(2);
}
v0 = 10;
v1 = 506;
}
return sub_100588190(v0, 16, "ssl_ciph.c", v1);
}