{"type": "func", "start": 6442547136, "end": 6442547182, "name": "sub_1800177C0", "pseudocode": "// \n// sub_1800177C0 from 0x1800177c0 to 0x1800177ee (46 bytes)\n// \n// 5 xrefs:\n// > sub_1800E6300 @ 0x1800e6307\n// > sub_1800E8AA0 @ 0x1800e8aa7\n// > <???> @ 0x18013cbab\n// > <???> @ 0x18014a1a3\n// > <???> @ 0x1801b8788\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 11:21:25 +0000\n// \n\n__int64 __fastcall sub_1800177C0(__int64 a1)\n{\n  __int64 result; // rax\n\n  result = std::ios::rdbuf(*(_QWORD *)a1 + *(int *)(**(_QWORD **)a1 + 4LL));\n  if ( result )\n    return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 16LL))(result);\n  return result;\n}", "assembly": "; \n; sub_1800177C0 from 0x1800177c0 to 0x1800177ee (46 bytes)\n; \n; 5 xrefs:\n; > sub_1800E6300 @ 0x1800e6307\n; > sub_1800E8AA0 @ 0x1800e8aa7\n; > <???> @ 0x18013cbab\n; > <???> @ 0x18014a1a3\n; > <???> @ 0x1801b8788\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 11:21:25 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x1800177c0\nmov     rdx, [rcx]                                                     ; +0x4, 0x1800177c4\nmov     rax, [rdx]                                                     ; +0x7, 0x1800177c7\nmovsxd  rcx, dword ptr [rax+4]                                         ; +0xa, 0x1800177ca\nadd     rcx, rdx                                                       ; +0xe, 0x1800177ce\ncall    cs:?rdbuf@?$basic_ios@DU?$char_traits@D@std@@@std@@QEBAPEAV?$basic_streambuf@DU?$char_traits@D@std@@@2@XZ; std::ios::rdbuf(void) ; +0x11, 0x1800177d1\ntest    rax, rax                                                       ; +0x17, 0x1800177d7\njz      short loc_1800177E9                                            ; +0x1a, 0x1800177da\nmov     rcx, [rax]                                                     ; +0x1c, 0x1800177dc\nmov     rdx, [rcx+10h]                                                 ; +0x1f, 0x1800177df\nmov     rcx, rax                                                       ; +0x23, 0x1800177e3\ncall    rdx                                                            ; +0x26, 0x1800177e6\nnop                                                                    ; +0x28, 0x1800177e8\nadd     rsp, 28h                                                       ; +0x29, 0x1800177e9\nretn                                                                   ; +0x2d, 0x1800177ed", "xrefs": ["sub_1800E6300 @ 0x1800e6307", "sub_1800E8AA0 @ 0x1800e8aa7", "<???> @ 0x18013cbab", "<???> @ 0x18014a1a3", "<???> @ 0x1801b8788"], "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"}