//
// cocos2d::ccCArrayAppendArray from 0xb21a64 to 0xb21ab8 (84 bytes)
//
// 2 xrefs:
// > cocos2d::ccCArrayAppendArrayWithResize @ 0xb21ae4
// > ??> @ 0xa4a30
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall cocos2d::ccCArrayAppendArray(unsigned int *a1, unsigned int *a2)
{
__int64 result; // x0
unsigned int i; // w19
cocos2d::_ccCArray *v6; // x1
result = *a2;
for ( i = 0; (unsigned int)result > i; result = *a2 )
{
v6 = *(cocos2d::_ccCArray **)(*((_QWORD *)a2 + 2) + 8LL * i++);
cocos2d::ccCArrayAppendValue(a1, v6);
}
return result;
}