{"type": "func", "start": 6443719272, "end": 6443719353, "name": "__acrt_FlsSetValue", "pseudocode": "// \n// __acrt_FlsSetValue from 0x180135a68 to 0x180135ab9 (81 bytes)\n// \n// 14 xrefs:\n// > __acrt_freeptd @ 0x18013529a\n// > __acrt_getptd @ 0x1801352fd\n// > __acrt_getptd @ 0x180135325\n// > __acrt_getptd @ 0x180135336\n// > __acrt_getptd @ 0x180135347\n// > __acrt_getptd_head @ 0x1801353bc\n// > __acrt_getptd_head @ 0x1801353e4\n// > __acrt_getptd_head @ 0x1801353f5\n// > __acrt_getptd_head @ 0x180135406\n// > __acrt_getptd_noexit @ 0x180135479\n// > __acrt_getptd_noexit @ 0x1801354a1\n// > __acrt_getptd_noexit @ 0x1801354b2\n// > __acrt_getptd_noexit @ 0x1801354c3\n// > <???> @ 0x180203410\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 _acrt_FlsSetValue(DWORD dwTlsIndex, LPVOID lpTlsValue)\n{\n  FARPROC function; // rax\n\n  function = try_get_function(6u, \"FlsSetValue\", (unsigned int *)&unk_1801749D0, (unsigned int *)&unk_1801749D8);\n  if ( function )\n    return ((__int64 (__fastcall *)(_QWORD, LPVOID))function)(dwTlsIndex, lpTlsValue);\n  else\n    return TlsSetValue(dwTlsIndex, lpTlsValue);\n}", "assembly": "; \n; __acrt_FlsSetValue from 0x180135a68 to 0x180135ab9 (81 bytes)\n; \n; 14 xrefs:\n; > __acrt_freeptd @ 0x18013529a\n; > __acrt_getptd @ 0x1801352fd\n; > __acrt_getptd @ 0x180135325\n; > __acrt_getptd @ 0x180135336\n; > __acrt_getptd @ 0x180135347\n; > __acrt_getptd_head @ 0x1801353bc\n; > __acrt_getptd_head @ 0x1801353e4\n; > __acrt_getptd_head @ 0x1801353f5\n; > __acrt_getptd_head @ 0x180135406\n; > __acrt_getptd_noexit @ 0x180135479\n; > __acrt_getptd_noexit @ 0x1801354a1\n; > __acrt_getptd_noexit @ 0x1801354b2\n; > __acrt_getptd_noexit @ 0x1801354c3\n; > <???> @ 0x180203410\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, 0x180135a68\npush    rdi                                                            ; +0x5, 0x180135a6d\nsub     rsp, 20h                                                       ; +0x6, 0x180135a6e\nmov     rbx, rdx                                                       ; +0xa, 0x180135a72\nlea     r9, unk_1801749D8                                              ; +0xd, 0x180135a75\nmov     edi, ecx                                                       ; +0x14, 0x180135a7c\nlea     rdx, aFlssetvalue                                              ; +0x16, 0x180135a7e\nmov     ecx, 6                                                         ; +0x1d, 0x180135a85\nlea     r8, unk_1801749D0                                              ; +0x22, 0x180135a8a\ncall    ?try_get_function@@YAPEAXW4function_id@?A0x37284e77@@QEBDQEBW4module_id@2@2@Z ; +0x29, 0x180135a91\nmov     rdx, rbx; lpTlsValue                                           ; +0x2e, 0x180135a96\nmov     ecx, edi; dwTlsIndex                                           ; +0x31, 0x180135a99\ntest    rax, rax                                                       ; +0x33, 0x180135a9b\njz      short loc_180135AA8                                            ; +0x36, 0x180135a9e\ncall    cs:__guard_dispatch_icall_fptr                                 ; +0x38, 0x180135aa0\njmp     short loc_180135AAE                                            ; +0x3e, 0x180135aa6\ncall    cs:TlsSetValue                                                 ; +0x40, 0x180135aa8\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x46, 0x180135aae\nadd     rsp, 20h                                                       ; +0x4b, 0x180135ab3\npop     rdi                                                            ; +0x4f, 0x180135ab7\nretn                                                                   ; +0x50, 0x180135ab8", "xrefs": ["__acrt_freeptd @ 0x18013529a", "__acrt_getptd @ 0x1801352fd", "__acrt_getptd @ 0x180135325", "__acrt_getptd @ 0x180135336", "__acrt_getptd @ 0x180135347", "__acrt_getptd_head @ 0x1801353bc", "__acrt_getptd_head @ 0x1801353e4", "__acrt_getptd_head @ 0x1801353f5", "__acrt_getptd_head @ 0x180135406", "__acrt_getptd_noexit @ 0x180135479", "__acrt_getptd_noexit @ 0x1801354a1", "__acrt_getptd_noexit @ 0x1801354b2", "__acrt_getptd_noexit @ 0x1801354c3", "<???> @ 0x180203410"], "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"}