{"type": "func", "start": 6443578384, "end": 6443578572, "name": "sub_180113410", "pseudocode": "// \n// sub_180113410 from 0x180113410 to 0x1801134cc (188 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18016f5b0\n// > <???> @ 0x180201d00\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 10:54:36 +0000\n// \n\n_DWORD *__fastcall sub_180113410(_DWORD *Block, char a2)\n{\n  if ( !(unsigned int)sub_180087CB0((_QWORD *)Block + 15) && !(unsigned int)sub_1801135C0(Block + 34) )\n  {\n    Block[38] = -1;\n    Block[39] = 0;\n  }\n  sub_1801135C0(Block + 34);\n  sub_180087CB0((_QWORD *)Block + 15);\n  if ( !(unsigned int)sub_180087CB0((_QWORD *)Block + 10) && !(unsigned int)sub_1801134D0(Block + 24) )\n  {\n    Block[28] = -1;\n    Block[29] = 0;\n  }\n  sub_1801134D0(Block + 24);\n  sub_180087CB0((_QWORD *)Block + 10);\n  *(_QWORD *)Block = &off_18016CED8;\n  if ( (a2 & 1) != 0 )\n    j_j_free_0(Block);\n  return Block;\n}", "assembly": "; \n; sub_180113410 from 0x180113410 to 0x1801134cc (188 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18016f5b0\n; > <???> @ 0x180201d00\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 10:54:36 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180113410\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180113415\npush    rdi                                                            ; +0xa, 0x18011341a\nsub     rsp, 20h                                                       ; +0xb, 0x18011341b\nmov     rbx, rcx                                                       ; +0xf, 0x18011341f\nmov     esi, edx                                                       ; +0x12, 0x180113422\nadd     rcx, 78h ; 'x'                                                 ; +0x14, 0x180113424\ncall    sub_180087CB0                                                  ; +0x18, 0x180113428\ntest    eax, eax                                                       ; +0x1d, 0x18011342d\njnz     short loc_180113451                                            ; +0x1f, 0x18011342f\nlea     rcx, [rbx+88h]                                                 ; +0x21, 0x180113431\ncall    sub_1801135C0                                                  ; +0x28, 0x180113438\ntest    eax, eax                                                       ; +0x2d, 0x18011343d\njnz     short loc_180113451                                            ; +0x2f, 0x18011343f\nmov     dword ptr [rbx+98h], 0FFFFFFFFh                                ; +0x31, 0x180113441\nmov     [rbx+9Ch], eax                                                 ; +0x3b, 0x18011344b\nlea     rcx, [rbx+88h]                                                 ; +0x41, 0x180113451\ncall    sub_1801135C0                                                  ; +0x48, 0x180113458\nlea     rcx, [rbx+78h]                                                 ; +0x4d, 0x18011345d\ncall    sub_180087CB0                                                  ; +0x51, 0x180113461\nlea     rcx, [rbx+50h]                                                 ; +0x56, 0x180113466\ncall    sub_180087CB0                                                  ; +0x5a, 0x18011346a\ntest    eax, eax                                                       ; +0x5f, 0x18011346f\njnz     short loc_18011348A                                            ; +0x61, 0x180113471\nlea     rcx, [rbx+60h]                                                 ; +0x63, 0x180113473\ncall    sub_1801134D0                                                  ; +0x67, 0x180113477\ntest    eax, eax                                                       ; +0x6c, 0x18011347c\njnz     short loc_18011348A                                            ; +0x6e, 0x18011347e\nmov     dword ptr [rbx+70h], 0FFFFFFFFh                                ; +0x70, 0x180113480\nmov     [rbx+74h], eax                                                 ; +0x77, 0x180113487\nlea     rcx, [rbx+60h]                                                 ; +0x7a, 0x18011348a\ncall    sub_1801134D0                                                  ; +0x7e, 0x18011348e\nlea     rcx, [rbx+50h]                                                 ; +0x83, 0x180113493\ncall    sub_180087CB0                                                  ; +0x87, 0x180113497\nlea     rax, off_18016CED8                                             ; +0x8c, 0x18011349c\nmov     [rbx], rax                                                     ; +0x93, 0x1801134a3\ntest    sil, 1                                                         ; +0x96, 0x1801134a6\njz      short loc_1801134B9                                            ; +0x9a, 0x1801134aa\nmov     edx, 0B0h                                                      ; +0x9c, 0x1801134ac\nmov     rcx, rbx; Block                                                ; +0xa1, 0x1801134b1\ncall    j_j_free_0                                                     ; +0xa4, 0x1801134b4\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xa9, 0x1801134b9\nmov     rax, rbx                                                       ; +0xae, 0x1801134be\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xb1, 0x1801134c1\nadd     rsp, 20h                                                       ; +0xb6, 0x1801134c6\npop     rdi                                                            ; +0xba, 0x1801134ca\nretn                                                                   ; +0xbb, 0x1801134cb", "xrefs": ["<???> @ 0x18016f5b0", "<???> @ 0x180201d00"], "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"}