{"type": "func", "start": 6443360352, "end": 6443360417, "name": "sub_1800DE060", "pseudocode": "// \n// sub_1800DE060 from 0x1800de060 to 0x1800de0a1 (65 bytes)\n// \n// 3 xrefs:\n// > sub_1800DB600 @ 0x1800db65c\n// > sub_1800DB600 @ 0x1800db66c\n// > <???> @ 0x1801c4f74\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:35 +0000\n// \n\n__int64 __fastcall sub_1800DE060(_DWORD *a1)\n{\n  DWORD v2; // eax\n\n  v2 = TlsAlloc();\n  a1[1] = v2;\n  if ( v2 == -1 )\n  {\n    sub_1800E1AF0(65544, \"Win32: Failed to allocate TLS index\");\n    return 0;\n  }\n  else\n  {\n    *a1 = 1;\n    return 1;\n  }\n}", "assembly": "; \n; sub_1800DE060 from 0x1800de060 to 0x1800de0a1 (65 bytes)\n; \n; 3 xrefs:\n; > sub_1800DB600 @ 0x1800db65c\n; > sub_1800DB600 @ 0x1800db66c\n; > <???> @ 0x1801c4f74\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:35 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800de060\nsub     rsp, 20h                                                       ; +0x2, 0x1800de062\nmov     rbx, rcx                                                       ; +0x6, 0x1800de066\ncall    cs:TlsAlloc                                                    ; +0x9, 0x1800de069\nmov     [rbx+4], eax                                                   ; +0xf, 0x1800de06f\ncmp     eax, 0FFFFFFFFh                                                ; +0x12, 0x1800de072\njnz     short loc_1800DE090                                            ; +0x15, 0x1800de075\nlea     rdx, aWin32FailedToA; \"Win32: Failed to allocate TLS index\"    ; +0x17, 0x1800de077\nmov     ecx, 10008h                                                    ; +0x1e, 0x1800de07e\ncall    sub_1800E1AF0                                                  ; +0x23, 0x1800de083\nxor     eax, eax                                                       ; +0x28, 0x1800de088\nadd     rsp, 20h                                                       ; +0x2a, 0x1800de08a\npop     rbx                                                            ; +0x2e, 0x1800de08e\nretn                                                                   ; +0x2f, 0x1800de08f\nmov     dword ptr [rbx], 1                                             ; +0x30, 0x1800de090\nmov     eax, 1                                                         ; +0x36, 0x1800de096\nadd     rsp, 20h                                                       ; +0x3b, 0x1800de09b\npop     rbx                                                            ; +0x3f, 0x1800de09f\nretn                                                                   ; +0x40, 0x1800de0a0", "xrefs": ["sub_1800DB600 @ 0x1800db65c", "sub_1800DB600 @ 0x1800db66c", "<???> @ 0x1801c4f74"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}