// // SetupGradientPopup::determineStartValues from 0x9f9e28 to 0x9f9f44 (284 bytes) // // 2 xrefs: // > @ 0x9fab0 // > @ 0x11cfb30 // // 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 SetupGradientPopup::determineStartValues(SetupGradientPopup *a1) { EffectGameObject *m_gameObject; // x0 cocos2d::CCArray *m_gameObjects; // x22 unsigned int v4; // w19 bool v5; // cf unsigned int v6; // w1 int v7; // w20 int v8; // w21 cocos2d::CCArray *i; // x0 __int64 v10; // x0 SetupTriggerPopup::determineStartValues(a1); m_gameObject = a1->m_gameObject; if ( m_gameObject ) { m_gameObjects = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)m_gameObject); cocos2d::CCArray::addObject(m_gameObjects, a1->m_gameObject); } else { m_gameObjects = a1->m_gameObjects; } if ( m_gameObjects && (unsigned int)cocos2d::CCArray::count(m_gameObjects) ) { v4 = 0; v5 = (unsigned int)cocos2d::CCArray::count(m_gameObjects) == 0; v6 = 0; v7 = -99999; v8 = -99999; for ( i = m_gameObjects; !v5; i = m_gameObjects ) { v10 = cocos2d::CCArray::objectAtIndex(i, v6); if ( v8 == -99999 ) { v8 = *(_DWORD *)(v10 + 1824); } else if ( v8 != *(_DWORD *)(v10 + 1824) ) { v8 = -9991; } if ( v7 == -99999 ) { v7 = *(_DWORD *)(v10 + 1820); ++v4; } else { ++v4; if ( v7 != *(_DWORD *)(v10 + 1820) ) v7 = -9991; } v5 = v4 >= (unsigned int)cocos2d::CCArray::count(m_gameObjects); v6 = v4; } if ( v8 != -9991 ) a1->m_blendingMode = v8; if ( v7 != -9991 ) a1->m_blendingLayer = v7; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source