//
// CCAnimatedSprite::runAnimation from 0x10033c100 to 0x10033c159 (89 bytes)
//
// 25 xrefs:
// > PlayerObject::createRobot @ 0x1003e93e4
// > PlayerObject::createSpider @ 0x1003e9789
// > PlayerObject::updateMove @ 0x1003ed649
// > PlayerObject::updateMove @ 0x1003ee538
// > PlayerObject::updateMove @ 0x1003ee66c
// > PlayerObject::stopDashing @ 0x1003ef332
// > PlayerObject::playDynamicSpiderRun @ 0x1003ef465
// > PlayerObject::playDynamicSpiderRun @ 0x1003ef56a
// > PlayerObject::playDynamicSpiderRun @ 0x1003ef5c0
// > PlayerObject::hitGround @ 0x1003f93d0
// > PlayerObject::updateDashArt @ 0x1003fe16e
// > PlayerObject::updateDashArt @ 0x1003fe21c
// > PlayerObject::ringJump @ 0x100402116
// > PlayerObject::toggleRobotMode @ 0x100405a2f
// > PlayerObject::toggleRobotMode @ 0x100405a86
// > PlayerObject::toggleSpiderMode @ 0x100405ec2
// > PlayerObject::propellPlayer @ 0x100407d2b
// > PlayerObject::propellPlayer @ 0x100407d68
// > PlayerObject::updateRobotAnimationSpeed @ 0x100408ac5
// > PlayerObject::animationFinished @ 0x10040a5e9
// > PlayerObject::animationFinished @ 0x10040a71f
// > PlayerObject::animationFinished @ 0x10040a765
// > PlayerObject::animationFinished @ 0x10040a8a7
// > PlayerObject::animationFinished @ 0x10040a8e9
// > GJRobotSprite::init @ 0x1006adc39
//
// 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::runAnimation(__int64 a1, __int128 *a2)
{
__int64 v2; // rbx
__int128 v3; // [rsp+0h] [rbp-20h] BYREF
void *__p; // [rsp+10h] [rbp-10h]
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);
}