//
// cocos2d::ccArrayAppendObjectChild from 0x5ec7b4 to 0x5ec7d4 (32 bytes)
//
// 1 xrefs:
// > cocos2d::ccArrayAppendObjectWithResizeChild @ 0x5ec7e8
//
// 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::ccArrayAppendObjectChild(int *a1, cocos2d::CCObject *a2)
{
int v4; // r3
cocos2d::ccArrayUpdateChildIndexes((int)a1);
cocos2d::CCObject::retain(a2);
v4 = *a1;
*(_DWORD *)(a1[3] + 4 * *a1) = a2;
a2->m_uUnknown = v4;
*a1 = v4 + 1;
}