//
// cocos2d::ccArrayAppendObjectNew from 0xd91b40 to 0xd91b8c (76 bytes)
//
// 2 xrefs:
// > cocos2d::ccArrayAppendObjectWithResizeNew @ 0xd91c34
// > ??> @ 0x46048
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:08:19 +0000
//
__int64 __fastcall cocos2d::ccArrayAppendObjectNew(unsigned int *a1, cocos2d::CCObject *this)
{
__int64 result; // x0
cocos2d::CCObject::retain((__int64)this);
*(_QWORD *)(*((_QWORD *)a1 + 2) + 8LL * *a1) = this;
*((_DWORD *)this + 8) = *a1;
result = *a1 + 1;
*a1 = result;
return result;
}