//
// sub_1001E9800 from 0x1001e9800 to 0x1001e98fa (250 bytes)
//
// 1 xrefs:
// > cocos2d::ZipUtils::hexToChar @ 0x1001e968c
//
// 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:26:30 +0000
//
unsigned __int64 __fastcall sub_1001E9800(__int64 a1, const std::string *a2, int a3)
{
*(_QWORD *)(a1 + 168) = 0;
*(_QWORD *)a1 = &off_100AE0310;
*(_QWORD *)(a1 + 120) = &off_100AE0338;
*(_QWORD *)(a1 + 8) = 0;
std::ios_base::init((std::ios_base *)(a1 + 120), (void *)(a1 + 16));
*(_QWORD *)(a1 + 256) = 0;
*(_DWORD *)(a1 + 264) = -1;
*(_QWORD *)a1 = &off_100AE02A0;
*(_QWORD *)(a1 + 120) = off_100AE02C8;
*(_QWORD *)(a1 + 16) = &`vtable for'std::streambuf.~basic_streambuf;
std::locale::locale((std::locale *)(a1 + 24));
*(_OWORD *)(a1 + 64) = 0;
*(_OWORD *)(a1 + 48) = 0;
*(_OWORD *)(a1 + 32) = 0;
*(_QWORD *)(a1 + 16) = &off_100BB1EA0;
*(_OWORD *)(a1 + 80) = 0;
*(_OWORD *)(a1 + 96) = 0;
*(_DWORD *)(a1 + 112) = a3 | 8;
std::string::operator=((std::string *)(a1 + 80), a2);
return sub_100162A80(a1 + 16);
}