// // ColorChannelSprite::updateBlending from 0x8a34e8 to 0x8a3620 (312 bytes) // // 3 xrefs: // > ColorChannelSprite::updateValues @ 0x8a366c // > ColorChannelSprite::updateValues @ 0x8a3720 // > @ 0x5e7d0 // // 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 ColorChannelSprite::updateBlending(ColorChannelSprite *a1, bool a2) { _BOOL4 v2; // w20 cocos2d::CCLabelBMFont *m_blendingLabel; // x0 cocos2d::CCLabelBMFont *v5; // x0 cocos2d::CCLabelBMFont *v6; // x23 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x24 const cocos2d::CCSize *v8; // x0 float v9; // [xsp+50h] [xbp+50h] cocos2d::CCPoint v10; // [xsp+70h] [xbp+70h] BYREF v2 = a2; m_blendingLabel = a1->m_blendingLabel; if ( a2 ) { if ( !m_blendingLabel ) { v5 = cocos2d::CCLabelBMFont::create(); a1->m_blendingLabel = v5; a1->addChild(a1, v5); v6 = a1->m_blendingLabel; setPosition = v6->setPosition; v9 = (float)(a1->getContentSize(a1)->width * 0.5) + -10.0; v8 = a1->getContentSize(a1); cocos2d::CCPoint::CCPoint(&v10, v9, (float)(v8->height * 0.5) + 12.0); setPosition(v6, &v10); a1->m_blendingLabel->setScale(a1->m_blendingLabel, 0.5); m_blendingLabel = a1->m_blendingLabel; } } else if ( !m_blendingLabel ) { return; } m_blendingLabel->setVisible(m_blendingLabel, v2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source