//
// EnhancedGameObject::resetSyncedAnimation from 0x52a3d8 to 0x52a418 (64 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::updatePreviewAnim @ 0x368ee4
//
// 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::resetSyncedAnimation(EnhancedGameObject *a1)
{
float v1; // s15
int m_animationRandomizedStartValue; // r1
v1 = -1.0;
m_animationRandomizedStartValue = a1->m_animationRandomizedStartValue;
a1->m_unk544 = 0.0;
if ( !a1->m_unk548 )
v1 = 0.0;
a1->m_animationStart = v1;
a1->m_unkAnimationInt = 0;
((void (__fastcall *)(EnhancedGameObject *, unsigned int, int))a1->updateSyncedAnimation)(
a1,
m_animationRandomizedStartValue ^ 0x80000000,
-1);
}