//
// GJActionManager::updateInternalActions from 0x69dff4 to 0x69e068 (116 bytes)
//
// 2 xrefs:
// > PlayerObject::updateInternalActions @ 0x439c94
// > GJActionManager::stopAllInternalActions @ 0x69e06c
//
// 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 11:56:20 +0000
//
int __fastcall GJActionManager::updateInternalActions(cocos2d::CCDictionary **this, float a2, int a3)
{
int result; // r0
_DWORD *v7; // r2
int *v8; // r4
int *v9; // r5
int v10; // r3
int v11; // t1
int v12; // r10
int *v13; // r6
int v14; // r0
int v15; // r3
result = cocos2d::CCDictionary::allKeys(*(this + 66));
if ( result )
{
v7 = *(_DWORD **)(result + 52);
if ( *v7 )
{
v8 = (int *)v7[3];
v9 = &v8[*v7 - 1];
while ( v8 <= v9 )
{
v11 = *v8++;
v10 = v11;
if ( !v11 )
break;
v12 = *(_DWORD *)(v10 + 52);
v13 = (int *)cocos2d::CCDictionary::objectForKey(*(this + 66), v12);
v14 = (*(int (__fastcall **)(int *))(*v13 + 40))(v13);
v15 = *v13;
if ( v14 || a3 )
{
(*(void (__fastcall **)(int *))(v15 + 48))(v13);
result = cocos2d::CCDictionary::removeObjectForKey(*(this + 66), v12);
}
else
{
result = (*(int (__fastcall **)(int *, _DWORD))(v15 + 52))(v13, LODWORD(a2));
}
}
}
}
return result;
}