// // cocos2d::CCSpriteBatchNode::updateBlendFunc from 0x5e836a to 0x5e8394 (42 bytes) // // 2 xrefs: // > cocos2d::CCSpriteBatchNode::initWithTexture @ 0x5e83ce // > cocos2d::CCSpriteBatchNode::setTexture @ 0x5e84da // // 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::CCSpriteBatchNode::updateBlendFunc(cocos2d::CCSpriteBatchNode *a1) { cocos2d::CCTexture2D *v2; // r0 _BOOL4 hasPremultipliedAlpha; // r0 GLenum v4; // r3 v2 = a1->m_pobTextureAtlas->getTexture(a1->m_pobTextureAtlas); hasPremultipliedAlpha = cocos2d::CCTexture2D::hasPremultipliedAlpha(v2); v4 = 770; a1->m_blendFunc.dst = 771; if ( hasPremultipliedAlpha ) v4 = 1; a1->m_blendFunc.src = v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source