{"type": "func", "start": 6442552160, "end": 6442552222, "name": "sub_180018B60", "pseudocode": "// \n// sub_180018B60 from 0x180018b60 to 0x180018b9e (62 bytes)\n// \n// 4 xrefs:\n// > sub_18001E2A0 @ 0x18001e32e\n// > sub_18001E520 @ 0x18001e578\n// > sub_180021D50 @ 0x180021df9\n// > <???> @ 0x1801ae8f0\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_180018B60(__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_180018B60 from 0x180018b60 to 0x180018b9e (62 bytes)\n; \n; 4 xrefs:\n; > sub_18001E2A0 @ 0x18001e32e\n; > sub_18001E520 @ 0x18001e578\n; > sub_180021D50 @ 0x180021df9\n; > <???> @ 0x1801ae8f0\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\npush    rbx                                                            ; +0x0, 0x180018b60\nsub     rsp, 20h                                                       ; +0x2, 0x180018b62\nmov     rbx, rcx                                                       ; +0x6, 0x180018b66\ncall    cs:?eback@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEBAPEADXZ; std::streambuf::eback(void) ; +0x9, 0x180018b69\nlea     rdx, [rbx+70h]                                                 ; +0xf, 0x180018b6f\ncmp     rax, rdx                                                       ; +0x13, 0x180018b73\njnz     short loc_180018B98                                            ; +0x16, 0x180018b76\nmov     rdx, [rbx+88h]                                                 ; +0x18, 0x180018b78\nmov     rcx, rbx                                                       ; +0x1f, 0x180018b7f\nmov     r9, [rbx+90h]                                                  ; +0x22, 0x180018b82\nmov     r8, rdx                                                        ; +0x29, 0x180018b89\nadd     rsp, 20h                                                       ; +0x2c, 0x180018b8c\npop     rbx                                                            ; +0x30, 0x180018b90\njmp     cs:?setg@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAAXPEAD00@Z; std::streambuf::setg(char *,char *,char *) ; +0x31, 0x180018b91\nadd     rsp, 20h                                                       ; +0x38, 0x180018b98\npop     rbx                                                            ; +0x3c, 0x180018b9c\nretn                                                                   ; +0x3d, 0x180018b9d", "xrefs": ["sub_18001E2A0 @ 0x18001e32e", "sub_18001E520 @ 0x18001e578", "sub_180021D50 @ 0x180021df9", "<???> @ 0x1801ae8f0"], "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"}