//
// SpriteAnimationManager::updateAnimationSpeed from 0x6af750 to 0x6af798 (72 bytes)
//
// 5 xrefs:
// > PlayerObject::updateRobotAnimationSpeed @ 0x75ca0c
// > PlayerObject::updateRobotAnimationSpeed @ 0x75ca1c
// > GJMapObject::createMonster @ 0xac2e44
// > GJMapObject::startMonsterJumpLoop @ 0xac3054
// > ??> @ 0x9fac0
//
// 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 12:50:50 +0000
//
__int64 __fastcall SpriteAnimationManager::updateAnimationSpeed(__int64 this, float a2)
{
__int64 v2; // x1
__int64 v3; // x2
__int64 v4; // x1
if ( *(float *)(this + 376) != a2 )
{
v2 = *(_QWORD *)(this + 384);
*(float *)(this + 376) = a2;
if ( v2 )
{
v3 = *(_QWORD *)(v2 + 56);
if ( v3 )
{
for ( this = *(_QWORD *)(v3 + 288); ; this = *(_QWORD *)(this + 288) )
{
v4 = *(_QWORD *)(v3 + 264);
v3 = this;
if ( !*(_DWORD *)(v4 + 28) )
*(float *)(v4 + 76) = a2;
if ( !this )
break;
}
}
}
}
return this;
}