//
// cocos2d::CCLayerColor::addToVertices from 0xd5d744 to 0xd5d7a8 (100 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::visit @ 0x9aca30
// > ??> @ 0xa5748
//
// 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:48 +0000
//
float __fastcall cocos2d::CCLayerColor::addToVertices(float *a1, float *a2, float *a3, float *a4)
{
float v4; // s4
float v5; // s3
float v6; // s2
float v7; // s1
float v8; // s0
float result; // s0
v4 = a1[113];
v5 = a1[114];
v6 = a1[115];
v7 = a1[116];
a1[112] = a1[112] + *a2;
v8 = a1[117];
a1[113] = v4 + a2[1];
a1[114] = v5 + *a3;
a1[115] = v6 + a3[1];
a1[116] = v7 + *a4;
result = v8 + a4[1];
a1[117] = result;
return result;
}