// // cocos2d::ccGLEnableVertexAttribs from 0x5e4cbc to 0x5e4d30 (116 bytes) // // 25 xrefs: // > CCSpriteWithHue::draw @ 0x306cd0 // > cocos2d::extension::CCControlSwitchSprite::draw @ 0x5a41a4 // > cocos2d::ccDrawPoint @ 0x5c3f6e // > cocos2d::ccDrawPoints @ 0x5c3ff6 // > cocos2d::ccDrawLines @ 0x5c4086 // > cocos2d::ccDrawLine @ 0x5c4150 // > cocos2d::ccDrawPoly @ 0x5c427a // > cocos2d::ccDrawSolidPoly @ 0x5c42f6 // > cocos2d::ccDrawCircle @ 0x5c44b6 // > cocos2d::ccDrawCircleSegment @ 0x5c4616 // > cocos2d::ccDrawFilledCircle @ 0x5c4728 // > cocos2d::ccDrawQuadBezier @ 0x5c4840 // > cocos2d::ccDrawCardinalSpline @ 0x5c49bc // > cocos2d::ccDrawCubicBezier @ 0x5c4b3e // > cocos2d::CCDrawNode::render @ 0x5c5400 // > cocos2d::CCGrid3D::blit @ 0x5c6a50 // > cocos2d::CCTiledGrid3D::blit @ 0x5c6ad4 // > cocos2d::CCLayerColor::draw @ 0x5ceea6 // > cocos2d::CCMotionStreak::draw @ 0x5d67c2 // > cocos2d::CCProgressTimer::draw @ 0x5d713a // > cocos2d::CCParticleSystemQuad::draw @ 0x5dd90a // > cocos2d::CCSprite::draw @ 0x5e69a0 // > cocos2d::CCTexture2D::drawAtPoint @ 0x5f3828 // > cocos2d::CCTexture2D::drawInRect @ 0x5f38e8 // > cocos2d::CCTextureAtlas::drawNumberOfQuads @ 0x5f4a90 // // 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::ccGLEnableVertexAttribs(unsigned int a1) { unsigned int v2; // r5 unsigned int v3; // r5 unsigned int v4; // r4 v2 = a1 & 1; cocos2d::ccGLBindVAO(0); if ( (unsigned __int8)byte_AC9240 != v2 ) { if ( v2 ) glEnableVertexAttribArray(); else glDisableVertexAttribArray(); byte_AC9240 = v2; } v3 = (a1 >> 1) & 1; if ( (unsigned __int8)byte_AC9241 != v3 ) { if ( v3 ) glEnableVertexAttribArray(); else glDisableVertexAttribArray(); byte_AC9241 = (a1 & 2) != 0; } v4 = (a1 >> 2) & 1; if ( (unsigned __int8)byte_AC9242 != v4 ) { if ( v4 ) glEnableVertexAttribArray(); else glDisableVertexAttribArray(); byte_AC9242 = v4; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source