// // cocos2d::CCGrid3D::blit from 0x180022c00 to 0x180022cc4 (196 bytes) // // 3 xrefs: // > @ 0x1800ed2d8 // > @ 0x18014cf68 // > @ 0x1801b9058 // // 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:21:28 +0000 // void __fastcall cocos2d::CCGrid3D::blit(cocos2d::CCGrid3D *this, unsigned int a2) { int v3; // ebx v3 = (int)(float)(*((float *)this + 17) * *((float *)this + 16)); cocos2d::ccGLEnableVertexAttribs((cocos2d *)5, a2); cocos2d::CCGLProgram::use(*((cocos2d::CCGLProgram **)this + 13)); cocos2d::CCGLProgram::setUniformsForBuiltins(*((cocos2d::CCGLProgram **)this + 13)); _glewVertexAttribPointer(0, 3, 5126, 0, 0, *((_QWORD *)this + 16)); _glewVertexAttribPointer(2, 2, 5126, 0, 0, *((_QWORD *)this + 15)); glDrawElements(4u, 6 * v3, 0x1403u, *((const GLvoid **)this + 18)); ++g_uNumberOfDraws; }
GD Web Decomp Icon

GD Web Decomp

Raw Source