//
// cocos2d::unzOpen2 from 0x5f18f0 to 0x5f1926 (54 bytes)
//
// 0 xrefs:
//
// 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
//
cocos2d *__fastcall cocos2d::unzOpen2(int a1, int *a2)
{
int v2; // r6
int v3; // r2
_DWORD v5[11]; // [sp+0h] [bp-30h] BYREF
v2 = a1;
v3 = (int)a2;
if ( a2 )
{
cocos2d::fill_zlib_filefunc64_32_def_from_filefunc32(v5, a2);
a1 = v2;
a2 = v5;
v3 = 0;
}
return sub_5F132C(a1, (int)a2, v3);
}