{"type": "func", "start": 6442778768, "end": 6442778863, "name": "sub_180050090", "pseudocode": "// \n// sub_180050090 from 0x180050090 to 0x1800500ef (95 bytes)\n// \n// 3 xrefs:\n// > sub_180049440 @ 0x18004966b\n// > sub_18004C5B0 @ 0x18004c703\n// > <???> @ 0x1801f88ec\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_180050090(__int64 a1, __int64 a2)\n{\n  __int64 v4; // rdx\n  __int64 v5; // rdx\n  __int64 result; // rax\n\n  if ( *(_DWORD *)(a2 + 48) )\n  {\n    v4 = *(_QWORD *)(a2 + 40);\n    if ( v4 )\n      sub_180033C90(a1, v4);\n    v5 = *(_QWORD *)(a2 + 8);\n    if ( v5 )\n      sub_180033C90(a1, v5);\n    *(_OWORD *)a2 = 0;\n    *(_OWORD *)(a2 + 16) = 0;\n    *(_OWORD *)(a2 + 32) = 0;\n    *(_QWORD *)(a2 + 48) = 0;\n    return sub_180033C90(a1, a2);\n  }\n  return result;\n}", "assembly": "; \n; sub_180050090 from 0x180050090 to 0x1800500ef (95 bytes)\n; \n; 3 xrefs:\n; > sub_180049440 @ 0x18004966b\n; > sub_18004C5B0 @ 0x18004c703\n; > <???> @ 0x1801f88ec\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180050090\npush    rdi                                                            ; +0x5, 0x180050095\nsub     rsp, 20h                                                       ; +0x6, 0x180050096\ncmp     dword ptr [rdx+30h], 0                                         ; +0xa, 0x18005009a\nmov     rbx, rdx                                                       ; +0xe, 0x18005009e\nmov     rdi, rcx                                                       ; +0x11, 0x1800500a1\njz      short loc_1800500E4                                            ; +0x14, 0x1800500a4\nmov     rdx, [rdx+28h]                                                 ; +0x16, 0x1800500a6\ntest    rdx, rdx                                                       ; +0x1a, 0x1800500aa\njz      short loc_1800500B4                                            ; +0x1d, 0x1800500ad\ncall    sub_180033C90                                                  ; +0x1f, 0x1800500af\nmov     rdx, [rbx+8]                                                   ; +0x24, 0x1800500b4\ntest    rdx, rdx                                                       ; +0x28, 0x1800500b8\njz      short loc_1800500C5                                            ; +0x2b, 0x1800500bb\nmov     rcx, rdi                                                       ; +0x2d, 0x1800500bd\ncall    sub_180033C90                                                  ; +0x30, 0x1800500c0\nxorps   xmm0, xmm0                                                     ; +0x35, 0x1800500c5\nxor     eax, eax                                                       ; +0x38, 0x1800500c8\nmovups  xmmword ptr [rbx], xmm0                                        ; +0x3a, 0x1800500ca\nmov     rdx, rbx                                                       ; +0x3d, 0x1800500cd\nmov     rcx, rdi                                                       ; +0x40, 0x1800500d0\nmovups  xmmword ptr [rbx+10h], xmm0                                    ; +0x43, 0x1800500d3\nmovups  xmmword ptr [rbx+20h], xmm0                                    ; +0x47, 0x1800500d7\nmov     [rbx+30h], rax                                                 ; +0x4b, 0x1800500db\ncall    sub_180033C90                                                  ; +0x4f, 0x1800500df\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x54, 0x1800500e4\nadd     rsp, 20h                                                       ; +0x59, 0x1800500e9\npop     rdi                                                            ; +0x5d, 0x1800500ed\nretn                                                                   ; +0x5e, 0x1800500ee", "xrefs": ["sub_180049440 @ 0x18004966b", "sub_18004C5B0 @ 0x18004c703", "<???> @ 0x1801f88ec"], "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"}