// // cocos2d::ccGLEnableVertexAttribs from 0xd83bf4 to 0xd83cb0 (188 bytes) // // 26 xrefs: // > CCSpriteWithHue::draw @ 0x6ddb30 // > cocos2d::extension::CCControlSwitchSprite::draw @ 0xd10af8 // > cocos2d::ccDrawPoint @ 0xd4a8f8 // > cocos2d::ccDrawPoints @ 0xd4a9cc // > cocos2d::ccDrawLines @ 0xd4aaa4 // > cocos2d::ccDrawLine @ 0xd4abe0 // > cocos2d::ccDrawPoly @ 0xd4adb4 // > cocos2d::ccDrawSolidPoly @ 0xd4aeac // > cocos2d::ccDrawCircle @ 0xd4b134 // > cocos2d::ccDrawCircleSegment @ 0xd4b2f8 // > cocos2d::ccDrawFilledCircle @ 0xd4b470 // > cocos2d::ccDrawQuadBezier @ 0xd4b600 // > cocos2d::ccDrawCardinalSpline @ 0xd4b800 // > cocos2d::ccDrawCubicBezier @ 0xd4ba08 // > cocos2d::CCDrawNode::render @ 0xd4c404 // > cocos2d::CCGrid3D::blit @ 0xd4e11c // > cocos2d::CCTiledGrid3D::blit @ 0xd4e1d4 // > cocos2d::CCLayerColor::draw @ 0xd5c0a8 // > cocos2d::CCMotionStreak::draw @ 0xd6829c // > cocos2d::CCProgressTimer::draw @ 0xd69104 // > cocos2d::CCParticleSystemQuad::draw @ 0xd736d8 // > cocos2d::CCSprite::draw @ 0xd86c70 // > cocos2d::CCTexture2D::drawAtPoint @ 0xda25e4 // > cocos2d::CCTexture2D::drawInRect @ 0xda26f0 // > cocos2d::CCTextureAtlas::drawNumberOfQuads @ 0xda5074 // > @ 0xe87f8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:08:11 +0000 // __int64 __fastcall cocos2d::ccGLEnableVertexAttribs(cocos2d *this) { unsigned __int64 v1; // x20 int v2; // w21 __int64 v3; // x21 __int64 v4; // x20 __int64 result; // x0 v1 = (unsigned int)this; v2 = (unsigned __int8)this & 1; cocos2d::ccGLBindVAO(nullptr); if ( (unsigned __int8)byte_1560A00 != v2 ) { if ( v2 ) { glEnableVertexAttribArray(); byte_1560A00 = v2; } else { glDisableVertexAttribArray(); byte_1560A00 = 0; } } v3 = (v1 >> 1) & 1; if ( (unsigned __int8)byte_1560A01 != (_DWORD)v3 ) { if ( (_DWORD)v3 ) glEnableVertexAttribArray(); else glDisableVertexAttribArray(); byte_1560A01 = (v1 & 2) != 0; } v4 = (v1 >> 2) & 1; result = (unsigned __int8)byte_1560A02; if ( (unsigned __int8)byte_1560A02 != (_DWORD)v4 ) { if ( (_DWORD)v4 ) result = glEnableVertexAttribArray(); else result = glDisableVertexAttribArray(); byte_1560A02 = v4; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source