//
// sub_1006118D0 from 0x1006118d0 to 0x100611928 (88 bytes)
//
// 1 xrefs:
// > sub_100611CB0 @ 0x100611d20
//
// 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
//
bool __fastcall sub_1006118D0(__int64 a1)
{
_BYTE *v2; // x0
if ( !a1 )
return 0;
if ( *(_QWORD *)(a1 + 16) )
return 1;
v2 = sub_1005DEB20(
(__int64 (__fastcall *)(_QWORD))sub_100611928,
(int (__cdecl **)(const char *, const char *))sub_10061195C);
*(_QWORD *)(a1 + 16) = v2;
return v2 != nullptr;
}