//
// cocos2d::CCLayerColor::addToVertices from 0xaeb9e4 to 0xaeba48 (100 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::visit @ 0x86b7b4
// > ??> @ 0x7bf18
//
// 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::CCLayerColor::addToVertices(
cocos2d::CCLayerColor *a1,
cocos2d::CCPoint a2,
cocos2d::CCPoint a3,
cocos2d::CCPoint a4)
{
float *v4; // x1
float *v5; // x2
float *v6; // x3
GLfloat v7; // s4
GLfloat v8; // s3
GLfloat v9; // s2
GLfloat v10; // s1
GLfloat v11; // s0
v7 = a1->m_pSquareVertices[1].y + v4[1];
v8 = a1->m_pSquareVertices[2].x + *v5;
v9 = a1->m_pSquareVertices[2].y + v5[1];
v10 = a1->m_pSquareVertices[3].x + *v6;
v11 = a1->m_pSquareVertices[3].y + v6[1];
a1->m_pSquareVertices[1].x = a1->m_pSquareVertices[1].x + *v4;
a1->m_pSquareVertices[1].y = v7;
a1->m_pSquareVertices[2].x = v8;
a1->m_pSquareVertices[2].y = v9;
a1->m_pSquareVertices[3].x = v10;
a1->m_pSquareVertices[3].y = v11;
}