{"type": "func", "start": 6442721904, "end": 6442722097, "name": "sub_180042270", "pseudocode": "// \n// sub_180042270 from 0x180042270 to 0x180042331 (193 bytes)\n// \n// 4 xrefs:\n// > sub_180046A60 @ 0x180046a8f\n// > sub_180046A60 @ 0x180046b05\n// > sub_180046A60 @ 0x180046b58\n// > <???> @ 0x1801f801c\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:11 +0000\n// \n\n__int64 __fastcall sub_180042270(__int64 a1, __int64 a2, unsigned int *a3)\n{\n  unsigned int v6; // edi\n  unsigned int v7; // ebx\n  unsigned int v9[10]; // [rsp+20h] [rbp-28h] BYREF\n  unsigned int v10; // [rsp+68h] [rbp+20h] BYREF\n\n  v9[0] = 0;\n  if ( !(unsigned int)sub_180041D20(a1, a2, v9, 8u) )\n    return 0;\n  if ( !(unsigned int)sub_180041D20(a1, a2, &v10, 8u) )\n    return 0;\n  v6 = v9[0] | (v10 << 8);\n  if ( !(unsigned int)sub_180041D20(a1, a2, &v10, 8u) )\n    return 0;\n  v7 = v6 | (v10 << 16);\n  if ( !(unsigned int)sub_180041D20(a1, a2, &v10, 8u) )\n    return 0;\n  *a3 = v7 | (v10 << 24);\n  return 1;\n}", "assembly": "; \n; sub_180042270 from 0x180042270 to 0x180042331 (193 bytes)\n; \n; 4 xrefs:\n; > sub_180046A60 @ 0x180046a8f\n; > sub_180046A60 @ 0x180046b05\n; > sub_180046A60 @ 0x180046b58\n; > <???> @ 0x1801f801c\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:11 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180042270\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180042275\npush    rsi                                                            ; +0xa, 0x18004227a\npush    rdi                                                            ; +0xb, 0x18004227b\npush    r14                                                            ; +0xc, 0x18004227c\nsub     rsp, 30h                                                       ; +0xe, 0x18004227e\nmov     r14, r8                                                        ; +0x12, 0x180042282\nmov     [rsp+48h+var_28], 0                                            ; +0x15, 0x180042285\nlea     r8, [rsp+48h+var_28]                                           ; +0x1d, 0x18004228d\nmov     r9d, 8                                                         ; +0x22, 0x180042292\nmov     rsi, rdx                                                       ; +0x28, 0x180042298\nmov     rbp, rcx                                                       ; +0x2b, 0x18004229b\ncall    sub_180041D20                                                  ; +0x2e, 0x18004229e\ntest    eax, eax                                                       ; +0x33, 0x1800422a3\njz      short loc_18004231C                                            ; +0x35, 0x1800422a5\nmov     r9d, 8                                                         ; +0x37, 0x1800422a7\nlea     r8, [rsp+48h+arg_18]                                           ; +0x3d, 0x1800422ad\nmov     rdx, rsi                                                       ; +0x42, 0x1800422b2\nmov     rcx, rbp                                                       ; +0x45, 0x1800422b5\ncall    sub_180041D20                                                  ; +0x48, 0x1800422b8\ntest    eax, eax                                                       ; +0x4d, 0x1800422bd\njz      short loc_18004231C                                            ; +0x4f, 0x1800422bf\nmov     edi, [rsp+48h+arg_18]                                          ; +0x51, 0x1800422c1\nlea     r8, [rsp+48h+arg_18]                                           ; +0x55, 0x1800422c5\nshl     edi, 8                                                         ; +0x5a, 0x1800422ca\nmov     r9d, 8                                                         ; +0x5d, 0x1800422cd\nor      edi, [rsp+48h+var_28]                                          ; +0x63, 0x1800422d3\nmov     rdx, rsi                                                       ; +0x67, 0x1800422d7\nmov     rcx, rbp                                                       ; +0x6a, 0x1800422da\ncall    sub_180041D20                                                  ; +0x6d, 0x1800422dd\ntest    eax, eax                                                       ; +0x72, 0x1800422e2\njz      short loc_18004231C                                            ; +0x74, 0x1800422e4\nmov     ebx, [rsp+48h+arg_18]                                          ; +0x76, 0x1800422e6\nlea     r8, [rsp+48h+arg_18]                                           ; +0x7a, 0x1800422ea\nshl     ebx, 10h                                                       ; +0x7f, 0x1800422ef\nmov     r9d, 8                                                         ; +0x82, 0x1800422f2\nmov     rdx, rsi                                                       ; +0x88, 0x1800422f8\nmov     rcx, rbp                                                       ; +0x8b, 0x1800422fb\nor      ebx, edi                                                       ; +0x8e, 0x1800422fe\ncall    sub_180041D20                                                  ; +0x90, 0x180042300\ntest    eax, eax                                                       ; +0x95, 0x180042305\njz      short loc_18004231C                                            ; +0x97, 0x180042307\nmov     eax, [rsp+48h+arg_18]                                          ; +0x99, 0x180042309\nshl     eax, 18h                                                       ; +0x9d, 0x18004230d\nor      eax, ebx                                                       ; +0xa0, 0x180042310\nmov     [r14], eax                                                     ; +0xa2, 0x180042312\nmov     eax, 1                                                         ; +0xa5, 0x180042315\njmp     short loc_18004231E                                            ; +0xaa, 0x18004231a\nxor     eax, eax                                                       ; +0xac, 0x18004231c\nmov     rbx, [rsp+48h+arg_0]                                           ; +0xae, 0x18004231e\nmov     rbp, [rsp+48h+arg_8]                                           ; +0xb3, 0x180042323\nadd     rsp, 30h                                                       ; +0xb8, 0x180042328\npop     r14                                                            ; +0xbc, 0x18004232c\npop     rdi                                                            ; +0xbe, 0x18004232e\npop     rsi                                                            ; +0xbf, 0x18004232f\nretn                                                                   ; +0xc0, 0x180042330", "xrefs": ["sub_180046A60 @ 0x180046a8f", "sub_180046A60 @ 0x180046b05", "sub_180046A60 @ 0x180046b58", "<???> @ 0x1801f801c"], "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"}