{"type": "func", "start": 6442782832, "end": 6442782925, "name": "sub_180051070", "pseudocode": "// \n// sub_180051070 from 0x180051070 to 0x1800510cd (93 bytes)\n// \n// 2 xrefs:\n// > sub_180033290 @ 0x1800335fc\n// > <???> @ 0x1801f8a00\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_180051070(__int64 a1, __int64 a2, _DWORD *a3, const void *a4, int a5, _OWORD *a6)\n{\n  __int128 v8; // xmm1\n  __int64 result; // rax\n  _OWORD v10[2]; // [rsp+30h] [rbp-28h] BYREF\n\n  v8 = a6[1];\n  v10[0] = *a6;\n  v10[1] = v8;\n  result = sub_180050C10(a1, a2, a3, a4, a5, (__int64)v10);\n  if ( !(_DWORD)result )\n    return sub_180050E70(a1, a3);\n  return result;\n}", "assembly": "; \n; sub_180051070 from 0x180051070 to 0x1800510cd (93 bytes)\n; \n; 2 xrefs:\n; > sub_180033290 @ 0x1800335fc\n; > <???> @ 0x1801f8a00\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, 0x180051070\npush    rdi                                                            ; +0x5, 0x180051075\nsub     rsp, 50h                                                       ; +0x6, 0x180051076\nmov     rax, [rsp+58h+arg_28]                                          ; +0xa, 0x18005107a\nmov     rbx, r8                                                        ; +0x12, 0x180051082\nmov     rdi, rcx                                                       ; +0x15, 0x180051085\nmovups  xmm0, xmmword ptr [rax]                                        ; +0x18, 0x180051088\nmovups  xmm1, xmmword ptr [rax+10h]                                    ; +0x1b, 0x18005108b\nlea     rax, [rsp+58h+var_28]                                          ; +0x1f, 0x18005108f\nmovaps  [rsp+58h+var_28], xmm0                                         ; +0x24, 0x180051094\nmov     [rsp+58h+var_30], rax                                          ; +0x29, 0x180051099\nmov     eax, [rsp+58h+arg_20]                                          ; +0x2e, 0x18005109e\nmov     [rsp+58h+var_38], eax                                          ; +0x35, 0x1800510a5\nmovaps  [rsp+58h+var_18], xmm1                                         ; +0x39, 0x1800510a9\ncall    sub_180050C10                                                  ; +0x3e, 0x1800510ae\ntest    eax, eax                                                       ; +0x43, 0x1800510b3\njnz     short loc_1800510C2                                            ; +0x45, 0x1800510b5\nmov     rdx, rbx                                                       ; +0x47, 0x1800510b7\nmov     rcx, rdi                                                       ; +0x4a, 0x1800510ba\ncall    sub_180050E70                                                  ; +0x4d, 0x1800510bd\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x52, 0x1800510c2\nadd     rsp, 50h                                                       ; +0x57, 0x1800510c7\npop     rdi                                                            ; +0x5b, 0x1800510cb\nretn                                                                   ; +0x5c, 0x1800510cc", "xrefs": ["sub_180033290 @ 0x1800335fc", "<???> @ 0x1801f8a00"], "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"}