//
// sub_180018430 from 0x180018430 to 0x18001848b (91 bytes)
//
// 12 xrefs:
// > cocos2d::CCTMXMapInfo::startElement @ 0x1800b20a1
// > cocos2d::CCTMXMapInfo::startElement @ 0x1800b2167
// > sub_1800E1100 @ 0x1800e1107
// > sub_1800E11A0 @ 0x1800e11a7
// > sub_1800E36C0 @ 0x1800e36c7
// > unknown_libname_13 @ 0x1800e36d7
// > ??> @ 0x1801333e5
// > ??> @ 0x180133495
// > ??> @ 0x180140b89
// > ??> @ 0x180140b91
// > ??> @ 0x180140b9f
// > ??> @ 0x1801ae7f4
//
// 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_180018430(__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_1800179A0(a1 + 24);
std::iostream::~iostream>(v1 - 120);
return std::ios::~ios>(v1);
}