//
// GameObjectCopy::resetObject from 0x78fb98 to 0x78fc70 (216 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::handleAction @ 0x7a1cf8
// > LevelEditorLayer::handleAction @ 0x7a2344
// > ??> @ 0xf7150
//
// 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 GameObjectCopy::resetObject(GameObjectCopy *this)
{
__int64 v2; // x1
(*(void (__fastcall **)(_QWORD, char *))(**((_QWORD **)this + 7) + 184LL))(*((_QWORD *)this + 7), (char *)this + 64);
v2 = **((_QWORD **)this + 7);
if ( *((float *)this + 18) == *((float *)this + 19) )
{
(*(void (**)(void))(v2 + 360))();
}
else
{
(*(void (**)(void))(v2 + 376))();
(*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 7) + 392LL))(
*((_QWORD *)this + 7),
*((float *)this + 19));
}
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 7) + 1240LL))(
*((_QWORD *)this + 7),
*((unsigned __int8 *)this + 80));
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 7) + 1248LL))(
*((_QWORD *)this + 7),
*((unsigned __int8 *)this + 81));
GameObject::updateCustomScaleX(*((GameObject **)this + 7), *((float *)this + 21));
GameObject::updateCustomScaleY(*((GameObject **)this + 7), *((float *)this + 22));
return (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 7) + 1376LL))(*((_QWORD *)this + 7));
}