{"type": "func", "start": 6443167824, "end": 6443167867, "name": "sub_1800AF050", "pseudocode": "// \n// sub_1800AF050 from 0x1800af050 to 0x1800af07b (43 bytes)\n// \n// 3 xrefs:\n// > sub_1800E3470 @ 0x1800e3477\n// > <???> @ 0x180140ea5\n// > <???> @ 0x1801b8460\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// Hidden C++ exception states: #wind=1\n__int64 __fastcall sub_1800AF050(__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_1800AF050 from 0x1800af050 to 0x1800af07b (43 bytes)\n; \n; 3 xrefs:\n; > sub_1800E3470 @ 0x1800e3477\n; > <???> @ 0x180140ea5\n; > <???> @ 0x1801b8460\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\nsub     rsp, 28h                                                       ; +0x0, 0x1800af050\nmov     rdx, [rcx]                                                     ; +0x4, 0x1800af054\nmov     rax, [rdx]                                                     ; +0x7, 0x1800af057\nmovsxd  rcx, dword ptr [rax+4]                                         ; +0xa, 0x1800af05a\nadd     rcx, rdx                                                       ; +0xe, 0x1800af05e\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, 0x1800af061\ntest    rax, rax                                                       ; +0x17, 0x1800af067\njz      short loc_1800AF076                                            ; +0x1a, 0x1800af06a\nmov     rdx, [rax]                                                     ; +0x1c, 0x1800af06c\nmov     rcx, rax                                                       ; +0x1f, 0x1800af06f\ncall    qword ptr [rdx+10h]                                            ; +0x22, 0x1800af072\nnop                                                                    ; +0x25, 0x1800af075\nadd     rsp, 28h                                                       ; +0x26, 0x1800af076\nretn                                                                   ; +0x2a, 0x1800af07a", "xrefs": ["sub_1800E3470 @ 0x1800e3477", "<???> @ 0x180140ea5", "<???> @ 0x1801b8460"], "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"}