//
// SpriteAnimationManager::finishAnimation from 0x2f39c0 to 0x2f39f4 (52 bytes)
//
// 0 xrefs:
//
// 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 __fastcall SpriteAnimationManager::finishAnimation(SpriteAnimationManager *a1, int a2)
{
int p_m_queuedAnimation; // r5
p_m_queuedAnimation = (int)&a1->m_queuedAnimation;
if ( !sub_774DBC(&a1->m_queuedAnimation, a2) )
sub_7753D4(p_m_queuedAnimation, "not_used");
if ( !sub_774DBC(&a1->m_currentAnimation, a2) )
SpriteAnimationManager::runQueuedAnimation(a1);
}