{"type": "func", "start": 6443706288, "end": 6443706327, "name": "_initialize_onexit_table", "pseudocode": "// \n// _initialize_onexit_table from 0x1801327b0 to 0x1801327d7 (39 bytes)\n// \n// 4 xrefs:\n// > __scrt_initialize_onexit_tables @ 0x180120686\n// > __scrt_initialize_onexit_tables @ 0x180120696\n// > initialize_c @ 0x18013283f\n// > initialize_c @ 0x18013284b\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 __cdecl initialize_onexit_table(_onexit_table_t *Table)\n{\n  _PVFV *v2; // rax\n\n  if ( !Table )\n    return -1;\n  if ( Table->_first == Table->_end )\n  {\n    v2 = (_PVFV *)_security_cookie;\n    Table->_first = (_PVFV *)_security_cookie;\n    Table->_last = v2;\n    Table->_end = v2;\n  }\n  return 0;\n}", "assembly": "; \n; _initialize_onexit_table from 0x1801327b0 to 0x1801327d7 (39 bytes)\n; \n; 4 xrefs:\n; > __scrt_initialize_onexit_tables @ 0x180120686\n; > __scrt_initialize_onexit_tables @ 0x180120696\n; > initialize_c @ 0x18013283f\n; > initialize_c @ 0x18013284b\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\ntest    rcx, rcx                                                       ; +0x0, 0x1801327b0\njnz     short loc_1801327B9                                            ; +0x3, 0x1801327b3\nor      eax, 0FFFFFFFFh                                                ; +0x5, 0x1801327b5\nretn                                                                   ; +0x8, 0x1801327b8\nmov     rax, [rcx+10h]                                                 ; +0x9, 0x1801327b9\ncmp     [rcx], rax                                                     ; +0xd, 0x1801327bd\njnz     short loc_1801327D4                                            ; +0x10, 0x1801327c0\nmov     rax, cs:__security_cookie                                      ; +0x12, 0x1801327c2\nmov     [rcx], rax                                                     ; +0x19, 0x1801327c9\nmov     [rcx+8], rax                                                   ; +0x1c, 0x1801327cc\nmov     [rcx+10h], rax                                                 ; +0x20, 0x1801327d0\nxor     eax, eax                                                       ; +0x24, 0x1801327d4\nretn                                                                   ; +0x26, 0x1801327d6", "xrefs": ["__scrt_initialize_onexit_tables @ 0x180120686", "__scrt_initialize_onexit_tables @ 0x180120696", "initialize_c @ 0x18013283f", "initialize_c @ 0x18013284b"], "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"}