//
// cocos2d::ccArrayAppendObjectBatch from 0xb21038 to 0xb2107c (68 bytes)
//
// 2 xrefs:
// > cocos2d::ccArrayAppendObjectWithResizeBatch @ 0xb21108
// > ??> @ 0xaf9b0
//
// 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::ccArrayAppendObjectBatch(unsigned int *a1, cocos2d::CCObject *this)
{
__int64 result; // x0
cocos2d::CCObject::retain(this);
result = *a1;
*(_QWORD *)(*((_QWORD *)a1 + 2) + 8LL * (unsigned int)result) = this;
this->m_unknown2 = result;
*a1 = result + 1;
return result;
}