//
// cocos2d::CCArray::initWithArray from 0x7c9230 to 0x7c9254 (36 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:28 +0000
//
int __fastcall cocos2d::CCArray::initWithArray(cocos2d::CCArray *this, cocos2d ***a2)
{
int result; // r0
cocos2d::ccArrayFree((char *)this + 52);
result = cocos2d::CCArray::initWithCapacity(this, *a2[13]);
if ( result )
{
cocos2d::CCArray::addObjectsFromArray(this, (cocos2d::CCArray *)a2);
return 1;
}
return result;
}