{"type": "func", "start": 6443004624, "end": 6443004713, "name": "sub_1800872D0", "pseudocode": "// \n// sub_1800872D0 from 0x1800872d0 to 0x180087329 (89 bytes)\n// \n// 2 xrefs:\n// > sub_180088560 @ 0x180088658\n// > <???> @ 0x1801bf7a8\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:04 +0000\n// \n\n__int64 __fastcall sub_1800872D0(__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_1800872D0 from 0x1800872d0 to 0x180087329 (89 bytes)\n; \n; 2 xrefs:\n; > sub_180088560 @ 0x180088658\n; > <???> @ 0x1801bf7a8\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:04 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800872d0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1800872d5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1800872da\npush    rdi                                                            ; +0xf, 0x1800872df\nsub     rsp, 20h                                                       ; +0x10, 0x1800872e0\nmov     rdi, rdx                                                       ; +0x14, 0x1800872e4\nmov     rbp, r8                                                        ; +0x17, 0x1800872e7\nmov     rdx, [rcx]; Src                                                ; +0x1a, 0x1800872ea\nmov     rsi, rcx                                                       ; +0x1d, 0x1800872ed\ntest    rdx, rdx                                                       ; +0x20, 0x1800872f0\njz      short loc_180087307                                            ; +0x23, 0x1800872f3\nmov     r8, [rdi]                                                      ; +0x25, 0x1800872f5\nmov     rcx, rdx                                                       ; +0x28, 0x1800872f8\nsub     rcx, [rsi+8]; void *                                           ; +0x2b, 0x1800872fb\nsub     r8, rdx; Size                                                  ; +0x2f, 0x1800872ff\ncall    memmove                                                        ; +0x32, 0x180087302\nadd     [rdi], rbp                                                     ; +0x37, 0x180087307\nmov     rax, [rdi]                                                     ; +0x3a, 0x18008730a\nadd     [rsi+8], rbp                                                   ; +0x3d, 0x18008730d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x41, 0x180087311\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x46, 0x180087316\nmov     [rsi], rax                                                     ; +0x4b, 0x18008731b\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x4e, 0x18008731e\nadd     rsp, 20h                                                       ; +0x53, 0x180087323\npop     rdi                                                            ; +0x57, 0x180087327\nretn                                                                   ; +0x58, 0x180087328", "xrefs": ["sub_180088560 @ 0x180088658", "<???> @ 0x1801bf7a8"], "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"}