//
// CheckpointObject::setObject from 0x7171e8 to 0x71720e (38 bytes)
//
// 2 xrefs:
// > PlayLayer::loadPersistentCheckpoint @ 0x402bba
// > PlayLayer::createCheckpoint @ 0x411e44
//
// 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 11:57:48 +0000
//
GameObject **__fastcall CheckpointObject::setObject(GameObject **this, GameObject *a2)
{
GameObject **v2; // r5
v2 = this;
if ( *(this + 572) != a2 )
{
if ( a2 )
cocos2d::CCObject::retain(a2);
this = (GameObject **)v2[572];
if ( this )
this = (GameObject **)cocos2d::CCObject::release((cocos2d::CCObject *)this);
v2[572] = a2;
}
return this;
}