{"type": "func", "start": 6442581556, "end": 6442581695, "name": "sub_18001FE34", "pseudocode": "// \n// sub_18001FE34 from 0x18001fe34 to 0x18001febf (139 bytes)\n// \n// 2 xrefs:\n// > sub_18001FCFC @ 0x18001fd02\n// > <???> @ 0x18004d208\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 12:15:45 +0000\n// \n\nchar __fastcall sub_18001FE34(unsigned int a1)\n{\n  int v2; // eax\n\n  if ( !byte_18004A589 )\n  {\n    if ( a1 > 1 )\n    {\n      sub_18001FFBC(5);\n      JUMPOUT(0x18001FEBELL);\n    }\n    LOBYTE(v2) = __uncaught_exception();\n    if ( !v2 || a1 )\n    {\n      *(__m128i *)&Table._first = _mm_load_si128((const __m128i *)&xmmword_1800257F0);\n      Table._end = (_PVFV *)-1LL;\n      *(_OWORD *)&stru_18004A5A8._first = *(_OWORD *)&Table._first;\n      stru_18004A5A8._end = (_PVFV *)-1LL;\n    }\n    else if ( initialize_onexit_table(&Table) || initialize_onexit_table(&stru_18004A5A8) )\n    {\n      return 0;\n    }\n    byte_18004A589 = 1;\n  }\n  return 1;\n}", "assembly": "; \n; sub_18001FE34 from 0x18001fe34 to 0x18001febf (139 bytes)\n; \n; 2 xrefs:\n; > sub_18001FCFC @ 0x18001fd02\n; > <???> @ 0x18004d208\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 12:15:45 +0000\n; \npush    rbx                                                            ; +0x0, 0x18001fe34\nsub     rsp, 20h                                                       ; +0x2, 0x18001fe36\ncmp     cs:byte_18004A589, 0                                           ; +0x6, 0x18001fe3a\nmov     ebx, ecx                                                       ; +0xd, 0x18001fe41\njnz     short loc_18001FEAC                                            ; +0xf, 0x18001fe43\ncmp     ecx, 1                                                         ; +0x11, 0x18001fe45\nja      short loc_18001FEB4                                            ; +0x14, 0x18001fe48\ncall    ?__uncaught_exception@@YA_NXZ; __uncaught_exception(void)      ; +0x16, 0x18001fe4a\ntest    eax, eax                                                       ; +0x1b, 0x18001fe4f\njz      short loc_18001FE7B                                            ; +0x1d, 0x18001fe51\ntest    ebx, ebx                                                       ; +0x1f, 0x18001fe53\njnz     short loc_18001FE7B                                            ; +0x21, 0x18001fe55\nlea     rcx, Table; Table                                              ; +0x23, 0x18001fe57\ncall    _initialize_onexit_table                                       ; +0x2a, 0x18001fe5e\ntest    eax, eax                                                       ; +0x2f, 0x18001fe63\njnz     short loc_18001FE77                                            ; +0x31, 0x18001fe65\nlea     rcx, stru_18004A5A8; Table                                     ; +0x33, 0x18001fe67\ncall    _initialize_onexit_table                                       ; +0x3a, 0x18001fe6e\ntest    eax, eax                                                       ; +0x3f, 0x18001fe73\njz      short loc_18001FEA5                                            ; +0x41, 0x18001fe75\nxor     al, al                                                         ; +0x43, 0x18001fe77\njmp     short loc_18001FEAE                                            ; +0x45, 0x18001fe79\nmovdqa  xmm0, cs:xmmword_1800257F0                                     ; +0x47, 0x18001fe7b\nor      rax, 0FFFFFFFFFFFFFFFFh                                        ; +0x4f, 0x18001fe83\nmovdqu  xmmword ptr cs:Table._first, xmm0                              ; +0x53, 0x18001fe87\nmov     cs:Table._end, rax                                             ; +0x5b, 0x18001fe8f\nmovdqu  xmmword ptr cs:stru_18004A5A8._first, xmm0                     ; +0x62, 0x18001fe96\nmov     cs:stru_18004A5A8._end, rax                                    ; +0x6a, 0x18001fe9e\nmov     cs:byte_18004A589, 1                                           ; +0x71, 0x18001fea5\nmov     al, 1                                                          ; +0x78, 0x18001feac\nadd     rsp, 20h                                                       ; +0x7a, 0x18001feae\npop     rbx                                                            ; +0x7e, 0x18001feb2\nretn                                                                   ; +0x7f, 0x18001feb3\nmov     ecx, 5                                                         ; +0x80, 0x18001feb4\ncall    sub_18001FFBC                                                  ; +0x85, 0x18001feb9\ndb 0CCh                                                                ; +0x8a, 0x18001febe", "xrefs": ["sub_18001FCFC @ 0x18001fd02", "<???> @ 0x18004d208"], "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"}