//
// UndoObject::init from 0x36a370 to 0x36a38a (26 bytes)
//
// 1 xrefs:
// > UndoObject::create @ 0x36a3a2
//
// 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
//
bool UndoObject::init(UndoObject *a1, GameObject *a2, UndoCommand a3)
{
GameObjectCopy *v5; // r0
if ( a2 )
{
v5 = GameObjectCopy::create(a2);
a1->m_objectCopy = v5;
cocos2d::CCObject::retain(v5);
}
a1->m_command = a3;
return 1;
}