//
// cocos2d::CCArray::initWithArray from 0xd473c4 to 0xd47418 (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x92fe0
//
// 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:07:35 +0000
//
__int64 __fastcall cocos2d::CCArray::initWithArray(cocos2d::CCArray *this, cocos2d::CCArray *a2)
{
int v4; // w1
__int64 result; // x0
cocos2d::ccArrayFree((char *)this + 56);
v4 = (unsigned __int8)cocos2d::CCArray::initWithCapacity(this, **((_DWORD **)a2 + 7));
result = 0;
if ( v4 )
{
cocos2d::CCArray::addObjectsFromArray(this, a2);
return 1;
}
return result;
}