//
// __vcrt_FlsAlloc from 0x180125130 to 0x180125175 (69 bytes)
//
// 2 xrefs:
// > __vcrt_initialize_ptd @ 0x180124f13
// > ??> @ 0x180202798
//
// 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
//
DWORD __fastcall _vcrt_FlsAlloc(__int64 a1)
{
FARPROC function; // rax
function = try_get_function(0, "FlsAlloc", (unsigned int *)&unk_180170AB0, (unsigned int *)"FlsAlloc");
if ( function )
return ((__int64 (__fastcall *)(__int64))function)(a1);
else
return TlsAlloc();
}