{"type": "func", "start": 6443651592, "end": 6443651673, "name": "__vcrt_FlsSetValue", "pseudocode": "// \n// __vcrt_FlsSetValue from 0x180125208 to 0x180125259 (81 bytes)\n// \n// 6 xrefs:\n// > __vcrt_freeptd @ 0x180124e05\n// > __vcrt_getptd_noexit @ 0x180124e95\n// > __vcrt_getptd_noexit @ 0x180124ebc\n// > __vcrt_getptd_noexit @ 0x180124edf\n// > __vcrt_initialize_ptd @ 0x180124f2c\n// > <???> @ 0x1802027bc\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint __fastcall _vcrt_FlsSetValue(DWORD dwTlsIndex, LPVOID lpTlsValue)\n{\n  FARPROC function; // rax\n\n  function = try_get_function(3u, \"FlsSetValue\", (unsigned int *)&unk_180170AF0, (unsigned int *)\"FlsSetValue\");\n  if ( function )\n    return ((__int64 (__fastcall *)(_QWORD, LPVOID))function)(dwTlsIndex, lpTlsValue);\n  else\n    return TlsSetValue(dwTlsIndex, lpTlsValue);\n}", "assembly": "; \n; __vcrt_FlsSetValue from 0x180125208 to 0x180125259 (81 bytes)\n; \n; 6 xrefs:\n; > __vcrt_freeptd @ 0x180124e05\n; > __vcrt_getptd_noexit @ 0x180124e95\n; > __vcrt_getptd_noexit @ 0x180124ebc\n; > __vcrt_getptd_noexit @ 0x180124edf\n; > __vcrt_initialize_ptd @ 0x180124f2c\n; > <???> @ 0x1802027bc\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180125208\npush    rdi                                                            ; +0x5, 0x18012520d\nsub     rsp, 20h                                                       ; +0x6, 0x18012520e\nmov     rbx, rdx                                                       ; +0xa, 0x180125212\nlea     r9, aFlssetvalue                                               ; +0xd, 0x180125215\nmov     edi, ecx                                                       ; +0x14, 0x18012521c\nlea     rdx, aFlssetvalue                                              ; +0x16, 0x18012521e\nmov     ecx, 3                                                         ; +0x1d, 0x180125225\nlea     r8, unk_180170AF0                                              ; +0x22, 0x18012522a\ncall    ?try_get_function@@YAPEAXW4function_id@?A0x78405aa4@@QEBDQEBW4module_id@2@2@Z ; +0x29, 0x180125231\nmov     rdx, rbx; lpTlsValue                                           ; +0x2e, 0x180125236\nmov     ecx, edi; dwTlsIndex                                           ; +0x31, 0x180125239\ntest    rax, rax                                                       ; +0x33, 0x18012523b\njz      short loc_180125248                                            ; +0x36, 0x18012523e\ncall    cs:__guard_dispatch_icall_fptr                                 ; +0x38, 0x180125240\njmp     short loc_18012524E                                            ; +0x3e, 0x180125246\ncall    cs:TlsSetValue                                                 ; +0x40, 0x180125248\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x46, 0x18012524e\nadd     rsp, 20h                                                       ; +0x4b, 0x180125253\npop     rdi                                                            ; +0x4f, 0x180125257\nretn                                                                   ; +0x50, 0x180125258", "xrefs": ["__vcrt_freeptd @ 0x180124e05", "__vcrt_getptd_noexit @ 0x180124e95", "__vcrt_getptd_noexit @ 0x180124ebc", "__vcrt_getptd_noexit @ 0x180124edf", "__vcrt_initialize_ptd @ 0x180124f2c", "<???> @ 0x1802027bc"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}