// // cocos2d::CCParticleSystem::updateBlendFunc from 0x1007caf20 to 0x1007caf8a (106 bytes) // // 13 xrefs: // > @ 0x10093da20 // > @ 0x10093e0e0 // > @ 0x10093e7a0 // > @ 0x10093ee60 // > @ 0x10093f520 // > @ 0x10093fbe0 // > @ 0x1009402a0 // > @ 0x100940960 // > @ 0x100941020 // > @ 0x1009416e0 // > @ 0x100941da0 // > @ 0x10097e8c0 // > @ 0x100996a38 // // 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::CCParticleSystem::updateBlendFunc(cocos2d::CCParticleSystem *a1) { cocos2d::CCTexture2D *m_pTexture; // rdi bool hasPremultipliedAlpha; // al m_pTexture = a1->m_pTexture; if ( m_pTexture ) { hasPremultipliedAlpha = cocos2d::CCTexture2D::hasPremultipliedAlpha(m_pTexture); a1->m_bOpacityModifyRGB = 0; if ( a1->m_pTexture ) { if ( a1->m_tBlendFunc.src == 1 && a1->m_tBlendFunc.dst == 771 ) { if ( hasPremultipliedAlpha ) a1->m_bOpacityModifyRGB = 1; else a1->m_tBlendFunc = (cocos2d::ccBlendFunc)0x30300000302LL; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source