//
// EnhancedGameObject::resetObject from 0x1005cc0b0 to 0x1005cc140 (144 bytes)
//
// 41 xrefs:
// > ParticleGameObject::resetObject @ 0x1001b2bd9
// > SpecialAnimGameObject::resetObject @ 0x1001b3b4e
// > RingObject::resetObject @ 0x1001b4389
// > AnimatedGameObject::resetObject @ 0x1001b8f73
// > AnimatedGameObject::resetObject @ 0x1001b8f90
// > LabelGameObject::resetObject @ 0x1001c2c0c
// > SequenceTriggerGameObject::resetObject @ 0x1001c461a
// > CheckpointGameObject::resetObject @ 0x1001d69b9
// > ??> @ 0x1008c4d98
// > ??> @ 0x1008c5d88
// > ??> @ 0x1008c6580
// > ??> @ 0x1008c6d78
// > ??> @ 0x1008c7570
// > ??> @ 0x1008c95d8
// > ??> @ 0x1008c9de8
// > ??> @ 0x1008ca5f8
// > ??> @ 0x1008cae08
// > ??> @ 0x1008cb618
// > ??> @ 0x1008cbe28
// > ??> @ 0x1008cc638
// > ??> @ 0x1008cce48
// > ??> @ 0x1008ceee8
// > ??> @ 0x1008cff38
// > ??> @ 0x1008d0760
// > ??> @ 0x1008d1798
// > ??> @ 0x1008d1fa8
// > ??> @ 0x1008d27b8
// > ??> @ 0x1008d2fc8
// > ??> @ 0x1008d37d8
// > ??> @ 0x1008d3fe8
// > ??> @ 0x1008d47f8
// > ??> @ 0x1008d5008
// > ??> @ 0x1008d5818
// > ??> @ 0x1008d6028
// > ??> @ 0x1008d6838
// > ??> @ 0x1008d7048
// > ??> @ 0x1008d7858
// > ??> @ 0x1008d8068
// > ??> @ 0x1008d8878
// > ??> @ 0x1008d9088
// > ??> @ 0x1009720c8
//
// 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 __fastcall EnhancedGameObject::resetObject(EnhancedGameObject *a1)
{
GameObject::resetObject(a1);
a1->m_activatedByPlayer2 = 0;
*(_WORD *)&a1->m_activated = 0;
a1->m_poweredOn = 0;
*(_QWORD *)&a1->m_state = 0;
*(_OWORD *)&a1->m_unk4C0 = -1;
a1->m_unk544 = 0.0;
a1->m_animationStart = (float)-a1->m_unk548;
a1->m_unkAnimationInt = 0;
a1->m_rotationAnimationSpeed = 0.0;
if ( a1->m_animateOnTrigger )
EnhancedGameObject::waitForAnimationTrigger(a1);
}