//
// UndoObject::init from 0x78f878 to 0x78f8b8 (64 bytes)
//
// 2 xrefs:
// > UndoObject::create @ 0x78f978
// > ??> @ 0xd4d28
//
// This function is hookable on this platform (idp: arm, 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 12:53:28 +0000
//
__int64 __fastcall UndoObject::init(__int64 a1, GameObjectCopy *this, int a3)
{
cocos2d::CCObject *v4; // x0
int v6; // [xsp+28h] [xbp+28h]
if ( this )
{
v6 = a3;
v4 = (cocos2d::CCObject *)GameObjectCopy::create(this, this);
*(_QWORD *)(a1 + 56) = v4;
cocos2d::CCObject::retain(v4);
a3 = v6;
}
*(_DWORD *)(a1 + 64) = a3;
return 1;
}