//
// __acrt_initialize_ptd from 0x180135500 to 0x180135539 (57 bytes)
//
// 3 xrefs:
// > ??> @ 0x1801730e0
// > ??> @ 0x180203374
// > ??> @ 0x180203380
//
// 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:55:00 +0000
//
char _acrt_initialize_ptd()
{
dword_1801B1870 = _acrt_FlsAlloc(Concurrency::details::SchedulerProxy::DeleteThis);
if ( dword_1801B1870 == -1 )
return 0;
if ( !_acrt_getptd_noexit() )
{
_vcrt_uninitialize_ptd_0(0);
return 0;
}
return 1;
}