{"type": "func", "start": 6443197488, "end": 6443197598, "name": "sub_1800B6430", "pseudocode": "// \n// sub_1800B6430 from 0x1800b6430 to 0x1800b649e (110 bytes)\n// \n// 3 xrefs:\n// > sub_1800D8BF0 @ 0x1800d8c1c\n// > sub_18011CD20 @ 0x18011cf12\n// > <???> @ 0x1801fd080\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __fastcall sub_1800B6430(int a1, int a2, int a3, int a4, int a5, int a6, char a7)\n{\n  int v7; // ebx\n  __int64 result; // rax\n  __int64 v9; // rdx\n  char v11; // [rsp+30h] [rbp-18h]\n\n  v11 = 1;\n  v7 = 8;\n  if ( a3 > 0 )\n    v7 = a3;\n  result = sub_1800B6530(a1, v7 + a2 + 8, a4, a5, a6, a7, v11);\n  v9 = result;\n  if ( result )\n  {\n    result = ~(v7 - 1LL) & (result + v7 - 1LL + 8);\n    *(_QWORD *)(result - 8) = v9;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800B6430 from 0x1800b6430 to 0x1800b649e (110 bytes)\n; \n; 3 xrefs:\n; > sub_1800D8BF0 @ 0x1800d8c1c\n; > sub_18011CD20 @ 0x18011cf12\n; > <???> @ 0x1801fd080\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1800b6430\nsub     rsp, 40h                                                       ; +0x2, 0x1800b6432\nmovzx   eax, [rsp+48h+arg_30]                                          ; +0x6, 0x1800b6436\ntest    r8d, r8d                                                       ; +0xe, 0x1800b643e\nmov     r10, r9                                                        ; +0x11, 0x1800b6441\nmov     [rsp+48h+var_18], 1                                            ; +0x14, 0x1800b6444\nmov     r9d, [rsp+48h+arg_20]                                          ; +0x19, 0x1800b6449\nmov     ebx, 8                                                         ; +0x1e, 0x1800b644e\ncmovg   ebx, r8d                                                       ; +0x23, 0x1800b6453\nmov     [rsp+48h+var_20], al                                           ; +0x27, 0x1800b6457\nmov     eax, [rsp+48h+arg_28]                                          ; +0x2b, 0x1800b645b\nadd     edx, 8                                                         ; +0x2f, 0x1800b645f\nadd     edx, ebx                                                       ; +0x32, 0x1800b6462\nmov     [rsp+48h+var_28], eax                                          ; +0x34, 0x1800b6464\nmov     r8, r10                                                        ; +0x38, 0x1800b6468\ncall    sub_1800B6530                                                  ; +0x3b, 0x1800b646b\nmov     rdx, rax                                                       ; +0x40, 0x1800b6470\ntest    rax, rax                                                       ; +0x43, 0x1800b6473\njnz     short loc_1800B647E                                            ; +0x46, 0x1800b6476\nadd     rsp, 40h                                                       ; +0x48, 0x1800b6478\npop     rbx                                                            ; +0x4c, 0x1800b647c\nretn                                                                   ; +0x4d, 0x1800b647d\nmovsxd  rax, ebx                                                       ; +0x4e, 0x1800b647e\ndec     rax                                                            ; +0x51, 0x1800b6481\nlea     rcx, [rax+8]                                                   ; +0x54, 0x1800b6484\nnot     rax                                                            ; +0x58, 0x1800b6488\nadd     rcx, rdx                                                       ; +0x5b, 0x1800b648b\nand     rcx, rax                                                       ; +0x5e, 0x1800b648e\nmov     rax, rcx                                                       ; +0x61, 0x1800b6491\nmov     [rcx-8], rdx                                                   ; +0x64, 0x1800b6494\nadd     rsp, 40h                                                       ; +0x68, 0x1800b6498\npop     rbx                                                            ; +0x6c, 0x1800b649c\nretn                                                                   ; +0x6d, 0x1800b649d", "xrefs": ["sub_1800D8BF0 @ 0x1800d8c1c", "sub_18011CD20 @ 0x18011cf12", "<???> @ 0x1801fd080"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}