//
// cocos2d::CCActionManager::update from 0x7c047c to 0x7c0524 (168 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:20 +0000
//
void __fastcall cocos2d::CCActionManager::update(cocos2d::CCActionManager *this, float a2)
{
int v3; // r5
_DWORD *v5; // r3
unsigned int v6; // r2
int v7; // r3
int v8; // r3
int v9; // r8
cocos2d::CCObject *v10; // r0
int v11; // r3
cocos2d::CCAction *v12; // r1
int v13; // r2
_DWORD **v14; // r1
v3 = *((_DWORD *)this + 13);
while ( 1 )
{
*((_DWORD *)this + 14) = v3;
if ( !v3 )
break;
*((_BYTE *)this + 60) = 0;
if ( !*(_BYTE *)(v3 + 17) )
{
*(_DWORD *)(v3 + 8) = *(unsigned __int8 *)(v3 + 17);
while ( 1 )
{
v5 = *((_DWORD **)this + 14);
v6 = v5[2];
if ( v6 >= *(_DWORD *)*v5 )
break;
v5[3] = *(_DWORD *)(*(_DWORD *)(*v5 + 12) + 4 * v6);
v7 = *((_DWORD *)this + 14);
if ( *(_DWORD *)(v7 + 12) )
{
*(_BYTE *)(v7 + 16) = 0;
(*(void (__fastcall **)(_DWORD, _DWORD))(**(_DWORD **)(*((_DWORD *)this + 14) + 12) + 52))(
*(_DWORD *)(*((_DWORD *)this + 14) + 12),
LODWORD(a2));
v8 = *((_DWORD *)this + 14);
v9 = *(unsigned __int8 *)(v8 + 16);
v10 = *(cocos2d::CCObject **)(v8 + 12);
if ( *(_BYTE *)(v8 + 16) )
{
cocos2d::CCObject::release(v10);
}
else if ( (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v10 + 40))(v10) )
{
(*(void (__fastcall **)(_DWORD))(**(_DWORD **)(*((_DWORD *)this + 14) + 12) + 48))(*(_DWORD *)(*((_DWORD *)this + 14) + 12));
v11 = *((_DWORD *)this + 14);
v12 = *(cocos2d::CCAction **)(v11 + 12);
*(_DWORD *)(v11 + 12) = v9;
cocos2d::CCActionManager::removeAction(this, v12, v13);
}
*(_DWORD *)(*((_DWORD *)this + 14) + 12) = 0;
}
++*(_DWORD *)(*((_DWORD *)this + 14) + 8);
}
}
v3 = *(_DWORD *)(v3 + 28);
if ( *((_BYTE *)this + 60) )
{
v14 = *((_DWORD ***)this + 14);
if ( !**v14 )
cocos2d::CCActionManager::deleteHashElement((int)this, (int)v14);
}
}
}