//
// cocos2d::CCSequence::update from 0x180037430 to 0x180037544 (276 bytes)
//
// 5 xrefs:
// > ??> @ 0x1800e9398
// > ??> @ 0x180135580
// > ??> @ 0x180135590
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b0ae0
//
// 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 __fastcall cocos2d::CCSequence::update(cocos2d::CCSequence *this, float a2)
{
unsigned int v3; // edi
int v4; // eax
__int64 v5; // rcx
__int64 v6; // rcx
__int64 v7; // rcx
__int64 v8; // rcx
if ( *((float *)this + 28) > a2 )
{
v3 = 0;
if ( *((_DWORD *)this + 29) == 1 )
{
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 13) + 32LL))(*((_QWORD *)this + 13));
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 13) + 88LL))(*((_QWORD *)this + 13));
}
goto LABEL_9;
}
v3 = 1;
v4 = *((_DWORD *)this + 29);
if ( v4 == -1 )
{
(*(void (__fastcall **)(_QWORD, cocos2d::CCNode *))(**((_QWORD **)this + 12) + 80LL))(
*((_QWORD *)this + 12),
this->m_pTarget);
v5 = *((_QWORD *)this + 12);
LABEL_8:
(*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 32LL))(v5);
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 12) + 88LL))(*((_QWORD *)this + 12));
goto LABEL_9;
}
if ( !v4 )
{
v5 = *((_QWORD *)this + 12);
goto LABEL_8;
}
LABEL_9:
if ( v3 != *((_DWORD *)this + 29) )
goto LABEL_12;
v6 = *((_QWORD *)this + v3 + 12);
if ( (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v6 + 72LL))(v6) )
return;
if ( v3 != *((_DWORD *)this + 29) )
{
LABEL_12:
v7 = *((_QWORD *)this + v3 + 12);
(*(void (__fastcall **)(__int64, cocos2d::CCNode *))(*(_QWORD *)v7 + 80LL))(v7, this->m_pTarget);
}
v8 = *((_QWORD *)this + v3 + 12);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v8 + 32LL))(v8);
*((_DWORD *)this + 29) = v3;
}