//
// ShareCommentLayer::init from 0x10026c62c to 0x10026d474 (3656 bytes)
//
// 1 xrefs:
// > ShareCommentLayer::create @ 0x10026c580
//
// 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 11:01:45 +0000
//
__int64 __fastcall ShareCommentLayer::init(__int64 a1, const char *a2, int a3, int a4, int a5, __int64 a6)
{
__int64 inited; // x19
__int64 v13; // x0
__int64 v14; // x24
int v15; // w8
float v16; // s10
float v17; // s11
float v18; // s9
int v19; // w8
int v20; // w8
float v21; // s8
__int64 v22; // x23
float v23; // s10
__int64 v24; // x0
__int64 v25; // x0
std::string::size_type size; // x8
_QWORD *v27; // x0
char v28; // w24
std::string *v29; // x0
std::string *v30; // x1
std::string::size_type v31; // x2
__int64 v32; // x0
__int64 v33; // x24
float32x2_t *v34; // x23
double v35; // d0
__int64 v36; // x0
__int64 v37; // x0
__int64 v38; // x0
char *v39; // x23
__int64 v40; // x24
__int64 v41; // x25
float v42; // s0
float v43; // s1
float v44; // s2
__n128 v45; // q0
char *v46; // x23
__int64 v47; // x24
__int64 v48; // x25
__n128 v49; // q0
__int64 v50; // x23
__int64 v51; // x24
char *v52; // x24
__int64 v53; // x25
__n128 v54; // q0
__int64 v55; // x0
__int64 v56; // x24
__int64 v57; // x24
float *v58; // x0
double v59; // d0
__int64 v60; // x23
const std::string::value_type *v61; // x1
float32x2_t *v62; // x0
__int64 v63; // x0
__int64 v64; // x22
std::string *v65; // x0
__int64 v66; // x0
__int64 v67; // x22
__n128 v68; // q0
__int64 v69; // x22
float v70; // s9
float v71; // s12
__int64 v72; // x0
__n128 v73; // q0
__int64 v74; // x22
int v75; // w8
_QWORD *v76; // x22
const std::string::value_type *v77; // x1
std::string *v78; // x0
_BYTE *v79; // x0
_QWORD *v80; // x0
__int64 v81; // x22
std::string *v82; // x0
unsigned int v83; // w8
__int64 v84; // x22
int v85; // w23
void *v86; // x22
__int64 v87; // x0
__int64 v88; // x22
int v89; // w0
__int64 v90; // x0
const char *CString; // x0
__int64 v92; // x22
__int64 v93; // x22
__int64 v94; // x22
__int64 v95; // x23
__int64 v96; // x24
__n128 v97; // q0
_QWORD *v98; // x21
unsigned __int64 v99; // x2
void *v101[2]; // [xsp+10h] [xbp-1E0h] BYREF
__int64 v102; // [xsp+20h] [xbp-1D0h]
std::string __str; // [xsp+30h] [xbp-1C0h] BYREF
float v104; // [xsp+50h] [xbp-1A0h] BYREF
__int64 v105; // [xsp+58h] [xbp-198h] BYREF
void *v106[2]; // [xsp+60h] [xbp-190h] BYREF
char v107; // [xsp+77h] [xbp-179h]
void *v108[2]; // [xsp+78h] [xbp-178h] BYREF
char v109; // [xsp+8Fh] [xbp-161h]
std::string __dst; // [xsp+90h] [xbp-160h] BYREF
std::string v111; // [xsp+A8h] [xbp-148h] BYREF
float v112; // [xsp+C0h] [xbp-130h] BYREF
float v113; // [xsp+C8h] [xbp-128h] BYREF
float v114[4]; // [xsp+D0h] [xbp-120h] BYREF
void *__p[2]; // [xsp+E0h] [xbp-110h] BYREF
char v116; // [xsp+F7h] [xbp-F9h]
void *v117[2]; // [xsp+F8h] [xbp-F8h] BYREF
char v118; // [xsp+10Fh] [xbp-E1h]
void *v119[2]; // [xsp+110h] [xbp-E0h] BYREF
char v120; // [xsp+127h] [xbp-C9h]
void *v121[2]; // [xsp+128h] [xbp-C8h] BYREF
char v122; // [xsp+13Fh] [xbp-B1h]
float32x2_t v123[2]; // [xsp+140h] [xbp-B0h] BYREF
char v124; // [xsp+157h] [xbp-99h]
std::string v125; // [xsp+158h] [xbp-98h] BYREF
float v126; // [xsp+170h] [xbp-80h] BYREF
float v127; // [xsp+174h] [xbp-7Ch]
__int64 v128; // [xsp+178h] [xbp-78h] BYREF
inited = FLAlertLayer::init_1(a1, 150);
if ( !(_DWORD)inited )
return inited;
*(_DWORD *)(a1 + 692) = a5;
*(_DWORD *)(a1 + 688) = a3;
*(_DWORD *)(a1 + 696) = a4;
*(_BYTE *)(a1 + 700) = ((unsigned int)a4 < 0xA) & (0x2DFu >> a4);
v13 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(v13, &v128);
sub_1000262CC((float *)&v125, 0.0, 0.0, 80.0, 80.0);
v14 = cocos2d::extension::CCScale9Sprite::create("GJ_square01.png", &v125);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v14 + 912LL))(v14, 255);
v15 = *(_DWORD *)(a1 + 696);
if ( v15 == 2 )
{
v17 = -5.0;
v18 = 160.0;
*(float *)&v20 = 40.0;
}
else
{
if ( v15 == 9 || v15 == 4 )
{
v16 = 0.0;
v17 = 7.0;
v18 = 270.0;
*(float *)&v19 = 180.0;
goto LABEL_9;
}
v17 = 7.0;
v18 = 135.0;
*(float *)&v20 = 80.0;
}
v16 = *(float *)&v20;
*(float *)&v19 = 60.0;
LABEL_9:
v21 = *(float *)&v19;
sub_1000262C4((float *)&v125, 400.0, v18);
(*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v14 + 320LL))(v14, &v125);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))(
*(_QWORD *)(a1 + 584),
v14,
0xFFFFFFFFLL);
sub_1000262BC(&v126, *(float *)&v128 * 0.5, v16 + (float)(*((float *)&v128 + 1) * 0.5));
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v14 + 184LL))(v14, &v126);
if ( a2[23] < 0 )
a2 = *(const char **)a2;
v22 = cocos2d::CCLabelBMFont::create_1(a2, "bigFont.fnt");
v23 = v18 * 0.5;
sub_1000262BC((float *)&v125, v126, (float)((float)(v18 * 0.5) + v127) + -16.0);
(*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v22 + 184LL))(v22, &v125);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v22);
v24 = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v22 + 160LL))(v22, 0.6);
if ( *(_DWORD *)(a1 + 696) == 2 )
{
v25 = GameLevelManager::sharedState();
sub_1000A7734(v25, *(_DWORD *)(a1 + 692), (__int64)&v125);
size = HIBYTE(v125.__r_.__value_.__r.__words[2]);
if ( (v125.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) != 0LL )
size = v125.__r_.__value_.__l.__size_;
if ( !size )
goto LABEL_30;
v27 = sub_100009900(v123, "-");
v24 = sub_1000045BC(v27, &v125);
v28 = v24;
if ( v124 < 0 )
{
operator delete(*(void **)v123);
if ( (v28 & 1) != 0 )
goto LABEL_30;
}
else if ( (v24 & 1) != 0 )
{
LABEL_30:
if ( SHIBYTE(v125.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v125.__r_.__value_.__l.__data_);
goto LABEL_32;
}
v29 = (std::string *)sub_100009900(v123, "Send friend request to ");
if ( (v125.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
v30 = &v125;
else
v30 = (std::string *)v125.__r_.__value_.__r.__words[0];
if ( (v125.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
v31 = HIBYTE(v125.__r_.__value_.__r.__words[2]);
else
v31 = v125.__r_.__value_.__l.__size_;
std::string::append(v29, (const std::string::value_type *)v30, v31);
if ( v124 >= 0 )
v32 = cocos2d::CCLabelBMFont::create_1((const char *)v123, "goldFont.fnt");
else
v32 = cocos2d::CCLabelBMFont::create_1(*(const char **)v123, "goldFont.fnt");
v33 = v32;
v34 = (float32x2_t *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v22 + 192LL))(v22);
sub_1000262BC((float *)v106, 0.0, -20.0);
*(float32x2_t *)&v35 = sub_100026318(v34, (float32x2_t *)v106, (float32x2_t *)&v111);
(*(void (__fastcall **)(__int64, std::string *, double))(*(_QWORD *)v33 + 184LL))(v33, &v111, v35);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v33);
v24 = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v33 + 160LL))(v33, 0.6);
if ( v124 < 0 )
operator delete(*(void **)v123);
goto LABEL_30;
}
LABEL_32:
*(_DWORD *)(a1 + 640) = -1;
v36 = cocos2d::CCMenu::create(v24);
*(_QWORD *)(a1 + 552) = v36;
v37 = (*(__int64 (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))(
*(_QWORD *)(a1 + 584),
v36,
10);
if ( a4 <= 3 )
{
if ( a4 )
{
if ( a4 != 2 )
goto LABEL_51;
sub_100009900(v121, "Friend Requests");
sub_100009900(
v119,
"A request can carry a short message only if the other player allows it in their Account Settings"
".\n"
"A request that is not answered expires after 120 days.");
v39 = InfoAlertButton::create((__int64)v121, (__int64)v119, 1.0);
if ( v120 < 0 )
operator delete(v119[0]);
if ( v122 < 0 )
operator delete(v121[0]);
(*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v39);
v40 = *(_QWORD *)(a1 + 552);
v41 = *(_QWORD *)(a1 + 584);
v42 = (float)(v126 + -200.0) + 4.0;
v43 = v23 + v127;
v44 = -4.0;
goto LABEL_44;
}
}
else
{
if ( a4 == 4 )
{
LABEL_36:
v38 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_resetBtn_001.png");
v39 = (char *)CCMenuItemSpriteExtra::create(v38, 0, a1, sub_10026D6AC, 0);
(*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v39);
v40 = *(_QWORD *)(a1 + 552);
v41 = *(_QWORD *)(a1 + 584);
v42 = (float)(v126 + -200.0) + 18.0;
v43 = v23 + v127;
v44 = -18.0;
LABEL_44:
sub_1000262BC((float *)&v111, v42, v43 + v44);
cocos2d::CCNode::convertToWorldSpace(v123, v41, &v111);
cocos2d::CCNode::convertToNodeSpace(&v125, v40, v123, v45);
v37 = (*(__int64 (__fastcall **)(char *, std::string *))(*(_QWORD *)v39 + 184LL))(v39, &v125);
goto LABEL_51;
}
if ( a4 != 7 )
{
if ( a4 != 9 )
goto LABEL_51;
goto LABEL_36;
}
}
sub_100009900(v117, "Comment Rules");
sub_100009900(
__p,
"1. Do not spam.\n"
"2. Do not harass other players.\n"
"3. Do not post inappropriate or controversial content.\n"
"4. Do not try to bypass these rules.\n"
"These rules and their enforcement are entirely at Moderators' discretion.");
v46 = InfoAlertButton::create((__int64)v117, (__int64)__p, 1.0);
if ( v116 < 0 )
operator delete(__p[0]);
if ( v118 < 0 )
operator delete(v117[0]);
(*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v46);
v47 = *(_QWORD *)(a1 + 552);
v48 = *(_QWORD *)(a1 + 584);
sub_1000262BC((float *)&v111, (float)(v126 + -200.0) + 4.0, (float)(v23 + v127) + -4.0);
cocos2d::CCNode::convertToWorldSpace(v123, v48, &v111);
cocos2d::CCNode::convertToNodeSpace(&v125, v47, v123, v49);
v37 = (*(__int64 (__fastcall **)(char *, std::string *))(*(_QWORD *)v46 + 184LL))(v46, &v125);
if ( *(int *)(a1 + 692) >= 1 )
{
v50 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_checkOn_001.png");
v51 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_checkOff_001.png");
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v50 + 160LL))(v50, 0.6);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v51 + 160LL))(v51, 0.6);
v52 = CCMenuItemToggler::create(v51, v50, a1, (__int64)sub_10026D5DC, 0);
(*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v52);
sub_1000262BC((float *)&v125, (float)(v126 + -200.0) + 20.0, (float)(v127 - v23) + 20.0);
v53 = *(_QWORD *)(a1 + 552);
cocos2d::CCNode::convertToWorldSpace(&v111, *(_QWORD *)(a1 + 584), &v125);
cocos2d::CCNode::convertToNodeSpace(v123, v53, &v111, v54);
(*(void (__fastcall **)(char *, float32x2_t *))(*(_QWORD *)v52 + 184LL))(v52, v123);
CCMenuItemToggler::setSizeMult((__int64)v52, 1.5);
v55 = cocos2d::CCLabelBMFont::create_1("%", "chatFont.fnt");
*(_QWORD *)(a1 + 784) = v55;
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v55);
v56 = *(_QWORD *)(a1 + 784);
sub_1000262BC((float *)v123, 0.0, 0.5);
(*(void (__fastcall **)(__int64, float32x2_t *))(*(_QWORD *)v56 + 296LL))(v56, v123);
v57 = *(_QWORD *)(a1 + 784);
v58 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v50 + 328LL))(v50);
sub_1000262BC((float *)&v111, (float)((float)(*v58 * 0.5) * 0.6) + 4.0, 0.0);
*(float32x2_t *)&v59 = sub_100026318((float32x2_t *)&v125, (float32x2_t *)&v111, v123);
(*(void (__fastcall **)(__int64, float32x2_t *, double))(*(_QWORD *)v57 + 184LL))(v57, v123, v59);
(*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 784) + 160LL))(*(_QWORD *)(a1 + 784), 0.8);
v37 = sub_10026D5EC(a1);
}
LABEL_51:
v60 = sub_1002E736C(v37);
sub_100009900(&v125, "Submit");
sub_100009900(v123, "Cancel");
if ( a4 != 9 )
{
if ( a4 == 5 )
{
v61 = "Create";
goto LABEL_56;
}
if ( a4 != 4 )
goto LABEL_57;
}
v61 = "Save";
LABEL_56:
std::string::assign(&v125, v61);
LABEL_57:
if ( v124 >= 0 )
v62 = v123;
else
v62 = (float32x2_t *)v123[0];
v63 = sub_100067FAC((__int64)v62);
v64 = CCMenuItemSpriteExtra::create(v63, 0, a1, sub_10026D768, 0);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v64);
sub_1002E74E0(v60, v64);
if ( (v125.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
v65 = &v125;
else
v65 = (std::string *)v125.__r_.__value_.__r.__words[0];
v66 = sub_100067FAC((__int64)v65);
v67 = CCMenuItemSpriteExtra::create(v66, 0, a1, ShareCommentLayer::onShare, 0);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v67);
v68 = sub_1002E74E0(v60, v67);
v69 = *(_QWORD *)(a1 + 552);
v70 = v126;
v71 = v127;
v72 = (*(__int64 (__fastcall **)(_QWORD, __n128))(**(_QWORD **)(a1 + 584) + 192LL))(*(_QWORD *)(a1 + 584), v68);
sub_1000262BC((float *)v106, v70, (float)((float)(v71 - v23) + 24.0) + *(float *)(v72 + 4));
cocos2d::CCNode::convertToNodeSpace(&v111, v69, v106, v73);
GameToolbox::alignItemsHorisontally(v60, (float32x2_t *)&v111, 0, 15.0);
sub_1000262CC(v114, 0.0, 0.0, 80.0, 80.0);
sub_1000262BC(&v113, v126, v17 + v127);
sub_1000264D4(&v111, (__int64)v114);
v74 = cocos2d::extension::CCScale9Sprite::create("square02b_001.png", &v111);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v74 + 912LL))(v74, 100);
sub_1000262C4(&v112, 360.0, v21);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v74 + 320LL))(v74, &v112);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584), v74, 1);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v74 + 184LL))(v74, &v113);
v111.__r_.__value_.__s.__data_[2] = 0;
LOWORD(v111.__r_.__value_.__l.__data_) = 0;
(*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v74 + 960LL))(v74, &v111);
sub_100009900(
&v111,
" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.,-!?:;)(/\\\"'`*=+-_%[]<>|@&^#{}%$~");
v75 = *(_DWORD *)(a1 + 696);
v76 = (_QWORD *)(a1 + 752);
if ( v75 == 2 )
{
v77 = "[Optional Message]";
}
else
{
if ( v75 == 5 )
{
std::string::assign((std::string *)(a1 + 752), "Insert List Name");
v77 = " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
v78 = &v111;
goto LABEL_69;
}
v77 = "Insert comment";
}
v78 = (std::string *)(a1 + 752);
LABEL_69:
std::string::assign(v78, v77);
if ( *(char *)(a1 + 775) < 0 )
v76 = (_QWORD *)*v76;
v79 = CCTextInputNode::create((__int64)v76, (__int64)"Thonburi", 24, 0, 360.0, v21 + -10.0);
*(_QWORD *)(a1 + 704) = v79;
v79[608] = 0;
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584));
v80 = *(_QWORD **)(a1 + 704);
v80[73] = a1 + 544;
(*(void (__fastcall **)(_QWORD *, float *))(*v80 + 184LL))(v80, &v113);
v81 = *(_QWORD *)(a1 + 704);
if ( SHIBYTE(v111.__r_.__value_.__r.__words[2]) < 0 )
sub_1000097D0(&__dst, v111.__r_.__value_.__l.__data_, v111.__r_.__value_.__l.__size_);
else
__dst = v111;
v82 = CCTextInputNode::setAllowedChars(v81, &__dst);
if ( SHIBYTE(__dst.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__dst.__r_.__value_.__l.__data_);
v83 = *(_DWORD *)(a1 + 696);
if ( v83 <= 9 && ((1 << v83) & 0x257) != 0 )
v82 = sub_1001FBB2C(*(std::string **)(a1 + 704), 1);
v84 = *(_QWORD *)(a1 + 704);
v85 = *(_DWORD *)(a1 + 688);
if ( *(_BYTE *)(a1 + 700) == 1 )
v85 += 17 * EmoteSprite::maxEmotesComment(v82);
*(_DWORD *)(v84 + 592) = v85;
sub_100009900(v108, "");
sub_1000262BC((float *)v106, 0.5, 0.5);
v86 = TextArea::create((__int64)v108, (__int64)"chatFont.fnt", (double *)v106, 1, 0, 1.0, 324.5, 20.0);
if ( v109 < 0 )
operator delete(v108[0]);
CCTextInputNode::addTextArea(*(_QWORD *)(a1 + 704), (__int64)v86);
v87 = CCTextInputNode::setLabelPlaceholderColor(*(_QWORD *)(a1 + 704), 13158600);
if ( *(_BYTE *)(a1 + 700) == 1 )
{
v88 = *(_QWORD *)(a1 + 704);
v89 = EmoteSprite::maxEmotesComment(v87);
CCTextInputNode::setParseEmotes(v88, v89);
}
v90 = sub_1003065B0("%i", *(_DWORD *)(a1 + 688));
CString = (const char *)cocos2d::CCString::getCString(v90);
*(_QWORD *)(a1 + 776) = cocos2d::CCLabelBMFont::create_1(CString, "chatFont.fnt");
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584));
v92 = *(_QWORD *)(a1 + 776);
sub_1000262BC((float *)v106, 1.0, 0.5);
(*(void (__fastcall **)(__int64, void **))(*(_QWORD *)v92 + 296LL))(v92, v106);
(*(void (__fastcall **)(_QWORD, float, float))(**(_QWORD **)(a1 + 776) + 200LL))(
*(_QWORD *)(a1 + 776),
(float)(v126 + 200.0) + -10.0,
(float)(v23 + v127) + -14.0);
if ( *(_BYTE *)(a1 + 700) == 1 )
{
sub_100009900(v106, "easy");
v93 = EmoteSprite::createWithName(v106);
if ( v107 < 0 )
operator delete(v106[0]);
EmoteSprite::fitToHeight(v93, 18.0, 0.0);
*(_QWORD *)(a1 + 712) = CCMenuItemSpriteExtra::create(v93, 0, a1, sub_10026DCF0, 0);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552));
CCMenuItemSpriteExtra::setSizeMult(1.5);
v94 = *(_QWORD *)(a1 + 712);
v95 = *(_QWORD *)(a1 + 552);
v96 = *(_QWORD *)(a1 + 584);
sub_1000262BC(&v104, (float)(v126 + 200.0) + -50.0, (float)(v23 + v127) + -16.0);
cocos2d::CCNode::convertToWorldSpace(&v105, v96, &v104);
cocos2d::CCNode::convertToNodeSpace(v106, v95, &v105, v97);
(*(void (__fastcall **)(__int64, void **))(*(_QWORD *)v94 + 184LL))(v94, v106);
}
if ( *(char *)(a6 + 23) < 0 )
sub_1000097D0(&__str, *(void **)a6, *(_QWORD *)(a6 + 8));
else
__str = *(std::string *)a6;
std::string::operator=((std::string *)(a1 + 728), &__str);
sub_10026E0A0(a1);
if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__str.__r_.__value_.__l.__data_);
if ( *(char *)(a6 + 23) < 0 )
{
v99 = *(_QWORD *)(a6 + 8);
if ( v99 )
{
v98 = *(_QWORD **)(a1 + 704);
sub_1000097D0(v101, *(void **)a6, v99);
LABEL_99:
CCTextInputNode::setString(v98, (__int64 *)v101);
if ( SHIBYTE(v102) < 0 )
operator delete(v101[0]);
}
}
else if ( *(_BYTE *)(a6 + 23) )
{
v98 = *(_QWORD **)(a1 + 704);
*(_OWORD *)v101 = *(_OWORD *)a6;
v102 = *(_QWORD *)(a6 + 16);
goto LABEL_99;
}
if ( SHIBYTE(v111.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v111.__r_.__value_.__l.__data_);
if ( v124 < 0 )
operator delete(*(void **)v123);
if ( SHIBYTE(v125.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v125.__r_.__value_.__l.__data_);
return inited;
}