//
// sub_18012052C from 0x18012052c to 0x180120554 (40 bytes)
//
// 2 xrefs:
// > dllmain_crt_dispatch @ 0x180120ab4
// > ??> @ 0x180202498
//
// This function is hookable on this platform (idp: pc, 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 10:54:52 +0000
//
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;
}