// // cocos2d::CCActionManager::update from 0x5b9bc8 to 0x5b9c68 (160 bytes) // // 0 xrefs: // // 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 cocos2d::CCActionManager::update(cocos2d::CCActionManager *a1, float a2) { cocos2d::_hashElement *m_pTargets; // r5 int v5; // r3 cocos2d::_hashElement *m_pCurrentTarget; // r3 unsigned int v7; // r2 int v8; // r0 cocos2d::_hashElement *v9; // r3 int v10; // r8 cocos2d::CCObject *v11; // r0 cocos2d::_hashElement *v12; // r3 cocos2d::CCAction *v13; // r1 cocos2d::_hashElement *v14; // r1 m_pTargets = a1->m_pTargets; while ( 1 ) { a1->m_pCurrentTarget = m_pTargets; if ( !m_pTargets ) break; v5 = *((unsigned __int8 *)m_pTargets + 17); a1->m_bCurrentTargetSalvaged = 0; if ( !v5 ) { *((_DWORD *)m_pTargets + 2) = 0; while ( 1 ) { m_pCurrentTarget = a1->m_pCurrentTarget; v7 = *((_DWORD *)m_pCurrentTarget + 2); if ( v7 >= **(_DWORD **)m_pCurrentTarget ) break; v8 = *(_DWORD *)(*(_DWORD *)(*(_DWORD *)m_pCurrentTarget + 12) + 4 * v7); *((_DWORD *)m_pCurrentTarget + 3) = v8; if ( v8 ) { *((_BYTE *)m_pCurrentTarget + 16) = 0; (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v8 + 52))(v8, LODWORD(a2)); v9 = a1->m_pCurrentTarget; v10 = *((unsigned __int8 *)v9 + 16); v11 = *((cocos2d::CCObject **)v9 + 3); if ( *((_BYTE *)v9 + 16) ) { cocos2d::CCObject::release(v11); } else if ( ((int (__fastcall *)(cocos2d::CCObject *))v11->__vftable[1].copyWithZone)(v11) ) { (*(void (__fastcall **)(_DWORD))(**((_DWORD **)a1->m_pCurrentTarget + 3) + 48))(*((_DWORD *)a1->m_pCurrentTarget + 3)); v12 = a1->m_pCurrentTarget; v13 = *((cocos2d::CCAction **)v12 + 3); *((_DWORD *)v12 + 3) = v10; cocos2d::CCActionManager::removeAction(a1, v13); } *((_DWORD *)a1->m_pCurrentTarget + 3) = 0; } ++*((_DWORD *)a1->m_pCurrentTarget + 2); } } m_pTargets = *((cocos2d::_hashElement **)m_pTargets + 7); if ( a1->m_bCurrentTargetSalvaged ) { v14 = a1->m_pCurrentTarget; if ( !**(_DWORD **)v14 ) cocos2d::CCActionManager::deleteHashElement(a1, v14); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source