{"type": "func", "start": 6442551376, "end": 6442551438, "name": "sub_180018850", "pseudocode": "// \n// sub_180018850 from 0x180018850 to 0x18001888e (62 bytes)\n// \n// 4 xrefs:\n// > sub_18001E3A0 @ 0x18001e42e\n// > sub_18001E630 @ 0x18001e688\n// > sub_180022270 @ 0x18002231b\n// > <???> @ 0x1801b895c\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_180018850(__int64 a1)\n{\n  __int64 result; // rax\n\n  result = std::streambuf::eback(a1);\n  if ( result == a1 + 112 )\n    return std::streambuf::setg(a1, *(_QWORD *)(a1 + 136), *(_QWORD *)(a1 + 136), *(_QWORD *)(a1 + 144));\n  return result;\n}", "assembly": "; \n; sub_180018850 from 0x180018850 to 0x18001888e (62 bytes)\n; \n; 4 xrefs:\n; > sub_18001E3A0 @ 0x18001e42e\n; > sub_18001E630 @ 0x18001e688\n; > sub_180022270 @ 0x18002231b\n; > <???> @ 0x1801b895c\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, 0x180018850\nsub     rsp, 20h                                                       ; +0x2, 0x180018852\nmov     rbx, rcx                                                       ; +0x6, 0x180018856\ncall    cs:?eback@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEBAPEADXZ; std::streambuf::eback(void) ; +0x9, 0x180018859\nlea     rdx, [rbx+70h]                                                 ; +0xf, 0x18001885f\ncmp     rax, rdx                                                       ; +0x13, 0x180018863\njnz     short loc_180018888                                            ; +0x16, 0x180018866\nmov     rdx, [rbx+88h]                                                 ; +0x18, 0x180018868\nmov     rcx, rbx                                                       ; +0x1f, 0x18001886f\nmov     r9, [rbx+90h]                                                  ; +0x22, 0x180018872\nmov     r8, rdx                                                        ; +0x29, 0x180018879\nadd     rsp, 20h                                                       ; +0x2c, 0x18001887c\npop     rbx                                                            ; +0x30, 0x180018880\njmp     cs:?setg@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAAXPEAD00@Z; std::streambuf::setg(char *,char *,char *) ; +0x31, 0x180018881\nadd     rsp, 20h                                                       ; +0x38, 0x180018888\npop     rbx                                                            ; +0x3c, 0x18001888c\nretn                                                                   ; +0x3d, 0x18001888d", "xrefs": ["sub_18001E3A0 @ 0x18001e42e", "sub_18001E630 @ 0x18001e688", "sub_180022270 @ 0x18002231b", "<???> @ 0x1801b895c"], "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"}