//
// SpriteAnimationManager::offsetCurrentAnimation from 0x6af82c to 0x6af898 (108 bytes)
//
// 3 xrefs:
// > PlayerObject::playDynamicSpiderRun @ 0x7575e4
// > AnimatedGameObject::updateObjectAnimation @ 0x888968
// > ??> @ 0x98b48
//
// 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:50 +0000
//
_BYTE *__fastcall SpriteAnimationManager::offsetCurrentAnimation(SpriteAnimationManager *this, float a2)
{
_BYTE *result; // x0
_BYTE *v4; // x19
result = (_BYTE *)cocos2d::CCNode::getActionByTag(*(cocos2d::CCNode **)(*((_QWORD *)this + 40) + 656LL), 1);
v4 = result;
if ( result )
{
if ( result[88] )
(*(void (__fastcall **)(_BYTE *, float))(*(_QWORD *)result + 104LL))(result, 0.0);
return (_BYTE *)(*(__int64 (__fastcall **)(_BYTE *, float))(*(_QWORD *)v4 + 104LL))(v4, a2);
}
return result;
}