//
// sub_10054205C from 0x10054205c to 0x100542110 (180 bytes)
//
// 2 xrefs:
// > sub_1005423F4 @ 0x100542410
// > sub_1005465D8 @ 0x100546620
//
// 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
//
_QWORD *sub_10054205C()
{
_QWORD *v0; // x0
_QWORD *v1; // x19
v0 = (_QWORD *)sub_100588710(352, "ssl_sess.c", 196);
v1 = v0;
if ( v0 )
{
bzero(v0, 0x160u);
v1[23] = 1;
*((_DWORD *)v1 + 48) = 1;
v1[25] = 304;
v1[26] = time(nullptr);
*((_DWORD *)v1 + 54) = 0;
v1[38] = 0;
v1[39] = 0;
v1[36] = 0;
v1[37] = 0;
v1[34] = 0;
v1[35] = 0;
v1[33] = 0;
sub_1005893A4(3, v1, v1 + 31);
v1[43] = 0;
v1[18] = 0;
v1[19] = 0;
}
else
{
sub_1005E0E48(20, 189, 65, "ssl_sess.c", 198);
return nullptr;
}
return v1;
}