//
// cocos2d::ccArrayAppendObject from 0x5ec5a4 to 0x5ec5be (26 bytes)
//
// 4 xrefs:
// > cocos2d::CCScheduler::scheduleSelector @ 0x5ae642
// > cocos2d::CCActionManager::addAction @ 0x5b983e
// > cocos2d::ccArrayAppendObjectWithResize @ 0x5ec60a
// > cocos2d::ccArrayAppendArray @ 0x5ec656
//
// 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::ccArrayAppendObject(int *a1, cocos2d::CCObject *this)
{
int v4; // r3
cocos2d::CCObject::retain(this);
v4 = *a1;
*(_DWORD *)(a1[3] + 4 * *a1) = this;
*a1 = v4 + 1;
}