//
// EnhancedGameObject::resetObject from 0x64727c to 0x647304 (136 bytes)
//
// 41 xrefs:
// > SpecialAnimGameObject::resetObject @ 0x74ac24
// > RingObject::resetObject @ 0x74ac38
// > LabelGameObject::resetObject @ 0x74ac5c
// > SequenceTriggerGameObject::resetObject @ 0x74ac70
// > ParticleGameObject::resetObject @ 0x7507c4
// > AnimatedGameObject::resetObject @ 0x756910
// > CheckpointGameObject::resetObject @ 0x767020
// > ??> @ 0x2e7b8
// > ??> @ 0x1154178
// > ??> @ 0x1162328
// > ??> @ 0x1162b28
// > ??> @ 0x1163328
// > ??> @ 0x1163b28
// > ??> @ 0x1164328
// > ??> @ 0x1164b28
// > ??> @ 0x1165328
// > ??> @ 0x1168b38
// > ??> @ 0x1169338
// > ??> @ 0x1169b38
// > ??> @ 0x116a338
// > ??> @ 0x116bb48
// > ??> @ 0x116cb48
// > ??> @ 0x116d348
// > ??> @ 0x116db48
// > ??> @ 0x116e348
// > ??> @ 0x116eb48
// > ??> @ 0x116fb48
// > ??> @ 0x1170348
// > ??> @ 0x1170b48
// > ??> @ 0x1171348
// > ??> @ 0x1171b48
// > ??> @ 0x1172348
// > ??> @ 0x1172b48
// > ??> @ 0x1173348
// > ??> @ 0x1173b48
// > ??> @ 0x1174348
// > ??> @ 0x1174b48
// > ??> @ 0x1175348
// > ??> @ 0x1175b48
// > ??> @ 0x1176348
// > ??> @ 0x1176b48
//
// 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
//
void EnhancedGameObject::resetObject(EnhancedGameObject *a1)
{
float v2; // s0
_BOOL4 m_unk548; // w1
_BOOL4 m_animateOnTrigger; // w0
GameObject::resetObject(a1);
v2 = 0.0;
m_unk548 = a1->m_unk548;
a1->m_activatedByPlayer1 = 0;
a1->m_activatedByPlayer2 = 0;
a1->m_activated = 0;
a1->m_poweredOn = 0;
a1->m_state = 0;
a1->m_unk4C0 = -1;
a1->m_unk4C4 = -1;
a1->m_unk4C8 = -1;
a1->m_unk4CC = -1;
a1->m_unk544 = 0.0;
if ( m_unk548 )
v2 = -1.0;
m_animateOnTrigger = a1->m_animateOnTrigger;
a1->m_unkAnimationInt = 0;
a1->m_animationStart = v2;
a1->m_animationRandomizedStartValue = 0;
a1->m_rotationAnimationSpeed = 0.0;
if ( m_animateOnTrigger )
EnhancedGameObject::waitForAnimationTrigger(a1);
}