{"type": "func", "start": 6443075968, "end": 6443076165, "name": "sub_180098980", "pseudocode": "// \n// sub_180098980 from 0x180098980 to 0x180098a45 (197 bytes)\n// \n// 2 xrefs:\n// > sub_18000F320 @ 0x18000f4d5\n// > <???> @ 0x1801faaac\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:53:47 +0000\n// \n\n__int64 __fastcall sub_180098980(__int64 a1, __int64 a2, unsigned __int8 a3)\n{\n  __int64 result; // rax\n  __int64 v7; // [rsp+30h] [rbp+8h] BYREF\n\n  if ( !*(_QWORD *)(a1 + 168) )\n    return 0;\n  if ( !a2 )\n    return 31;\n  if ( (*(_DWORD *)(a1 + 100) & 0x100) != 0 )\n    return sub_180098A50(a1, a2, 0);\n  result = sub_1800FCF40(*(_QWORD *)(a1 + 168), &v7, 24, a3);\n  if ( !(_DWORD)result )\n  {\n    *(_BYTE *)v7 = 6;\n    *(_QWORD *)(v7 + 8) = a1;\n    *(_QWORD *)(v7 + 16) = a2;\n    result = sub_1800FD370(*(_QWORD *)(a1 + 168), v7, a3);\n    if ( !(_DWORD)result )\n      return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_180098980 from 0x180098980 to 0x180098a45 (197 bytes)\n; \n; 2 xrefs:\n; > sub_18000F320 @ 0x18000f4d5\n; > <???> @ 0x1801faaac\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:53:47 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x180098980\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x180098985\npush    rdi                                                            ; +0xa, 0x18009898a\nsub     rsp, 20h                                                       ; +0xb, 0x18009898b\ncmp     qword ptr [rcx+0A8h], 0                                        ; +0xf, 0x18009898f\nmovzx   esi, r8b                                                       ; +0x17, 0x180098997\nmov     rdi, rdx                                                       ; +0x1b, 0x18009899b\nmov     rbx, rcx                                                       ; +0x1e, 0x18009899e\njz      loc_180098A33                                                  ; +0x21, 0x1800989a1\ntest    rdx, rdx                                                       ; +0x27, 0x1800989a7\njnz     short loc_1800989BF                                            ; +0x2a, 0x1800989aa\nlea     eax, [rdx+1Fh]                                                 ; +0x2c, 0x1800989ac\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x2f, 0x1800989af\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x34, 0x1800989b4\nadd     rsp, 20h                                                       ; +0x39, 0x1800989b9\npop     rdi                                                            ; +0x3d, 0x1800989bd\nretn                                                                   ; +0x3e, 0x1800989be\nmov     eax, [rcx+64h]                                                 ; +0x3f, 0x1800989bf\nnop                                                                    ; +0x42, 0x1800989c2\nshr     eax, 8                                                         ; +0x43, 0x1800989c3\ntest    al, 1                                                          ; +0x46, 0x1800989c6\njz      short loc_1800989E1                                            ; +0x48, 0x1800989c8\nxor     r8d, r8d                                                       ; +0x4a, 0x1800989ca\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x4d, 0x1800989cd\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x52, 0x1800989d2\nadd     rsp, 20h                                                       ; +0x57, 0x1800989d7\npop     rdi                                                            ; +0x5b, 0x1800989db\njmp     sub_180098A50                                                  ; +0x5c, 0x1800989dc\nmov     rcx, [rcx+0A8h]                                                ; +0x61, 0x1800989e1\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x68, 0x1800989e8\nmovzx   r9d, sil                                                       ; +0x6d, 0x1800989ed\nmov     r8d, 18h                                                       ; +0x71, 0x1800989f1\ncall    sub_1800FCF40                                                  ; +0x77, 0x1800989f7\ntest    eax, eax                                                       ; +0x7c, 0x1800989fc\njnz     short loc_180098A35                                            ; +0x7e, 0x1800989fe\nmov     rax, [rsp+28h+arg_0]                                           ; +0x80, 0x180098a00\nmovzx   r8d, sil                                                       ; +0x85, 0x180098a05\nmov     byte ptr [rax], 6                                              ; +0x89, 0x180098a09\nmov     rax, [rsp+28h+arg_0]                                           ; +0x8c, 0x180098a0c\nmov     [rax+8], rbx                                                   ; +0x91, 0x180098a11\nmov     rax, [rsp+28h+arg_0]                                           ; +0x95, 0x180098a15\nmov     [rax+10h], rdi                                                 ; +0x9a, 0x180098a1a\nmov     rdx, [rsp+28h+arg_0]                                           ; +0x9e, 0x180098a1e\nmov     rcx, [rbx+0A8h]                                                ; +0xa3, 0x180098a23\ncall    sub_1800FD370                                                  ; +0xaa, 0x180098a2a\ntest    eax, eax                                                       ; +0xaf, 0x180098a2f\njnz     short loc_180098A35                                            ; +0xb1, 0x180098a31\nxor     eax, eax                                                       ; +0xb3, 0x180098a33\nmov     rbx, [rsp+28h+arg_8]                                           ; +0xb5, 0x180098a35\nmov     rsi, [rsp+28h+arg_10]                                          ; +0xba, 0x180098a3a\nadd     rsp, 20h                                                       ; +0xbf, 0x180098a3f\npop     rdi                                                            ; +0xc3, 0x180098a43\nretn                                                                   ; +0xc4, 0x180098a44", "xrefs": ["sub_18000F320 @ 0x18000f4d5", "<???> @ 0x1801faaac"], "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"}