//
// CCAnimatedSprite::runAnimationForced from 0x68c990 to 0x68ca60 (208 bytes)
//
// 27 xrefs:
// > AnimatedGameObject::animationFinished @ 0x896e40
// > AnimatedGameObject::animationFinished @ 0x896ef8
// > AnimatedGameObject::animationFinished @ 0x896fc8
// > AnimatedGameObject::animationFinished @ 0x89706c
// > AnimatedGameObject::animationFinished @ 0x897120
// > AnimatedGameObject::animationFinished @ 0x897164
// > AnimatedGameObject::animationFinished @ 0x8971b8
// > AnimatedGameObject::animationFinished @ 0x8971e8
// > AnimatedGameObject::animationFinished @ 0x897284
// > AnimatedGameObject::animationFinished @ 0x8973b8
// > AnimatedGameObject::animationFinished @ 0x897408
// > AnimatedGameObject::animationFinished @ 0x897430
// > AnimatedGameObject::animationFinished @ 0x8974d4
// > AnimatedGameObject::animationFinished @ 0x897584
// > AnimatedGameObject::animationFinished @ 0x89768c
// > AnimatedGameObject::animationFinished @ 0x8976dc
// > AnimatedGameObject::animationFinished @ 0x897740
// > AnimatedGameObject::animationFinished @ 0x897768
// > AnimatedGameObject::playAnimation @ 0x899ebc
// > AnimatedShopKeeper::startAnimating @ 0xa7c974
// > AnimatedShopKeeper::playReactAnimation @ 0xa7d210
// > AnimatedShopKeeper::animationFinished @ 0xa7d9f4
// > AnimatedShopKeeper::animationFinished @ 0xa7db40
// > AnimatedShopKeeper::animationFinished @ 0xa7dbd8
// > AnimatedShopKeeper::animationFinished @ 0xa7dc84
// > AnimatedShopKeeper::animationFinished @ 0xa7dcac
// > ??> @ 0x4df20
//
// This function is hookable on this platform (idp: arm, 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:50:33 +0000
//
__int64 __fastcall CCAnimatedSprite::runAnimationForced(__int64 a1, char *a2)
{
char v4; // w0
__int64 v5; // x21
__int64 v6; // x0
__int64 v7; // x1
__int64 v9; // [xsp+30h] [xbp+30h] BYREF
__int64 v10; // [xsp+38h] [xbp+38h]
void *v11; // [xsp+40h] [xbp+40h]
SpriteAnimationManager::overridePrio(*(SpriteAnimationManager **)(a1 + 648));
v9 = 0;
v4 = *a2;
v10 = 0;
v11 = nullptr;
v5 = *(_QWORD *)(a1 + 648);
if ( (v4 & 1) != 0 )
{
std::string::__init(&v9, *((void **)a2 + 2), *((_QWORD *)a2 + 1));
}
else
{
v6 = *(_QWORD *)a2;
v7 = *((_QWORD *)a2 + 1);
v11 = *((void **)a2 + 2);
v9 = v6;
v10 = v7;
}
SpriteAnimationManager::runAnimation(v5, &v9);
if ( (v9 & 1) != 0 )
operator delete(v11);
return _stack_chk_guard;
}