{"type": "func", "start": 6443632924, "end": 6443633020, "name": "_Init_thread_footer", "pseudocode": "// \n// _Init_thread_footer from 0x18012091c to 0x18012097c (96 bytes)\n// \n// 22 xrefs:\n// > sub_180110290 @ 0x180110868\n// > sub_180110290 @ 0x1801108b8\n// > sub_180110290 @ 0x180110908\n// > sub_180110290 @ 0x180110958\n// > sub_180110290 @ 0x1801109a8\n// > sub_180110290 @ 0x1801109f8\n// > sub_180110290 @ 0x180110a48\n// > sub_180110290 @ 0x180110a98\n// > sub_180110290 @ 0x180110ae8\n// > sub_180110290 @ 0x180110b38\n// > sub_180110290 @ 0x180110b88\n// > sub_180110290 @ 0x180110bd8\n// > sub_180110290 @ 0x180110c28\n// > sub_180110290 @ 0x180110c78\n// > sub_180110290 @ 0x180110cc8\n// > sub_180110290 @ 0x180110d18\n// > sub_180110290 @ 0x180110d68\n// > sub_180110290 @ 0x180110db8\n// > sub_180110290 @ 0x180110e08\n// > sub_180110290 @ 0x180110e58\n// > <???> @ 0x180202534\n// > <???> @ 0x180202540\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\n__int64 __fastcall Init_thread_footer(_DWORD *a1)\n{\n  __int64 v2; // rdx\n\n  EnterCriticalSection(&stru_1801F49F0);\n  v2 = (unsigned int)TlsIndex;\n  *a1 = ++dword_1801B1724;\n  *(_DWORD *)(*((_QWORD *)NtCurrentTeb()->ThreadLocalStoragePointer + v2) + 4LL) = dword_1801B1724;\n  LeaveCriticalSection(&stru_1801F49F0);\n  return Init_thread_notify();\n}", "assembly": "; \n; _Init_thread_footer from 0x18012091c to 0x18012097c (96 bytes)\n; \n; 22 xrefs:\n; > sub_180110290 @ 0x180110868\n; > sub_180110290 @ 0x1801108b8\n; > sub_180110290 @ 0x180110908\n; > sub_180110290 @ 0x180110958\n; > sub_180110290 @ 0x1801109a8\n; > sub_180110290 @ 0x1801109f8\n; > sub_180110290 @ 0x180110a48\n; > sub_180110290 @ 0x180110a98\n; > sub_180110290 @ 0x180110ae8\n; > sub_180110290 @ 0x180110b38\n; > sub_180110290 @ 0x180110b88\n; > sub_180110290 @ 0x180110bd8\n; > sub_180110290 @ 0x180110c28\n; > sub_180110290 @ 0x180110c78\n; > sub_180110290 @ 0x180110cc8\n; > sub_180110290 @ 0x180110d18\n; > sub_180110290 @ 0x180110d68\n; > sub_180110290 @ 0x180110db8\n; > sub_180110290 @ 0x180110e08\n; > sub_180110290 @ 0x180110e58\n; > <???> @ 0x180202534\n; > <???> @ 0x180202540\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\npush    rbx                                                            ; +0x0, 0x18012091c\nsub     rsp, 20h                                                       ; +0x2, 0x18012091e\nmov     rbx, rcx                                                       ; +0x6, 0x180120922\nlea     rcx, stru_1801F49F0; lpCriticalSection                         ; +0x9, 0x180120925\ncall    cs:EnterCriticalSection                                        ; +0x10, 0x18012092c\nmov     eax, cs:dword_1801B1724                                        ; +0x16, 0x180120932\nlea     rcx, stru_1801F49F0; lpCriticalSection                         ; +0x1c, 0x180120938\nmov     edx, cs:TlsIndex                                               ; +0x23, 0x18012093f\ninc     eax                                                            ; +0x29, 0x180120945\nmov     cs:dword_1801B1724, eax                                        ; +0x2b, 0x180120947\nmov     [rbx], eax                                                     ; +0x31, 0x18012094d\nmov     rax, gs:58h                                                    ; +0x33, 0x18012094f\nmov     r9d, 4                                                         ; +0x3c, 0x180120958\nmov     r8, [rax+rdx*8]                                                ; +0x42, 0x18012095e\nmov     eax, cs:dword_1801B1724                                        ; +0x46, 0x180120962\nmov     [r9+r8], eax                                                   ; +0x4c, 0x180120968\ncall    cs:LeaveCriticalSection                                        ; +0x50, 0x18012096c\nadd     rsp, 20h                                                       ; +0x56, 0x180120972\npop     rbx                                                            ; +0x5a, 0x180120976\njmp     _Init_thread_notify                                            ; +0x5b, 0x180120977", "xrefs": ["sub_180110290 @ 0x180110868", "sub_180110290 @ 0x1801108b8", "sub_180110290 @ 0x180110908", "sub_180110290 @ 0x180110958", "sub_180110290 @ 0x1801109a8", "sub_180110290 @ 0x1801109f8", "sub_180110290 @ 0x180110a48", "sub_180110290 @ 0x180110a98", "sub_180110290 @ 0x180110ae8", "sub_180110290 @ 0x180110b38", "sub_180110290 @ 0x180110b88", "sub_180110290 @ 0x180110bd8", "sub_180110290 @ 0x180110c28", "sub_180110290 @ 0x180110c78", "sub_180110290 @ 0x180110cc8", "sub_180110290 @ 0x180110d18", "sub_180110290 @ 0x180110d68", "sub_180110290 @ 0x180110db8", "sub_180110290 @ 0x180110e08", "sub_180110290 @ 0x180110e58", "<???> @ 0x180202534", "<???> @ 0x180202540"], "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"}