{"type": "func", "start": 6443291904, "end": 6443291971, "name": "sub_1800CD500", "pseudocode": "// \n// sub_1800CD500 from 0x1800cd500 to 0x1800cd543 (67 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x18016caa8\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_1800CD500(__int64 a1, _DWORD *a2, _DWORD *a3)\n{\n  __int64 v3; // rax\n\n  v3 = *(_QWORD *)(a1 + 472);\n  if ( !v3 || !*(_QWORD *)(a1 + 32) )\n    return 30;\n  if ( (*(_BYTE *)(v3 + 56) & 0x10) == 0 )\n    return 40;\n  if ( a2 )\n    *a2 = *(_DWORD *)(a1 + 208);\n  if ( a3 )\n    *a3 = *(_DWORD *)(a1 + 212);\n  return 0;\n}", "assembly": "; \n; sub_1800CD500 from 0x1800cd500 to 0x1800cd543 (67 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x18016caa8\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\nmov     rax, [rcx+1D8h]                                                ; +0x0, 0x1800cd500\ntest    rax, rax                                                       ; +0x7, 0x1800cd507\njz      short loc_1800CD53D                                            ; +0xa, 0x1800cd50a\ncmp     qword ptr [rcx+20h], 0                                         ; +0xc, 0x1800cd50c\njz      short loc_1800CD53D                                            ; +0x11, 0x1800cd511\ntest    byte ptr [rax+38h], 10h                                        ; +0x13, 0x1800cd513\njnz     short loc_1800CD51F                                            ; +0x17, 0x1800cd517\nmov     eax, 28h ; '('                                                 ; +0x19, 0x1800cd519\nretn                                                                   ; +0x1e, 0x1800cd51e\ntest    rdx, rdx                                                       ; +0x1f, 0x1800cd51f\njz      short loc_1800CD52C                                            ; +0x22, 0x1800cd522\nmov     eax, [rcx+0D0h]                                                ; +0x24, 0x1800cd524\nmov     [rdx], eax                                                     ; +0x2a, 0x1800cd52a\ntest    r8, r8                                                         ; +0x2c, 0x1800cd52c\njz      short loc_1800CD53A                                            ; +0x2f, 0x1800cd52f\nmov     eax, [rcx+0D4h]                                                ; +0x31, 0x1800cd531\nmov     [r8], eax                                                      ; +0x37, 0x1800cd537\nxor     eax, eax                                                       ; +0x3a, 0x1800cd53a\nretn                                                                   ; +0x3c, 0x1800cd53c\nmov     eax, 1Eh                                                       ; +0x3d, 0x1800cd53d\nretn                                                                   ; +0x42, 0x1800cd542", "xrefs": ["<???> @ 0x18016caa8"], "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"}