//
// sub_1005467AC from 0x1005467ac to 0x100547804 (4184 bytes)
//
// 2 xrefs:
// > AccountReviewPopup::adminAbuseInfoFinished @ 0x100546734
// > sub_100549E74 @ 0x100549ee0
//
// 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:07:47 +0000
//
__int64 __fastcall sub_1005467AC(__int64 a1, __int64 a2)
{
int v3; // w8
__int64 v4; // x0
__int64 v5; // x22
__int64 v6; // x23
float v7; // s15
__int64 v8; // x0
__int64 v9; // x26
float v10; // s14
float v11; // s10
unsigned __int8 v12; // w19
unsigned __int8 v13; // w25
void *v14; // x21
unsigned int v15; // w8
void *v16; // x21
void *v17; // x0
char *v18; // x0
char *v19; // x21
float v20; // s10
const char *v21; // x0
void *v22; // x27
__int64 v23; // x0
unsigned int v24; // w8
const char *v25; // x0
int v26; // w8
const char *v27; // x9
void *v28; // x24
int v29; // w10
int v30; // w9
int v31; // w8
size_t v32; // x21
__int128 *p_dst; // x28
const void *v34; // x1
const char *v35; // x0
void *v36; // x28
unsigned int v37; // w8
const char *v38; // x0
void *v39; // x21
float v40; // s11
float v41; // s14
float v42; // s10
unsigned int v43; // w8
void *v44; // x21
void *v45; // x21
__int64 v46; // x8
__int64 v47; // x9
size_t v48; // x21
std::string *v49; // x24
const void *v50; // x1
int v51; // w11
const std::string::value_type *v52; // x1
std::string::size_type v53; // x2
std::string *v54; // x0
__int128 v55; // q0
void *v56; // x21
float v57; // s11
size_t size; // x2
__int64 v59; // x10
std::string *v60; // x0
__int128 *v61; // x1
__int64 v62; // x8
size_t v63; // x21
std::string *v64; // x24
const void *v65; // x1
int v66; // w11
const std::string::value_type *v67; // x1
std::string::size_type v68; // x2
std::string *v69; // x0
__int128 v70; // q0
std::string *v71; // x0
__int128 v72; // q0
std::string *v73; // x1
std::string::size_type v74; // x2
const char *v75; // x0
const char *v76; // x8
void *v77; // x0
char *CString; // x0
char *v79; // x21
std::string::size_type v80; // x8
__int64 v81; // x1
__int64 v82; // x0
unsigned __int8 *v83; // x21
void *v84; // x21
std::string *v85; // x0
void *v86; // x24
__int64 v87; // x1
float v88; // s11
std::string *v89; // x0
void *v90; // x24
int v93; // [xsp+34h] [xbp-16Ch]
std::string __p; // [xsp+40h] [xbp-160h] BYREF
void *v95[2]; // [xsp+60h] [xbp-140h] BYREF
char v96; // [xsp+77h] [xbp-129h]
std::string v97; // [xsp+78h] [xbp-128h] BYREF
std::string v98; // [xsp+90h] [xbp-110h] BYREF
std::string v99; // [xsp+B0h] [xbp-F0h] BYREF
std::string v100; // [xsp+C8h] [xbp-D8h] BYREF
__int128 __dst; // [xsp+E0h] [xbp-C0h] BYREF
signed __int64 v102; // [xsp+F0h] [xbp-B0h]
char *v103; // [xsp+100h] [xbp-A0h] BYREF
v3 = sub_1002E757C(a2);
v4 = *(_QWORD *)(a1 + 688);
v93 = v3;
if ( v3 >= 1 )
{
v5 = 0;
v6 = *(_QWORD *)(v4 + 416);
v7 = -10.0;
while ( 1 )
{
v8 = sub_1002E75A0(a2, v5);
v9 = v8;
v10 = (float)((float)((float)(unsigned int)v5 * 43.0) + 6.0) + 20.0;
v11 = -v10;
if ( *(_BYTE *)(v8 + 160) )
v12 = -1;
else
v12 = 120;
if ( *(_BYTE *)(v8 + 160) )
v13 = -106;
else
v13 = 120;
sub_1000262CC((float *)&__dst, 0.0, 0.0, 40.0, 40.0);
v14 = cocos2d::extension::CCScale9Sprite::create((__int64)"square02_small.png", (__int64)&__dst);
(*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v14 + 912LL))(v14, 60);
BYTE2(__dst) = 0;
LOWORD(__dst) = 0;
(*(void (__fastcall **)(void *, __int128 *))(*(_QWORD *)v14 + 960LL))(v14, &__dst);
sub_1000262C4((float *)&__dst, *(float *)(a1 + 704) + -8.0, 40.0);
(*(void (__fastcall **)(void *, __int128 *))(*(_QWORD *)v14 + 320LL))(v14, &__dst);
sub_1000262BC((float *)&__dst, *(float *)(a1 + 704) * 0.5, v11);
(*(void (__fastcall **)(void *, __int128 *))(*(_QWORD *)v14 + 184LL))(v14, &__dst);
(*(void (__fastcall **)(__int64, void *, _QWORD))(*(_QWORD *)v6 + 464LL))(v6, v14, 0);
v103 = nullptr;
if ( *(_DWORD *)(v9 + 60) == 3 && *(int *)(v9 + 164) >= 1 && *(_BYTE *)(v9 + 172) == 1 )
{
v15 = *(_DWORD *)(v9 + 56);
if ( v15 <= 7 && ((1 << v15) & 0x98) != 0 )
{
v16 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_checkOff_001.png");
v17 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_checkOn_001.png");
v103 = CCMenuItemToggler::create((__int64)v16, (__int64)v17, a1, (__int64)sub_100549588, 0);
(*(void (__fastcall **)(char *, float))(*(_QWORD *)v103 + 160LL))(v103, 0.55);
CCMenuItemToggler::setSizeMult((__int64)v103, 1.4);
v18 = v103;
v103[393] = 1;
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v18 + 72LL))(v18, v5);
v19 = v103;
sub_1000262BC((float *)&__dst, 16.0, v11);
(*(void (__fastcall **)(char *, __int128 *))(*(_QWORD *)v19 + 184LL))(v19, &__dst);
(*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)v6 + 464LL))(v6, v103, 2);
}
}
v20 = 10.0 - v10;
sub_100011A50(a1 + 1320, &v103);
v21 = sub_10051FBF4(*(_DWORD *)(v9 + 56));
v22 = cocos2d::CCLabelBMFont::create_1(v21, "bigFont.fnt");
sub_1000262BC((float *)&__dst, 0.0, 0.5);
(*(void (__fastcall **)(void *, __int128 *))(*(_QWORD *)v22 + 296LL))(v22, &__dst);
(*(void (__fastcall **)(void *, float))(*(_QWORD *)v22 + 160LL))(v22, 0.32);
v23 = sub_10051FB44(*(_DWORD *)(v9 + 56));
LOWORD(__dst) = v23;
BYTE2(__dst) = BYTE2(v23);
(*(void (__fastcall **)(void *, __int128 *))(*(_QWORD *)v22 + 1072LL))(v22, &__dst);
(*(void (__fastcall **)(void *, _QWORD))(*(_QWORD *)v22 + 1024LL))(v22, v12);
sub_1000262BC((float *)&__dst, 32.0, 10.0 - v10);
(*(void (__fastcall **)(void *, __int128 *))(*(_QWORD *)v22 + 184LL))(v22, &__dst);
(*(void (__fastcall **)(__int64, void *, __int64))(*(_QWORD *)v6 + 464LL))(v6, v22, 1);
v24 = *(_DWORD *)(v9 + 68) - 1;
if ( v24 >= 5 )
{
v26 = *(_DWORD *)(v9 + 60);
v27 = "Blocked";
if ( v26 == 3 )
v27 = "Censored";
if ( v26 )
v25 = v27;
else
v25 = "Malformed";
}
else
{
v25 = off_1009A9A38[v24];
}
v28 = cocos2d::CCLabelBMFont::create_1(v25, "chatFont.fnt");
sub_1000262BC((float *)&__dst, 0.0, 0.5);
(*(void (__fastcall **)(void *, __int128 *))(*(_QWORD *)v28 + 296LL))(v28, &__dst);
(*(void (__fastcall **)(void *, float))(*(_QWORD *)v28 + 160LL))(v28, 0.45);
v29 = *(_DWORD *)(v9 + 60);
if ( v29 )
{
v30 = *(_DWORD *)(v9 + 68);
if ( v30 == 1 )
{
v31 = 16768150;
}
else
{
v31 = 3986175;
if ( v29 != 3 && v30 != 2 )
{
if ( v30 == 4 )
v31 = 5286655;
else
v31 = 6579455;
}
}
}
else
{
v31 = 11184810;
}
LOWORD(__dst) = v31;
BYTE2(__dst) = BYTE2(v31);
(*(void (__fastcall **)(void *, __int128 *))(*(_QWORD *)v28 + 1072LL))(v28, &__dst);
(*(void (__fastcall **)(void *, _QWORD))(*(_QWORD *)v28 + 1024LL))(v28, v12);
(*(void (__fastcall **)(std::string *__return_ptr, void *))(*(_QWORD *)v22 + 336LL))(&v100, v22);
sub_1000262BC((float *)&__dst, (float)(*(float *)&v100.__r_.__value_.__l.__data_ + 32.0) + 8.0, 10.0 - v10);
(*(void (__fastcall **)(void *, __int128 *))(*(_QWORD *)v28 + 184LL))(v28, &__dst);
(*(void (__fastcall **)(__int64, void *, __int64))(*(_QWORD *)v6 + 464LL))(v6, v28, 1);
if ( *(char *)(v9 + 159) >= 0 )
v32 = *(unsigned __int8 *)(v9 + 159);
else
v32 = *(_QWORD *)(v9 + 144);
sub_100026068((__int64)&__dst, v32 + 4);
if ( v102 >= 0 )
p_dst = &__dst;
else
p_dst = (__int128 *)__dst;
if ( v32 )
{
if ( *(char *)(v9 + 159) >= 0 )
v34 = (const void *)(v9 + 136);
else
v34 = *(const void **)(v9 + 136);
memmove(p_dst, v34, v32);
}
strcpy((char *)p_dst + v32, " ago");
if ( v102 >= 0 )
v35 = (const char *)&__dst;
else
v35 = (const char *)__dst;
v36 = cocos2d::CCLabelBMFont::create_1(v35, "chatFont.fnt");
if ( SHIBYTE(v102) < 0 )
operator delete((void *)__dst);
sub_1000262BC((float *)&__dst, 1.0, 0.5);
(*(void (__fastcall **)(void *, __int128 *))(*(_QWORD *)v36 + 296LL))(v36, &__dst);
(*(void (__fastcall **)(void *, float))(*(_QWORD *)v36 + 160LL))(v36, 0.4);
(*(void (__fastcall **)(void *, _QWORD))(*(_QWORD *)v36 + 1024LL))(v36, v13);
sub_1000262BC((float *)&__dst, *(float *)(a1 + 704) + v7, 10.0 - v10);
(*(void (__fastcall **)(void *, __int128 *))(*(_QWORD *)v36 + 184LL))(v36, &__dst);
(*(void (__fastcall **)(__int64, void *, __int64))(*(_QWORD *)v6 + 464LL))(v6, v36, 1);
v37 = *(_DWORD *)(v9 + 72) - 1;
v38 = "";
if ( v37 <= 8 )
v38 = off_1009A9A60[v37];
if ( *v38 )
{
v39 = cocos2d::CCLabelBMFont::create_1(v38, "chatFont.fnt");
sub_1000262BC((float *)&__dst, 0.0, 0.5);
(*(void (__fastcall **)(void *, __int128 *))(*(_QWORD *)v39 + 296LL))(v39, &__dst);
(*(void (__fastcall **)(void *, float))(*(_QWORD *)v39 + 160LL))(v39, 0.4);
(*(void (__fastcall **)(void *, _QWORD))(*(_QWORD *)v39 + 1024LL))(v39, v13);
v40 = (*(float (__fastcall **)(void *))(*(_QWORD *)v28 + 224LL))(v28);
(*(void (__fastcall **)(std::string *__return_ptr, void *))(*(_QWORD *)v28 + 336LL))(&v100, v28);
sub_1000262BC((float *)&__dst, (float)(v40 + *(float *)&v100.__r_.__value_.__l.__data_) + 8.0, 10.0 - v10);
(*(void (__fastcall **)(void *, __int128 *))(*(_QWORD *)v39 + 184LL))(v39, &__dst);
(*(void (__fastcall **)(__int64, void *, __int64))(*(_QWORD *)v6 + 464LL))(v6, v39, 1);
}
v41 = v7 - v10;
if ( *(_DWORD *)(v9 + 60) != 3 )
{
v42 = *(float *)(a1 + 704) + -18.0;
goto LABEL_61;
}
if ( *(int *)(v9 + 164) < 1 || *(_BYTE *)(v9 + 172) == 1 )
{
v42 = *(float *)(a1 + 704) + -18.0;
}
else
{
v56 = cocos2d::CCLabelBMFont::create_1("content deleted", "chatFont.fnt");
sub_1000262BC((float *)&__dst, 1.0, 0.5);
(*(void (__fastcall **)(void *, __int128 *))(*(_QWORD *)v56 + 296LL))(v56, &__dst);
(*(void (__fastcall **)(void *, float))(*(_QWORD *)v56 + 160LL))(v56, 0.4);
BYTE2(__dst) = 100;
LOWORD(__dst) = 25855;
(*(void (__fastcall **)(void *, __int128 *))(*(_QWORD *)v56 + 1072LL))(v56, &__dst);
v57 = *(float *)(a1 + 704) + -18.0;
(*(void (__fastcall **)(std::string *__return_ptr, void *))(*(_QWORD *)v36 + 336LL))(&v100, v36);
sub_1000262BC((float *)&__dst, v57 - *(float *)&v100.__r_.__value_.__l.__data_, v20);
(*(void (__fastcall **)(void *, __int128 *))(*(_QWORD *)v56 + 184LL))(v56, &__dst);
(*(void (__fastcall **)(__int64, void *, __int64))(*(_QWORD *)v6 + 464LL))(v6, v56, 1);
v42 = *(float *)(a1 + 704) + -18.0;
v7 = -10.0;
if ( *(_DWORD *)(v9 + 60) != 3 )
goto LABEL_61;
}
if ( *(int *)(v9 + 164) >= 1 && *(_BYTE *)(v9 + 172) == 1 )
{
v43 = *(_DWORD *)(v9 + 56);
if ( v43 <= 7 && ((1 << v43) & 0x98) != 0 )
{
v44 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_deleteIcon_001.png");
(*(void (__fastcall **)(void *, float))(*(_QWORD *)v44 + 160LL))(v44, 0.5);
v45 = CCMenuItemSpriteExtra::create((__int64)v44, 0, a1, (__int64)sub_100549BA8, 0);
CCMenuItemSpriteExtra::setSizeMult((__int64)v45, 1.3);
(*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v45 + 72LL))(v45, v5);
sub_1000262BC((float *)&__dst, v42, v41);
(*(void (__fastcall **)(void *, __int128 *))(*(_QWORD *)v45 + 184LL))(v45, &__dst);
(*(void (__fastcall **)(__int64, void *, __int64))(*(_QWORD *)v6 + 464LL))(v6, v45, 2);
v42 = v42 + -26.0;
}
}
LABEL_61:
v46 = *(char *)(v9 + 103);
if ( v46 < 0 )
v47 = *(_QWORD *)(v9 + 88);
else
v47 = *(char *)(v9 + 103);
if ( v47 )
{
if ( (int)v46 >= 0 )
v48 = *(char *)(v9 + 103);
else
v48 = *(_QWORD *)(v9 + 88);
sub_100026068((__int64)&v100, v48 + 2);
if ( (v100.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
v49 = &v100;
else
v49 = (std::string *)v100.__r_.__value_.__r.__words[0];
if ( v48 )
{
if ( *(char *)(v9 + 103) >= 0 )
v50 = (const void *)(v9 + 80);
else
v50 = *(const void **)(v9 + 80);
memmove(v49, v50, v48);
}
strcpy((char *)v49 + v48, ": ");
v51 = *(char *)(v9 + 127);
if ( v51 >= 0 )
v52 = (const std::string::value_type *)(v9 + 104);
else
v52 = *(const std::string::value_type **)(v9 + 104);
if ( v51 >= 0 )
v53 = *(unsigned __int8 *)(v9 + 127);
else
v53 = *(_QWORD *)(v9 + 112);
v54 = std::string::append(&v100, v52, v53);
v55 = *(_OWORD *)&v54->__r_.__value_.__l.__data_;
v102 = v54->__r_.__value_.__r.__words[2];
__dst = v55;
v54->__r_.__value_.__l.__size_ = 0;
v54->__r_.__value_.__r.__words[2] = 0;
v54->__r_.__value_.__r.__words[0] = 0;
if ( SHIBYTE(v100.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v100.__r_.__value_.__l.__data_);
}
else if ( *(char *)(v9 + 127) < 0 )
{
sub_1000097D0(&__dst, *(void **)(v9 + 104), *(_QWORD *)(v9 + 112));
}
else
{
__dst = *(_OWORD *)(v9 + 104);
v102 = *(_QWORD *)(v9 + 120);
}
sub_10004B264((__int64)&__dst, 0x50u, (std::string::size_type *)&v100);
if ( (v100.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
size = HIBYTE(v100.__r_.__value_.__r.__words[2]);
else
size = v100.__r_.__value_.__l.__size_;
v59 = HIBYTE(v102);
if ( v102 < 0 )
v59 = *((_QWORD *)&__dst + 1);
if ( size != v59
|| ((v100.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL
? (v60 = &v100)
: (v60 = (std::string *)v100.__r_.__value_.__r.__words[0]),
v102 >= 0 ? (v61 = &__dst) : (v61 = (__int128 *)__dst),
memcmp(v60, v61, size)) )
{
v62 = *(char *)(v9 + 103);
if ( v62 < 0 )
{
if ( !*(_QWORD *)(v9 + 88) )
goto LABEL_124;
LABEL_104:
if ( (int)v62 >= 0 )
v63 = *(char *)(v9 + 103);
else
v63 = *(_QWORD *)(v9 + 88);
sub_100026068((__int64)&v98, v63 + 1);
if ( (v98.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
v64 = &v98;
else
v64 = (std::string *)v98.__r_.__value_.__r.__words[0];
if ( v63 )
{
if ( *(char *)(v9 + 103) >= 0 )
v65 = (const void *)(v9 + 80);
else
v65 = *(const void **)(v9 + 80);
memmove(v64, v65, v63);
}
*(_WORD *)((char *)&v64->__r_.__value_.__l.__data_ + v63) = 10;
v66 = *(char *)(v9 + 127);
if ( v66 >= 0 )
v67 = (const std::string::value_type *)(v9 + 104);
else
v67 = *(const std::string::value_type **)(v9 + 104);
if ( v66 >= 0 )
v68 = *(unsigned __int8 *)(v9 + 127);
else
v68 = *(_QWORD *)(v9 + 112);
v69 = std::string::append(&v98, v67, v68);
v70 = *(_OWORD *)&v69->__r_.__value_.__l.__data_;
v99.__r_.__value_.__r.__words[2] = v69->__r_.__value_.__r.__words[2];
*(_OWORD *)&v99.__r_.__value_.__l.__data_ = v70;
v69->__r_.__value_.__l.__size_ = 0;
v69->__r_.__value_.__r.__words[2] = 0;
v69->__r_.__value_.__r.__words[0] = 0;
if ( SHIBYTE(v98.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v98.__r_.__value_.__l.__data_);
}
else
{
if ( *(_BYTE *)(v9 + 103) )
goto LABEL_104;
LABEL_124:
if ( *(char *)(v9 + 127) < 0 )
sub_1000097D0(&v99, *(void **)(v9 + 104), *(_QWORD *)(v9 + 112));
else
v99 = *(std::string *)(v9 + 104);
}
std::operator+(&v97, "\n", v9 + 136);
v71 = std::string::append(&v97, " ago");
v72 = *(_OWORD *)&v71->__r_.__value_.__l.__data_;
v98.__r_.__value_.__r.__words[2] = v71->__r_.__value_.__r.__words[2];
*(_OWORD *)&v98.__r_.__value_.__l.__data_ = v72;
v71->__r_.__value_.__l.__size_ = 0;
v71->__r_.__value_.__r.__words[2] = 0;
v71->__r_.__value_.__r.__words[0] = 0;
if ( (v98.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
v73 = &v98;
else
v73 = (std::string *)v98.__r_.__value_.__r.__words[0];
if ( (v98.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
v74 = HIBYTE(v98.__r_.__value_.__r.__words[2]);
else
v74 = v98.__r_.__value_.__l.__size_;
std::string::append(&v99, (const std::string::value_type *)v73, v74);
if ( SHIBYTE(v98.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v98.__r_.__value_.__l.__data_);
if ( SHIBYTE(v97.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v97.__r_.__value_.__l.__data_);
v75 = sub_10051FBF4(*(_DWORD *)(v9 + 56));
v76 = (const char *)(a1 + 848);
if ( *(char *)(a1 + 871) < 0 )
v76 = *(const char **)(a1 + 848);
v77 = sub_1003065B0("%s by %s", v75, v76);
CString = (char *)cocos2d::CCString::getCString((__int64)v77);
sub_100009900(v95, CString);
if ( SHIBYTE(v99.__r_.__value_.__r.__words[2]) < 0 )
sub_1000097D0(&__p, v99.__r_.__value_.__l.__data_, v99.__r_.__value_.__l.__size_);
else
__p = v99;
v79 = InfoAlertButton::create((__int64)v95, (__int64)&__p, 0.6);
if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__p.__r_.__value_.__l.__data_);
if ( v96 < 0 )
operator delete(v95[0]);
v80 = HIBYTE(v99.__r_.__value_.__r.__words[2]);
if ( (v99.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) != 0LL )
v80 = v99.__r_.__value_.__l.__size_;
v79[556] = v80 > 0xC8;
sub_1000262BC((float *)&v98, v42, v41);
(*(void (__fastcall **)(char *, std::string *))(*(_QWORD *)v79 + 184LL))(v79, &v98);
(*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)v6 + 464LL))(v6, v79, 2);
if ( SHIBYTE(v99.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v99.__r_.__value_.__l.__data_);
v42 = v42 + -26.0;
}
v81 = *(unsigned int *)(v9 + 168);
v82 = *(unsigned int *)(v9 + 56);
if ( (_DWORD)v81 && (v82 & 0xFFFFFFFB) == 3 )
{
v83 = (unsigned __int8 *)cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_arrow_03_001.png");
cocos2d::CCSprite::setFlipX(v83, 1);
(*(void (__fastcall **)(unsigned __int8 *, float))(*(_QWORD *)v83 + 160LL))(v83, 0.45);
v84 = CCMenuItemSpriteExtra::create((__int64)v83, 0, a1, (__int64)sub_100549D90, 0);
CCMenuItemSpriteExtra::setSizeMult((__int64)v84, 1.3);
(*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v84 + 72LL))(v84, v5);
sub_1000262BC((float *)&v99, v42, v41);
(*(void (__fastcall **)(void *, std::string *))(*(_QWORD *)v84 + 184LL))(v84, &v99);
(*(void (__fastcall **)(__int64, void *, __int64))(*(_QWORD *)v6 + 464LL))(v6, v84, 2);
v42 = v42 + -26.0;
v82 = *(unsigned int *)(v9 + 56);
v81 = *(unsigned int *)(v9 + 168);
}
sub_100549B18(&v99, v82, v81);
if ( SHIBYTE(v99.__r_.__value_.__r.__words[2]) < 0 )
{
if ( v99.__r_.__value_.__l.__size_ )
{
v85 = (std::string *)v99.__r_.__value_.__r.__words[0];
goto LABEL_159;
}
}
else if ( *((_BYTE *)&v99.__r_.__value_.__s + 23) )
{
v85 = &v99;
LABEL_159:
v86 = cocos2d::CCLabelBMFont::create_1((const char *)v85, "chatFont.fnt");
sub_1000262BC((float *)&v98, 0.0, 0.5);
(*(void (__fastcall **)(void *, std::string *))(*(_QWORD *)v86 + 296LL))(v86, &v98);
(*(void (__fastcall **)(void *, float))(*(_QWORD *)v86 + 160LL))(v86, 0.4);
if ( *(_BYTE *)(v9 + 160) )
v87 = 130;
else
v87 = 100;
(*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v86 + 1024LL))(v86, v87);
sub_1000262BC((float *)&v98, 32.0, v41);
(*(void (__fastcall **)(void *, std::string *))(*(_QWORD *)v86 + 184LL))(v86, &v98);
(*(void (__fastcall **)(__int64, void *, __int64))(*(_QWORD *)v6 + 464LL))(v6, v86, 1);
(*(void (__fastcall **)(std::string *__return_ptr, void *))(*(_QWORD *)v86 + 336LL))(&v98, v86);
v88 = (float)(*(float *)&v98.__r_.__value_.__l.__data_ + 6.0) + 32.0;
goto LABEL_164;
}
v88 = 32.0;
LABEL_164:
if ( (v100.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
v89 = &v100;
else
v89 = (std::string *)v100.__r_.__value_.__r.__words[0];
v90 = cocos2d::CCLabelBMFont::create_1((const char *)v89, "chatFont.fnt");
sub_1000262BC((float *)&v98, 0.0, 0.5);
(*(void (__fastcall **)(void *, std::string *))(*(_QWORD *)v90 + 296LL))(v90, &v98);
cocos2d::CCLabelBMFont::limitLabelWidth((__int64)v90, (float)((float)(v42 + 18.0) + v7) - v88, 0.55, 0.2);
(*(void (__fastcall **)(void *, _QWORD))(*(_QWORD *)v90 + 1024LL))(v90, v12);
sub_1000262BC((float *)&v98, v88, v41);
(*(void (__fastcall **)(void *, std::string *))(*(_QWORD *)v90 + 184LL))(v90, &v98);
(*(void (__fastcall **)(__int64, void *, __int64))(*(_QWORD *)v6 + 464LL))(v6, v90, 1);
if ( SHIBYTE(v99.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v99.__r_.__value_.__l.__data_);
if ( SHIBYTE(v100.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v100.__r_.__value_.__l.__data_);
if ( SHIBYTE(v102) < 0 )
operator delete((void *)__dst);
v5 = (unsigned int)(v5 + 1);
if ( v93 == (_DWORD)v5 )
{
v4 = *(_QWORD *)(a1 + 688);
return ScrollableContentLayer::setContentHeight(v4, (float)((float)v93 * 43.0) + 12.0);
}
}
}
return ScrollableContentLayer::setContentHeight(v4, (float)((float)v93 * 43.0) + 12.0);
}