{"type": "func", "start": 6443463168, "end": 6443463262, "name": "sub_1800F7200", "pseudocode": "// \n// sub_1800F7200 from 0x1800f7200 to 0x1800f725e (94 bytes)\n// \n// 6 xrefs:\n// > sub_1800EB320 @ 0x1800eb888\n// > sub_1800EB320 @ 0x1800ebe07\n// > sub_1800EB320 @ 0x1800ebed8\n// > <???> @ 0x18018ede4\n// > <???> @ 0x18018edf4\n// > <???> @ 0x180200a88\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_1800F7200(int a1, int a2, int a3, char *a4)\n{\n  __int64 v5; // rbp\n  __int64 v6; // rdi\n  __int64 v7; // rsi\n\n  if ( a2 > 0 )\n  {\n    v5 = 4LL * a3;\n    v6 = (unsigned int)a2;\n    v7 = a1;\n    do\n    {\n      if ( v7 > 0 )\n        memset(a4, 0, 4 * v7);\n      a4 += v5;\n      --v6;\n    }\n    while ( v6 );\n  }\n  return 0;\n}", "assembly": "; \n; sub_1800F7200 from 0x1800f7200 to 0x1800f725e (94 bytes)\n; \n; 6 xrefs:\n; > sub_1800EB320 @ 0x1800eb888\n; > sub_1800EB320 @ 0x1800ebe07\n; > sub_1800EB320 @ 0x1800ebed8\n; > <???> @ 0x18018ede4\n; > <???> @ 0x18018edf4\n; > <???> @ 0x180200a88\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\npush    rbx                                                            ; +0x0, 0x1800f7200\nsub     rsp, 20h                                                       ; +0x2, 0x1800f7202\nmov     rbx, r9                                                        ; +0x6, 0x1800f7206\ntest    edx, edx                                                       ; +0x9, 0x1800f7209\njle     short loc_1800F7256                                            ; +0xb, 0x1800f720b\nmov     [rsp+28h+arg_0], rbp                                           ; +0xd, 0x1800f720d\nmov     [rsp+28h+arg_8], rsi                                           ; +0x12, 0x1800f7212\nmovsxd  rbp, r8d                                                       ; +0x17, 0x1800f7217\nmov     [rsp+28h+arg_10], rdi                                          ; +0x1a, 0x1800f721a\nshl     rbp, 2                                                         ; +0x1f, 0x1800f721f\nmov     edi, edx                                                       ; +0x23, 0x1800f7223\nmovsxd  rsi, ecx                                                       ; +0x25, 0x1800f7225\ntest    rsi, rsi                                                       ; +0x28, 0x1800f7228\njle     short loc_1800F723E                                            ; +0x2b, 0x1800f722b\nmov     r8, rsi                                                        ; +0x2d, 0x1800f722d\nxor     edx, edx; Val                                                  ; +0x30, 0x1800f7230\nshl     r8, 2; Size                                                    ; +0x32, 0x1800f7232\nmov     rcx, rbx; void *                                               ; +0x36, 0x1800f7236\ncall    memset                                                         ; +0x39, 0x1800f7239\nadd     rbx, rbp                                                       ; +0x3e, 0x1800f723e\nsub     rdi, 1                                                         ; +0x41, 0x1800f7241\njnz     short loc_1800F7228                                            ; +0x45, 0x1800f7245\nmov     rdi, [rsp+28h+arg_10]                                          ; +0x47, 0x1800f7247\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x4c, 0x1800f724c\nmov     rbp, [rsp+28h+arg_0]                                           ; +0x51, 0x1800f7251\nxor     eax, eax                                                       ; +0x56, 0x1800f7256\nadd     rsp, 20h                                                       ; +0x58, 0x1800f7258\npop     rbx                                                            ; +0x5c, 0x1800f725c\nretn                                                                   ; +0x5d, 0x1800f725d", "xrefs": ["sub_1800EB320 @ 0x1800eb888", "sub_1800EB320 @ 0x1800ebe07", "sub_1800EB320 @ 0x1800ebed8", "<???> @ 0x18018ede4", "<???> @ 0x18018edf4", "<???> @ 0x180200a88"], "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"}