//
// cocos2d::ccArrayAppendArray from 0xd91c68 to 0xd91cbc (84 bytes)
//
// 2 xrefs:
// > cocos2d::ccArrayAppendArrayWithResize @ 0xd91ce8
// > ??> @ 0xe8a08
//
// 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:08:19 +0000
//
__int64 __fastcall cocos2d::ccArrayAppendArray(unsigned int *a1, unsigned int *a2)
{
unsigned int v4; // w19
__int64 result; // x0
cocos2d::CCObject *v6; // x1
v4 = 0;
result = *a2;
if ( (_DWORD)result )
{
do
{
v6 = *(cocos2d::CCObject **)(*((_QWORD *)a2 + 2) + 8LL * v4++);
cocos2d::ccArrayAppendObject(a1, v6);
result = *a2;
}
while ( (unsigned int)result > v4 );
}
return result;
}