//
// sub_10015EC70 from 0x10015ec70 to 0x10015ecf7 (135 bytes)
//
// 20 xrefs:
// > ??> @ 0x10015ead3
// > ??> @ 0x10015eaf4
// > ??> @ 0x10015eb0b
// > ??> @ 0x10015f013
// > ??> @ 0x10015f034
// > ??> @ 0x10015f04b
// > ??> @ 0x10015f67e
// > ??> @ 0x10015f695
// > ??> @ 0x10015f6ac
// > ??> @ 0x10015fae2
// > ??> @ 0x10015faf9
// > ??> @ 0x10015fb10
// > cocos2d::CCTMXMapInfo::startElement @ 0x1004ca903
// > cocos2d::CCTMXMapInfo::startElement @ 0x1004cb205
// > ??> @ 0x1004cbd6e
// > ??> @ 0x1004cbd8f
// > ??> @ 0x100584e4e
// > ??> @ 0x1006d9166
// > ??> @ 0x1008cfbba
// > ??> @ 0x100b6ff38
//
// 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 12:25:07 +0000
//
__int64 __fastcall sub_10015EC70(__int64 a1)
{
*(_QWORD *)a1 = &off_100B6FF38;
*(_QWORD *)(a1 + 128) = off_100B6FF88;
*(_QWORD *)(a1 + 16) = off_100B6FF60;
*(_QWORD *)(a1 + 24) = &off_100BB1EA0;
if ( (*(_BYTE *)(a1 + 88) & 1) != 0 )
operator delete(*(void **)(a1 + 104));
*(_QWORD *)(a1 + 24) = &`vtable for'std::streambuf.~basic_streambuf;
std::locale::~locale((std::locale *)(a1 + 32));
std::iostream::~iostream(a1, off_100BB1DC8);
return std::ios::~ios(a1 + 128);
}