{"type": "func", "start": 6443314464, "end": 6443314538, "name": "sub_1800D2D20", "pseudocode": "// \n// sub_1800D2D20 from 0x1800d2d20 to 0x1800d2d6a (74 bytes)\n// \n// 3 xrefs:\n// > sub_1800D2CC0 @ 0x1800d2ce6\n// > <???> @ 0x1801fecb8\n// > <???> @ 0x1801fecc4\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:54:10 +0000\n// \n\n__int64 __fastcall sub_1800D2D20(__int64 a1, int a2, int *a3, const void *a4, int a5)\n{\n  __int64 v5; // r10\n\n  v5 = *a3;\n  if ( (int)v5 + a5 > a2 )\n    return 31;\n  memmove((void *)(v5 + a1), a4, a5);\n  *a3 += a5;\n  return 0;\n}", "assembly": "; \n; sub_1800D2D20 from 0x1800d2d20 to 0x1800d2d6a (74 bytes)\n; \n; 3 xrefs:\n; > sub_1800D2CC0 @ 0x1800d2ce6\n; > <???> @ 0x1801fecb8\n; > <???> @ 0x1801fecc4\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:54:10 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800d2d20\npush    rdi                                                            ; +0x5, 0x1800d2d25\nsub     rsp, 20h                                                       ; +0x6, 0x1800d2d26\nmovsxd  r10, dword ptr [r8]                                            ; +0xa, 0x1800d2d2a\nmov     rbx, r8                                                        ; +0xd, 0x1800d2d2d\nmovsxd  rdi, [rsp+28h+arg_20]                                          ; +0x10, 0x1800d2d30\nlea     eax, [r10+rdi]                                                 ; +0x15, 0x1800d2d35\ncmp     eax, edx                                                       ; +0x19, 0x1800d2d39\njle     short loc_1800D2D4D                                            ; +0x1b, 0x1800d2d3b\nmov     eax, 1Fh                                                       ; +0x1d, 0x1800d2d3d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x22, 0x1800d2d42\nadd     rsp, 20h                                                       ; +0x27, 0x1800d2d47\npop     rdi                                                            ; +0x2b, 0x1800d2d4b\nretn                                                                   ; +0x2c, 0x1800d2d4c\nmov     r8, rdi; Size                                                  ; +0x2d, 0x1800d2d4d\nadd     rcx, r10; void *                                               ; +0x30, 0x1800d2d50\nmov     rdx, r9; Src                                                   ; +0x33, 0x1800d2d53\ncall    memmove                                                        ; +0x36, 0x1800d2d56\nadd     [rbx], edi                                                     ; +0x3b, 0x1800d2d5b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x3d, 0x1800d2d5d\nxor     eax, eax                                                       ; +0x42, 0x1800d2d62\nadd     rsp, 20h                                                       ; +0x44, 0x1800d2d64\npop     rdi                                                            ; +0x48, 0x1800d2d68\nretn                                                                   ; +0x49, 0x1800d2d69", "xrefs": ["sub_1800D2CC0 @ 0x1800d2ce6", "<???> @ 0x1801fecb8", "<???> @ 0x1801fecc4"], "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"}