//
// cocos2d::ccArrayAppendArray from 0xb2110c to 0xb21160 (84 bytes)
//
// 2 xrefs:
// > cocos2d::ccArrayAppendArrayWithResize @ 0xb2118c
// > ??> @ 0xb1d20
//
// 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::ccArrayAppendArray(unsigned int *a1, unsigned int *a2)
{
__int64 result; // x0
unsigned int i; // w19
cocos2d::CCObject *v6; // x1
result = *a2;
for ( i = 0; (unsigned int)result > i; result = *a2 )
{
v6 = *(cocos2d::CCObject **)(*((_QWORD *)a2 + 2) + 8LL * i++);
cocos2d::ccArrayAppendObject(a1, v6);
}
return result;
}