// // ColorSelectPopup::onToggleTintMode from 0x73bdec to 0x73be84 (152 bytes) // // 4 xrefs: // > ColorSelectPopup::onDefault @ 0x73c4f4 // > @ 0xa52a0 // > ColorSelectPopup::init @ 0x73ed60 // > @ 0x122db70 // // 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 ColorSelectPopup::onToggleTintMode(ColorSelectPopup *a1, cocos2d::CCObject *a2) { EffectGameObject *m_gameObject; // x1 _BOOL4 v3; // w2 cocos2d::CCArray *m_gameObjects; // x1 unsigned int v6; // w20 __int64 v7; // x0 bool v8; // cf unsigned int v9; // w1 ColorAction *m_colorAction; // x0 m_gameObject = a1->m_gameObject; v3 = a1->m_blending != 1; a1->m_blending = v3; if ( m_gameObject ) { m_gameObject->m_usesBlending = v3; } else { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects ) { v6 = 0; while ( 1 ) { v8 = v6 >= (unsigned int)cocos2d::CCArray::count(m_gameObjects); v9 = v6++; if ( v8 ) break; v7 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v9); m_gameObjects = a1->m_gameObjects; *(_BYTE *)(v7 + 1471) = a1->m_blending != 0; } } else { m_colorAction = a1->m_colorAction; if ( m_colorAction ) m_colorAction->m_blending = v3; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source