// // cocos2d::ccDrawPoints from 0x1800116c0 to 0x1800117a8 (232 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801ae2cc // // 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::ccDrawPoints(cocos2d *this, const struct cocos2d::CCPoint *a2) { unsigned __int64 v2; // rdi unsigned int v3; // edx void *v4; // rsi v2 = (unsigned int)a2; cocos2d::ccDrawInit(this); cocos2d::ccGLEnableVertexAttribs((cocos2d *)1, v3); cocos2d::CCGLProgram::use((cocos2d::CCGLProgram *)qword_1801A8338); cocos2d::CCGLProgram::setUniformsForBuiltins((cocos2d::CCGLProgram *)qword_1801A8338); cocos2d::CCGLProgram::setUniformLocationWith4fv( (cocos2d::CCGLProgram *)qword_1801A8338, dword_1801A2B58, &flt_1801A2B60, 1u); cocos2d::CCGLProgram::setUniformLocationWith1f( (cocos2d::CCGLProgram *)qword_1801A8338, dword_1801A2B5C, flt_1801A2B70); v4 = operator new(saturated_mul(v2, 8u)); _glewVertexAttribPointer(0, 2, 5126); glDrawArrays(0, 0, v2); if ( v4 ) j_j_free_0(v4); ++g_uNumberOfDraws; }
GD Web Decomp Icon

GD Web Decomp

Raw Source