// // cocos2d::CCSprite::updateBlendFunc from 0x18008d3f0 to 0x18008d445 (85 bytes) // // 7 xrefs: // > @ 0x1800ebc98 // > @ 0x1800ec170 // > @ 0x1800eccf0 // > @ 0x180103ba8 // > @ 0x180106ba0 // > @ 0x1801438a8 // > @ 0x1801b5ec8 // // 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 cocos2d::CCSprite::updateBlendFunc(cocos2d::CCSprite *this) { cocos2d::CCCamera *m_pobTexture; // rcx __int64 v3; // rdx m_pobTexture = (cocos2d::CCCamera *)this->m_pobTexture; if ( m_pobTexture && cocos2d::CCCamera::isDirty(m_pobTexture) ) { this->m_sBlendFunc.src = 1; LOBYTE(v3) = 1; } else { this->m_sBlendFunc.src = 770; v3 = 0; } this->m_sBlendFunc.dst = 771; ((void (__fastcall *)(cocos2d::CCRGBAProtocol *, __int64))this->setOpacityModifyRGB)( &this->cocos2d::CCRGBAProtocol, v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source