//
// GameObjectCopy::resetObject from 0x1000b2eb0 to 0x1000b2f4f (159 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::handleAction @ 0x1000b2545
// > LevelEditorLayer::handleAction @ 0x1000b2914
//
// This function is hookable on this platform (idp: pc, 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:20:20 +0000
//
__int64 __fastcall GameObjectCopy::resetObject(__int64 a1)
{
__int64 v1; // rax
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 56) + 184LL))(*(_QWORD *)(a1 + 56), a1 + 64);
v1 = **(_QWORD **)(a1 + 56);
if ( *(float *)(a1 + 72) == *(float *)(a1 + 76) )
{
(*(void (**)(void))(v1 + 360))();
}
else
{
(*(void (**)(void))(v1 + 376))();
(*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 56) + 392LL))(*(_QWORD *)(a1 + 56), *(float *)(a1 + 76));
}
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 56) + 1240LL))(
*(_QWORD *)(a1 + 56),
*(unsigned __int8 *)(a1 + 80));
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 56) + 1248LL))(
*(_QWORD *)(a1 + 56),
*(unsigned __int8 *)(a1 + 81));
GameObject::updateCustomScaleX(*(_QWORD *)(a1 + 56));
GameObject::updateCustomScaleY(*(_QWORD *)(a1 + 56), *(float *)(a1 + 88));
return (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 56) + 1376LL))(*(_QWORD *)(a1 + 56));
}