//
// SpriteAnimationManager::updateAnimationSpeed from 0x100802190 to 0x1008021e2 (82 bytes)
//
// 4 xrefs:
// > GJMapObject::createMonster @ 0x100250d84
// > GJMapObject::startMonsterJumpLoop @ 0x1002510ba
// > PlayerObject::updateRobotAnimationSpeed @ 0x100408847
// > PlayerObject::updateRobotAnimationSpeed @ 0x100408864
//
// This function is hookable on this platform (idp: pc, 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:36:37 +0000
//
void __fastcall SpriteAnimationManager::updateAnimationSpeed(__int64 a1, float a2)
{
__int64 v2; // rax
__int64 v3; // rax
__int64 v4; // rcx
if ( *(float *)(a1 + 376) != a2 )
{
*(float *)(a1 + 376) = a2;
v2 = *(_QWORD *)(a1 + 384);
if ( v2 )
{
v3 = *(_QWORD *)(v2 + 56);
while ( v3 )
{
v4 = *(_QWORD *)(v3 + 264);
v3 = *(_QWORD *)(v3 + 288);
if ( !*(_DWORD *)(v4 + 28) )
*(float *)(v4 + 76) = a2;
}
}
}
}