//
// cocos2d::CCActionManager::update from 0x1800392d0 to 0x180039402 (306 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800f00c8
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bad68
//
// 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:36 +0000
//
void __fastcall cocos2d::CCActionManager::update(cocos2d::CCActionManager *this, float a2)
{
__int64 v2; // rsi
__int64 v4; // rdx
_DWORD *i; // r8
__int64 v6; // rax
__int64 v7; // rax
cocos2d::CCObject *v8; // rcx
__int64 v9; // rax
struct cocos2d::CCAction *v10; // rdx
v2 = *((_QWORD *)this + 7);
if ( v2 )
{
do
{
*((_QWORD *)this + 8) = v2;
v4 = v2;
*((_BYTE *)this + 72) = 0;
if ( !*(_BYTE *)(v2 + 33) )
{
*(_DWORD *)(v2 + 16) = 0;
v4 = *((_QWORD *)this + 8);
for ( i = *(_DWORD **)v4; *(_DWORD *)(v4 + 16) < **(_DWORD **)v4; i = *(_DWORD **)v4 )
{
*(_QWORD *)(v4 + 24) = *(_QWORD *)(*((_QWORD *)i + 2) + 8LL * *(unsigned int *)(v4 + 16));
v6 = *((_QWORD *)this + 8);
if ( *(_QWORD *)(v6 + 24) )
{
*(_BYTE *)(v6 + 32) = 0;
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(*((_QWORD *)this + 8) + 24LL) + 96LL))(*(_QWORD *)(*((_QWORD *)this + 8) + 24LL));
v7 = *((_QWORD *)this + 8);
v8 = *(cocos2d::CCObject **)(v7 + 24);
if ( *(_BYTE *)(v7 + 32) )
{
cocos2d::CCObject::release(v8);
}
else if ( (*(unsigned __int8 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v8 + 72LL))(v8) )
{
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(*((_QWORD *)this + 8) + 24LL) + 88LL))(*(_QWORD *)(*((_QWORD *)this + 8) + 24LL));
v9 = *((_QWORD *)this + 8);
v10 = *(struct cocos2d::CCAction **)(v9 + 24);
*(_QWORD *)(v9 + 24) = 0;
cocos2d::CCActionManager::removeAction(this, v10);
}
*(_QWORD *)(*((_QWORD *)this + 8) + 24LL) = 0;
}
++*(_DWORD *)(*((_QWORD *)this + 8) + 16LL);
v4 = *((_QWORD *)this + 8);
}
}
v2 = *(_QWORD *)(v2 + 56);
if ( *((_BYTE *)this + 72) )
{
if ( !**(_DWORD **)v4 )
cocos2d::CCActionManager::deleteHashElement(this, (struct cocos2d::_hashElement *)v4);
}
}
while ( v2 );
*((_QWORD *)this + 8) = 0;
}
else
{
*((_QWORD *)this + 8) = 0;
}
}