//
// GroupCommandObject2::reset from 0x1004ecd00 to 0x1004ece69 (361 bytes)
//
// 3 xrefs:
// > GJEffectManager::createFollowCommand @ 0x1002e0d38
// > GJEffectManager::createPlayerFollowCommand @ 0x1002e0e1c
// > GJEffectManager::resetTempGroupCommands @ 0x1002e5333
//
// 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 GroupCommandObject2::reset(GroupCommandObject2 *a1)
{
int v1; // eax
KeyframeObject *begin; // r15
std::__vector_base::pointer i; // r14
v1 = dword_10099CA80;
a1->m_groupCommandUniqueID = dword_10099CA80;
dword_10099CA80 = v1 + 1;
*(_OWORD *)((char *)&a1->m_lockedCurrentYOffset + 1) = 0;
*(_OWORD *)((char *)&a1->m_oldDeltaY + 4) = 0;
*(_OWORD *)((char *)&a1->m_deltaY + 4) = 0;
*(_OWORD *)((char *)&a1->m_currentYOffset + 4) = 0;
*(_OWORD *)&a1->m_centerGroupID = 0;
*(_OWORD *)((char *)&a1->m_duration + 4) = 0;
*(_OWORD *)&a1->m_easingType = 0;
*(_OWORD *)&a1->m_moveModX = xmmword_100815170;
a1->m_targetPlayer = 0;
*(_OWORD *)&a1->m_currentRotateOrTransformValue = 0;
*(_OWORD *)&a1->m_someInterpValue1RelatedOne = 0;
*(_OWORD *)((char *)&a1->m_someInterpValue2RelatedOne + 1) = 0;
*(_OWORD *)&a1->m_followXMod = xmmword_100815170;
a1->m_commandType = 0;
*(_OWORD *)&a1->m_someInterpValue1 = xmmword_100815170;
a1->m_deltaTimeInFloat = 0.0;
*(_OWORD *)&a1->m_keyframeRelated = 0;
*(_OWORD *)&a1->m_targetScaleY = 0;
*(_OWORD *)&a1->m_transformTriggerProperty451 = 0;
*(_OWORD *)((char *)&a1->m_someInterpValue1RelatedZero + 3) = 0;
*(_OWORD *)&a1->m_followYSpeed = 0;
*(_OWORD *)&a1->m_someInterpValue1Related = 0;
a1->m_followYOffset = 0;
*(_OWORD *)&a1->m_followYMaxSpeed = 0;
*(_OWORD *)&a1->m_deltaX_3 = 0;
*(_OWORD *)&a1->m_oldDeltaX_3 = 0;
*(_OWORD *)&a1->m_Delta_3_Related = 0;
*(_OWORD *)&a1->m_actionType1 = 0;
*(_OWORD *)((char *)&a1->m_actionValue1 + 1) = 0;
*(_WORD *)&a1->m_alreadyUpdated = 1;
begin = a1->m_keyframes.__begin_;
for ( i = a1->m_keyframes.__end_; i != begin; sub_1002EFB90(i) )
--i;
a1->m_keyframes.__end_ = begin;
a1->m_remapKeys.__end_ = a1->m_remapKeys.__begin_;
a1->m_someInterpValue2RelatedTrue = 0;
a1->m_unkInt204 = 0;
*(_OWORD *)&a1->m_splineRelated.x = 0;
a1->m_gameObjectRotation = 0.0;
}