// // SetupGradientPopup::determineStartValues from 0x140421b80 to 0x140421c8e (270 bytes) // // 4 xrefs: // > @ 0x1405e4a68 // > @ 0x1406a05b8 // > @ 0x1406a05f4 // > @ 0x1406d953c // // 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) { __int64 v2; // rcx cocos2d::CCArray *m_gameObjects; // rsi unsigned int v4; // ebp int m_nLuaID; // edi int v6; // ebx struct cocos2d::CCObject *v7; // rax unsigned int m_uID; // eax SetupTriggerPopup::determineStartValues(a1); if ( a1->m_gameObject ) { m_gameObjects = (cocos2d::CCArray *)cocos2d::CCArray::create(v2); cocos2d::CCArray::addObject(m_gameObjects, a1->m_gameObject); } else { m_gameObjects = a1->m_gameObjects; } if ( m_gameObjects && cocos2d::CCArray::count(m_gameObjects) ) { v4 = 0; m_nLuaID = -99999; v6 = -99999; if ( !cocos2d::CCArray::count(m_gameObjects) ) goto LABEL_17; do { v7 = cocos2d::CCArray::objectAtIndex(m_gameObjects, v4); if ( m_nLuaID == -99999 ) { m_nLuaID = v7[33].m_nLuaID; } else if ( m_nLuaID != v7[33].m_nLuaID ) { m_nLuaID = -9991; } m_uID = v7[33].m_uID; if ( v6 == -99999 ) { v6 = m_uID; } else if ( v6 != m_uID ) { v6 = -9991; } ++v4; } while ( v4 < cocos2d::CCArray::count(m_gameObjects) ); if ( m_nLuaID != -9991 ) LABEL_17: a1->m_blendingMode = m_nLuaID; if ( v6 != -9991 ) a1->m_blendingLayer = v6; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source