//
// cocos2d::CCActionTween::update from 0x1003a8e98 to 0x1003a8ee0 (72 bytes)
//
// 1 xrefs:
// > ??> @ 0x10080cf58
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void __fastcall cocos2d::CCActionTween::update(cocos2d::CCActionTween *a1, float a2)
{
int m_nIntTag; // w1
cocos2d::CCNode *m_pTarget; // x0
std::string *p_m_strKey; // x1
m_nIntTag = a1->m_nIntTag;
m_pTarget = a1->m_pTarget;
a2 = a1->m_fTo - (float)(a1->m_fDelta * (float)(1.0 - a2));
if ( m_nIntTag )
{
((void (__fastcall *)(cocos2d::CCNode *, float))m_pTarget->updateTweenActionInt)(m_pTarget, a2);
}
else
{
p_m_strKey = &a1->m_strKey;
if ( a1->m_strKey.m_data.m_short.shortStorage.__elems_[22] < 0 )
p_m_strKey = (std::string *)p_m_strKey->m_data.m_long.capacitym1;
((void (__fastcall *)(cocos2d::CCNode *, std::string *, __n128))m_pTarget->updateTweenAction)(
m_pTarget,
p_m_strKey,
*(__n128 *)&a2);
}
}