//
// cocos2d::CCBezierBy::update from 0xac0d94 to 0xac0f88 (500 bytes)
//
// 3 xrefs:
// > ??> @ 0x961e0
// > ??> @ 0x11fe768
// > ??> @ 0x11fe7f8
//
// 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 cocos2d::CCBezierBy::update(cocos2d::CCBezierBy *a1, float a2)
{
float v4; // s8
float v5; // s13
float v6; // s14
float v7; // s12
float v8; // s5
float v9; // s10
float v10; // s14
float v11; // s8
const cocos2d::CCPoint *v12; // x0
float v13; // s0
float v14; // s1
float v15; // s0
float v16; // s1
float v17; // [xsp+90h] [xbp+90h]
int m_nLuaID; // [xsp+A0h] [xbp+A0h]
float v19; // [xsp+B0h] [xbp+B0h]
int m_nTag; // [xsp+C0h] [xbp+C0h]
float v21; // [xsp+D0h] [xbp+D0h]
cocos2d::CCPoint v22; // [xsp+E8h] [xbp+E8h] BYREF
__int64 v23; // [xsp+F0h] [xbp+F0h] BYREF
__int64 v24; // [xsp+F8h] [xbp+F8h] BYREF
cocos2d::CCPoint v25; // [xsp+100h] [xbp+100h] BYREF
if ( a1->m_pTarget )
{
v4 = 1.0 - a2;
v5 = *(float *)&a1[1].__vftable;
v6 = *((float *)&a1->m_bFirstTick + 1);
v19 = *(float *)&a1[1].m_uID;
m_nTag = a1[1].cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag;
v17 = *((float *)&a1[1].__vftable + 1);
m_nLuaID = a1[1].m_nLuaID;
v7 = (float)(a2 * 3.0) * (float)(v4 * v4);
v8 = powf(1.0 - a2, 3.0);
v9 = v4 * (float)((float)(a2 * a2) * 3.0);
v10 = (float)((float)((float)(v17 * v7) + (float)(v8 * 0.0)) + (float)(*(float *)&m_nLuaID * v9))
+ (float)(v6 * powf(a2, 3.0));
v11 = powf(v4, 3.0);
v21 = (float)((float)((float)(v19 * v7) + (float)(v11 * 0.0)) + (float)(*(float *)&m_nTag * v9))
+ (float)(v5 * powf(a2, 3.0));
v12 = a1->m_pTarget->getPosition(a1->m_pTarget);
cocos2d::CCPoint::CCPoint(&v22, v12);
cocos2d::CCPoint::operator-(&v23, &v22, &a1[1].m_eObjType);
cocos2d::CCPoint::operator+(&v25, &a1[1].m_uReference, &v23);
cocos2d::CCPoint::operator=(&a1[1].m_uReference, v13, v14);
cocos2d::CCPoint::CCPoint(&v25, v10, v21);
cocos2d::CCPoint::operator+(&v24, &a1[1].m_uReference, &v25);
v15 = ((float (__fastcall *)(cocos2d::CCNode *, __int64 *))a1->m_pTarget->setPosition)(a1->m_pTarget, &v24);
cocos2d::CCPoint::operator=(&a1[1].m_eObjType, v15, v16);
}
}