//
// CCAnimatedSprite::runAnimation from 0x68c8cc to 0x68c990 (196 bytes)
//
// 27 xrefs:
// > CCAnimatedSprite::tweenToAnimationFinished @ 0x68d378
// > PlayerObject::updateDashArt @ 0x7552bc
// > PlayerObject::updateDashArt @ 0x755598
// > PlayerObject::propellPlayer @ 0x756380
// > PlayerObject::propellPlayer @ 0x7563fc
// > PlayerObject::playDynamicSpiderRun @ 0x7575c8
// > PlayerObject::playDynamicSpiderRun @ 0x75761c
// > PlayerObject::playDynamicSpiderRun @ 0x757704
// > PlayerObject::updateMove @ 0x757984
// > PlayerObject::updateMove @ 0x758434
// > PlayerObject::updateMove @ 0x758830
// > PlayerObject::stopDashing @ 0x758d20
// > PlayerObject::toggleRobotMode @ 0x7593a0
// > PlayerObject::toggleRobotMode @ 0x759450
// > PlayerObject::toggleSpiderMode @ 0x7598f4
// > PlayerObject::hitGround @ 0x75a744
// > PlayerObject::animationFinished @ 0x75c708
// > PlayerObject::animationFinished @ 0x75c7d8
// > PlayerObject::animationFinished @ 0x75c80c
// > PlayerObject::animationFinished @ 0x75c8c4
// > PlayerObject::animationFinished @ 0x75c94c
// > PlayerObject::updateRobotAnimationSpeed @ 0x75cb80
// > PlayerObject::createRobot @ 0x75e26c
// > PlayerObject::createSpider @ 0x75e580
// > PlayerObject::ringJump @ 0x76a6b0
// > GJRobotSprite::init @ 0xa3d29c
// > ??> @ 0x94d20
//
// 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::runAnimation(__int64 a1, char *a2)
{
char v3; // w1
__int64 v4; // x21
__int64 v5; // x0
__int64 v6; // x1
__int64 v8; // [xsp+30h] [xbp+30h] BYREF
__int64 v9; // [xsp+38h] [xbp+38h]
void *v10; // [xsp+40h] [xbp+40h]
v8 = 0;
v3 = *a2;
v9 = 0;
v10 = nullptr;
v4 = *(_QWORD *)(a1 + 648);
if ( (v3 & 1) != 0 )
{
std::string::__init(&v8, *((void **)a2 + 2), *((_QWORD *)a2 + 1));
}
else
{
v5 = *(_QWORD *)a2;
v6 = *((_QWORD *)a2 + 1);
v10 = *((void **)a2 + 2);
v8 = v5;
v9 = v6;
}
SpriteAnimationManager::runAnimation(v4, &v8);
if ( (v8 & 1) != 0 )
operator delete(v10);
return _stack_chk_guard;
}