// // cocos2d::ccDrawLine from 0x1002084a0 to 0x1002085c8 (296 bytes) // // 55 xrefs: // > DrawGridLayer::draw @ 0x100101469 // > DrawGridLayer::draw @ 0x10010165f // > DrawGridLayer::draw @ 0x10010224b // > DrawGridLayer::draw @ 0x10010229a // > DrawGridLayer::draw @ 0x1001024a8 // > DrawGridLayer::draw @ 0x10010256d // > DrawGridLayer::draw @ 0x10010264d // > DrawGridLayer::draw @ 0x100102694 // > DrawGridLayer::draw @ 0x100102787 // > DrawGridLayer::draw @ 0x1001027d2 // > cocos2d::ccDrawRect @ 0x100208616 // > cocos2d::ccDrawRect @ 0x100208646 // > cocos2d::ccDrawRect @ 0x100208676 // > cocos2d::ccDrawRect @ 0x1002086ac // > AchievementCell::draw @ 0x10024e96e // > AchievementCell::draw @ 0x10024e9a4 // > LevelCell::draw @ 0x10025231b // > LevelCell::draw @ 0x100252351 // > MapPackCell::draw @ 0x100252c5e // > MapPackCell::draw @ 0x100252c94 // > StatsCell::draw @ 0x1002539fe // > StatsCell::draw @ 0x100253a34 // > SongCell::draw @ 0x100253c8e // > SongCell::draw @ 0x100253cc4 // > CustomSongCell::draw @ 0x10025407e // > CustomSongCell::draw @ 0x1002540b4 // > CustomSFXCell::draw @ 0x10025436e // > CustomSFXCell::draw @ 0x1002543a4 // > ArtistCell::draw @ 0x10025498e // > ArtistCell::draw @ 0x1002549c4 // > CommentCell::draw @ 0x10025513e // > CommentCell::draw @ 0x100255174 // > GJScoreCell::draw @ 0x100255aee // > GJScoreCell::draw @ 0x100255b24 // > GJLocalLevelScoreCell::draw @ 0x100255cde // > GJLocalLevelScoreCell::draw @ 0x100255d14 // > GJLevelScoreCell::draw @ 0x100255efe // > GJLevelScoreCell::draw @ 0x100255f34 // > GJUserCell::draw @ 0x100256bce // > GJUserCell::draw @ 0x100256c04 // > GJRequestCell::draw @ 0x100257abe // > GJRequestCell::draw @ 0x100257af4 // > GJMessageCell::draw @ 0x10025885e // > GJMessageCell::draw @ 0x100258894 // > SmartTemplateCell::draw @ 0x10025902e // > SmartTemplateCell::draw @ 0x100259064 // > LevelListCell::draw @ 0x10025962e // > LevelListCell::draw @ 0x100259664 // > URLCell::draw @ 0x1002597de // > URLCell::draw @ 0x100259814 // > ListCell::draw @ 0x10030d3e2 // > GameCell::draw @ 0x10030d5ae // > ParticlePreviewLayer::draw @ 0x100477aa2 // > ParticlePreviewLayer::draw @ 0x100477b5c // > GJUINode::draw @ 0x1004cb964 // // 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::ccDrawLine(const cocos2d::CCPoint *a1, const cocos2d::CCPoint *a2) { cocos2d::CCShaderCache *v2; // rax __m128 pointer; // [rsp+0h] [rbp-30h] BYREF if ( !byte_10099F2F8 ) { v2 = cocos2d::CCShaderCache::sharedShaderCache(); qword_10099F2F0 = (__int64)cocos2d::CCShaderCache::programForKey(v2, "ShaderPosition_uColor"); cocos2d::CCObject::retain((cocos2d::CCObject *)qword_10099F2F0); dword_10099C690 = glGetUniformLocation(*(_DWORD *)(qword_10099F2F0 + 56), "u_color"); dword_10099C6B0 = glGetUniformLocation(*(_DWORD *)(qword_10099F2F0 + 56), "u_pointSize"); byte_10099F2F8 = 1; } pointer = _mm_loadh_ps((const double *)a2); cocos2d::CCGLProgram::use((cocos2d::CCGLProgram *)qword_10099F2F0); cocos2d::CCGLProgram::setUniformsForBuiltins((cocos2d::CCGLProgram *)qword_10099F2F0); cocos2d::CCGLProgram::setUniformLocationWith4fv( (cocos2d::CCGLProgram *)qword_10099F2F0, dword_10099C690, (float *)&xmmword_10099C6A0, 1u); cocos2d::ccGLEnableVertexAttribs(1u); glVertexAttribPointer(0, 2, 0x1406u, 0, 0, &pointer); glDrawArrays(1u, 0, 2); ++dword_1009A4FB0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source