//
// SpriteAnimationManager::offsetCurrentAnimation from 0x100724410 to 0x10072446e (94 bytes)
//
// 3 xrefs:
// > AnimatedGameObject::updateObjectAnimation @ 0x1001b71fb
// > PlayerObject::playDynamicSpiderRun @ 0x1004022ab
// > PlayerObject::playDynamicSpiderRun @ 0x1004023af
//
// 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; // rax
cocos2d::CCAction *v3; // rbx
ActionByTag = cocos2d::CCNode::getActionByTag(a1->m_sprite->m_sprite, 1);
if ( ActionByTag )
{
if ( LOBYTE(ActionByTag[1].m_uID) == 1 )
{
v3 = ActionByTag;
((void (__fastcall *)(cocos2d::CCAction *, double))ActionByTag->step)(ActionByTag, 0.0);
ActionByTag = v3;
}
((void (__fastcall *)(cocos2d::CCAction *, float))ActionByTag->step)(ActionByTag, a2);
}
}