//
// GJActionManager::stopAllInternalActions from 0x1006097c0 to 0x100609858 (152 bytes)
//
// 1 xrefs:
// > PlayerObject::resetObject @ 0x100411f18
//
// 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 GJActionManager::stopAllInternalActions(GJActionManager *a1)
{
cocos2d::CCArray *v1; // rax
cocos2d::ccArray *data; // rax
unsigned __int64 arr; // r12
unsigned __int64 v4; // r13
intptr_t v5; // r14
cocos2d::CCObject *v6; // r15
v1 = cocos2d::CCDictionary::allKeys(a1->m_internalActions);
if ( v1 )
{
data = v1->data;
if ( data->num )
{
arr = (unsigned __int64)data->arr;
v4 = arr + 8LL * data->num - 8;
do
{
if ( !*(_QWORD *)arr )
break;
v5 = *(int *)(*(_QWORD *)arr + 56LL);
v6 = cocos2d::CCDictionary::objectForKey(a1->m_internalActions, v5);
((void (__fastcall *)(cocos2d::CCObject *))v6->__vftable[1].copyWithZone)(v6);
((void (__fastcall *)(cocos2d::CCObject *))v6->__vftable[1].~CCObject_0)(v6);
cocos2d::CCDictionary::removeObjectForKey(a1->m_internalActions, v5);
arr += 8LL;
}
while ( arr <= v4 );
}
}
}