//
// CCAnimatedSprite::runAnimationForced from 0x100350a70 to 0x100350ae1 (113 bytes)
//
// 26 xrefs:
// > AnimatedGameObject::animationFinished @ 0x1001b77c6
// > AnimatedGameObject::animationFinished @ 0x1001b7813
// > AnimatedGameObject::animationFinished @ 0x1001b7920
// > AnimatedGameObject::animationFinished @ 0x1001b7a76
// > AnimatedGameObject::animationFinished @ 0x1001b7abe
// > AnimatedGameObject::animationFinished @ 0x1001b7bc4
// > AnimatedGameObject::animationFinished @ 0x1001b7d2b
// > AnimatedGameObject::animationFinished @ 0x1001b7d78
// > AnimatedGameObject::animationFinished @ 0x1001b7dbe
// > AnimatedGameObject::animationFinished @ 0x1001b7e04
// > AnimatedGameObject::animationFinished @ 0x1001b7f04
// > AnimatedGameObject::animationFinished @ 0x1001b813c
// > AnimatedGameObject::animationFinished @ 0x1001b8181
// > AnimatedGameObject::animationFinished @ 0x1001b831c
// > AnimatedGameObject::animationFinished @ 0x1001b8461
// > AnimatedGameObject::animationFinished @ 0x1001b84a6
// > AnimatedGameObject::animationFinished @ 0x1001b84dd
// > AnimatedGameObject::animationFinished @ 0x1001b8514
// > AnimatedGameObject::playAnimation @ 0x1001b8c09
// > AnimatedShopKeeper::startAnimating @ 0x100324902
// > AnimatedShopKeeper::playReactAnimation @ 0x100327558
// > AnimatedShopKeeper::animationFinished @ 0x100328acf
// > AnimatedShopKeeper::animationFinished @ 0x100328c6e
// > AnimatedShopKeeper::animationFinished @ 0x100328cea
// > AnimatedShopKeeper::animationFinished @ 0x100328d31
// > AnimatedShopKeeper::animationFinished @ 0x100328d77
//
// 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, __int128 *a2, double a3)
{
__int64 v3; // rbx
__int128 v4; // [rsp+0h] [rbp-30h] BYREF
void *__p; // [rsp+10h] [rbp-20h]
SpriteAnimationManager::overridePrio(*(SpriteAnimationManager **)(a1 + 648));
v3 = *(_QWORD *)(a1 + 648);
if ( (*(_BYTE *)a2 & 1) != 0 )
{
sub_100006B70(&v4, *((const void **)a2 + 2), *((_QWORD *)a2 + 1), a3);
}
else
{
__p = *((void **)a2 + 2);
v4 = *a2;
}
SpriteAnimationManager::runAnimation(v3, &v4);
if ( (v4 & 1) != 0 )
operator delete(__p);
}