//
// __vcrt_FlsGetValue from 0x1801251c0 to 0x180125206 (70 bytes)
//
// 3 xrefs:
// > __vcrt_freeptd @ 0x180124df5
// > __vcrt_getptd_noexit @ 0x180124e75
// > ??> @ 0x1802027b0
//
// 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
//
LPVOID __fastcall _vcrt_FlsGetValue(DWORD a1)
{
FARPROC function; // rax
function = try_get_function(2u, "FlsGetValue", (unsigned int *)&unk_180170AD8, (unsigned int *)"FlsGetValue");
if ( function )
return (LPVOID)((__int64 (__fastcall *)(_QWORD))function)(a1);
else
return TlsGetValue(a1);
}