{"type": "func", "start": 6442778672, "end": 6442778756, "name": "sub_180050030", "pseudocode": "// \n// sub_180050030 from 0x180050030 to 0x180050084 (84 bytes)\n// \n// 2 xrefs:\n// > sub_18004A3A0 @ 0x18004a654\n// > <???> @ 0x1801f88e0\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 10:53:17 +0000\n// \n\n__int64 __fastcall sub_180050030(__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 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_180050030 from 0x180050030 to 0x180050084 (84 bytes)\n; \n; 2 xrefs:\n; > sub_18004A3A0 @ 0x18004a654\n; > <???> @ 0x1801f88e0\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 10:53:17 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180050030\npush    rdi                                                            ; +0x5, 0x180050035\nsub     rsp, 20h                                                       ; +0x6, 0x180050036\ncmp     dword ptr [rdx+30h], 0                                         ; +0xa, 0x18005003a\nmov     rbx, rdx                                                       ; +0xe, 0x18005003e\nmov     rdi, rcx                                                       ; +0x11, 0x180050041\njz      short loc_180050079                                            ; +0x14, 0x180050044\nmov     rdx, [rdx+28h]                                                 ; +0x16, 0x180050046\ntest    rdx, rdx                                                       ; +0x1a, 0x18005004a\njz      short loc_180050054                                            ; +0x1d, 0x18005004d\ncall    sub_180033C90                                                  ; +0x1f, 0x18005004f\nmov     rdx, [rbx+8]                                                   ; +0x24, 0x180050054\ntest    rdx, rdx                                                       ; +0x28, 0x180050058\njz      short loc_180050065                                            ; +0x2b, 0x18005005b\nmov     rcx, rdi                                                       ; +0x2d, 0x18005005d\ncall    sub_180033C90                                                  ; +0x30, 0x180050060\nxorps   xmm0, xmm0                                                     ; +0x35, 0x180050065\nxor     eax, eax                                                       ; +0x38, 0x180050068\nmovups  xmmword ptr [rbx], xmm0                                        ; +0x3a, 0x18005006a\nmovups  xmmword ptr [rbx+10h], xmm0                                    ; +0x3d, 0x18005006d\nmovups  xmmword ptr [rbx+20h], xmm0                                    ; +0x41, 0x180050071\nmov     [rbx+30h], rax                                                 ; +0x45, 0x180050075\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x49, 0x180050079\nadd     rsp, 20h                                                       ; +0x4e, 0x18005007e\npop     rdi                                                            ; +0x52, 0x180050082\nretn                                                                   ; +0x53, 0x180050083", "xrefs": ["sub_18004A3A0 @ 0x18004a654", "<???> @ 0x1801f88e0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}