{"type": "func", "start": 6442992400, "end": 6442992489, "name": "sub_180084310", "pseudocode": "// \n// sub_180084310 from 0x180084310 to 0x180084369 (89 bytes)\n// \n// 2 xrefs:\n// > sub_180085450 @ 0x180085545\n// > <???> @ 0x1801b5508\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_180084310(__int64 a1, __int64 *a2, __int64 a3)\n{\n  __int64 result; // rax\n\n  if ( *(_QWORD *)a1 )\n    memmove((void *)(*(_QWORD *)a1 - *(_QWORD *)(a1 + 8)), *(const void **)a1, *a2 - *(_QWORD *)a1);\n  *a2 += a3;\n  result = *a2;\n  *(_QWORD *)(a1 + 8) += a3;\n  *(_QWORD *)a1 = result;\n  return result;\n}", "assembly": "; \n; sub_180084310 from 0x180084310 to 0x180084369 (89 bytes)\n; \n; 2 xrefs:\n; > sub_180085450 @ 0x180085545\n; > <???> @ 0x1801b5508\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_0], rbx                                               ; +0x0, 0x180084310\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180084315\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x18008431a\npush    rdi                                                            ; +0xf, 0x18008431f\nsub     rsp, 20h                                                       ; +0x10, 0x180084320\nmov     rdi, rdx                                                       ; +0x14, 0x180084324\nmov     rbp, r8                                                        ; +0x17, 0x180084327\nmov     rdx, [rcx]; Src                                                ; +0x1a, 0x18008432a\nmov     rsi, rcx                                                       ; +0x1d, 0x18008432d\ntest    rdx, rdx                                                       ; +0x20, 0x180084330\njz      short loc_180084347                                            ; +0x23, 0x180084333\nmov     r8, [rdi]                                                      ; +0x25, 0x180084335\nmov     rcx, rdx                                                       ; +0x28, 0x180084338\nsub     rcx, [rsi+8]; void *                                           ; +0x2b, 0x18008433b\nsub     r8, rdx; Size                                                  ; +0x2f, 0x18008433f\ncall    memmove                                                        ; +0x32, 0x180084342\nadd     [rdi], rbp                                                     ; +0x37, 0x180084347\nmov     rax, [rdi]                                                     ; +0x3a, 0x18008434a\nadd     [rsi+8], rbp                                                   ; +0x3d, 0x18008434d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x41, 0x180084351\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x46, 0x180084356\nmov     [rsi], rax                                                     ; +0x4b, 0x18008435b\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x4e, 0x18008435e\nadd     rsp, 20h                                                       ; +0x53, 0x180084363\npop     rdi                                                            ; +0x57, 0x180084367\nretn                                                                   ; +0x58, 0x180084368", "xrefs": ["sub_180085450 @ 0x180085545", "<???> @ 0x1801b5508"], "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"}