//
// CCAnimatedSprite::runAnimationForced from 0x10033c180 to 0x10033c1f1 (113 bytes)
//
// 26 xrefs:
// > AnimatedGameObject::animationFinished @ 0x100197e36
// > AnimatedGameObject::animationFinished @ 0x100197e83
// > AnimatedGameObject::animationFinished @ 0x100197f90
// > AnimatedGameObject::animationFinished @ 0x1001980e6
// > AnimatedGameObject::animationFinished @ 0x10019812e
// > AnimatedGameObject::animationFinished @ 0x100198234
// > AnimatedGameObject::animationFinished @ 0x10019839b
// > AnimatedGameObject::animationFinished @ 0x1001983e8
// > AnimatedGameObject::animationFinished @ 0x10019842e
// > AnimatedGameObject::animationFinished @ 0x100198474
// > AnimatedGameObject::animationFinished @ 0x100198574
// > AnimatedGameObject::animationFinished @ 0x1001987ac
// > AnimatedGameObject::animationFinished @ 0x1001987f1
// > AnimatedGameObject::animationFinished @ 0x10019898c
// > AnimatedGameObject::animationFinished @ 0x100198ad1
// > AnimatedGameObject::animationFinished @ 0x100198b16
// > AnimatedGameObject::animationFinished @ 0x100198b4d
// > AnimatedGameObject::animationFinished @ 0x100198b84
// > AnimatedGameObject::playAnimation @ 0x100199279
// > AnimatedShopKeeper::startAnimating @ 0x10030ff62
// > AnimatedShopKeeper::playReactAnimation @ 0x100312c68
// > AnimatedShopKeeper::animationFinished @ 0x10031422f
// > AnimatedShopKeeper::animationFinished @ 0x1003143ce
// > AnimatedShopKeeper::animationFinished @ 0x10031444a
// > AnimatedShopKeeper::animationFinished @ 0x100314491
// > AnimatedShopKeeper::animationFinished @ 0x1003144d7
//
// 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:28:41 +0000
//
void __fastcall CCAnimatedSprite::runAnimationForced(__int64 a1, __int128 *a2)
{
__int64 v2; // rbx
__int128 v3; // [rsp+0h] [rbp-30h] BYREF
void *__p; // [rsp+10h] [rbp-20h]
SpriteAnimationManager::overridePrio(*(_QWORD *)(a1 + 648));
v2 = *(_QWORD *)(a1 + 648);
if ( (*(_BYTE *)a2 & 1) != 0 )
{
sub_10001AD30(&v3, *((const void **)a2 + 2), *((_QWORD *)a2 + 1));
}
else
{
__p = *((void **)a2 + 2);
v3 = *a2;
}
SpriteAnimationManager::runAnimation(v2, &v3);
if ( (v3 & 1) != 0 )
operator delete(__p);
}