//
// sub_1006681C4 from 0x1006681c4 to 0x100668278 (180 bytes)
//
// 2 xrefs:
// > sub_10066855C @ 0x100668578
// > sub_10066C740 @ 0x10066c788
//
// 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:11:02 +0000
//
_QWORD *sub_1006681C4()
{
_QWORD *v0; // x0
_QWORD *v1; // x19
v0 = (_QWORD *)sub_1006AE878(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_1006AF50C(3, v1, v1 + 31);
v1[43] = 0;
v1[18] = 0;
v1[19] = 0;
}
else
{
sub_100706FB0(20, 189, 65, "ssl_sess.c", 198);
return nullptr;
}
return v1;
}