//
// sub_1002DB828 from 0x1002db828 to 0x1002db8b8 (144 bytes)
//
// 1 xrefs:
// > cocos2d::ZipUtils::hexToChar @ 0x1002db6d0
//
// This function is hookable on this platform (idp: arm, 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:02:44 +0000
//
__int64 __fastcall sub_1002DB828(__int64 a1, const std::string *a2, int a3)
{
*(_QWORD *)(a1 + 120) = &off_100921C60;
*(_QWORD *)(a1 + 168) = 0;
*(_QWORD *)a1 = &off_100921C38;
*(_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_100921BC8;
*(_QWORD *)(a1 + 120) = off_100921BF0;
sub_1000D95E0(a1 + 16, a2, a3 | 8);
return a1;
}