//
// sub_18012052C from 0x18012052c to 0x180120554 (40 bytes)
//
// 2 xrefs:
// > dllmain_crt_dispatch @ 0x180120ab4
// > ??> @ 0x180202498
//
// 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
//
char __fastcall sub_18012052C(Concurrency::details::ScheduleGroupSegmentBase *a1)
{
Concurrency::details::ScheduleGroupSegmentBase *v1; // rcx
if ( !Concurrency::details::ScheduleGroupSegmentBase::HasUnrealizedChores(a1) )
return 0;
if ( !Concurrency::details::ScheduleGroupSegmentBase::HasUnrealizedChores(v1) )
{
_vcrt_thread_detach();
return 0;
}
return 1;
}