// // cocos2d::CCParticleSystem::updateBlendFunc from 0xafd5c4 to 0xafd644 (128 bytes) // // 14 xrefs: // > @ 0xbf940 // > @ 0x1212418 // > @ 0x1212ac8 // > @ 0x1213178 // > @ 0x1213828 // > @ 0x1213ed8 // > @ 0x1214588 // > @ 0x1214c38 // > @ 0x12152e8 // > @ 0x1215998 // > @ 0x1216048 // > @ 0x12166f8 // > @ 0x1216de8 // > @ 0x12178b8 // // 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 cocos2d::CCParticleSystem::updateBlendFunc(cocos2d::CCParticleSystem *a1) { cocos2d::CCTexture2D *m_pTexture; // x0 bool hasPremultipliedAlpha; // w0 m_pTexture = a1->m_pTexture; if ( m_pTexture ) { hasPremultipliedAlpha = cocos2d::CCTexture2D::hasPremultipliedAlpha(m_pTexture); a1->m_bOpacityModifyRGB = 0; if ( a1->m_pTexture ) { if ( *(_QWORD *)&a1->m_tBlendFunc == 0x30300000001LL ) { if ( hasPremultipliedAlpha ) { a1->m_bOpacityModifyRGB = 1; } else { a1->m_tBlendFunc.src = 770; a1->m_tBlendFunc.dst = 771; } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source