//
// sub_180018080 from 0x180018080 to 0x1800180db (91 bytes)
//
// 12 xrefs:
// > cocos2d::CCTMXMapInfo::startElement @ 0x1800b5974
// > cocos2d::CCTMXMapInfo::startElement @ 0x1800b5a46
// > sub_1800E6740 @ 0x1800e6747
// > sub_1800E67E0 @ 0x1800e67e7
// > sub_1800E8C40 @ 0x1800e8c47
// > unknown_libname_19 @ 0x1800e8c57
// > ??> @ 0x18013c3a5
// > ??> @ 0x18013c45d
// > ??> @ 0x180149e7b
// > ??> @ 0x180149e83
// > ??> @ 0x180149e91
// > ??> @ 0x1801b8860
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:21:25 +0000
//
__int64 __fastcall sub_180018080(__int64 a1)
{
__int64 v1; // rbx
v1 = a1 + 152;
*(_QWORD *)(*(int *)(*(_QWORD *)a1 + 4LL) + v1 - 152) = &std::basic_stringstream,std::allocator>::`vftable';
*(_DWORD *)(*(int *)(*(_QWORD *)a1 + 4LL) + v1 - 156) = *(_DWORD *)(*(_QWORD *)a1 + 4LL) - 152;
sub_1800174E0(a1 + 24);
std::iostream::~iostream>(v1 - 120);
return std::ios::~ios>(v1);
}