//
// EnhancedGameObject::resetSyncedAnimation from 0xaf2e64 to 0xaf2eb0 (76 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::updatePreviewAnim @ 0x78d8b0
// > ??> @ 0x50c38
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:01:14 +0000
//
__int64 __fastcall EnhancedGameObject::resetSyncedAnimation(EnhancedGameObject *this)
{
float v1; // s0
int v3; // w0
float v4; // s1
__int64 v5; // x2
v1 = 0.0;
v3 = *((unsigned __int8 *)this + 1368);
*((_DWORD *)this + 341) = 0;
if ( v3 )
v1 = -1.0;
v4 = *((float *)this + 338);
v5 = *(_QWORD *)this;
*((_DWORD *)this + 357) = 0;
*((float *)this + 339) = v1;
return (*(__int64 (__fastcall **)(EnhancedGameObject *, __int64, float))(v5 + 1848))(this, 0xFFFFFFFFLL, -v4);
}