//
// sub_1006246B8 from 0x1006246b8 to 0x100624720 (104 bytes)
//
// 1 xrefs:
// > sub_10062B43C @ 0x10062b66c
//
// 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_1006246B8()
{
__int64 result; // x0
result = (unsigned int)dword_100885C54;
if ( !dword_100885C54 )
{
result = sub_1005E197C();
dword_100885C54 = result;
}
if ( (byte_100885C50 & 1) == 0 )
{
byte_100885C50 = 1;
sub_1005E0CCC(result, &qword_100869700);
return sub_1005E0CCC(dword_100885C54, &qword_1008694D0);
}
return result;
}