{"type": "func", "start": 6443530400, "end": 6443530519, "name": "sub_1801078A0", "pseudocode": "// \n// sub_1801078A0 from 0x1801078a0 to 0x180107917 (119 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x180190120\n// > <???> @ 0x180190130\n// > <???> @ 0x1801b0370\n// > <???> @ 0x180201550\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\n__int64 __fastcall sub_1801078A0(__int64 a1, unsigned int a2, __int64 a3, __int64 a4, int a5, int a6)\n{\n  __int64 v7; // rbp\n  __int64 v8; // rbx\n  const void *v9; // rdi\n  void *v10; // rax\n\n  v7 = a2;\n  if ( a6 != 1 )\n  {\n    v8 = *(_QWORD *)(a1 + 8);\n    v9 = **(const void ***)(a3 + 24);\n    v10 = (void *)sub_1800BE090(v8);\n    memmove(v10, v9, *(int *)(v8 + 12));\n    memmove(**(void ***)(a4 + 24), v9, 4 * v7 * **(int **)(a4 + 8));\n  }\n  return 0;\n}", "assembly": "; \n; sub_1801078A0 from 0x1801078a0 to 0x180107917 (119 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x180190120\n; > <???> @ 0x180190130\n; > <???> @ 0x1801b0370\n; > <???> @ 0x180201550\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\nmov     [rsp+arg_10], rbp                                              ; +0x0, 0x1801078a0\npush    rsi                                                            ; +0x5, 0x1801078a5\nsub     rsp, 20h                                                       ; +0x6, 0x1801078a6\ncmp     [rsp+28h+arg_28], 1                                            ; +0xa, 0x1801078aa\nmov     rsi, r9                                                        ; +0xf, 0x1801078af\nmov     ebp, edx                                                       ; +0x12, 0x1801078b2\njz      short loc_18010790A                                            ; +0x14, 0x1801078b4\nmov     rax, [r8+18h]                                                  ; +0x16, 0x1801078b6\nmov     [rsp+28h+arg_0], rbx                                           ; +0x1a, 0x1801078ba\nmov     rbx, [rcx+8]                                                   ; +0x1f, 0x1801078bf\nmov     [rsp+28h+arg_8], rdi                                           ; +0x23, 0x1801078c3\nmov     rcx, rbx                                                       ; +0x28, 0x1801078c8\nmov     rdi, [rax]                                                     ; +0x2b, 0x1801078cb\ncall    sub_1800BE090                                                  ; +0x2e, 0x1801078ce\nmovsxd  r8, dword ptr [rbx+0Ch]; Size                                  ; +0x33, 0x1801078d3\nmov     rdx, rdi; Src                                                  ; +0x37, 0x1801078d7\nmov     rcx, rax; void *                                               ; +0x3a, 0x1801078da\ncall    memmove                                                        ; +0x3d, 0x1801078dd\nmov     rax, [rsi+8]                                                   ; +0x42, 0x1801078e2\nmov     rdx, rdi; Src                                                  ; +0x46, 0x1801078e6\nmov     rcx, [rsi+18h]                                                 ; +0x49, 0x1801078e9\nmovsxd  r8, dword ptr [rax]                                            ; +0x4d, 0x1801078ed\nmov     rcx, [rcx]; void *                                             ; +0x50, 0x1801078f0\nimul    r8, rbp                                                        ; +0x53, 0x1801078f3\nshl     r8, 2; Size                                                    ; +0x57, 0x1801078f7\ncall    memmove                                                        ; +0x5b, 0x1801078fb\nmov     rdi, [rsp+28h+arg_8]                                           ; +0x60, 0x180107900\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x65, 0x180107905\nmov     rbp, [rsp+28h+arg_10]                                          ; +0x6a, 0x18010790a\nxor     eax, eax                                                       ; +0x6f, 0x18010790f\nadd     rsp, 20h                                                       ; +0x71, 0x180107911\npop     rsi                                                            ; +0x75, 0x180107915\nretn                                                                   ; +0x76, 0x180107916", "xrefs": ["<???> @ 0x180190120", "<???> @ 0x180190130", "<???> @ 0x1801b0370", "<???> @ 0x180201550"], "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"}