//
// cocos2d::CCArray::replaceObjectAtIndex from 0x1800073a0 to 0x1800073da (58 bytes)
//
// 4 xrefs:
// > cocos2d::CCLayerMultiplex::switchToAndReleaseMe @ 0x180052fc7
// > cocos2d::CCDirector::replaceScene @ 0x1800c2a26
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b7a08
//
// This function is hookable on this platform (idp: pc, 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 11:21:18 +0000
//
void __fastcall cocos2d::CCArray::replaceObjectAtIndex(cocos2d::CCArray *this, int a2, struct cocos2d::CCObject *a3)
{
__int64 v5; // r8
sub_1800A1780(*((_QWORD *)this + 7), a3);
LOBYTE(v5) = 1;
sub_1800A1B70(*((_QWORD *)this + 7), (unsigned int)(a2 + 1), v5);
}