// // cocos2d::CCTexture2D::drawInRect from 0x1800a5060 to 0x1800a5193 (307 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b7bd8 // // 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::CCTexture2D::drawInRect(cocos2d::CCTexture2D *this, const struct cocos2d::CCRect *a2) { unsigned int v3; // edx cocos2d::ccGLEnableVertexAttribs((cocos2d *)5); cocos2d::CCGLProgram::use(this->m_pShaderProgram, v3); cocos2d::CCGLProgram::setUniformsForBuiltins(this->m_pShaderProgram); cocos2d::ccGLBindTexture2D((cocos2d *)this->m_uName); _glewVertexAttribPointer(0, 2, 5126); _glewVertexAttribPointer(2, 2, 5126); glDrawArrays(5u, 0, 4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source