// // ColorChannelSprite::updateBlending from 0x1002d8f70 to 0x1002d9079 (265 bytes) // // 1 xrefs: // > ColorChannelSprite::updateValues @ 0x1002d90bc // // 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 __fastcall ColorChannelSprite::updateBlending(ColorChannelSprite *a1, bool a2) { cocos2d::CCLabelBMFont *m_blendingLabel; // rdi cocos2d::CCLabelBMFont *v4; // rax cocos2d::CCLabelBMFont *v5; // r14 __int64 v6; // rax float v7[2]; // [rsp+4h] [rbp-2Ch] BYREF float v8; // [rsp+Ch] [rbp-24h] m_blendingLabel = a1->m_blendingLabel; if ( a2 ) { if ( !m_blendingLabel ) { v4 = cocos2d::CCLabelBMFont::create_3("•", "bigFont.fnt"); a1->m_blendingLabel = v4; ((void (__fastcall *)(ColorChannelSprite *, cocos2d::CCLabelBMFont *))a1->addChild)(a1, v4); v5 = a1->m_blendingLabel; v8 = (float)(*(float *)((__int64 (__fastcall *)(ColorChannelSprite *))a1->getContentSize)(a1) * 0.5) + -10.0; v6 = ((__int64 (__fastcall *)(ColorChannelSprite *))a1->getContentSize)(a1); sub_10028CBE0(v7, v8, (float)(*(float *)(v6 + 4) * 0.5) + 12.0); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, float *))v5->setPosition)(v5, v7); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, float))a1->m_blendingLabel->setScale)(a1->m_blendingLabel, 0.5); m_blendingLabel = a1->m_blendingLabel; } } else if ( !m_blendingLabel ) { return; } ((void (__fastcall *)(cocos2d::CCLabelBMFont *, bool))m_blendingLabel->setVisible)(m_blendingLabel, a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source