//
// GroupCommandObject2::reset from 0x140257700 to 0x1402578f1 (497 bytes)
//
// 5 xrefs:
// > GroupCommandObject2::GroupCommandObject2 @ 0x1402576e8
// > GJEffectManager::createFollowCommand @ 0x14025cb49
// > GJEffectManager::createPlayerFollowCommand @ 0x14025cc57
// > GJEffectManager::resetTempGroupCommands @ 0x14025f35e
// > ??> @ 0x1406cfa50
//
// 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 GroupCommandObject2::reset(GroupCommandObject2 *a1)
{
int v1; // eax
std::_Simple_types::value_type *Myfirst; // rax
v1 = dword_1406BA170;
a1->m_groupCommandUniqueID = dword_1406BA170;
a1->m_easingType = 0;
a1->m_easingRate = 0.0;
a1->m_duration = 0.0;
a1->m_deltaTime = 0.0;
*(_QWORD *)&a1->m_targetGroupID = 0;
a1->m_currentXOffset = 0.0;
a1->m_currentYOffset = 0.0;
a1->m_deltaX = 0.0;
a1->m_deltaY = 0.0;
a1->m_oldDeltaX = 0.0;
a1->m_oldDeltaY = 0.0;
a1->m_lockedCurrentXOffset = 0.0;
a1->m_lockedCurrentYOffset = 0.0;
*(_QWORD *)&a1->m_finished = 0;
a1->m_lockedInY = 0;
a1->m_currentRotateOrTransformValue = 0.0;
a1->m_currentRotateOrTransformDelta = 0.0;
a1->m_someInterpValue1RelatedOne = 0.0;
a1->m_someInterpValue2RelatedOne = 0.0;
a1->m_rotationOffset = 0.0;
a1->m_lockObjectRotation = 0;
a1->m_targetPlayer = 0;
a1->m_commandType = 0;
a1->m_keyframeRelated = 0.0;
a1->m_targetScaleX = 0.0;
a1->m_targetScaleY = 0.0;
a1->m_transformTriggerProperty450 = 0.0;
a1->m_transformTriggerProperty451 = 0.0;
a1->m_someInterpValue1RelatedZero = 0.0;
a1->m_someInterpValue2RelatedZero = 0.0;
*(_WORD *)&a1->m_onlyMove = 0;
a1->m_relativeRotation = 0;
a1->m_someInterpValue1Related = 0.0;
a1->m_someInterpValue2Related = 0.0;
a1->m_followYSpeed = 0.0;
a1->m_followYDelay = 0.0;
a1->m_followYOffset = 0;
a1->m_followYMaxSpeed = 0.0;
*(_QWORD *)&a1->m_triggerUniqueID = 0;
a1->m_deltaX_3 = 0.0;
a1->m_deltaY_3 = 0.0;
a1->m_oldDeltaX_3 = 0.0;
a1->m_oldDeltaY_3 = 0.0;
a1->m_Delta_3_Related = 0.0;
a1->m_unkDoubleMaybeUnused = 0.0;
*(_QWORD *)&a1->m_actionType1 = 0;
a1->m_actionValue1 = 0.0;
a1->m_actionValue2 = 0.0;
a1->m_someInterpValue1RelatedFalse = 0;
a1->m_deltaTimeInFloat = 0.0;
*(_WORD *)&a1->m_alreadyUpdated = 1;
dword_1406BA170 = v1 + 1;
a1->m_moveModX = 1.0;
a1->m_moveModY = 1.0;
a1->m_followXMod = 1.0;
a1->m_followYMod = 1.0;
a1->m_someInterpValue1 = 1.0;
a1->m_someInterpValue2 = 1.0;
if ( a1->m_keyframes._Mypair._Myval2._Myfirst != a1->m_keyframes._Mypair._Myval2._Mylast )
{
sub_140257C30();
a1->m_keyframes._Mypair._Myval2._Mylast = a1->m_keyframes._Mypair._Myval2._Myfirst;
}
Myfirst = a1->m_remapKeys._Mypair._Myval2._Myfirst;
if ( Myfirst != a1->m_remapKeys._Mypair._Myval2._Mylast )
a1->m_remapKeys._Mypair._Myval2._Mylast = Myfirst;
a1->m_splineRelated = 0;
a1->m_gameObject = nullptr;
a1->m_gameObjectRotation = 0.0;
a1->m_someInterpValue2RelatedTrue = 0;
a1->m_unkInt204 = 0;
}