//
// CCAnimatedSprite::runAnimation from 0x2e42c0 to 0x2e4300 (64 bytes)
//
// 26 xrefs:
// > CCAnimatedSprite::tweenToAnimationFinished @ 0x2e4324
// > PlayerObject::animationFinished @ 0x33c474
// > PlayerObject::animationFinished @ 0x33c4c0
// > PlayerObject::animationFinished @ 0x33c4de
// > PlayerObject::animationFinished @ 0x33c530
// > PlayerObject::animationFinished @ 0x33c550
// > PlayerObject::createRobot @ 0x33cd80
// > PlayerObject::createSpider @ 0x33cf28
// > PlayerObject::updateDashArt @ 0x33f90e
// > PlayerObject::updateDashArt @ 0x33f95e
// > PlayerObject::propellPlayer @ 0x341dbe
// > PlayerObject::propellPlayer @ 0x341de0
// > PlayerObject::playDynamicSpiderRun @ 0x342d0c
// > PlayerObject::playDynamicSpiderRun @ 0x342d62
// > PlayerObject::playDynamicSpiderRun @ 0x342d96
// > PlayerObject::updateMove @ 0x342fee
// > PlayerObject::updateMove @ 0x34383e
// > PlayerObject::updateMove @ 0x34388c
// > PlayerObject::stopDashing @ 0x34408e
// > PlayerObject::hitGround @ 0x34443e
// > PlayerObject::updateRobotAnimationSpeed @ 0x344832
// > PlayerObject::toggleSpiderMode @ 0x346cfa
// > PlayerObject::toggleRobotMode @ 0x3475d0
// > PlayerObject::toggleRobotMode @ 0x3475e6
// > PlayerObject::ringJump @ 0x34e5ce
// > GJRobotSprite::init @ 0x4b8776
//
// 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
//
int __fastcall CCAnimatedSprite::runAnimation(int a1, int a2)
{
SpriteAnimationManager *v2; // r6
_DWORD v4[2]; // [sp+0h] [bp-8h] BYREF
v4[0] = a1;
v4[1] = a2;
v2 = *(SpriteAnimationManager **)(a1 + 516);
sub_775C20(v4, a2);
SpriteAnimationManager::runAnimation(v2, (std::string)v4);
return sub_774008(v4);
}