//
// cocos2d::ccArrayAppendObjectNew from 0x5ec5be to 0x5ec5da (28 bytes)
//
// 1 xrefs:
// > cocos2d::ccArrayAppendObjectWithResizeNew @ 0x5ec622
//
// 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
//
void __fastcall cocos2d::ccArrayAppendObjectNew(int *a1, cocos2d::CCObject *this)
{
int v4; // r3
cocos2d::CCObject::retain(this);
v4 = *a1;
*(_DWORD *)(a1[3] + 4 * *a1) = this;
this->m_uIndexInArray = v4;
*a1 = v4 + 1;
}