{"type": "func", "start": 6442539168, "end": 6442539224, "name": "sub_1800158A0", "pseudocode": "// \n// sub_1800158A0 from 0x1800158a0 to 0x1800158d8 (56 bytes)\n// \n// 2 xrefs:\n// > sub_180015B40 @ 0x180015caf\n// > <???> @ 0x1801f70b0\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:52:47 +0000\n// \n\n__int64 __fastcall sub_1800158A0(__int64 a1, _QWORD *a2, __int64 a3)\n{\n  unsigned int v5; // [rsp+40h] [rbp+18h] BYREF\n\n  if ( (unsigned int)sub_1800B3D20(*(_QWORD *)(a3 + 368), &v5) )\n    return 1;\n  *a2 = v5;\n  return 0;\n}", "assembly": "; \n; sub_1800158A0 from 0x1800158a0 to 0x1800158d8 (56 bytes)\n; \n; 2 xrefs:\n; > sub_180015B40 @ 0x180015caf\n; > <???> @ 0x1801f70b0\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:52:47 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800158a0\nsub     rsp, 20h                                                       ; +0x2, 0x1800158a2\nmov     rcx, [r8+170h]                                                 ; +0x6, 0x1800158a6\nmov     rbx, rdx                                                       ; +0xd, 0x1800158ad\nlea     rdx, [rsp+28h+arg_10]                                          ; +0x10, 0x1800158b0\ncall    sub_1800B3D20                                                  ; +0x15, 0x1800158b5\ntest    eax, eax                                                       ; +0x1a, 0x1800158ba\njnz     short loc_1800158CD                                            ; +0x1c, 0x1800158bc\nmov     eax, [rsp+28h+arg_10]                                          ; +0x1e, 0x1800158be\nmov     [rbx], rax                                                     ; +0x22, 0x1800158c2\nxor     eax, eax                                                       ; +0x25, 0x1800158c5\nadd     rsp, 20h                                                       ; +0x27, 0x1800158c7\npop     rbx                                                            ; +0x2b, 0x1800158cb\nretn                                                                   ; +0x2c, 0x1800158cc\nmov     eax, 1                                                         ; +0x2d, 0x1800158cd\nadd     rsp, 20h                                                       ; +0x32, 0x1800158d2\npop     rbx                                                            ; +0x36, 0x1800158d6\nretn                                                                   ; +0x37, 0x1800158d7", "xrefs": ["sub_180015B40 @ 0x180015caf", "<???> @ 0x1801f70b0"], "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"}