//
// cocos2d::CCArray::replaceObjectAtIndex from 0x7c92d2 to 0x7c92f0 (30 bytes)
//
// 2 xrefs:
// > cocos2d::CCDirector::replaceScene @ 0x7ca9be
// > cocos2d::CCLayerMultiplex::switchToAndReleaseMe @ 0x7d8472
//
// 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:00:28 +0000
//
int __fastcall cocos2d::CCArray::replaceObjectAtIndex(
cocos2d::CCArray *this,
unsigned int a2,
cocos2d::CCObject *a3,
bool a4)
{
cocos2d::ccArrayInsertObjectAtIndex(*((_DWORD *)this + 13), a3, a2);
return cocos2d::ccArrayRemoveObjectAtIndex(*((_DWORD *)this + 13), a2 + 1, 1);
}