//
// sub_1008AC390 from 0x1008ac390 to 0x1008ac42b (155 bytes)
//
// 2 xrefs:
// > cocos2d::CCFileUtils::getFileDataFromZip @ 0x1004289f5
// > sub_10059B2C0 @ 0x10059b4cc
//
// 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:37:19 +0000
//
__int64 __fastcall sub_1008AC390(
__int64 a1,
__int64 a2,
__int64 a3,
unsigned __int64 a4,
unsigned __int64 a5,
unsigned __int64 a6,
__int128 a7)
{
__int64 result; // rax
_OWORD v8[8]; // [rsp+20h] [rbp-90h] BYREF
__int64 v9; // [rsp+A0h] [rbp-10h]
result = sub_1008AB770(a1, v8, nullptr, a3, a4, a5, a6, a7, *((unsigned __int64 *)&a7 + 1));
if ( !(_DWORD)result )
{
*(_OWORD *)a2 = v8[0];
*(_OWORD *)(a2 + 16) = v8[1];
*(_OWORD *)(a2 + 32) = v8[2];
*(_OWORD *)(a2 + 64) = v8[4];
*(_OWORD *)(a2 + 80) = v8[5];
*(_OWORD *)(a2 + 96) = v8[6];
*(_OWORD *)(a2 + 112) = v8[7];
*(_QWORD *)(a2 + 128) = v9;
*(_OWORD *)(a2 + 48) = v8[3];
}
return result;
}