//
// CCAnimatedSprite::runAnimationForced from 0x1002fdad8 to 0x1002fdb50 (120 bytes)
//
// 26 xrefs:
// > AnimatedShopKeeper::startAnimating @ 0x10014bb14
// > AnimatedShopKeeper::playReactAnimation @ 0x10014d9dc
// > AnimatedShopKeeper::animationFinished @ 0x10014e844
// > AnimatedShopKeeper::animationFinished @ 0x10014e924
// > AnimatedShopKeeper::animationFinished @ 0x10014e95c
// > AnimatedShopKeeper::animationFinished @ 0x10014e9ac
// > AnimatedShopKeeper::animationFinished @ 0x10014e9d8
// > AnimatedGameObject::animationFinished @ 0x100384144
// > AnimatedGameObject::animationFinished @ 0x1003841f0
// > AnimatedGameObject::animationFinished @ 0x100384288
// > AnimatedGameObject::animationFinished @ 0x100384308
// > AnimatedGameObject::animationFinished @ 0x100384390
// > AnimatedGameObject::animationFinished @ 0x1003843c8
// > AnimatedGameObject::animationFinished @ 0x100384448
// > AnimatedGameObject::animationFinished @ 0x10038447c
// > AnimatedGameObject::animationFinished @ 0x1003844e0
// > AnimatedGameObject::animationFinished @ 0x10038450c
// > AnimatedGameObject::animationFinished @ 0x100384538
// > AnimatedGameObject::animationFinished @ 0x1003845d0
// > AnimatedGameObject::animationFinished @ 0x100384634
// > AnimatedGameObject::animationFinished @ 0x1003846f4
// > AnimatedGameObject::animationFinished @ 0x100384794
// > AnimatedGameObject::animationFinished @ 0x1003847c4
// > AnimatedGameObject::animationFinished @ 0x1003847f0
// > AnimatedGameObject::animationFinished @ 0x10038481c
// > AnimatedGameObject::playAnimation @ 0x100384e00
//
// 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 CCAnimatedSprite::runAnimationForced(__int64 a1, __int64 a2)
{
__int64 v4; // x19
void *__p[2]; // [xsp+0h] [xbp-30h] BYREF
__int64 v6; // [xsp+10h] [xbp-20h]
SpriteAnimationManager::overridePrio(*(SpriteAnimationManager **)(a1 + 648));
v4 = *(_QWORD *)(a1 + 648);
if ( *(char *)(a2 + 23) < 0 )
{
sub_1000097D0(__p, *(void **)a2, *(_QWORD *)(a2 + 8));
}
else
{
*(_OWORD *)__p = *(_OWORD *)a2;
v6 = *(_QWORD *)(a2 + 16);
}
SpriteAnimationManager::runAnimation(v4, __p);
if ( SHIBYTE(v6) < 0 )
operator delete(__p[0]);
}