//
// GameObjectCopy::resetObject from 0x463bc8 to 0x463c48 (128 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::handleAction @ 0x46f09c
// > LevelEditorLayer::handleAction @ 0x46f0c6
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:48:54 +0000
//
int __fastcall GameObjectCopy::resetObject(GameObjectCopy *this)
{
int v2; // r3
void (*v3)(void); // r3
(*(void (__fastcall **)(_DWORD, char *))(**((_DWORD **)this + 13) + 92))(*((_DWORD *)this + 13), (char *)this + 56);
v2 = **((_DWORD **)this + 13);
if ( *((float *)this + 16) == *((float *)this + 17) )
{
v3 = *(void (**)(void))(v2 + 180);
}
else
{
(*(void (**)(void))(v2 + 188))();
v3 = *(void (**)(void))(**((_DWORD **)this + 13) + 196);
}
v3();
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 13) + 620))(
*((_DWORD *)this + 13),
*((unsigned __int8 *)this + 72));
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 13) + 624))(
*((_DWORD *)this + 13),
*((unsigned __int8 *)this + 73));
GameObject::updateCustomScaleX(*((GameObject **)this + 13), *((float *)this + 19));
GameObject::updateCustomScaleY(*((GameObject **)this + 13), *((float *)this + 20));
return (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 13) + 688))(*((_DWORD *)this + 13));
}