//
// cocos2d::CCArray::initWithArray from 0x180007080 to 0x1800070d4 (84 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b79a8
//
// 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 11:21:18 +0000
//
char __fastcall cocos2d::CCArray::initWithArray(cocos2d::CCArray *this, struct cocos2d::CCArray *a2)
{
__int64 *v2; // rdi
unsigned int v4; // ebx
__int64 v5; // rax
v2 = (__int64 *)((char *)this + 56);
sub_1800A16E0((char *)this + 56);
v4 = **((_DWORD **)a2 + 7);
sub_1800A16E0(v2);
v5 = sub_1800A1920(v4);
*v2 = v5;
sub_1800A11D0(v5, *((_QWORD *)a2 + 7));
return 1;
}