//
// sub_180018B60 from 0x180018b60 to 0x180018b9e (62 bytes)
//
// 4 xrefs:
// > sub_18001E2A0 @ 0x18001e32e
// > sub_18001E520 @ 0x18001e578
// > sub_180021D50 @ 0x180021df9
// > ??> @ 0x1801ae8f0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_180018B60(__int64 a1)
{
__int64 result; // rax
result = std::streambuf::eback(a1);
if ( result == a1 + 112 )
return std::streambuf::setg(a1, *(_QWORD *)(a1 + 136), *(_QWORD *)(a1 + 136), *(_QWORD *)(a1 + 144));
return result;
}