//
// SpriteAnimationManager::overridePrio from 0x1003243f4 to 0x100324470 (124 bytes)
//
// 2 xrefs:
// > CCAnimatedSprite::runAnimationForced @ 0x1002fdaf4
// > SpriteAnimationManager::stopAnimations @ 0x100324480
//
// 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::overridePrio(SpriteAnimationManager *a1)
{
bool v2; // w0
bool v3; // w20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v5; // [xsp+1Fh] [xbp-11h]
sub_100009900(__p, "not_used");
v2 = sub_1000045BC(&a1->m_currentAnimation.m_data.m_long.capacitym1, __p);
v3 = v2;
if ( v5 < 0 )
{
operator delete(__p[0]);
if ( v3 )
return;
}
else if ( v2 )
{
return;
}
std::string::operator=((std::string *)&a1->m_nextAnimation, (const std::string *)&a1->m_currentAnimation);
std::string::assign((std::string *)&a1->m_currentAnimation, "not_used");
}