//
// drawTrace from 0x377e68 to 0x378992 (2858 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::updateDebugDraw @ 0x37a2fc
// > LevelEditorLayer::updateDebugDraw @ 0x37a336
//
// 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
//
int __fastcall drawTrace(GJBaseGameLayer *a1, const cocos2d::ccColor4F **a2, int a3, cocos2d::CCDrawNode *a4)
{
unsigned int v6; // r0
int x_low; // r7
int *v8; // r4
unsigned int v9; // r0
unsigned int v10; // r4
int *v11; // r6
const cocos2d::ccColor4F *v12; // r4
GLfloat r; // r3
const cocos2d::CCPoint *v14; // r5
const cocos2d::CCPoint *v15; // r0
int b_low; // r5
_DWORD **v17; // r0
const cocos2d::CCPoint *v18; // r6
const cocos2d::CCPoint *v19; // r0
float v20; // s15
bool v21; // cc
const cocos2d::CCPoint *v22; // r6
const cocos2d::CCPoint *v23; // r0
GLfloat g; // r0
const cocos2d::CCRect *v25; // r0
cocos2d::CCArray *Group; // r5
float v27; // r1
float b; // r2
float a; // r3
float v30; // r1
float v31; // r2
cocos2d::ccArray *data; // r3
int *arr; // r6
char *v34; // r8
int *v35; // r8
int v36; // t1
unsigned int a_low; // r6
_DWORD **v38; // r0
_DWORD *inserted; // r0
GLfloat *v40; // r0
GLfloat v41; // r1
float x; // s14
int v43; // r0
int v44; // r5
int v45; // r6
GLfloat v46; // r1
void (__fastcall *v47)(cocos2d::CCPoint *); // r3
unsigned int v48; // r5
int *v49; // r0
int v50; // r3
int i; // r5
cocos2d::CCArray *v53; // r5
int v54; // r0
cocos2d::ccArray *v55; // r2
cocos2d::CCObject **v56; // r5
int v57; // r0
int v58; // t1
float k; // r6
size_t v60; // r5
int v61; // r8
float v62; // r0
float v63; // r9
double v64; // d9
double v65; // d8
int v66; // r8
int v67; // r5
double v68; // d7
float v69; // s16
int v70; // r2
bool v71; // r3
_DWORD *v72; // r5
const cocos2d::CCPoint *v73; // r5
cocos2d::CCDrawNode **p_m_debugDrawNode; // r9
int *y_low; // r6
int v76; // r8
__int64 v77; // r0
__int64 v78; // r2
float v79; // s17
float v80; // s18
__int64 v81; // r2
__int64 v82; // r0
__int64 v83; // r2
__int64 v84; // r0
__int64 v85; // r2
__int64 v86; // r0
unsigned int v87; // r5
int v88; // r6
_DWORD **v89; // r0
_DWORD *v90; // r0
GLfloat *v91; // r0
GLfloat v92; // r1
float *v93; // r0
float v94; // r2
float v95; // r3
int v96; // r3
void **v97; // r3
_DWORD *v98; // r3
_DWORD *v99; // r3
const cocos2d::CCRect *v100; // r0
float v101; // r0
int v102; // s18
float v103; // r0
float v104; // r6
float v105; // r0
int v106; // s20
float v107; // r0
int v108; // s16
__int64 v109; // r8
int v110; // r10
_QWORD **v111; // r0
int v112; // r0
const cocos2d::CCPoint *v113; // [sp+10h] [bp-164h]
int j; // [sp+10h] [bp-164h]
int v116; // [sp+20h] [bp-154h]
int v117; // [sp+34h] [bp-140h]
int *v118; // [sp+3Ch] [bp-138h]
cocos2d::CCObject **v119; // [sp+40h] [bp-134h]
float v120; // [sp+40h] [bp-134h]
cocos2d::CCRect *v121; // [sp+64h] [bp-110h] BYREF
__int64 v122; // [sp+68h] [bp-10Ch] BYREF
unsigned __int64 v123; // [sp+70h] [bp-104h] BYREF
cocos2d::CCPoint v124; // [sp+78h] [bp-FCh] BYREF
__int64 v125; // [sp+80h] [bp-F4h] BYREF
cocos2d::CCPoint v126; // [sp+88h] [bp-ECh] BYREF
void **v127; // [sp+90h] [bp-E4h] BYREF
_DWORD *v128; // [sp+94h] [bp-E0h]
_DWORD *v129; // [sp+98h] [bp-DCh]
cocos2d::CCPoint v130; // [sp+9Ch] [bp-D8h] BYREF
int v131; // [sp+A4h] [bp-D0h]
cocos2d::CCRect v132; // [sp+A8h] [bp-CCh] BYREF
cocos2d::ccColor4F v133; // [sp+B8h] [bp-BCh] BYREF
_DWORD v134[4]; // [sp+C8h] [bp-ACh]
_DWORD v135[4]; // [sp+D8h] [bp-9Ch]
cocos2d::CCPoint p; // [sp+E8h] [bp-8Ch] BYREF
int v137; // [sp+F0h] [bp-84h]
cocos2d::CCPoint v138; // [sp+F4h] [bp-80h] BYREF
int *v139; // [sp+FCh] [bp-78h] BYREF
unsigned int v140; // [sp+100h] [bp-74h]
int v141; // [sp+104h] [bp-70h]
int v142; // [sp+108h] [bp-6Ch]
_DWORD v143[2]; // [sp+10Ch] [bp-68h] BYREF
int v144; // [sp+114h] [bp-60h] BYREF
int *v145; // [sp+118h] [bp-5Ch] BYREF
unsigned int v146; // [sp+11Ch] [bp-58h]
int v147; // [sp+120h] [bp-54h]
int v148; // [sp+124h] [bp-50h]
_DWORD v149[2]; // [sp+128h] [bp-4Ch] BYREF
int v150; // [sp+130h] [bp-44h] BYREF
cocos2d::CCRect v151; // [sp+134h] [bp-40h] BYREF
cocos2d::CCRect v152; // [sp+150h] [bp-24h] BYREF
v141 = 0;
v142 = 0;
v143[0] = 1065353216;
v143[1] = 0;
v6 = sub_773A14(v143, 10);
x_low = v6;
v140 = v6;
if ( v6 == 1 )
{
v144 = 0;
v8 = &v144;
}
else
{
v8 = (int *)sub_36526C(v6);
memset(v8, 0, 4 * x_low);
}
v139 = v8;
v147 = 0;
v148 = 0;
v149[0] = 1065353216;
v149[1] = 0;
v9 = sub_773A14(v149, 10);
v10 = v9;
v146 = v9;
if ( v9 == 1 )
{
v150 = 0;
v11 = &v150;
}
else
{
v11 = (int *)sub_36526C(v9);
memset(v11, 0, 4 * v10);
}
v145 = v11;
cocos2d::CCRect::CCRect(&v132, &a1->m_debugDrawNode->m_rDrawArea);
v12 = *a2;
v118 = (int *)a2[1];
v116 = 0;
while ( v12 != (const cocos2d::ccColor4F *)v118 )
{
r = v12->r;
if ( LODWORD(v12->r) )
{
switch ( LODWORD(r) )
{
case 1:
b_low = LODWORD(v12->b);
v17 = sub_3654AC(&v139, LODWORD(v12->a) % v140, &v12->a);
if ( v17 && *v17 )
b_low = (*v17)[2];
v18 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(int))(*(_DWORD *)LODWORD(v12->g) + 96))(LODWORD(v12->g));
v19 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(int))(*(_DWORD *)b_low + 96))(b_low);
v20 = (float)(cocos2d::ccpDistance(v18, v19) / 30.0) + 20.0;
v21 = v20 <= 100.0;
if ( v20 > 100.0 )
x_low = 100;
else
LODWORD(v20) = (int)v20;
if ( v21 )
x_low = LODWORD(v20);
v22 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(int))(*(_DWORD *)LODWORD(v12->g) + 96))(LODWORD(v12->g));
v23 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(int))(*(_DWORD *)b_low + 96))(b_low);
cocos2d::CCDrawNode::drawArchLikeHalfCircle(a4, v22, v23, 90.0, x_low, v12 + 1, 1.0);
break;
case 2:
g = v12->g;
if ( g == 0.0 )
{
Group = GJBaseGameLayer::getGroup(a1, LODWORD(v12->a));
if ( cocos2d::CCArray::count(Group) )
{
cocos2d::CCPoint::CCPoint(&v130, (const cocos2d::CCPoint *)&flt_AC5CF0);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v133, (const cocos2d::CCPoint *)&flt_AC5CF0);
x_low = (int)&v151;
v27 = v12[1].g;
b = v12[1].b;
a = v12[1].a;
v151.origin.x = v12[1].r;
v151.origin.y = v27;
v151.size.width = b;
v151.size.height = a;
v30 = v12[1].g;
v31 = v12[1].b;
v152.origin.x = v12[1].r;
v152.origin.y = v30;
v152.size.width = v31;
v151.size.height = 0.03;
v152.size.height = 0.15;
if ( Group )
{
data = Group->data;
Group = (cocos2d::CCArray *)data->num;
if ( data->num )
{
arr = (int *)data->arr;
v34 = (char *)&Group[19173961].m_uID + 3;
Group = nullptr;
v35 = &arr[(_DWORD)v34];
while ( arr <= v35 )
{
v36 = *arr++;
x_low = v36;
if ( !v36 )
break;
if ( *(_DWORD *)(x_low + 1076) == 1 )
{
(*(void (__fastcall **)(cocos2d::CCPoint *, int))(*(_DWORD *)x_low + 672))(&p, x_low);
if ( p.x < v130.x || v130.x == 0.0 )
{
v130.x = p.x;
Group = (cocos2d::CCArray *)x_low;
}
if ( p.y < v130.y || v130.y == 0.0 )
v130.y = p.y;
if ( p.x > v133.r || v133.r == 0.0 )
v133.r = p.x;
if ( p.y > v133.g || v133.g == 0.0 )
v133.g = p.y;
}
}
}
}
if ( v130.x != v133.r || v130.y != v133.g )
{
a_low = LODWORD(v12->a);
x_low = a_low % v140;
v38 = sub_3654AC(&v139, a_low % v140, &v12->a);
if ( !v38 || (inserted = *v38) == nullptr )
{
v40 = (GLfloat *)operator new(0xCu);
v41 = v12->a;
*v40 = 0.0;
v40[2] = 0.0;
v40[1] = v41;
inserted = std::_Hashtable,std::allocator>,std::__detail::_Select1st,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits>::_M_insert_unique_node(
(int)&v139,
x_low,
a_low,
v40);
}
x = v130.x;
inserted[2] = Group;
v130.x = x - 30.0;
v130.y = v130.y - 30.0;
v133.r = v133.r + 30.0;
v133.g = v133.g + 30.0;
cocos2d::CCDrawNode::drawRect((int)a4, (int)&v130, (int)&v133, (int)&v151, 1.5, (int)&v152, 2);
}
}
}
else
{
v25 = (const cocos2d::CCRect *)(*(int (__fastcall **)(GLfloat))(*(_DWORD *)LODWORD(g) + 656))(COERCE_GLFLOAT(LODWORD(g)));
cocos2d::CCRect::CCRect(&v151, v25);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v133, v151.origin.x, v151.origin.y);
cocos2d::CCPoint::CCPoint(&p, v151.origin.x + v151.size.width, v151.origin.y + v151.size.height);
memset(&v152, 0, sizeof(v152));
cocos2d::CCDrawNode::drawRect((int)a4, (int)&v133, (int)&p, (int)&v152, 1.0, (int)&v12[1], 2);
}
break;
case 3:
v43 = traceColorForIndex(v116);
v44 = (unsigned __int8)v43;
x_low = BYTE1(v43);
v45 = BYTE2(v43);
memset(&v133, 0, sizeof(v133));
v46 = v12->g;
v133.a = 0.4;
++v116;
v47 = *(void (__fastcall **)(cocos2d::CCPoint *))(*(_DWORD *)LODWORD(v46) + 672);
v133.r = (float)v44 / 255.0;
v133.g = (float)x_low / 255.0;
v133.b = (float)v45 / 255.0;
v47(&v124);
v48 = LODWORD(v12->a);
v49 = (int *)sub_3654EA(&v145, v48 % v146, &v12->a);
if ( v49 && (v50 = *v49) != 0 )
{
x_low = *(_DWORD *)(v50 + 12);
for ( i = *(_DWORD *)(v50 + 8); x_low != i; i += 20 )
drawArrow(a4, &v124, (const cocos2d::CCPoint *)(i + 12), 6.0, v133);
}
else
{
v53 = GJBaseGameLayer::getGroup(a1, v48);
std::_Hashtable,std::__detail::_Identity,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits>::_Hashtable(
&v151,
10);
v54 = cocos2d::CCArray::count(v53);
std::__detail::_Rehash_base,std::__detail::_Identity,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits>::reserve(
(int)&v151,
8 * v54);
if ( v53 )
{
v55 = v53->data;
if ( v55->num )
{
v56 = v55->arr;
v119 = &v56[v55->num] + 0x3FFFFFFF;
while ( v56 <= v119 )
{
v58 = (int)*v56++;
v57 = v58;
if ( !v58 )
break;
v100 = (const cocos2d::CCRect *)(*(int (__fastcall **)(int))(*(_DWORD *)v57 + 656))(v57);
cocos2d::CCRect::CCRect(&v152, v100);
v152.origin.x = v152.origin.x - 3.0;
v152.origin.y = v152.origin.y - 3.0;
v152.size.width = v152.size.width + 6.0;
v152.size.height = v152.size.height + 6.0;
v101 = COERCE_FLOAT(cocos2d::CCRect::getMinX(&v152));
v102 = (int)floorf((float)(v101 + 0.001) / 15.0);
v103 = COERCE_FLOAT(cocos2d::CCRect::getMinY(&v152));
LODWORD(v104) = (int)floorf((float)(v103 + 0.001) / 15.0);
v105 = COERCE_FLOAT(cocos2d::CCRect::getMaxX(&v152));
v106 = (int)floorf((float)(v105 - 0.001) / 15.0);
v107 = COERCE_FLOAT(cocos2d::CCRect::getMaxY(&v152));
v108 = (int)floorf((float)(v107 - 0.001) / 15.0);
while ( SLODWORD(v104) <= v108 )
{
x_low = (int)&v151;
for ( j = 0; v102 + j <= v106; ++j )
{
*(float *)&v109 = v104;
p.x = v104;
LODWORD(p.y) = j + v102;
v110 = LODWORD(v104) % LODWORD(v151.origin.y);
v111 = sub_3653B2(&v151, LODWORD(v104) % LODWORD(v151.origin.y), &p);
if ( !v111 || !*v111 )
{
v112 = operator new(0x10u);
*(_DWORD *)v112 = 0;
HIDWORD(v109) = j + v102;
*(_QWORD *)(v112 + 8) = v109;
std::_Hashtable,std::__detail::_Identity,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits>::_M_insert_unique_node(
(int *)&v151,
v110,
LODWORD(v104),
(_DWORD *)v112);
}
}
++LODWORD(v104);
}
}
}
}
v121 = &v151;
v127 = nullptr;
v128 = nullptr;
v129 = nullptr;
std::_Hashtable,std::__detail::_Identity,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits>::_Hashtable(
&v152,
10);
std::__detail::_Rehash_base,std::__detail::_Identity,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits>::reserve(
(int)&v152,
LODWORD(v151.size.height));
for ( k = v151.size.width; k != 0.0; k = *(float *)LODWORD(k) )
{
v122 = *(_QWORD *)(LODWORD(k) + 8);
if ( !std::_Hashtable,std::__detail::_Identity,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits>::count(
&v152,
&v122) )
{
v130.x = 0.0;
v130.y = 0.0;
v131 = 0;
std::vector::push_back((int)&v130, &v122);
sub_373778((int)&v125, (int *)&v152, &v122);
p.x = 0.0;
p.y = 0.0;
v137 = 0;
cocos2d::CCPoint::CCPoint(&v138);
x_low = LODWORD(p.x);
if ( (unsigned int)(v137 - LODWORD(p.x)) < 0x200 )
{
v60 = LODWORD(p.y) - LODWORD(p.x);
v61 = (LODWORD(p.y) - LODWORD(p.x)) >> 3;
v62 = COERCE_FLOAT(operator new(0x200u));
v63 = v62;
if ( v61 )
memmove((void *)LODWORD(v62), (const void *)x_low, v60);
if ( LODWORD(p.x) )
operator delete((void *)LODWORD(p.x));
p.x = v63;
LODWORD(p.y) = v60 + LODWORD(v63);
v137 = LODWORD(v63) + 512;
}
v64 = 0.0;
v65 = 0.0;
while ( LODWORD(v130.x) != LODWORD(v130.y) )
{
x_low = *(_DWORD *)(LODWORD(v130.y) - 8);
v66 = *(_DWORD *)(LODWORD(v130.y) - 4);
LODWORD(v130.y) -= 8;
v123 = __PAIR64__(v66, x_low);
std::vector::push_back((int)&p, (__int64 *)&v123);
v65 = v65 + (double)v66;
v134[0] = -1;
v134[1] = 1;
v134[2] = 0;
v134[3] = 0;
v135[0] = 0;
v135[1] = 0;
v135[2] = -1;
v135[3] = 1;
v67 = 0;
v64 = v64 + (double)x_low;
do
{
v117 = v134[v67] + v66;
LODWORD(v125) = v135[v67] + x_low;
HIDWORD(v125) = v117;
if ( sub_36F51C(__SPAIR64__(v117, &v121), (unsigned int)v125)
&& !std::_Hashtable,std::__detail::_Identity,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits>::count(
&v152,
&v125) )
{
sub_373778((int)&v126, (int *)&v152, &v125);
std::vector::push_back((int)&v130, &v125);
}
++v67;
}
while ( v67 != 4 );
}
v68 = (double)(unsigned int)((LODWORD(p.y) - LODWORD(p.x)) >> 3);
v69 = v65 / v68;
*(float *)&v68 = v64 / v68;
cocos2d::CCPoint::CCPoint(&v126, (float)(v69 + 0.5) * 15.0, (float)(*(float *)&v68 + 0.5) * 15.0);
cocos2d::CCPoint::operator=((PlayerObject *)&v138, COERCE_FLOAT(&v126), v70, v71);
v72 = v128;
if ( v128 == v129 )
{
std::vector::_M_emplace_back_aux((int)&v127, (int)&p);
}
else
{
if ( v128 )
{
*v128 = 0;
v72[1] = 0;
v72[2] = 0;
*v72 = LODWORD(p.x);
p.x = 0.0;
v72[1] = LODWORD(p.y);
p.y = 0.0;
v72[2] = v137;
v137 = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v72 + 3), &v138);
}
v128 += 5;
}
std::_Vector_base::~_Vector_base((void **)&p);
std::_Vector_base::~_Vector_base((void **)&v130);
}
}
v113 = (const cocos2d::CCPoint *)v128;
v73 = (const cocos2d::CCPoint *)(v127 + 3);
p_m_debugDrawNode = &a1->m_debugDrawNode;
while ( v113 != (const cocos2d::CCPoint *)&v73[-2].y )
{
y_low = (int *)LODWORD(v73[-2].y);
v120 = v73[-1].x;
while ( y_low != (int *)LODWORD(v120) )
{
x_low = *y_low;
v76 = y_low[1];
y_low += 2;
cocos2d::CCDrawNode::enableDrawArea(*p_m_debugDrawNode, &v132);
LODWORD(v77) = &v121;
HIDWORD(v77) = v76 - 1;
LODWORD(v78) = x_low;
v79 = (float)v76 * 15.0;
v80 = (float)x_low * 15.0;
if ( !sub_36F51C(v77, v78) )
{
cocos2d::CCPoint::CCPoint(&v130, (float)v76 * 15.0, (float)x_low * 15.0);
cocos2d::CCPoint::CCPoint(&p, (float)v76 * 15.0, v80 + 15.0);
cocos2d::CCDrawNode::drawSegmentEx(a4, &v130, &p, 1.0, &v133, 0, 0);
}
LODWORD(v82) = &v121;
HIDWORD(v82) = v76 + 1;
LODWORD(v81) = x_low;
if ( !sub_36F51C(v82, v81) )
{
cocos2d::CCPoint::CCPoint(&v130, v79 + 15.0, (float)x_low * 15.0);
cocos2d::CCPoint::CCPoint(&p, v79 + 15.0, v80 + 15.0);
cocos2d::CCDrawNode::drawSegmentEx(a4, &v130, &p, 1.0, &v133, 0, 0);
}
LODWORD(v84) = &v121;
HIDWORD(v84) = v76;
LODWORD(v83) = x_low - 1;
if ( !sub_36F51C(v84, v83) )
{
cocos2d::CCPoint::CCPoint(&v130, (float)v76 * 15.0, (float)x_low * 15.0);
cocos2d::CCPoint::CCPoint(&p, v79 + 15.0, (float)x_low * 15.0);
cocos2d::CCDrawNode::drawSegmentEx(a4, &v130, &p, 1.0, &v133, 0, 0);
}
LODWORD(v86) = &v121;
HIDWORD(v86) = v76;
LODWORD(v85) = x_low + 1;
if ( !sub_36F51C(v86, v85) )
{
cocos2d::CCPoint::CCPoint(&v130, (float)v76 * 15.0, v80 + 15.0);
x_low = (int)&p;
cocos2d::CCPoint::CCPoint(&p, v79 + 15.0, v80 + 15.0);
cocos2d::CCDrawNode::drawSegmentEx(a4, &v130, &p, 1.0, &v133, 0, 0);
}
cocos2d::CCDrawNode::disableDrawArea(*p_m_debugDrawNode);
}
drawArrow(a4, &v124, v73, 6.0, v133);
v73 = (const cocos2d::CCPoint *)((char *)v73 + 20);
}
v87 = LODWORD(v12->a);
v88 = v87 % v146;
v89 = sub_3654EA(&v145, v87 % v146, &v12->a);
if ( !v89 || (v90 = *v89) == nullptr )
{
v91 = (GLfloat *)operator new(0x14u);
v92 = v12->a;
*v91 = 0.0;
v91[2] = 0.0;
v91[1] = v92;
v91[3] = 0.0;
v91[4] = 0.0;
v90 = std::_Hashtable>,std::allocator>>,std::__detail::_Select1st,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits>::_M_insert_unique_node(
(int)&v145,
v88,
v87,
v91);
}
v93 = (float *)(v90 + 2);
p.y = 0.0;
v137 = 0;
p.x = 0.0;
v94 = *v93;
*v93 = 0.0;
p.x = v94;
v95 = v93[1];
v93[1] = p.y;
p.y = v95;
v96 = *((_DWORD *)v93 + 2);
*((_DWORD *)v93 + 2) = v137;
v137 = v96;
v97 = *(void ***)v93;
*(_DWORD *)v93 = v127;
v127 = v97;
v98 = *((_DWORD **)v93 + 1);
*((_DWORD *)v93 + 1) = v128;
v128 = v98;
v99 = *((_DWORD **)v93 + 2);
*((_DWORD *)v93 + 2) = v129;
v129 = v99;
std::vector::~vector((void ***)&p);
std::_Hashtable,std::__detail::_Identity,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits>::~_Hashtable((int)&v152);
std::vector::~vector(&v127);
std::_Hashtable,std::__detail::_Identity,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits>::~_Hashtable((int)&v151);
}
break;
}
}
else
{
v14 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(int))(*(_DWORD *)LODWORD(v12->g) + 96))(LODWORD(v12->g));
v15 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(int))(*(_DWORD *)LODWORD(v12->b) + 96))(LODWORD(v12->b));
drawArrow(a4, v14, v15, 6.0, v12[1]);
}
v12 += 2;
}
std::_Hashtable>,std::allocator>>,std::__detail::_Select1st,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits>::~_Hashtable((int)&v145);
return std::_Hashtable,std::allocator>,std::__detail::_Select1st,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits>::~_Hashtable((int)&v139);
}