// // cocos2d::ccGLEnableVertexAttribs from 0xb12290 to 0xb1234c (188 bytes) // // 26 xrefs: // > CCSpriteWithHue::draw @ 0x5bcad4 // > cocos2d::extension::CCControlSwitchSprite::draw @ 0xa9f09c // > cocos2d::ccDrawPoint @ 0xad7c98 // > cocos2d::ccDrawPoints @ 0xad7d6c // > cocos2d::ccDrawLines @ 0xad7e44 // > cocos2d::ccDrawLine @ 0xad7f80 // > cocos2d::ccDrawPoly @ 0xad8154 // > cocos2d::ccDrawSolidPoly @ 0xad824c // > cocos2d::ccDrawCircle @ 0xad84d4 // > cocos2d::ccDrawCircleSegment @ 0xad8698 // > cocos2d::ccDrawFilledCircle @ 0xad8810 // > cocos2d::ccDrawQuadBezier @ 0xad8994 // > cocos2d::ccDrawCardinalSpline @ 0xad8ba0 // > cocos2d::ccDrawCubicBezier @ 0xad8da4 // > cocos2d::CCDrawNode::render @ 0xad97a4 // > cocos2d::CCGrid3D::blit @ 0xadb4bc // > cocos2d::CCTiledGrid3D::blit @ 0xadb574 // > cocos2d::CCLayerColor::draw @ 0xaea348 // > cocos2d::CCMotionStreak::draw @ 0xaf731c // > cocos2d::CCProgressTimer::draw @ 0xaf8044 // > cocos2d::CCParticleSystemQuad::draw @ 0xb030f4 // > cocos2d::CCSprite::draw @ 0xb15794 // > cocos2d::CCTexture2D::drawAtPoint @ 0xb31234 // > cocos2d::CCTexture2D::drawInRect @ 0xb31340 // > cocos2d::CCTextureAtlas::drawNumberOfQuads @ 0xb33b50 // > @ 0xb1bb8 // // 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 __int64 v1; // x20 unsigned int v2; // w21 __int64 v3; // x21 __int64 v4; // x20 v1 = a1; v2 = a1 & 1; cocos2d::ccGLBindVAO(0); if ( (unsigned __int8)byte_1245A38 != v2 ) { if ( v2 ) { glEnableVertexAttribArray(); byte_1245A38 = v2; } else { glDisableVertexAttribArray(); byte_1245A38 = 0; } } v3 = (v1 >> 1) & 1; if ( (unsigned __int8)byte_1245A39 != (_DWORD)v3 ) { if ( (_DWORD)v3 ) glEnableVertexAttribArray(); else glDisableVertexAttribArray(); byte_1245A39 = (v1 & 2) != 0; } v4 = (v1 >> 2) & 1; if ( (unsigned __int8)byte_1245A3A != (_DWORD)v4 ) { if ( (_DWORD)v4 ) glEnableVertexAttribArray(); else glDisableVertexAttribArray(); byte_1245A3A = v4; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source