//
// __vcrt_FlsAlloc from 0x180125130 to 0x180125175 (69 bytes)
//
// 2 xrefs:
// > __vcrt_initialize_ptd @ 0x180124f13
// > ??> @ 0x180202798
//
// 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:54 +0000
//
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();
}