//
// cocos2d::ccCArrayAppendArray from 0xd9260c to 0xd92660 (84 bytes)
//
// 2 xrefs:
// > cocos2d::ccCArrayAppendArrayWithResize @ 0xd9268c
// > ??> @ 0xd8568
//
// 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::ccCArrayAppendArray(__int64 a1, unsigned int *a2)
{
unsigned int v4; // w19
__int64 result; // x0
__int64 v6; // x1
v4 = 0;
result = *a2;
if ( (_DWORD)result )
{
do
{
v6 = *(_QWORD *)(*((_QWORD *)a2 + 2) + 8LL * v4++);
cocos2d::ccCArrayAppendValue(a1, v6);
result = *a2;
}
while ( (unsigned int)result > v4 );
}
return result;
}