//
// cocos2d::unzOpen2_64 from 0x5f192c to 0x5f1970 (68 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_64(int a1, _DWORD *a2)
{
int v2; // r7
_DWORD *v3; // r4
int v4; // r0
int v5; // r1
int v6; // r2
int v7; // r3
_DWORD *v8; // r4
int v9; // r1
int v10; // r2
int v11; // r3
_DWORD v13[11]; // [sp+0h] [bp-34h] BYREF
v2 = a1;
v3 = a2;
if ( a2 )
{
v4 = *a2;
v5 = a2[1];
v6 = v3[2];
v7 = v3[3];
v8 = v3 + 4;
v13[0] = v4;
v13[1] = v5;
v13[2] = v6;
v13[3] = v7;
v9 = v8[1];
v10 = v8[2];
v11 = v8[3];
v13[4] = *v8;
v13[5] = v9;
v13[6] = v10;
v13[7] = v11;
a1 = v2;
a2 = v13;
v13[9] = 0;
v13[10] = 0;
}
return sub_5F132C(a1, (int)a2, 1);
}