{"type": "func", "start": 6442475136, "end": 6442475202, "name": "sub_180005E80", "pseudocode": "// \n// sub_180005E80 from 0x180005e80 to 0x180005ec2 (66 bytes)\n// \n// 6 xrefs:\n// > <???> @ 0x1800ec238\n// > <???> @ 0x1800ec268\n// > <???> @ 0x1800ec280\n// > <???> @ 0x1800ecb88\n// > <???> @ 0x1800ecbb0\n// > <???> @ 0x1801b787c\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:21:18 +0000\n// \n\nchar *__fastcall sub_180005E80(char *Block, char a2)\n{\n  *(_QWORD *)Block = &std::exception::`vftable';\n  _std_exception_destroy(Block + 8);\n  if ( (a2 & 1) != 0 )\n    j_j_free_0(Block);\n  return Block;\n}", "assembly": "; \n; sub_180005E80 from 0x180005e80 to 0x180005ec2 (66 bytes)\n; \n; 6 xrefs:\n; > <???> @ 0x1800ec238\n; > <???> @ 0x1800ec268\n; > <???> @ 0x1800ec280\n; > <???> @ 0x1800ecb88\n; > <???> @ 0x1800ecbb0\n; > <???> @ 0x1801b787c\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:21:18 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180005e80\npush    rdi                                                            ; +0x5, 0x180005e85\nsub     rsp, 20h                                                       ; +0x6, 0x180005e86\nlea     rax, ??_7exception@std@@6B@; const std::exception::`vftable'   ; +0xa, 0x180005e8a\nmov     rdi, rcx                                                       ; +0x11, 0x180005e91\nmov     [rcx], rax                                                     ; +0x14, 0x180005e94\nmov     ebx, edx                                                       ; +0x17, 0x180005e97\nadd     rcx, 8                                                         ; +0x19, 0x180005e99\ncall    __std_exception_destroy                                        ; +0x1d, 0x180005e9d\ntest    bl, 1                                                          ; +0x22, 0x180005ea2\njz      short loc_180005EB4                                            ; +0x25, 0x180005ea5\nmov     edx, 18h                                                       ; +0x27, 0x180005ea7\nmov     rcx, rdi; Block                                                ; +0x2c, 0x180005eac\ncall    j_j_free_0                                                     ; +0x2f, 0x180005eaf\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x34, 0x180005eb4\nmov     rax, rdi                                                       ; +0x39, 0x180005eb9\nadd     rsp, 20h                                                       ; +0x3c, 0x180005ebc\npop     rdi                                                            ; +0x40, 0x180005ec0\nretn                                                                   ; +0x41, 0x180005ec1", "xrefs": ["<???> @ 0x1800ec238", "<???> @ 0x1800ec268", "<???> @ 0x1800ec280", "<???> @ 0x1800ecb88", "<???> @ 0x1800ecbb0", "<???> @ 0x1801b787c"], "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"}