//
// cocos2d::CCDrawNode::drawCubicBezierDashed from 0x10004230c to 0x1000424bc (432 bytes)
//
// 1 xrefs:
// > cocos2d::CCDrawNode::drawArchLikeHalfCircle @ 0x1000422e8
//
// 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::CCDrawNode::drawCubicBezierDashed(
cocos2d::CCDrawNode *a1,
const cocos2d::CCPoint *a2,
const cocos2d::CCPoint *a3,
const cocos2d::CCPoint *a4,
const cocos2d::CCPoint *a5,
unsigned int a6,
const cocos2d::ccColor4F *a7,
float a8,
unsigned int a9,
unsigned int a10)
{
__int64 v19; // x28
float32x2_t *v20; // x0
float32x2_t *v21; // x22
__int64 v22; // x28
__int64 v23; // x8
cocos2d::CCPoint v24; // d2
cocos2d::CCPoint v25; // d3
cocos2d::CCPoint v26; // d4
cocos2d::CCPoint v27; // d5
float v28; // s6
__int64 v29; // x23
unsigned int v30; // w25
const cocos2d::CCPoint *v31; // x1
if ( a6 )
{
v19 = a6 + 1;
v20 = (float32x2_t *)operator new[](8 * v19, &std::nothrow);
if ( v20 )
{
v21 = v20;
if ( (_DWORD)v19 )
{
v22 = 8 * v19;
do
{
v20 = (float32x2_t *)(sub_1000229B0(v20) + 1);
v22 -= 8;
}
while ( v22 );
}
v23 = 0;
v24 = *a2;
v25 = *a3;
v26 = *a4;
v27 = *a5;
v28 = 0.0;
do
{
v21[v23] = vmla_n_f32(
vmla_n_f32(
vmla_n_f32(
vmul_n_f32(
(float32x2_t)v25,
v28 * (float)((float)((float)(1.0 - v28) * (float)(1.0 - v28)) * 3.0)),
(float32x2_t)v24,
(float)(1.0 - v28) * (float)((float)(1.0 - v28) * (float)(1.0 - v28))),
(float32x2_t)v26,
(float)(v28 * v28) * (float)((float)(1.0 - v28) * 3.0)),
(float32x2_t)v27,
v28 * (float)(v28 * v28));
v28 = (float)(1.0 / (float)a6) + v28;
++v23;
}
while ( a6 != v23 );
sub_1000229D0(&v21[a6], (double *)a5);
v29 = 0;
if ( a10 + a9 <= 1 )
v30 = 1;
else
v30 = a10 + a9;
do
{
if ( (unsigned int)v29 % v30 >= a9 )
{
++v29;
}
else
{
v31 = (const cocos2d::CCPoint *)&v21[v29++];
cocos2d::CCDrawNode::drawSegmentEx(a1, v31, (const cocos2d::CCPoint *)&v21[v29], a8, a7, 1, 1);
}
}
while ( v29 != a6 );
operator delete[](v21);
}
}
}