{"type": "func", "start": 6442978576, "end": 6442978706, "name": "sub_180080D10", "pseudocode": "// \n// sub_180080D10 from 0x180080d10 to 0x180080d92 (130 bytes)\n// \n// 13 xrefs:\n// > sub_18007F3E0 @ 0x18007f3f3\n// > sub_180082130 @ 0x18008218c\n// > sub_1800858A0 @ 0x1800858ec\n// > sub_180085CA0 @ 0x180085d24\n// > sub_1800860B0 @ 0x1800860dc\n// > sub_180086120 @ 0x180086155\n// > sub_180086190 @ 0x1800861ce\n// > sub_180086220 @ 0x18008625e\n// > sub_1800862C0 @ 0x1800862fe\n// > sub_180086370 @ 0x1800863a4\n// > <???> @ 0x18013c7d4\n// > <???> @ 0x18013c7e4\n// > <???> @ 0x1801b51f0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall sub_180080D10(__int64 a1, __int64 a2, __int64 a3)\n{\n  int v3; // eax\n  __int64 v5; // rax\n\n  if ( a3 )\n  {\n    v3 = *(_DWORD *)(a1 + 10256);\n    if ( v3 == 1 )\n    {\n      (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 10240) + 8LL))(*(_QWORD *)(a1 + 10240));\n    }\n    else\n    {\n      v5 = sub_18007FF00(a1 + 2048, a1 + 2048, a1 + 2048, a1 + 2048, a2, a3, v3);\n      (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 10240) + 8LL))(\n        *(_QWORD *)(a1 + 10240),\n        a1 + 2048,\n        v5);\n    }\n  }\n}", "assembly": "; \n; sub_180080D10 from 0x180080d10 to 0x180080d92 (130 bytes)\n; \n; 13 xrefs:\n; > sub_18007F3E0 @ 0x18007f3f3\n; > sub_180082130 @ 0x18008218c\n; > sub_1800858A0 @ 0x1800858ec\n; > sub_180085CA0 @ 0x180085d24\n; > sub_1800860B0 @ 0x1800860dc\n; > sub_180086120 @ 0x180086155\n; > sub_180086190 @ 0x1800861ce\n; > sub_180086220 @ 0x18008625e\n; > sub_1800862C0 @ 0x1800862fe\n; > sub_180086370 @ 0x1800863a4\n; > <???> @ 0x18013c7d4\n; > <???> @ 0x18013c7e4\n; > <???> @ 0x1801b51f0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\ntest    r8, r8                                                         ; +0x0, 0x180080d10\njz      short locret_180080D91                                         ; +0x3, 0x180080d13\npush    rdi                                                            ; +0x5, 0x180080d15\nsub     rsp, 40h                                                       ; +0x6, 0x180080d16\nmov     eax, [rcx+2810h]                                               ; +0xa, 0x180080d1a\nmov     rdi, rcx                                                       ; +0x10, 0x180080d20\ncmp     eax, 1                                                         ; +0x13, 0x180080d23\njnz     short loc_180080D3B                                            ; +0x16, 0x180080d26\nmov     rcx, [rcx+2800h]                                               ; +0x18, 0x180080d28\nmov     rax, [rcx]                                                     ; +0x1f, 0x180080d2f\nadd     rsp, 40h                                                       ; +0x22, 0x180080d32\npop     rdi                                                            ; +0x26, 0x180080d36\njmp     qword ptr [rax+8]                                              ; +0x27, 0x180080d37\nmov     [rsp+48h+var_18], eax                                          ; +0x2b, 0x180080d3b\nlea     r9, [rcx+800h]                                                 ; +0x2f, 0x180080d3f\nmov     [rsp+48h+var_20], r8                                           ; +0x36, 0x180080d46\nlea     r8, [rcx+800h]                                                 ; +0x3b, 0x180080d4b\nmov     [rsp+48h+var_28], rdx                                          ; +0x42, 0x180080d52\nlea     rdx, [rcx+800h]                                                ; +0x47, 0x180080d57\nadd     rcx, 800h                                                      ; +0x4e, 0x180080d5e\nmov     [rsp+48h+arg_0], rbx                                           ; +0x55, 0x180080d65\ncall    sub_18007FF00                                                  ; +0x5a, 0x180080d6a\nmov     rcx, [rdi+2800h]                                               ; +0x5f, 0x180080d6f\nlea     rdx, [rdi+800h]                                                ; +0x66, 0x180080d76\nmov     r8, rax                                                        ; +0x6d, 0x180080d7d\nmov     r9, [rcx]                                                      ; +0x70, 0x180080d80\ncall    qword ptr [r9+8]                                               ; +0x73, 0x180080d83\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x77, 0x180080d87\nadd     rsp, 40h                                                       ; +0x7c, 0x180080d8c\npop     rdi                                                            ; +0x80, 0x180080d90\nretn                                                                   ; +0x81, 0x180080d91", "xrefs": ["sub_18007F3E0 @ 0x18007f3f3", "sub_180082130 @ 0x18008218c", "sub_1800858A0 @ 0x1800858ec", "sub_180085CA0 @ 0x180085d24", "sub_1800860B0 @ 0x1800860dc", "sub_180086120 @ 0x180086155", "sub_180086190 @ 0x1800861ce", "sub_180086220 @ 0x18008625e", "sub_1800862C0 @ 0x1800862fe", "sub_180086370 @ 0x1800863a4", "<???> @ 0x18013c7d4", "<???> @ 0x18013c7e4", "<???> @ 0x1801b51f0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}