{"type": "func", "start": 6443370384, "end": 6443370458, "name": "sub_1800E0790", "pseudocode": "// \n// sub_1800E0790 from 0x1800e0790 to 0x1800e07da (74 bytes)\n// \n// 2 xrefs:\n// > sub_1800DF8E0 @ 0x1800df9bd\n// > <???> @ 0x1801ff894\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 *__fastcall sub_1800E0790(__int64 a1))(__int64)\n{\n  void *v2; // rcx\n  __int64 (__fastcall *result)(__int64); // rax\n\n  *(_DWORD *)(a1 + 344) = 0;\n  v2 = *(void **)(a1 + 320);\n  if ( v2 )\n    memset(v2, 0, *(unsigned int *)(a1 + 340));\n  result = *(__int64 (__fastcall **)(__int64))(a1 + 176);\n  if ( result )\n    return (__int64 (__fastcall *)(__int64))result(a1);\n  return result;\n}", "assembly": "; \n; sub_1800E0790 from 0x1800e0790 to 0x1800e07da (74 bytes)\n; \n; 2 xrefs:\n; > sub_1800DF8E0 @ 0x1800df9bd\n; > <???> @ 0x1801ff894\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, 0x1800e0790\nsub     rsp, 20h                                                       ; +0x2, 0x1800e0792\nmov     rbx, rcx                                                       ; +0x6, 0x1800e0796\nmov     dword ptr [rcx+158h], 0                                        ; +0x9, 0x1800e0799\nmov     rcx, [rcx+140h]; void *                                        ; +0x13, 0x1800e07a3\ntest    rcx, rcx                                                       ; +0x1a, 0x1800e07aa\njz      short loc_1800E07BD                                            ; +0x1d, 0x1800e07ad\nmov     r8d, [rbx+154h]; Size                                          ; +0x1f, 0x1800e07af\nxor     edx, edx; Val                                                  ; +0x26, 0x1800e07b6\ncall    memset                                                         ; +0x28, 0x1800e07b8\nmov     rax, [rbx+0B0h]                                                ; +0x2d, 0x1800e07bd\ntest    rax, rax                                                       ; +0x34, 0x1800e07c4\njz      short loc_1800E07D4                                            ; +0x37, 0x1800e07c7\nmov     rcx, rbx                                                       ; +0x39, 0x1800e07c9\nadd     rsp, 20h                                                       ; +0x3c, 0x1800e07cc\npop     rbx                                                            ; +0x40, 0x1800e07d0\njmp     rax                                                            ; +0x41, 0x1800e07d1\nadd     rsp, 20h                                                       ; +0x44, 0x1800e07d4\npop     rbx                                                            ; +0x48, 0x1800e07d8\nretn                                                                   ; +0x49, 0x1800e07d9", "xrefs": ["sub_1800DF8E0 @ 0x1800df9bd", "<???> @ 0x1801ff894"], "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"}