//
// SpriteAnimationManager::offsetCurrentAnimation from 0x2f39f8 to 0x2f3a2c (52 bytes)
//
// 2 xrefs:
// > PlayerObject::playDynamicSpiderRun @ 0x342d7c
// > AnimatedGameObject::updateObjectAnimation @ 0x3e7fc2
//
// 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 SpriteAnimationManager::offsetCurrentAnimation(SpriteAnimationManager *a1, float a2)
{
cocos2d::CCAction *ActionByTag; // r0
cocos2d::CCAction *v4; // r4
ActionByTag = cocos2d::CCNode::getActionByTag(a1->m_sprite->m_sprite, 1);
v4 = ActionByTag;
if ( ActionByTag )
{
if ( LOBYTE(ActionByTag[1].m_nLuaID) )
((void (__fastcall *)(cocos2d::CCAction *, _DWORD))ActionByTag->step)(ActionByTag, 0);
((void (__fastcall *)(cocos2d::CCAction *, _DWORD))v4->step)(v4, LODWORD(a2));
}
}