{"type": "func", "start": 6443334976, "end": 6443335037, "name": "sub_1800D7D40", "pseudocode": "// \n// sub_1800D7D40 from 0x1800d7d40 to 0x1800d7d7d (61 bytes)\n// \n// 2 xrefs:\n// > sub_1800E45A0 @ 0x1800e45d2\n// > <???> @ 0x1801ff090\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_1800D7D40(__int64 a1, __int64 a2, _DWORD *a3)\n{\n  _DWORD *v5; // rax\n\n  if ( !a3 )\n    return 31;\n  v5 = (_DWORD *)sub_1800D7E40();\n  if ( v5 )\n    *a3 = *v5;\n  else\n    *a3 = 1;\n  return 0;\n}", "assembly": "; \n; sub_1800D7D40 from 0x1800d7d40 to 0x1800d7d7d (61 bytes)\n; \n; 2 xrefs:\n; > sub_1800E45A0 @ 0x1800e45d2\n; > <???> @ 0x1801ff090\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, 0x1800d7d40\nsub     rsp, 20h                                                       ; +0x2, 0x1800d7d42\nmov     rbx, r8                                                        ; +0x6, 0x1800d7d46\ntest    r8, r8                                                         ; +0x9, 0x1800d7d49\njnz     short loc_1800D7D58                                            ; +0xc, 0x1800d7d4c\nlea     eax, [r8+1Fh]                                                  ; +0xe, 0x1800d7d4e\nadd     rsp, 20h                                                       ; +0x12, 0x1800d7d52\npop     rbx                                                            ; +0x16, 0x1800d7d56\nretn                                                                   ; +0x17, 0x1800d7d57\ncall    sub_1800D7E40                                                  ; +0x18, 0x1800d7d58\ntest    rax, rax                                                       ; +0x1d, 0x1800d7d5d\njz      short loc_1800D7D6E                                            ; +0x20, 0x1800d7d60\nmov     eax, [rax]                                                     ; +0x22, 0x1800d7d62\nmov     [rbx], eax                                                     ; +0x24, 0x1800d7d64\nxor     eax, eax                                                       ; +0x26, 0x1800d7d66\nadd     rsp, 20h                                                       ; +0x28, 0x1800d7d68\npop     rbx                                                            ; +0x2c, 0x1800d7d6c\nretn                                                                   ; +0x2d, 0x1800d7d6d\nmov     eax, 1                                                         ; +0x2e, 0x1800d7d6e\nmov     [rbx], eax                                                     ; +0x33, 0x1800d7d73\nxor     eax, eax                                                       ; +0x35, 0x1800d7d75\nadd     rsp, 20h                                                       ; +0x37, 0x1800d7d77\npop     rbx                                                            ; +0x3b, 0x1800d7d7b\nretn                                                                   ; +0x3c, 0x1800d7d7c", "xrefs": ["sub_1800E45A0 @ 0x1800e45d2", "<???> @ 0x1801ff090"], "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"}