//
// cocos2d::unzOpen2_64 from 0xd9ead8 to 0xd9eb60 (136 bytes)
//
// 1 xrefs:
// > ??> @ 0x527b0
//
// 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 13:08:28 +0000
//
__int64 __fastcall cocos2d::unzOpen2_64(__int64 a1, __int64 *a2)
{
__int64 v2; // x8
__int64 v3; // x9
__int64 v4; // x6
__int64 v5; // x7
__int64 v6; // x4
__int64 v7; // x5
__int64 v8; // x10
__int64 v9; // x11
__int64 v11[11]; // [xsp+20h] [xbp+20h] BYREF
if ( !a2 )
return sub_D9E310(a1, nullptr, 1);
v2 = *a2;
v3 = a2[1];
v4 = a2[2];
v5 = a2[3];
v6 = a2[4];
v7 = a2[5];
v8 = a2[6];
v9 = a2[7];
v11[9] = 0;
v11[10] = 0;
v11[0] = v2;
v11[1] = v3;
v11[2] = v4;
v11[3] = v5;
v11[4] = v6;
v11[5] = v7;
v11[6] = v8;
v11[7] = v9;
return sub_D9E310(a1, v11, 1);
}