//
// cocos2d::CCActionManager::removeActionAtIndex from 0x7bfc82 to 0x7bfcdc (90 bytes)
//
// 2 xrefs:
// > cocos2d::CCActionManager::removeAction @ 0x7c0450
// > cocos2d::CCActionManager::removeActionByTag @ 0x7c05f8
//
// 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:19 +0000
//
void __fastcall cocos2d::CCActionManager::removeActionAtIndex(int a1, unsigned int a2, _DWORD *a3)
{
cocos2d::CCObject *v6; // r0
unsigned int v7; // r3
v6 = *(cocos2d::CCObject **)(*(_DWORD *)(*a3 + 12) + 4 * a2);
if ( v6 == (cocos2d::CCObject *)a3[3] && !*((_BYTE *)a3 + 16) )
{
cocos2d::CCObject::retain(v6);
*((_BYTE *)a3 + 16) = 1;
}
cocos2d::ccArrayRemoveObjectAtIndex(*a3, a2, 1);
v7 = a3[2];
if ( v7 >= a2 )
a3[2] = v7 - 1;
if ( !*(_DWORD *)*a3 )
{
if ( *(_DWORD **)(a1 + 56) == a3 )
*(_BYTE *)(a1 + 60) = 1;
else
cocos2d::CCActionManager::deleteHashElement(a1, (int)a3);
}
}