//
// __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!
//
// 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
//
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);
}