//
// EditorUI::updateObjectInfoLabel from 0x7ccfbc to 0x7ce07c (4288 bytes)
//
// 13 xrefs:
// > EditorUI::toggleObjectInfoLabel @ 0x7ce0d4
// > EditorUI::updateSpecialUIElements @ 0x7d1768
// > EditorUI::assignNewGroups @ 0x7d20a8
// > EditorUI::onAssignNewGroupID @ 0x7d2278
// > CustomizeObjectLayer::onClose @ 0x982b74
// > SetGroupIDLayer::onClose @ 0xab928c
// > EditorUI::onPasteState @ 0xbd8c5c
// > EditorUI::onPasteColor @ 0xbd8cc0
// > EditorUI::doPasteObjects @ 0xbda014
// > EditorUI::doPasteInPlace @ 0xbda1a0
// > EditorUI::onDuplicate @ 0xbdaae8
// > EditorUI::deselectAll @ 0xbdc6a4
// > ??> @ 0xe1670
//
// 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 12:54:13 +0000
//
__int64 __fastcall EditorUI::updateObjectInfoLabel(EditorUI *this)
{
GameManager *v1; // x0
cocos2d::CCArray *v3; // x0
unsigned int v4; // w21
unsigned int v5; // w28
GameObject *v6; // x0
__int16 *v7; // x20
int *RelativeSpriteColor; // x0
int v9; // w1
int v10; // w0
int v11; // w0
int *v12; // x0
int v13; // w1
int v14; // w0
int v15; // w0
int v16; // w0
GameObject *v17; // x0
int *v18; // x0
int v19; // w1
int v20; // w0
int *v21; // x0
int v22; // w1
int v23; // w0
__int64 v24; // x0
cocos2d::CCObject *v25; // x1
cocos2d::CCArray *v26; // x0
unsigned int *v27; // x1
__int64 *v28; // x27
__int64 v29; // x20
int v30; // w21
signed int v31; // w19
__int64 v32; // x0
__int64 v33; // x0
__int64 **v34; // x0
int v35; // w1
bool v36; // cc
__int64 *v37; // x1
int v38; // w1
__int64 v39; // x0
__int64 *v40; // x1
__int64 v41; // x0
int v42; // w1
const char *v43; // x19
__int64 CString; // x0
char *v45; // x22
const char *v46; // x25
char *v47; // x27
cocos2d::CCString *v48; // x0
cocos2d::CCString *v49; // x0
size_t v50; // x0
__int64 *v51; // x19
int v52; // w26
unsigned int v53; // w21
unsigned int v54; // w24
_BOOL4 v55; // w24
__int64 *v56; // x0
int v57; // w1
const char *v58; // x1
size_t v59; // x0
char *v60; // x2
cocos2d::CCString *v61; // x0
size_t v62; // x0
__int64 *v63; // x0
cocos2d::CCString *v64; // x0
size_t v65; // x0
__int64 v66; // x0
cocos2d::CCString *v67; // x0
size_t v68; // x0
cocos2d::CCString *v69; // x0
size_t v70; // x0
__int64 v71; // x19
cocos2d::CCString *v72; // x0
size_t v73; // x0
char *v74; // x1
void *v75; // x19
__int64 *v76; // x19
void *v77; // x19
__int64 *v78; // x0
__int64 *v79; // x0
__int64 v80; // x0
cocos2d::CCArray *v81; // x0
const char *v82; // x1
size_t v83; // x0
cocos2d::CCString *v84; // x0
cocos2d::CCString *v85; // x0
size_t v86; // x0
float v87; // s10
float v88; // s9
const cocos2d::CCPoint *v89; // x19
double v90; // d8
const char *v91; // x1
cocos2d::CCString *v92; // x0
size_t v93; // x0
cocos2d::CCString *v94; // x0
cocos2d::CCString *v95; // x0
size_t v96; // x0
int v97; // w24
__int64 *v98; // x19
unsigned int v99; // w25
unsigned int v100; // w21
_BOOL4 v101; // w21
const char *v102; // x1
size_t v103; // x0
__int64 *v104; // x0
__int64 *v105; // x0
__int64 *v106; // x0
cocos2d::CCString *v107; // x0
int v108; // [xsp+8Ch] [xbp+8Ch]
cocos2d::CCArray *v109; // [xsp+98h] [xbp+98h]
__int64 *v110; // [xsp+A0h] [xbp+A0h]
__int64 **v111; // [xsp+A8h] [xbp+A8h]
GJSpecialColorSelect *v112; // [xsp+B8h] [xbp+B8h]
int v113; // [xsp+C0h] [xbp+C0h]
unsigned int ObjectZOrder; // [xsp+D0h] [xbp+D0h]
int ObjectZLayer; // [xsp+D8h] [xbp+D8h]
char *v117; // [xsp+D8h] [xbp+D8h]
char *v118; // [xsp+D8h] [xbp+D8h]
char *v119; // [xsp+D8h] [xbp+D8h]
char *v120; // [xsp+D8h] [xbp+D8h]
char *v121; // [xsp+D8h] [xbp+D8h]
char *v122; // [xsp+D8h] [xbp+D8h]
char *v123; // [xsp+D8h] [xbp+D8h]
char *v124; // [xsp+D8h] [xbp+D8h]
char *v125; // [xsp+D8h] [xbp+D8h]
char *v126; // [xsp+D8h] [xbp+D8h]
char *v127; // [xsp+D8h] [xbp+D8h]
char *v128; // [xsp+D8h] [xbp+D8h]
int *v129; // [xsp+F8h] [xbp+F8h] BYREF
int v130[2]; // [xsp+100h] [xbp+100h] BYREF
__int64 **v131; // [xsp+108h] [xbp+108h] BYREF
__int64 v132[2]; // [xsp+110h] [xbp+110h] BYREF
void *v133; // [xsp+120h] [xbp+120h]
__int64 *v134; // [xsp+128h] [xbp+128h] BYREF
_QWORD **v135; // [xsp+130h] [xbp+130h] BYREF
unsigned __int64 v136; // [xsp+138h] [xbp+138h]
__int64 **v137; // [xsp+140h] [xbp+140h] BYREF
__int64 *v138; // [xsp+148h] [xbp+148h] BYREF
__int64 v139; // [xsp+150h] [xbp+150h]
__int64 *v140; // [xsp+158h] [xbp+158h] BYREF
_QWORD **v141; // [xsp+160h] [xbp+160h] BYREF
unsigned __int64 v142; // [xsp+168h] [xbp+168h]
__int64 v143[2]; // [xsp+170h] [xbp+170h] BYREF
void *v144; // [xsp+180h] [xbp+180h]
__int64 v145; // [xsp+188h] [xbp+188h] BYREF
__int64 v146; // [xsp+190h] [xbp+190h]
void *v147; // [xsp+198h] [xbp+198h]
__int64 v148[2]; // [xsp+1A0h] [xbp+1A0h] BYREF
void *v149; // [xsp+1B0h] [xbp+1B0h]
v1 = (GameManager *)GameManager::sharedState(_stack_chk_guard);
if ( !(unsigned __int8)GameManager::getGameVariable(v1, "0041") )
return _stack_chk_guard;
v132[0] = 0;
v132[1] = 0;
v133 = nullptr;
std::string::__init(v132, &byte_11B8890, 0);
v3 = *((cocos2d::CCArray **)this + 112);
if ( v3 && (unsigned int)cocos2d::CCArray::count(v3) )
{
v108 = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 112));
v112 = (GJSpecialColorSelect *)0xFFFFFFFEFFFFFFFFLL;
v4 = 0;
v5 = -1;
ObjectZOrder = -1;
ObjectZLayer = -1;
v113 = -2;
while ( 1 )
{
if ( v4 >= (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 112)) )
goto LABEL_48;
v6 = (GameObject *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 112), v4);
v7 = (__int16 *)v6;
if ( v113 == -10001 )
goto LABEL_13;
RelativeSpriteColor = (int *)GameObject::getRelativeSpriteColor(v6, 1);
if ( !RelativeSpriteColor )
goto LABEL_14;
v9 = *RelativeSpriteColor;
v10 = RelativeSpriteColor[1];
if ( v9 == v10 || !v9 )
{
v9 = v10;
v11 = v113;
if ( v113 != -2 )
{
LABEL_12:
if ( v11 == v9 )
goto LABEL_14;
LABEL_13:
v113 = -10001;
goto LABEL_14;
}
}
else
{
v11 = v113;
if ( v113 != -2 )
goto LABEL_12;
}
v113 = v9;
LABEL_14:
if ( HIDWORD(v112) == -10001 )
goto LABEL_20;
v12 = (int *)GameObject::getRelativeSpriteColor((GameObject *)v7, 2);
if ( !v12 )
goto LABEL_21;
v13 = *v12;
v14 = v12[1];
if ( v13 == v14 || !v13 )
{
v13 = v14;
v15 = HIDWORD(v112);
if ( HIDWORD(v112) != -2 )
{
LABEL_19:
if ( v15 == v13 )
goto LABEL_21;
LABEL_20:
HIDWORD(v112) = -10001;
goto LABEL_21;
}
}
else
{
v15 = HIDWORD(v112);
if ( HIDWORD(v112) != -2 )
goto LABEL_19;
}
HIDWORD(v112) = v13;
LABEL_21:
if ( ObjectZLayer == -10001 )
goto LABEL_24;
if ( ObjectZLayer != -1 )
{
if ( ObjectZLayer == (unsigned int)GameObject::getObjectZLayer((GameObject *)v7) )
goto LABEL_25;
LABEL_24:
ObjectZLayer = -10001;
goto LABEL_25;
}
ObjectZLayer = GameObject::getObjectZLayer((GameObject *)v7);
LABEL_25:
if ( ObjectZOrder == -10001 )
goto LABEL_28;
if ( ObjectZOrder != -1 )
{
if ( ObjectZOrder == (unsigned int)GameObject::getObjectZOrder((GameObject *)v7) )
goto LABEL_29;
LABEL_28:
ObjectZOrder = -10001;
goto LABEL_29;
}
ObjectZOrder = GameObject::getObjectZOrder((GameObject *)v7);
LABEL_29:
if ( v5 != -10001 )
{
if ( v5 == -1 )
{
v5 = v7[601];
}
else if ( v5 != v7[601] )
{
v5 = -10001;
}
}
if ( (_DWORD)v112 != -10001 )
{
v16 = v7[602];
if ( (_DWORD)v112 != -1 )
{
if ( (_DWORD)v112 == v16 )
v16 = (int)v112;
else
v16 = -10001;
}
LODWORD(v112) = v16;
}
++v4;
}
}
v17 = *((GameObject **)this + 187);
if ( v17 )
{
v18 = (int *)GameObject::getRelativeSpriteColor(v17, 1);
if ( v18 )
{
v19 = *v18;
v20 = v18[1];
v113 = v19;
if ( v19 != v20 && v19 )
{
LABEL_44:
v21 = (int *)GameObject::getRelativeSpriteColor(*((GameObject **)this + 187), 2);
if ( v21 )
{
v22 = *v21;
v23 = v21[1];
HIDWORD(v112) = v22;
if ( v22 != v23 && v22 )
goto LABEL_47;
}
else
{
v23 = -2;
}
HIDWORD(v112) = v23;
LABEL_47:
ObjectZLayer = GameObject::getObjectZLayer(*((GameObject **)this + 187));
ObjectZOrder = GameObject::getObjectZOrder(*((GameObject **)this + 187));
v24 = *((_QWORD *)this + 187);
v108 = 0;
v5 = *(__int16 *)(v24 + 1202);
LODWORD(v112) = *(__int16 *)(v24 + 1204);
LABEL_48:
v25 = (cocos2d::CCObject *)&v141;
v135 = nullptr;
v26 = *((cocos2d::CCArray **)this + 112);
v136 = 0;
v134 = (__int64 *)&v135;
v138 = nullptr;
v139 = 0;
v137 = &v138;
v141 = nullptr;
v142 = 0;
v140 = (__int64 *)&v141;
if ( v26 && (unsigned int)cocos2d::CCArray::count(v26) )
{
v109 = *((cocos2d::CCArray **)this + 112);
}
else
{
v81 = *((cocos2d::CCArray **)this + 187);
if ( !v81 )
goto LABEL_228;
v109 = (cocos2d::CCArray *)cocos2d::CCArray::createWithObject(v81, v25);
}
if ( v109 )
{
v27 = *((unsigned int **)v109 + 7);
if ( *v27 && (v28 = *((__int64 **)v27 + 2), v110 = &v28[*v27 - 1], v28 <= v110) )
{
v29 = *v28;
v30 = 0;
if ( *v28 )
{
while ( 1 )
{
v31 = 0;
if ( *(__int16 *)(v29 + 1168) > 0 )
break;
LABEL_73:
if ( *(_DWORD *)(v29 + 1248) == 1 )
{
LODWORD(v131) = *(_DWORD *)(v29 + 1672);
if ( (int)v131 > 0 )
{
*(_QWORD *)v130 = &v131;
v80 = std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::__emplace_unique_key_args,std::tuple<>>(
&v140,
(int *)&v131,
(__int64)algn_1142290,
(_DWORD **)v130);
++*(_DWORD *)(v80 + 32);
}
}
if ( v110 >= ++v28 )
{
v29 = *v28;
if ( *v28 )
continue;
}
goto LABEL_75;
}
while ( 1 )
{
LABEL_58:
v130[0] = GameObject::getGroupID((GameObject *)v29, v31);
v129 = v130;
v32 = std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::__emplace_unique_key_args,std::tuple<>>(
&v134,
v130,
(__int64)algn_1142290,
&v129);
++*(_DWORD *)(v32 + 32);
if ( !*(_BYTE *)(v29 + 1170) )
goto LABEL_57;
v33 = GameManager::sharedState((GameManager *)*(unsigned __int8 *)(v29 + 1170));
if ( v29 != GJBaseGameLayer::getGroupParent(*(GJBaseGameLayer **)(v33 + 552), v130[0]) )
goto LABEL_57;
v34 = (__int64 **)v138;
if ( !v138 )
break;
v35 = *((_DWORD *)v138 + 7);
v36 = v35 < v130[0];
if ( v35 > v130[0] )
{
LABEL_62:
v37 = *v34;
if ( *v34 )
goto LABEL_63;
LABEL_69:
v131 = v34;
v111 = v34;
goto LABEL_70;
}
while ( 1 )
{
if ( !v36 )
{
LABEL_57:
++v31;
++v30;
if ( *(__int16 *)(v29 + 1168) <= v31 )
goto LABEL_73;
goto LABEL_58;
}
v37 = v34[1];
if ( !v37 )
break;
LABEL_63:
v34 = (__int64 **)v37;
v38 = *((_DWORD *)v37 + 7);
v36 = v38 < v130[0];
if ( v38 > v130[0] )
goto LABEL_62;
}
v131 = v34;
v111 = v34 + 1;
LABEL_70:
v39 = operator new(0x20u);
*(_DWORD *)(v39 + 28) = v130[0];
*(_QWORD *)(v39 + 16) = v131;
*(_QWORD *)v39 = 0;
*(_QWORD *)(v39 + 8) = 0;
*v111 = (__int64 *)v39;
if ( *v137 )
{
v137 = (__int64 **)*v137;
v40 = *v111;
}
else
{
v40 = (__int64 *)v39;
}
++v31;
++v30;
std::__tree_balance_after_insert *>(v138, v40);
++v139;
if ( *(__int16 *)(v29 + 1168) <= v31 )
goto LABEL_73;
}
v34 = &v138;
goto LABEL_69;
}
}
else
{
v30 = 0;
}
LABEL_75:
if ( v113 == -10001 )
{
v42 = -10001;
v43 = "?";
v45 = "?";
if ( HIDWORD(v112) != -10001 )
{
LABEL_79:
if ( (HIDWORD(v112) & 0x80000000) != 0 )
{
v45 = &byte_1191DE0;
}
else
{
if ( SHIDWORD(v112) <= 999 )
{
v107 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i",
(const char *)HIDWORD(v112));
CString = cocos2d::CCString::getCString(v107);
}
else
{
CString = GJSpecialColorSelect::textForColorIdx((GJSpecialColorSelect *)HIDWORD(v112), v42);
}
v45 = (char *)CString;
}
if ( v113 == -2 )
v43 = &byte_1191DE0;
}
}
else
{
if ( v113 <= 999 )
{
v94 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i",
(const char *)(unsigned int)v113);
v41 = cocos2d::CCString::getCString(v94);
}
else
{
v41 = GJSpecialColorSelect::textForColorIdx((GJSpecialColorSelect *)(unsigned int)v113, v113);
}
v42 = HIDWORD(v112);
v43 = (const char *)v41;
if ( HIDWORD(v112) != -10001 )
goto LABEL_79;
if ( v113 == -2 )
{
v43 = &byte_1191DE0;
v45 = "?";
goto LABEL_186;
}
v45 = "?";
}
if ( HIDWORD(v112) == -2 )
v45 = &byte_1191DE0;
LABEL_186:
switch ( ObjectZLayer )
{
case -5:
v46 = "B5";
break;
case -3:
v46 = "B4";
break;
case -1:
v46 = "B3";
break;
case 1:
v46 = "B2";
break;
case 3:
v46 = "B1";
break;
case 5:
v46 = "T1";
break;
case 7:
v46 = "T2";
break;
case 9:
v46 = "T3";
break;
case 11:
v46 = "T4";
break;
default:
v46 = "?";
break;
}
if ( ObjectZOrder == -10001 )
{
v47 = "?";
}
else
{
v84 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i",
(const char *)ObjectZOrder);
v47 = (char *)cocos2d::CCString::getCString(v84);
}
if ( v5 != -10001 )
{
v48 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)v5);
cocos2d::CCString::getCString(v48);
}
v143[0] = 0;
v143[1] = 0;
v144 = nullptr;
std::string::__init(v143, &byte_11B8890, 0);
if ( v113 == -2 || HIDWORD(v112) == -2 )
{
std::string::append((__int64)v143, "C: ", 3u);
if ( HIDWORD(v112) == -2 )
v82 = v43;
else
v82 = v45;
v124 = (char *)v82;
v83 = strlen(v82);
std::string::append((__int64)v143, v124, v83);
std::string::append((__int64)v143, &byte_11AAA48, 1u);
}
else
{
v49 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"C1: %s\nC2: %s\n",
v43,
v45);
v117 = (char *)cocos2d::CCString::getCString(v49);
v50 = strlen(v117);
std::string::append((__int64)v143, v117, v50);
}
if ( v30 )
{
std::string::append((__int64)v143, "G: ", 3u);
v51 = v134;
v52 = 0;
if ( v134 != (__int64 *)&v135 )
{
while ( 1 )
{
v53 = *((_DWORD *)v51 + 7);
if ( v109 )
{
v54 = *((_DWORD *)v51 + 8);
v55 = v54 >= (unsigned int)cocos2d::CCArray::count(v109);
}
else
{
v55 = 0;
}
if ( v52 )
std::string::append((__int64)v143, &byte_1169BE0, 1u);
v56 = v138;
if ( v138 )
{
while ( 1 )
{
while ( 1 )
{
v57 = *((_DWORD *)v56 + 7);
if ( (int)v53 >= v57 )
break;
v56 = (__int64 *)*v56;
if ( !v56 )
goto LABEL_105;
}
if ( (int)v53 <= v57 )
break;
v56 = (__int64 *)v56[1];
if ( !v56 )
goto LABEL_105;
}
v58 = "*";
}
else
{
LABEL_105:
v58 = &byte_11B8890;
}
v148[0] = 0;
v148[1] = 0;
v149 = nullptr;
v118 = (char *)v58;
v59 = strlen(v58);
std::string::__init(v148, v118, v59);
v60 = (char *)v148 + 1;
if ( v55 )
{
if ( (v148[0] & 1) != 0 )
v60 = (char *)v149;
v61 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i%s",
(const char *)v53,
v60);
}
else
{
if ( (v148[0] & 1) != 0 )
v60 = (char *)v149;
v61 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"(%i%s)",
(const char *)v53,
v60);
}
v119 = (char *)cocos2d::CCString::getCString(v61);
v62 = strlen(v119);
std::string::append((__int64)v143, v119, v62);
if ( ++v52 == 5 )
break;
if ( (v148[0] & 1) != 0 )
operator delete(v149);
v63 = (__int64 *)v51[1];
if ( v63 )
{
do
{
v51 = v63;
v63 = (__int64 *)*v63;
}
while ( v63 );
}
else
{
do
{
v78 = v51;
v51 = (__int64 *)v51[2];
if ( v78 == (__int64 *)*v51 )
break;
v79 = v51;
v51 = (__int64 *)v51[2];
}
while ( v79 != (__int64 *)*v51 );
}
if ( v51 == (__int64 *)&v135 )
goto LABEL_116;
}
if ( (v148[0] & 1) != 0 )
operator delete(v149);
}
LABEL_116:
if ( v136 > 5 )
std::string::append((__int64)v143, "...", 3u);
std::string::append((__int64)v143, &byte_11AAA48, 1u);
}
v64 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"Layer: %s\nZ: %s\n",
v46,
v47);
v120 = (char *)cocos2d::CCString::getCString(v64);
v65 = strlen(v120);
std::string::append((__int64)v143, v120, v65);
v145 = 0;
v146 = 0;
v147 = nullptr;
std::string::__init(&v145, &byte_11B8890, 0);
if ( v5 != -10001 && v5 )
{
v95 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)v5);
v127 = (char *)cocos2d::CCString::getCString(v95);
v96 = strlen(v127);
std::string::append((__int64)&v145, v127, v96);
}
if ( (_DWORD)v112 != -10001 && (_DWORD)v112 )
{
v66 = (unsigned __int8)v145 >> 1;
if ( (v145 & 1) != 0 )
v66 = v146;
if ( v66 )
v67 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)", %i",
(const char *)(unsigned int)v112);
else
v67 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i",
(const char *)v5);
v121 = (char *)cocos2d::CCString::getCString(v67);
v68 = strlen(v121);
std::string::append((__int64)&v145, v121, v68);
}
if ( (v145 & 1) != 0 )
{
if ( !v146 )
{
LABEL_133:
if ( !v142 )
{
LABEL_134:
v71 = *((_QWORD *)this + 187);
if ( v71 && *(_DWORD *)(v71 + 1248) == 1 )
{
if ( *(_QWORD *)(v71 + 1772) )
{
v85 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"Order: %i,%i\n",
(const char *)*(unsigned int *)(v71 + 1776));
v125 = (char *)cocos2d::CCString::getCString(v85);
v86 = strlen(v125);
std::string::append((__int64)v143, v125, v86);
}
v87 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v71 + 192LL))(v71);
v88 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v71 + 192LL))(v71) + 4);
v89 = (const cocos2d::CCPoint *)(v71 + 1784);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v130, v89);
v90 = *(float *)v130;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v131, v89);
v92 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%.01f %.01f, %.01f %.01f\n",
v91,
v87,
v88,
v90,
*((float *)&v131 + 1));
v126 = (char *)cocos2d::CCString::getCString(v92);
v93 = strlen(v126);
std::string::append((__int64)v143, v126, v93);
}
if ( v108 > 1 )
{
v72 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"Objects: %i",
(const char *)(unsigned int)v108);
v123 = (char *)cocos2d::CCString::getCString(v72);
v73 = strlen(v123);
std::string::append((__int64)v143, v123, v73);
}
if ( (v143[0] & 1) != 0 )
v74 = (char *)v144;
else
v74 = (char *)v143 + 1;
(*(void (__fastcall **)(_QWORD, char *))(**((_QWORD **)this + 94) + 928LL))(*((_QWORD *)this + 94), v74);
if ( (v145 & 1) != 0 )
operator delete(v147);
if ( (v143[0] & 1) != 0 )
operator delete(v144);
v75 = v141;
if ( v141 )
{
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(__int64)&v140,
*v141);
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(__int64)&v140,
*(_QWORD **)&byte_8[(_QWORD)v75]);
operator delete(v75);
}
v76 = v138;
if ( v138 )
{
std::__tree::destroy((__int64)&v137, (_QWORD *)*v138);
std::__tree::destroy((__int64)&v137, *(_QWORD **)&byte_8[(_QWORD)v76]);
operator delete(v76);
}
v77 = v135;
if ( v135 )
{
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(__int64)&v134,
*v135);
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(__int64)&v134,
*(_QWORD **)&byte_8[(_QWORD)v77]);
operator delete(v77);
}
goto LABEL_150;
}
std::string::append((__int64)v143, "CID: ", 5u);
v97 = 0;
v98 = v140;
if ( v140 == (__int64 *)&v141 )
{
LABEL_215:
if ( v142 > 5 )
std::string::append((__int64)v143, "...", 3u);
std::string::append((__int64)v143, &byte_11AAA48, 1u);
goto LABEL_134;
}
while ( 1 )
{
v99 = *((_DWORD *)v98 + 7);
if ( v109 )
break;
if ( v97 )
{
v101 = 0;
LABEL_225:
std::string::append((__int64)v143, &byte_1169BE0, 1u);
LABEL_205:
if ( v101 )
goto LABEL_207;
}
std::string::append((__int64)v143, "(", 1u);
v101 = 0;
LABEL_207:
GameToolbox::intToString((unsigned __int64 *)v148, (GameToolbox *)v99);
v102 = (char *)v148 + 1;
if ( (v148[0] & 1) != 0 )
v102 = (const char *)v149;
v128 = (char *)v102;
v103 = strlen(v102);
std::string::append((__int64)v143, v128, v103);
if ( (v148[0] & 1) != 0 )
{
operator delete(v149);
if ( v101 )
goto LABEL_211;
}
else if ( v101 )
{
goto LABEL_211;
}
std::string::append((__int64)v143, ")", 1u);
LABEL_211:
if ( ++v97 != 5 )
{
v104 = (__int64 *)v98[1];
if ( v104 )
{
do
{
v98 = v104;
v104 = (__int64 *)*v104;
}
while ( v104 );
}
else
{
do
{
v105 = v98;
v98 = (__int64 *)v98[2];
if ( v105 == (__int64 *)*v98 )
break;
v106 = v98;
v98 = (__int64 *)v98[2];
}
while ( v106 != (__int64 *)*v98 );
}
if ( v98 != (__int64 *)&v141 )
continue;
}
goto LABEL_215;
}
v100 = *((_DWORD *)v98 + 8);
v101 = v100 >= (unsigned int)cocos2d::CCArray::count(v109);
if ( v97 )
goto LABEL_225;
goto LABEL_205;
}
v69 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"EL: %s\n",
(const char *)v147);
}
else
{
if ( !((int)(unsigned __int8)v145 >> 1) )
goto LABEL_133;
v69 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"EL: %s\n",
(const char *)&v145 + 1);
}
v122 = (char *)cocos2d::CCString::getCString(v69);
v70 = strlen(v122);
std::string::append((__int64)v143, v122, v70);
goto LABEL_133;
}
LABEL_228:
v109 = nullptr;
v30 = 0;
goto LABEL_75;
}
}
else
{
v20 = -2;
}
v113 = v20;
goto LABEL_44;
}
(*(void (__fastcall **)(_QWORD, char *))(**((_QWORD **)this + 94) + 928LL))(*((_QWORD *)this + 94), &byte_11E1A70);
LABEL_150:
if ( (v132[0] & 1) != 0 )
operator delete(v133);
return _stack_chk_guard;
}