// // cocos2d::ccGLEnableVertexAttribs from 0x1800881e0 to 0x180088284 (164 bytes) // // 26 xrefs: // > cocos2d::ccDrawCardinalSpline @ 0x18001096d // > cocos2d::ccDrawCircle @ 0x180010bd8 // > cocos2d::ccDrawCircleSegment @ 0x180010e08 // > cocos2d::ccDrawCubicBezier @ 0x18001119e // > cocos2d::ccDrawFilledCircle @ 0x180011375 // > cocos2d::ccDrawLine @ 0x1800114ab // > cocos2d::ccDrawLines @ 0x18001151e // > cocos2d::ccDrawPoint @ 0x180011618 // > cocos2d::ccDrawPoints @ 0x1800116de // > cocos2d::ccDrawPoly @ 0x180011809 // > cocos2d::ccDrawQuadBezier @ 0x180011a39 // > cocos2d::ccDrawSolidPoly @ 0x180011c1d // > cocos2d::ccDrawSolidRect @ 0x180011d37 // > cocos2d::CCDrawNode::render @ 0x1800155ce // > cocos2d::CCGrid3D::blit @ 0x1800226f0 // > cocos2d::CCTiledGrid3D::blit @ 0x1800227c2 // > cocos2d::CCLayerColor::draw @ 0x18004fcbd // > cocos2d::CCMotionStreak::draw @ 0x18005cd0a // > cocos2d::CCProgressTimer::draw @ 0x18005dbdc // > cocos2d::CCParticleSystemQuad::draw @ 0x18006a66d // > cocos2d::CCSprite::draw @ 0x18008b9ec // > cocos2d::CCTexture2D::drawAtPoint @ 0x1800a4fca // > cocos2d::CCTexture2D::drawInRect @ 0x1800a5101 // > cocos2d::CCTextureAtlas::drawNumberOfQuads @ 0x1800a63c5 // > @ 0x1801438a8 // > @ 0x1801b58bc // // 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::ccGLEnableVertexAttribs(cocos2d *this) { char v1; // bl char v2; // di void (__fastcall **v3)(_QWORD); // rax void (__fastcall **v4)(__int64); // rax char v5; // bl void (__fastcall **v6)(__int64); // rax v1 = (char)this; v2 = (unsigned __int8)this & 1; if ( ((unsigned __int8)this & 1) != byte_1801A87A4 ) { v3 = (void (__fastcall **)(_QWORD))_glewEnableVertexAttribArray; if ( !v2 ) v3 = (void (__fastcall **)(_QWORD))_glewDisableVertexAttribArray; (*v3)(0); byte_1801A87A4 = v2; } if ( ((v1 & 2) != 0) != byte_1801A87A5 ) { v4 = (void (__fastcall **)(__int64))_glewEnableVertexAttribArray; if ( (v1 & 2) == 0 ) v4 = (void (__fastcall **)(__int64))_glewDisableVertexAttribArray; (*v4)(1); byte_1801A87A5 = (v1 & 2) != 0; } v5 = (v1 & 4) != 0; if ( v5 != byte_1801A87A6 ) { v6 = (void (__fastcall **)(__int64))_glewEnableVertexAttribArray; if ( !v5 ) v6 = (void (__fastcall **)(__int64))_glewDisableVertexAttribArray; (*v6)(2); byte_1801A87A6 = v5; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source