{"type": "func", "start": 6442756160, "end": 6442756219, "name": "sub_18004A840", "pseudocode": "// \n// sub_18004A840 from 0x18004a840 to 0x18004a87b (59 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x180166998\n// > <???> @ 0x1801f8490\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_18004A840(__int64 a1, void *a2)\n{\n  __int64 result; // rax\n\n  if ( a2 )\n  {\n    memset(a2, 0, 0x460u);\n    return sub_180033C90(a1, (__int64)a2);\n  }\n  return result;\n}", "assembly": "; \n; sub_18004A840 from 0x18004a840 to 0x18004a87b (59 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x180166998\n; > <???> @ 0x1801f8490\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\ntest    rdx, rdx                                                       ; +0x0, 0x18004a840\njz      short locret_18004A87A                                         ; +0x3, 0x18004a843\nmov     [rsp+arg_0], rbx                                               ; +0x5, 0x18004a845\npush    rdi                                                            ; +0xa, 0x18004a84a\nsub     rsp, 20h                                                       ; +0xb, 0x18004a84b\nmov     rbx, rdx                                                       ; +0xf, 0x18004a84f\nmov     rdi, rcx                                                       ; +0x12, 0x18004a852\nmov     rcx, rbx; void *                                               ; +0x15, 0x18004a855\nxor     edx, edx; Val                                                  ; +0x18, 0x18004a858\nmov     r8d, 460h; Size                                                ; +0x1a, 0x18004a85a\ncall    memset                                                         ; +0x20, 0x18004a860\nmov     rdx, rbx                                                       ; +0x25, 0x18004a865\nmov     rcx, rdi                                                       ; +0x28, 0x18004a868\ncall    sub_180033C90                                                  ; +0x2b, 0x18004a86b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x30, 0x18004a870\nadd     rsp, 20h                                                       ; +0x35, 0x18004a875\npop     rdi                                                            ; +0x39, 0x18004a879\nretn                                                                   ; +0x3a, 0x18004a87a", "xrefs": ["<???> @ 0x180166998", "<???> @ 0x1801f8490"], "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"}