// // GJEffectManager::updateColorEffects from 0x49a214 to 0x49a27a (102 bytes) // // 1 xrefs: // > GJEffectManager::updateEffects @ 0x49e672 // // 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 GJEffectManager::updateColorEffects(GJEffectManager *a1, float a2) { cocos2d::CCDictionary *m_unkObject148; // r3 cocos2d::CCDictElement *m_pElements; // r3 cocos2d::CCDictElement *next; // r4 cocos2d::CCObject *m_pObject; // r5 int m_uUnknown; // r3 char m_uID; // r2 cocos2d::CCDictElement *v9; // r2 m_unkObject148 = a1->m_unkObject148; if ( m_unkObject148 ) { m_pElements = m_unkObject148->m_pElements; if ( m_pElements ) next = (cocos2d::CCDictElement *)m_pElements->hh.next; else next = nullptr; while ( m_pElements ) { m_pObject = m_pElements->m_pObject; ColorAction::step((ColorAction *)m_pObject, a2); if ( !m_pObject[2].m_nTag ) { m_uUnknown = m_pObject[2].m_uUnknown; m_uID = m_pObject[1].m_uID; *(_WORD *)(m_uUnknown + 268) = HIWORD(m_pObject[1].__vftable); *(_BYTE *)(m_uUnknown + 270) = m_uID; *(float *)(m_uUnknown + 264) = *(float *)&m_pObject[1].m_nLuaID * 255.0; } if ( next ) v9 = (cocos2d::CCDictElement *)next->hh.next; else v9 = nullptr; m_pElements = next; next = v9; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source