//
// __acrt_FlsAlloc from 0x180135990 to 0x1801359d8 (72 bytes)
//
// 3 xrefs:
// > __acrt_initialize_ptd @ 0x18013550b
// > ??> @ 0x1802033e0
// > ??> @ 0x1802033ec
//
// 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 _acrt_FlsAlloc(__int64 a1)
{
FARPROC function; // rax
function = try_get_function(3u, "FlsAlloc", (unsigned int *)&unk_1801749B8, (unsigned int *)&unk_1801749C0);
if ( function )
return ((__int64 (__fastcall *)(__int64))function)(a1);
else
return TlsAlloc();
}