//
// SpriteAnimationManager::offsetCurrentAnimation from 0x1003245a4 to 0x100324620 (124 bytes)
//
// 3 xrefs:
// > PlayerObject::playDynamicSpiderRun @ 0x10021d1d8
// > PlayerObject::playDynamicSpiderRun @ 0x10021d1fc
// > AnimatedGameObject::updateObjectAnimation @ 0x100383db0
//
// 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
//
void __fastcall SpriteAnimationManager::offsetCurrentAnimation(SpriteAnimationManager *a1, float a2)
{
cocos2d::CCAction *ActionByTag; // x0
cocos2d::CCAction *v4; // x19
ActionByTag = cocos2d::CCNode::getActionByTag(a1->m_sprite->m_sprite, 1);
if ( ActionByTag )
{
v4 = ActionByTag;
if ( LOBYTE(ActionByTag[1].m_uID) == 1 )
((void (__fastcall *)(cocos2d::CCAction *, float))ActionByTag->step)(ActionByTag, 0.0);
((void (__fastcall *)(cocos2d::CCAction *, float))v4->step)(v4, a2);
}
}