//
// sub_1006234D4 from 0x1006234d4 to 0x100623598 (196 bytes)
//
// 1 xrefs:
// > sub_100622FA8 @ 0x10062304c
//
// 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_1006234D4()
{
int v1; // w0
__int16 v2; // w2
int v3; // w4
if ( qword_100885C30 )
sub_100588C44((void *)qword_100885C30);
qword_100885C30 = 0;
if ( qword_100885BF0 )
{
if ( (unsigned int)sub_1005D5EB4((__int64 *)qword_100885BF0) )
{
qword_100885BF0 = 0;
off_100885C00 = nullptr;
off_100885C28 = nullptr;
off_100885BE8 = nullptr;
off_100885C18 = nullptr;
off_100885C20 = nullptr;
qword_100885BF8 = 0;
xmmword_100885BD8 = 0u;
xmmword_100885C08 = 0u;
off_100885C48 = nullptr;
return 1;
}
v1 = dword_100885BD4;
if ( !dword_100885BD4 )
{
v1 = sub_1005E197C();
dword_100885BD4 = v1;
}
v2 = 103;
v3 = 519;
}
else
{
v1 = dword_100885BD4;
if ( !dword_100885BD4 )
{
v1 = sub_1005E197C();
dword_100885BD4 = v1;
}
v2 = 105;
v3 = 515;
}
sub_1005E0E48(v1, 104, v2, (__int64)"e_ubsec.c", v3);
return 0;
}