// // cocos2d::CCTexture2D::drawAtPoint from 0x5f37ac to 0x5f3880 (212 bytes) // // 0 xrefs: // // 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 cocos2d::CCTexture2D::drawAtPoint(cocos2d::CCTexture2D *a1, const cocos2d::CCPoint *a2) { float x; // s12 float m_uPixelsWide; // s10 float m_fMaxT; // s14 float m_uPixelsHigh; // s13 float m_fMaxS; // s11 float v9; // s9 float v10[9]; // [sp+Ch] [bp-48h] BYREF float y; // [sp+30h] [bp-24h] float v12; // [sp+34h] [bp-20h] float v13; // [sp+38h] [bp-1Ch] float v14; // [sp+3Ch] [bp-18h] float v15; // [sp+40h] [bp-14h] float v16; // [sp+44h] [bp-10h] float v17; // [sp+48h] [bp-Ch] memset(v10, 0, 0x20u); x = a2->x; m_uPixelsWide = (float)a1->m_uPixelsWide; m_fMaxT = a1->m_fMaxT; m_uPixelsHigh = (float)a1->m_uPixelsHigh; m_fMaxS = a1->m_fMaxS; v9 = a2->x; y = a2->y; v13 = y; v10[1] = m_fMaxT; v10[2] = m_fMaxS; v10[3] = m_fMaxT; v10[6] = m_fMaxS; v10[8] = x; v14 = x; v12 = v9 + (float)(m_uPixelsWide * m_fMaxS); v16 = v12; v15 = y + (float)(m_uPixelsHigh * m_fMaxT); v17 = v15; cocos2d::ccGLEnableVertexAttribs((unsigned int)&byte_5); cocos2d::CCGLProgram::use(a1->m_pShaderProgram); cocos2d::CCGLProgram::setUniformsForBuiltins(a1->m_pShaderProgram); cocos2d::ccGLBindTexture2D(a1->m_uName); glVertexAttribPointer(); glVertexAttribPointer(); glDrawArrays(5u, 0, 4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source