//
// UndoObject::setObjects from 0x664758 to 0x6647a4 (76 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::handleAction @ 0x67265c
// > ??> @ 0x45f60
//
// 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 UndoObject::setObjects(UndoObject *a1, cocos2d::CCArray *a2)
{
cocos2d::CCArray *m_objects; // x2
m_objects = a1->m_objects;
if ( m_objects != a2 )
{
if ( a2 )
{
cocos2d::CCObject::retain(a2);
m_objects = a1->m_objects;
}
if ( m_objects )
cocos2d::CCObject::release(m_objects);
a1->m_objects = a2;
}
}