{"type": "func", "start": 6442987792, "end": 6442987904, "name": "sub_180083110", "pseudocode": "// \n// sub_180083110 from 0x180083110 to 0x180083180 (112 bytes)\n// \n// 6 xrefs:\n// > sub_180083B10 @ 0x180083b39\n// > sub_180083B10 @ 0x180083b4b\n// > sub_180083B10 @ 0x180083b83\n// > sub_180083B10 @ 0x180083b94\n// > sub_180088820 @ 0x180088861\n// > sub_180088820 @ 0x180088959\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:22:03 +0000\n// \n\nvoid __fastcall sub_180083110(_QWORD *a1, __int64 a2)\n{\n  __int64 v2; // rax\n  __int64 v3; // r9\n  __int64 v4; // rdx\n  __int64 v5; // r8\n  __int64 *v6; // rax\n  __int64 v7; // rcx\n\n  v2 = *(unsigned __int16 *)(a2 - 2);\n  v3 = a2 - 4 - *(unsigned __int16 *)(a2 - 4) - 48;\n  v4 = *(_QWORD *)(v3 + 32);\n  v5 = v4;\n  if ( (_WORD)v2 )\n    v5 = v2;\n  v6 = a1 + 1;\n  if ( v3 == *a1 )\n  {\n    v4 = *v6;\n    *(_QWORD *)(v3 + 32) = *v6;\n  }\n  *(_QWORD *)(v3 + 40) += v5;\n  if ( *(_QWORD *)(v3 + 40) == v4 )\n  {\n    v7 = *(_QWORD *)(v3 + 24);\n    if ( v7 )\n    {\n      *(_QWORD *)(*(_QWORD *)(v3 + 16) + 24LL) = v7;\n      *(_QWORD *)(*(_QWORD *)(v3 + 24) + 16LL) = *(_QWORD *)(v3 + 16);\n      off_1801ACF78(*(void **)(v3 + 8));\n    }\n    else\n    {\n      *(_QWORD *)(v3 + 40) = 0;\n      *(_QWORD *)(v3 + 32) = 0;\n      *v6 = 0;\n    }\n  }\n}", "assembly": "; \n; sub_180083110 from 0x180083110 to 0x180083180 (112 bytes)\n; \n; 6 xrefs:\n; > sub_180083B10 @ 0x180083b39\n; > sub_180083B10 @ 0x180083b4b\n; > sub_180083B10 @ 0x180083b83\n; > sub_180083B10 @ 0x180083b94\n; > sub_180088820 @ 0x180088861\n; > sub_180088820 @ 0x180088959\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:22:03 +0000\n; \nmovzx   eax, word ptr [rdx-4]                                          ; +0x0, 0x180083110\nlea     r9, [rdx-4]                                                    ; +0x4, 0x180083114\nsub     r9, rax                                                        ; +0x8, 0x180083118\nmovzx   eax, word ptr [rdx-2]                                          ; +0xb, 0x18008311b\nadd     r9, 0FFFFFFFFFFFFFFD0h                                         ; +0xf, 0x18008311f\ntest    ax, ax                                                         ; +0x13, 0x180083123\nmov     rdx, [r9+20h]                                                  ; +0x16, 0x180083126\nmov     r8, rdx                                                        ; +0x1a, 0x18008312a\ncmovnz  r8, rax                                                        ; +0x1d, 0x18008312d\nlea     rax, [rcx+8]                                                   ; +0x21, 0x180083131\ncmp     r9, [rcx]                                                      ; +0x25, 0x180083135\njnz     short loc_180083141                                            ; +0x28, 0x180083138\nmov     rdx, [rax]                                                     ; +0x2a, 0x18008313a\nmov     [r9+20h], rdx                                                  ; +0x2d, 0x18008313d\nadd     [r9+28h], r8                                                   ; +0x31, 0x180083141\ncmp     [r9+28h], rdx                                                  ; +0x35, 0x180083145\njnz     short locret_18008317F                                         ; +0x39, 0x180083149\nmov     rcx, [r9+18h]                                                  ; +0x3b, 0x18008314b\ntest    rcx, rcx                                                       ; +0x3f, 0x18008314f\njnz     short loc_180083160                                            ; +0x42, 0x180083152\nmov     [r9+28h], rcx                                                  ; +0x44, 0x180083154\nmov     [r9+20h], rcx                                                  ; +0x48, 0x180083158\nmov     [rax], rcx                                                     ; +0x4c, 0x18008315c\nretn                                                                   ; +0x4f, 0x18008315f\nmov     rax, [r9+10h]                                                  ; +0x50, 0x180083160\nmov     [rax+18h], rcx                                                 ; +0x54, 0x180083164\nmov     rdx, [r9+18h]                                                  ; +0x58, 0x180083168\nmov     rax, [r9+10h]                                                  ; +0x5c, 0x18008316c\nmov     [rdx+10h], rax                                                 ; +0x60, 0x180083170\nmov     rcx, [r9+8]; Block                                             ; +0x64, 0x180083174\njmp     cs:off_1801ACF78                                               ; +0x68, 0x180083178\nretn                                                                   ; +0x6f, 0x18008317f", "xrefs": ["sub_180083B10 @ 0x180083b39", "sub_180083B10 @ 0x180083b4b", "sub_180083B10 @ 0x180083b83", "sub_180083B10 @ 0x180083b94", "sub_180088820 @ 0x180088861", "sub_180088820 @ 0x180088959"], "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"}