// // cocos2d::ccGLEnableVertexAttribs from 0x18008b3b0 to 0x18008b456 (166 bytes) // // 26 xrefs: // > cocos2d::ccDrawCardinalSpline @ 0x180010b2d // > cocos2d::ccDrawCircle @ 0x180010d98 // > cocos2d::ccDrawCircleSegment @ 0x180010fc8 // > cocos2d::ccDrawCubicBezier @ 0x18001132d // > cocos2d::ccDrawFilledCircle @ 0x180011505 // > cocos2d::ccDrawLine @ 0x18001164b // > cocos2d::ccDrawLines @ 0x1800116ce // > cocos2d::ccDrawPoint @ 0x1800117c8 // > cocos2d::ccDrawPoints @ 0x18001188e // > cocos2d::ccDrawPoly @ 0x1800119b9 // > cocos2d::ccDrawQuadBezier @ 0x180011bb4 // > cocos2d::ccDrawSolidPoly @ 0x180011dbd // > cocos2d::ccDrawSolidRect @ 0x180011ee7 // > cocos2d::CCDrawNode::render @ 0x180015517 // > cocos2d::CCGrid3D::blit @ 0x180022c20 // > cocos2d::CCTiledGrid3D::blit @ 0x180022d02 // > cocos2d::CCLayerColor::draw @ 0x180051add // > cocos2d::CCMotionStreak::draw @ 0x18005ed5a // > cocos2d::CCProgressTimer::draw @ 0x18005fda7 // > cocos2d::CCParticleSystemQuad::draw @ 0x18006c80a // > cocos2d::CCSprite::draw @ 0x18008ebcc // > cocos2d::CCTexture2D::drawAtPoint @ 0x1800a8a8a // > cocos2d::CCTexture2D::drawInRect @ 0x1800a8bd1 // > cocos2d::CCTextureAtlas::drawNumberOfQuads @ 0x1800a9eed // > @ 0x18014cf68 // > @ 0x1801bfb8c // // This function is hookable on this platform (idp: pc, 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 11:22:06 +0000 // void __fastcall cocos2d::ccGLEnableVertexAttribs(cocos2d *this) { char v1; // di char v2; // bl void (__fastcall **v3)(_QWORD); // rax void (__fastcall **v4)(__int64); // rax int v5; // edi void (__fastcall **v6)(__int64); // rax v1 = (char)this; v2 = (unsigned __int8)this & 1; if ( ((unsigned __int8)this & 1) != byte_1801B2804 ) { v3 = (void (__fastcall **)(_QWORD))_glewEnableVertexAttribArray; if ( !v2 ) v3 = (void (__fastcall **)(_QWORD))_glewDisableVertexAttribArray; (*v3)(0); byte_1801B2804 = v2; } if ( ((v1 & 2) != 0) != byte_1801B2805 ) { v4 = (void (__fastcall **)(__int64))_glewEnableVertexAttribArray; if ( (v1 & 2) == 0 ) v4 = (void (__fastcall **)(__int64))_glewDisableVertexAttribArray; (*v4)(1); byte_1801B2805 = (v1 & 2) != 0; } v5 = v1 & 4; if ( (v5 != 0) != byte_1801B2806 ) { v6 = (void (__fastcall **)(__int64))_glewEnableVertexAttribArray; if ( !v5 ) v6 = (void (__fastcall **)(__int64))_glewDisableVertexAttribArray; (*v6)(2); byte_1801B2806 = v5 != 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source