// // cocos2d::ccDrawPoints from 0xd4a9a0 to 0xd4aa78 (216 bytes) // // 1 xrefs: // > @ 0x81628 // // 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 13:07:37 +0000 // int *__fastcall cocos2d::ccDrawPoints(cocos2d *this, const cocos2d::CCPoint *a2) { unsigned int v2; // w21 void *v3; // x19 v2 = (unsigned int)a2; if ( !byte_1560140 ) sub_D4A780(nullptr); cocos2d::ccGLEnableVertexAttribs((cocos2d *)((char *)&dword_0 + 1), (unsigned int)a2); cocos2d::CCGLProgram::use((cocos2d::CCGLProgram *)qword_1560138); cocos2d::CCGLProgram::setUniformsForBuiltins((cocos2d::CCGLProgram *)qword_1560138); cocos2d::CCGLProgram::setUniformLocationWith4fv( (cocos2d::CCGLProgram *)qword_1560138, dword_154A088, (float *)&dword_154A090, 1u); cocos2d::CCGLProgram::setUniformLocationWith1f( (cocos2d::CCGLProgram *)qword_1560138, dword_154A08C, *(float *)&dword_154A0A0); v3 = (void *)operator new[](8LL * v2); glVertexAttribPointer(); glDrawArrays(); operator delete[](v3); ++g_uNumberOfDraws; return &g_uNumberOfDraws; }
GD Web Decomp Icon

GD Web Decomp

Raw Source