{"type": "func", "start": 6443001280, "end": 6443001313, "name": "sub_1800865C0", "pseudocode": "// \n// sub_1800865C0 from 0x1800865c0 to 0x1800865e1 (33 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1801014d0\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_1800865C0(__int64 a1, __int64 a2, unsigned __int64 a3)\n{\n  if ( *(_QWORD *)(a1 + 8) )\n    return std::ostream::write();\n  else\n    return std::wostream::write(*(_QWORD *)(a1 + 16), a2, a3 >> 1);\n}", "assembly": "; \n; sub_1800865C0 from 0x1800865c0 to 0x1800865e1 (33 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1801014d0\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                                                       ; +0x0, 0x1800865c0\nmov     rcx, [rcx+8]                                                   ; +0x3, 0x1800865c3\ntest    rcx, rcx                                                       ; +0x7, 0x1800865c7\njz      short loc_1800865D3                                            ; +0xa, 0x1800865ca\njmp     cs:?write@?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAEAV12@PEBD_J@Z; std::ostream::write(char const *,__int64) ; +0xc, 0x1800865cc\nmov     rcx, [rax+10h]                                                 ; +0x13, 0x1800865d3\nshr     r8, 1                                                          ; +0x17, 0x1800865d7\njmp     cs:?write@?$basic_ostream@_WU?$char_traits@_W@std@@@std@@QEAAAEAV12@PEB_W_J@Z; std::wostream::write(wchar_t const *,__int64) ; +0x1a, 0x1800865da", "xrefs": ["<???> @ 0x1801014d0"], "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"}