// // cocos2d::CCSpriteBatchNode::setTexture from 0x100177fc0 to 0x100178011 (81 bytes) // // 4 xrefs: // > @ 0x1008c2f98 // > @ 0x1008eac48 // > @ 0x10095df50 // > @ 0x100974438 // // 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::CCSpriteBatchNode::setTexture(cocos2d::CCSpriteBatchNode *a1, cocos2d::CCTexture2D *a2) { cocos2d::CCTexture2D *v2; // rax bool hasPremultipliedAlpha; // al GLenum v4; // ecx ((void (__fastcall *)(cocos2d::CCTextureAtlas *, cocos2d::CCTexture2D *))a1->m_pobTextureAtlas->setTexture)( a1->m_pobTextureAtlas, a2); v2 = (cocos2d::CCTexture2D *)((__int64 (__fastcall *)(cocos2d::CCTextureAtlas *))a1->m_pobTextureAtlas->getTexture)(a1->m_pobTextureAtlas); hasPremultipliedAlpha = cocos2d::CCTexture2D::hasPremultipliedAlpha(v2); v4 = 770; if ( hasPremultipliedAlpha ) v4 = 1; a1->m_blendFunc.src = v4; a1->m_blendFunc.dst = 771; }
GD Web Decomp Icon

GD Web Decomp

Raw Source