//
// cocos2d::ccArrayAppendObjectChild from 0x7f77ea to 0x7f780e (36 bytes)
//
// 1 xrefs:
// > cocos2d::ccArrayAppendObjectWithResizeChild @ 0x7f7822
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:11 +0000
//
int __fastcall cocos2d::ccArrayAppendObjectChild(_DWORD *a1, int a2)
{
int result; // r0
cocos2d::ccArrayUpdateChildIndexes((int)a1);
result = cocos2d::CCObject::retain(a2);
*(_DWORD *)(a1[3] + 4 * *a1) = a2;
*(_DWORD *)(a2 + 32) = (*a1)++;
return result;
}