// // cocos2d::ccDrawSolidPoly from 0x1002e9700 to 0x1002e97b0 (176 bytes) // // 2 xrefs: // > CCLightStrip::draw @ 0x100035214 // > sub_1002E962C @ 0x1002e96c4 // // This function is hookable on this platform (idp: arm, 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:02:52 +0000 // void __fastcall cocos2d::ccDrawSolidPoly(const GLvoid *a1, GLsizei a2, GLfloat a3, GLfloat a4, GLfloat a5, GLfloat a6) { GLfloat v8[4]; // [xsp+0h] [xbp-30h] BYREF v8[0] = a3; v8[1] = a4; v8[2] = a5; v8[3] = a6; cocos2d::ccDrawInit(); cocos2d::CCGLProgram::use(qword_1009F6230); cocos2d::CCGLProgram::setUniformsForBuiltins(qword_1009F6230); cocos2d::CCGLProgram::setUniformLocationWith4fv(qword_1009F6230, dword_1009D41F0, v8, 1); cocos2d::ccGLEnableVertexAttribs(1); glVertexAttribPointer(0, 2, 0x1406u, 0, 0, a1); glDrawArrays(6u, 0, a2); ++dword_100A0F904; }
GD Web Decomp Icon

GD Web Decomp

Raw Source