//
// SpriteAnimationManager::offsetCurrentAnimation from 0x3d7ed8 to 0x3d7f0c (52 bytes)
//
// 2 xrefs:
// > PlayerObject::playDynamicSpiderRun @ 0x43b752
// > AnimatedGameObject::updateObjectAnimation @ 0x4ec57a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:46:45 +0000
//
_BYTE *__fastcall SpriteAnimationManager::offsetCurrentAnimation(SpriteAnimationManager *this, float a2)
{
_BYTE *result; // r0
_BYTE *v4; // r4
result = (_BYTE *)cocos2d::CCNode::getActionByTag(*(cocos2d::CCNode **)(*((_DWORD *)this + 66) + 536), 1);
v4 = result;
if ( result )
{
if ( result[76] )
(*(void (__fastcall **)(_BYTE *, _DWORD))(*(_DWORD *)result + 52))(result, 0);
return (_BYTE *)(*(int (__fastcall **)(_BYTE *, _DWORD))(*(_DWORD *)v4 + 52))(v4, LODWORD(a2));
}
return result;
}