// // cocos2d::CCLayerColor::draw from 0x18004fc70 to 0x18004fd47 (215 bytes) // // 4 xrefs: // > @ 0x1800edbb8 // > @ 0x1800ee120 // > @ 0x1801438a8 // > @ 0x1801b1e9c // // 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::CCLayerColor::draw(cocos2d::CCLayerColor *this, float a2) { cocos2d::CCGLProgram *v3; // rax cocos2d::CCGLProgram *v4; // rax unsigned int v5; // edx unsigned int v6; // r8d cocos2d::CCNode::updateTweenActionInt((cocos2d::CCNode *)(unsigned int)this->m_eGLServerState, a2); ((void (__fastcall *)(cocos2d::CCLayerColor *))this->getShaderProgram)(this); v3 = (cocos2d::CCGLProgram *)((__int64 (__fastcall *)(cocos2d::CCLayerColor *))this->getShaderProgram)(this); cocos2d::CCGLProgram::use(v3); v4 = (cocos2d::CCGLProgram *)((__int64 (__fastcall *)(cocos2d::CCLayerColor *))this->getShaderProgram)(this); cocos2d::CCGLProgram::setUniformsForBuiltins(v4); cocos2d::ccGLEnableVertexAttribs((cocos2d *)3, v5); _glewVertexAttribPointer(0, 2, 5126); _glewVertexAttribPointer(1, 4, 5126); cocos2d::ccGLBlendFunc(this->m_tBlendFunc.src, this->m_tBlendFunc.dst, v6); glDrawArrays(5u, 0, 4); ++g_uNumberOfDraws; }
GD Web Decomp Icon

GD Web Decomp

Raw Source