{"type": "func", "start": 6442539040, "end": 6442539109, "name": "sub_180015820", "pseudocode": "// \n// sub_180015820 from 0x180015820 to 0x180015865 (69 bytes)\n// \n// 2 xrefs:\n// > sub_180015B40 @ 0x180015c75\n// > <???> @ 0x1801f7098\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_180015820(__int64 a1, int a2, _DWORD *a3, __int64 a4)\n{\n  __int64 result; // rax\n  bool v6; // zf\n  unsigned int v7; // [rsp+50h] [rbp+18h] BYREF\n\n  sub_1800B3470(*(_QWORD *)(a4 + 368), a2, 1, *a3, (__int64)&v7);\n  result = 0;\n  v6 = v7 == 0;\n  *(_QWORD *)a3 = v7;\n  if ( v6 )\n    return 2;\n  return result;\n}", "assembly": "; \n; sub_180015820 from 0x180015820 to 0x180015865 (69 bytes)\n; \n; 2 xrefs:\n; > sub_180015B40 @ 0x180015c75\n; > <???> @ 0x1801f7098\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, 0x180015820\nsub     rsp, 30h                                                       ; +0x2, 0x180015822\nmov     rax, r9                                                        ; +0x6, 0x180015826\nlea     rcx, [rsp+38h+arg_10]                                          ; +0x9, 0x180015829\nmov     r9d, [r8]                                                      ; +0xe, 0x18001582e\nmov     rbx, r8                                                        ; +0x11, 0x180015831\nmov     [rsp+38h+var_18], rcx                                          ; +0x14, 0x180015834\nmov     r8d, 1                                                         ; +0x19, 0x180015839\nmov     rcx, [rax+170h]                                                ; +0x1f, 0x18001583f\ncall    sub_1800B3470                                                  ; +0x26, 0x180015846\nmov     ecx, [rsp+38h+arg_10]                                          ; +0x2b, 0x18001584b\nxor     eax, eax                                                       ; +0x2f, 0x18001584f\ntest    rcx, rcx                                                       ; +0x31, 0x180015851\nmov     [rbx], rcx                                                     ; +0x34, 0x180015854\nmov     edx, 2                                                         ; +0x37, 0x180015857\ncmovz   eax, edx                                                       ; +0x3c, 0x18001585c\nadd     rsp, 30h                                                       ; +0x3f, 0x18001585f\npop     rbx                                                            ; +0x43, 0x180015863\nretn                                                                   ; +0x44, 0x180015864", "xrefs": ["sub_180015B40 @ 0x180015c75", "<???> @ 0x1801f7098"], "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"}