//
// sub_10011FD7C from 0x10011fd7c to 0x10011fdc4 (72 bytes)
//
// 1 xrefs:
// > PlayLayer::createCheckpoint @ 0x10011f974
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall sub_10011FD7C(__int64 a1, cocos2d::CCObject *a2)
{
cocos2d::CCObject *v3; // x0
v3 = *(cocos2d::CCObject **)(a1 + 3112);
if ( v3 != a2 )
{
if ( a2 )
{
cocos2d::CCObject::retain(a2);
v3 = *(cocos2d::CCObject **)(a1 + 3112);
}
if ( v3 )
cocos2d::CCObject::release(v3);
*(_QWORD *)(a1 + 3112) = a2;
}
}