//
// sub_100206120 from 0x100206120 to 0x1002061fb (219 bytes)
//
// 1 xrefs:
// > cocos2d::ZipUtils::urlDecode @ 0x100205ee2
//
// 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
//
unsigned __int64 __fastcall sub_100206120(__int64 a1)
{
*(_QWORD *)(a1 + 160) = 0;
*(_QWORD *)a1 = &off_1008DBF98;
*(_QWORD *)(a1 + 112) = &off_1008DBFC0;
std::ios_base::init((std::ios_base *)(a1 + 112), (void *)(a1 + 8));
*(_QWORD *)(a1 + 248) = 0;
*(_DWORD *)(a1 + 256) = -1;
*(_QWORD *)a1 = &off_1008DBF28;
*(_QWORD *)(a1 + 112) = off_1008DBF50;
*(_QWORD *)(a1 + 8) = &`vtable for'std::streambuf.~basic_streambuf;
std::locale::locale((std::locale *)(a1 + 16));
*(_OWORD *)(a1 + 56) = 0;
*(_OWORD *)(a1 + 40) = 0;
*(_OWORD *)(a1 + 24) = 0;
*(_QWORD *)(a1 + 8) = &off_1008C3F58;
*(_OWORD *)(a1 + 72) = 0;
*(_OWORD *)(a1 + 88) = 0;
*(_DWORD *)(a1 + 104) = 16;
return sub_100183690(a1 + 8);
}