{"type": "func", "start": 6442766656, "end": 6442766715, "name": "sub_18004D140", "pseudocode": "// \n// sub_18004D140 from 0x18004d140 to 0x18004d17b (59 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x180166de8\n// > <???> @ 0x1801f8724\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_18004D140(__int64 a1, void *a2)\n{\n  __int64 result; // rax\n\n  if ( a2 )\n  {\n    memset(a2, 0, 0xC88u);\n    return sub_180033C90(a1, (__int64)a2);\n  }\n  return result;\n}", "assembly": "; \n; sub_18004D140 from 0x18004d140 to 0x18004d17b (59 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x180166de8\n; > <???> @ 0x1801f8724\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, 0x18004d140\njz      short locret_18004D17A                                         ; +0x3, 0x18004d143\nmov     [rsp+arg_0], rbx                                               ; +0x5, 0x18004d145\npush    rdi                                                            ; +0xa, 0x18004d14a\nsub     rsp, 20h                                                       ; +0xb, 0x18004d14b\nmov     rbx, rdx                                                       ; +0xf, 0x18004d14f\nmov     rdi, rcx                                                       ; +0x12, 0x18004d152\nmov     rcx, rbx; void *                                               ; +0x15, 0x18004d155\nxor     edx, edx; Val                                                  ; +0x18, 0x18004d158\nmov     r8d, 0C88h; Size                                               ; +0x1a, 0x18004d15a\ncall    memset                                                         ; +0x20, 0x18004d160\nmov     rdx, rbx                                                       ; +0x25, 0x18004d165\nmov     rcx, rdi                                                       ; +0x28, 0x18004d168\ncall    sub_180033C90                                                  ; +0x2b, 0x18004d16b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x30, 0x18004d170\nadd     rsp, 20h                                                       ; +0x35, 0x18004d175\npop     rdi                                                            ; +0x39, 0x18004d179\nretn                                                                   ; +0x3a, 0x18004d17a", "xrefs": ["<???> @ 0x180166de8", "<???> @ 0x1801f8724"], "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"}