{"type": "func", "start": 6442547248, "end": 6442547319, "name": "sub_180017830", "pseudocode": "// \n// sub_180017830 from 0x180017830 to 0x180017877 (71 bytes)\n// \n// 3 xrefs:\n// > sub_1800E62F0 @ 0x1800e62f7\n// > <???> @ 0x18013cbb1\n// > <???> @ 0x1801b87a0\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// Hidden C++ exception states: #wind=1\n__int64 __fastcall sub_180017830(_QWORD *a1)\n{\n  __int64 result; // rax\n\n  if ( !std::uncaught_exception() )\n    std::ostream::_Osfx(*a1);\n  result = std::ios::rdbuf(*a1 + *(int *)(*(_QWORD *)*a1 + 4LL));\n  if ( result )\n    return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 16LL))(result);\n  return result;\n}", "assembly": "; \n; sub_180017830 from 0x180017830 to 0x180017877 (71 bytes)\n; \n; 3 xrefs:\n; > sub_1800E62F0 @ 0x1800e62f7\n; > <???> @ 0x18013cbb1\n; > <???> @ 0x1801b87a0\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; \npush    rbx                                                            ; +0x0, 0x180017830\nsub     rsp, 20h                                                       ; +0x2, 0x180017832\nmov     rbx, rcx                                                       ; +0x6, 0x180017836\ncall    ?uncaught_exception@std@@YA_NXZ; std::uncaught_exception(void) ; +0x9, 0x180017839\ntest    al, al                                                         ; +0xe, 0x18001783e\njnz     short loc_18001784C                                            ; +0x10, 0x180017840\nmov     rcx, [rbx]                                                     ; +0x12, 0x180017842\ncall    cs:?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAXXZ; std::ostream::_Osfx(void) ; +0x15, 0x180017845\nnop                                                                    ; +0x1b, 0x18001784b\nmov     rdx, [rbx]                                                     ; +0x1c, 0x18001784c\nmov     rax, [rdx]                                                     ; +0x1f, 0x18001784f\nmovsxd  rcx, dword ptr [rax+4]                                         ; +0x22, 0x180017852\nadd     rcx, rdx                                                       ; +0x26, 0x180017856\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) ; +0x29, 0x180017859\ntest    rax, rax                                                       ; +0x2f, 0x18001785f\njz      short loc_180017871                                            ; +0x32, 0x180017862\nmov     rcx, [rax]                                                     ; +0x34, 0x180017864\nmov     rdx, [rcx+10h]                                                 ; +0x37, 0x180017867\nmov     rcx, rax                                                       ; +0x3b, 0x18001786b\ncall    rdx                                                            ; +0x3e, 0x18001786e\nnop                                                                    ; +0x40, 0x180017870\nadd     rsp, 20h                                                       ; +0x41, 0x180017871\npop     rbx                                                            ; +0x45, 0x180017875\nretn                                                                   ; +0x46, 0x180017876", "xrefs": ["sub_1800E62F0 @ 0x1800e62f7", "<???> @ 0x18013cbb1", "<???> @ 0x1801b87a0"], "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"}