//
// CCAnimatedSprite::runAnimation from 0x140040cf0 to 0x140040d51 (97 bytes)
//
// 20 xrefs:
// > CCAnimatedSprite::tweenToAnimationFinished @ 0x140041054
// > PlayerObject::createRobot @ 0x140388215
// > PlayerObject::createSpider @ 0x1403885d5
// > PlayerObject::updateMove @ 0x14038a8ae
// > PlayerObject::updateMove @ 0x14038b0f9
// > PlayerObject::updateMove @ 0x14038b14b
// > PlayerObject::updateDashArt @ 0x1403963b5
// > PlayerObject::updateDashArt @ 0x140396456
// > PlayerObject::stopDashing @ 0x140396cc9
// > PlayerObject::ringJump @ 0x140399794
// > PlayerObject::toggleRobotMode @ 0x14039b8ef
// > PlayerObject::toggleSpiderMode @ 0x14039bc7a
// > PlayerObject::hitGround @ 0x14039c3e7
// > PlayerObject::propellPlayer @ 0x14039fa05
// > PlayerObject::updateRobotAnimationSpeed @ 0x1403a1495
// > PlayerObject::playDynamicSpiderRun @ 0x1403a1677
// > PlayerObject::playDynamicSpiderRun @ 0x1403a16dd
// > PlayerObject::animationFinished @ 0x1403a3bc8
// > PlayerObject::animationFinished @ 0x1403a3d4a
// > ??> @ 0x1406c426c
//
// 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
//
// Hidden C++ exception states: #wind=1
void __fastcall CCAnimatedSprite::runAnimation(__int64 a1, __int64 a2)
{
__int64 v4; // rax
_BYTE v5[32]; // [rsp+28h] [rbp-40h] BYREF
__int64 v6; // [rsp+48h] [rbp-20h]
v6 = a2;
v4 = sub_14003BDB0((__int64)v5, a2);
SpriteAnimationManager::runAnimation(*(_QWORD *)(a1 + 664), v4);
sub_14003A830(a2);
}