// // cocos2d::CCActionManager::update from 0x100234810 to 0x100234938 (296 bytes) // // 1 xrefs: // > @ 0x1008e25d0 // // 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 cocos2d::CCActionManager::update(cocos2d::CCActionManager *a1, float a2) { cocos2d::_hashElement *m_pTargets; // r14 unsigned int *v4; // rax unsigned int v5; // ecx unsigned int v6; // edx cocos2d::_hashElement *v7; // rsi __int64 v8; // rdi cocos2d::_hashElement *m_pCurrentTarget; // rax cocos2d::CCObject *v10; // rdi cocos2d::_hashElement *v11; // rax cocos2d::CCAction *v12; // rsi m_pTargets = a1->m_pTargets; while ( m_pTargets ) { a1->m_pCurrentTarget = m_pTargets; a1->m_bCurrentTargetSalvaged = 0; if ( *((_BYTE *)m_pTargets + 33) || (*((_DWORD *)m_pTargets + 4) = 0, v4 = *(unsigned int **)m_pTargets, (v5 = **(_DWORD **)m_pTargets) == 0) ) { m_pTargets = *((cocos2d::_hashElement **)m_pTargets + 7); } else { v6 = 0; v7 = m_pTargets; do { v8 = *(_QWORD *)(*((_QWORD *)v4 + 2) + 8LL * v6); *((_QWORD *)v7 + 3) = v8; if ( v8 ) { *((_BYTE *)v7 + 32) = 0; (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v8 + 104LL))(v8, a2); m_pCurrentTarget = a1->m_pCurrentTarget; v10 = *((cocos2d::CCObject **)m_pCurrentTarget + 3); if ( *((_BYTE *)m_pCurrentTarget + 32) == 1 ) { cocos2d::CCObject::release(v10); } else if ( ((unsigned __int8 (__fastcall *)(cocos2d::CCObject *))v10->__vftable[1].copyWithZone)(v10) ) { (*(void (__fastcall **)(_QWORD))(**((_QWORD **)a1->m_pCurrentTarget + 3) + 96LL))(*((_QWORD *)a1->m_pCurrentTarget + 3)); v11 = a1->m_pCurrentTarget; v12 = *((cocos2d::CCAction **)v11 + 3); *((_QWORD *)v11 + 3) = 0; cocos2d::CCActionManager::removeAction(a1, v12); } v7 = a1->m_pCurrentTarget; *((_QWORD *)v7 + 3) = 0; v4 = *(unsigned int **)v7; v5 = **(_DWORD **)v7; } v6 = *((_DWORD *)v7 + 4) + 1; *((_DWORD *)v7 + 4) = v6; } while ( v6 < v5 ); m_pTargets = *((cocos2d::_hashElement **)m_pTargets + 7); if ( a1->m_bCurrentTargetSalvaged && !**(_DWORD **)v7 ) cocos2d::CCActionManager::deleteHashElement(a1, v7); } } a1->m_pCurrentTarget = nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source