//
// GJActionManager::updateInternalActions from 0xb530e4 to 0xb531c4 (224 bytes)
//
// 3 xrefs:
// > PlayerObject::updateInternalActions @ 0x755128
// > GJActionManager::stopAllInternalActions @ 0xb531cc
// > ??> @ 0xcef50
//
// This function is hookable on this platform (idp: arm, 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 13:02:00 +0000
//
__int64 __fastcall GJActionManager::updateInternalActions(cocos2d::CCDictionary **this, float a2, unsigned __int8 a3)
{
int v5; // w24
__int64 result; // x0
unsigned int *v7; // x1
__int64 *v8; // x20
__int64 *i; // x23
__int64 v10; // x21
__int64 v11; // x19
int v12; // w1
long double v13; // q0
v5 = a3;
result = cocos2d::CCDictionary::allKeys(*(this + 40));
if ( result )
{
v7 = *(unsigned int **)(result + 56);
result = *v7;
if ( (_DWORD)result )
{
v8 = *((__int64 **)v7 + 2);
for ( i = &v8[(unsigned int)result - 1]; i >= v8; ++v8 )
{
result = *v8;
if ( !*v8 )
break;
v10 = *(int *)(result + 56);
v11 = cocos2d::CCDictionary::objectForKey(*(this + 40), v10);
v12 = (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v11 + 80LL))(v11);
*(float *)&v13 = a2;
if ( v12 || v5 )
{
(*(void (__fastcall **)(__int64, long double))(*(_QWORD *)v11 + 96LL))(v11, v13);
result = cocos2d::CCDictionary::removeObjectForKey(*(this + 40), v10);
}
else
{
result = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v11 + 104LL))(v11, a2);
}
}
}
}
return result;
}