//
// cocos2d::ccArrayAppendObject from 0xd91afc to 0xd91b40 (68 bytes)
//
// 5 xrefs:
// > cocos2d::CCScheduler::scheduleSelector @ 0xd22dbc
// > cocos2d::CCActionManager::addAction @ 0xd37488
// > cocos2d::ccArrayAppendObjectWithResize @ 0xd91c04
// > cocos2d::ccArrayAppendArray @ 0xd91c9c
// > ??> @ 0x86cf8
//
// 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::ccArrayAppendObject(unsigned int *a1, cocos2d::CCObject *this)
{
__int64 result; // x0
cocos2d::CCObject::retain((__int64)this);
*(_QWORD *)(*((_QWORD *)a1 + 2) + 8LL * *a1) = this;
result = *a1 + 1;
*a1 = result;
return result;
}