//
// cocos2d::CCBezierBy::update from 0x180037390 to 0x1800374b8 (296 bytes)
//
// 6 xrefs:
// > ??> @ 0x1800ef9b0
// > ??> @ 0x1800efa28
// > ??> @ 0x18013eca8
// > ??> @ 0x18013ecb8
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bab04
//
// This function is hookable on this platform (idp: pc, 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 11:21:35 +0000
//
void __fastcall cocos2d::CCBezierBy::update(cocos2d::CCBezierBy *this, float a2)
{
__int64 v2; // rbx
float v4; // xmm7_4
float v5; // xmm6_4
_DWORD *v6; // rax
float *v7; // rax
float v8[4]; // [rsp+30h] [rbp-48h] BYREF
int v9; // [rsp+80h] [rbp+8h] BYREF
int v10; // [rsp+90h] [rbp+18h] BYREF
float v11; // [rsp+98h] [rbp+20h] BYREF
v2 = *((_QWORD *)this + 8);
if ( v2 )
{
v4 = sub_180031ED0(0.0, *((float *)this + 26), *((float *)this + 28), *((float *)this + 24), a2).m128_f32[0];
v5 = sub_180031ED0(0.0, *((float *)this + 27), *((float *)this + 29), *((float *)this + 25), a2).m128_f32[0];
v6 = (_DWORD *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 200LL))(v2);
cocos2d::cc_timeval::operator=(&v10, v6);
cocos2d::CCSize::operator-((float *)&v10, &v11, (float *)this + 32);
cocos2d::CCSize::operator+((float *)this + 30, v8, &v11);
cocos2d::CCSize::operator=((_DWORD *)this + 30, v8);
v7 = kmVec2Fill(v8, v4, v5);
cocos2d::CCSize::operator+((float *)this + 30, (float *)&v9, v7);
(*(void (__fastcall **)(_QWORD, int *))(**((_QWORD **)this + 8) + 184LL))(*((_QWORD *)this + 8), &v9);
cocos2d::CCSize::operator=((_DWORD *)this + 32, &v9);
}
}