// // MemberListPopup::buildRows from 0xc673fc to 0xc67b64 (1896 bytes) // // 6 xrefs: // > MemberListPopup::threadMembersFinished @ 0xc67bac // > MemberListPopup::threadMembersFailed @ 0xc67c28 // > MemberListPopup::threadMessagesFinished @ 0xc67cc8 // > MemberListPopup::init @ 0xc6ae28 // > MemberListPopup::threadUpdateFinished @ 0xc7cd54 // > @ 0x67fc0 // // 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 13:05:25 +0000 // __int64 __fastcall MemberListPopup::buildRows(GJAccountManager **this) { _BOOL4 v2; // w23 GameLevelManager *v3; // x0 GameLevelManager *v4; // x0 cocos2d::CCArray *ThreadMembers; // x0 cocos2d::CCArray *v6; // x27 __int64 *v7; // x20 __int64 v8; // x3 unsigned __int64 v9; // x1 void (__fastcall *v10)(__int64 *, __int64); // x21 cocos2d::CCString *v11; // x0 __int64 v12; // x0 GJUserScore *v13; // x20 __int64 v14; // x0 int v15; // w24 signed int i; // w22 __int64 v17; // x25 const char *v18; // x2 GameLevelManager *v19; // x0 cocos2d::CCArray *ThreadPendingInvites; // x0 unsigned int v21; // w22 float v22; // s1 const char *v23; // x1 __int64 v24; // x25 __int64 v25; // x25 void (__fastcall *v26)(__int64, _BYTE *); // x27 _BOOL4 v27; // w25 float v28; // s8 cocos2d::CCLabelBMFont *v29; // x0 void (__fastcall *v30)(cocos2d::CCLabelBMFont *, _BYTE *); // x3 const char *v31; // x2 __int64 v32; // x28 void (__fastcall *v33)(__int64, _BYTE *); // x27 float v34; // s0 void (__fastcall *v35)(__int64, _BYTE *); // x27 float v36; // s1 ScrollableContentLayer *v37; // x0 float v38; // s0 __int64 v39; // x28 int v40; // w21 __int64 v41; // x0 const char *v42; // x1 __int64 v43; // x28 __int64 v44; // x28 const char *v45; // x1 __int64 v46; // x28 __int64 v47; // x28 void (__fastcall *v48)(__int64, _BYTE *); // x25 unsigned int v49; // w0 int v50; // w25 __int64 v51; // x0 __int64 v52; // x20 void (__fastcall *v53)(__int64, __int64); // x21 cocos2d::CCString *v54; // x0 __int64 CString; // x0 GJAccountManager *v57; // x0 int v58; // w20 __int64 v59; // x0 int v60; // [xsp+9Ch] [xbp+9Ch] cocos2d::CCArray *v61; // [xsp+A0h] [xbp+A0h] GJAccountManager *v62; // [xsp+A8h] [xbp+A8h] GJAccountManager *v63; // [xsp+A8h] [xbp+A8h] GJAccountManager *v64; // [xsp+A8h] [xbp+A8h] GJAccountManager *v65; // [xsp+A8h] [xbp+A8h] _BYTE v66[8]; // [xsp+B0h] [xbp+B0h] BYREF v2 = 0; (*((void (__fastcall **)(GJAccountManager **))*this + 169))(this); PagedListPopup::clearStatus((__int64)this); if ( !*((_BYTE *)this + 816) ) { v57 = *(this + 100); v58 = *((_DWORD *)v57 + 50); v59 = GJAccountManager::sharedState(v57); v2 = v58 == *(_DWORD *)(v59 + 352) - *(_DWORD *)(v59 + 356); } v3 = *(this + 103); if ( v3 ) v3 = (GameLevelManager *)(*(__int64 (**)(void))(*(_QWORD *)v3 + 344LL))(); v4 = (GameLevelManager *)GameLevelManager::sharedState(v3); ThreadMembers = (cocos2d::CCArray *)GameLevelManager::getThreadMembers( v4, (const char *)*((unsigned int *)*(this + 100) + 14)); v6 = ThreadMembers; if ( !ThreadMembers ) { v52 = (__int64)*(this + 105); v53 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v52 + 928LL); v54 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i/%i", (const char *)*((unsigned int *)*(this + 100) + 42), 10); CString = cocos2d::CCString::getCString(v54); v53(v52, CString); goto LABEL_29; } if ( (unsigned int)cocos2d::CCArray::count(ThreadMembers) ) { v49 = cocos2d::CCArray::count(v6); v7 = (__int64 *)*(this + 105); v9 = v49; v8 = *v7; } else { v7 = (__int64 *)*(this + 105); v8 = *v7; v9 = *((unsigned int *)*(this + 100) + 42); } v10 = *(void (__fastcall **)(__int64 *, __int64))(v8 + 928); v11 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i/%i", (const char *)v9, 10); v12 = cocos2d::CCString::getCString(v11); v10(v7, v12); if ( !(unsigned int)cocos2d::CCArray::count(v6) ) { LABEL_29: if ( !*((_BYTE *)this + 880) ) PagedListPopup::showStatus((PagedListPopup *)this, (cocos2d::CCLabelBMFont *)"Failed to load members"); return _stack_chk_guard; } v13 = *((GJUserScore **)*(this + 86) + 52); v14 = cocos2d::CCArray::count(v6); v15 = v14; if ( (int)v14 > 0 ) { for ( i = 0; v15 != i; ++i ) { v17 = cocos2d::CCArray::objectAtIndex(v6, i); GJCompactUserCell::buildUserRow( v17, v13, (__int64)v13, (__int64)this, (__int64)MemberListPopup::onMemberProfile, 0, 0, 1u, -(float)((float)((float)i * 40.0) + 20.0)); v14 = *((unsigned int *)*(this + 100) + 50); if ( *(_DWORD *)(v17 + 376) == (_DWORD)v14 ) { v39 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Owner", "chatFont.fnt", v18); v63 = *(GJAccountManager **)(*(_QWORD *)v39 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v66, 1.0, 0.5); ((void (__fastcall *)(__int64, _BYTE *))v63)(v39, v66); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v39 + 160LL))(v39, 1.0); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v39 + 1024LL))(v39, 4294967190LL); v64 = *(GJAccountManager **)(*(_QWORD *)v39 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v66, *((float *)this + 176) - 12.0, -(float)((float)((float)i * 40.0) + 20.0)); ((void (__fastcall *)(__int64, _BYTE *))v64)(v39, v66); v14 = (*(__int64 (__fastcall **)(GJUserScore *, __int64, __int64))(*(_QWORD *)v13 + 464LL))(v13, v39, 1); if ( v2 ) { LABEL_25: v40 = *(_DWORD *)(v17 + 376); v41 = GJAccountManager::sharedState((GJAccountManager *)v14); v42 = (const char *)*(unsigned int *)(v41 + 352); v14 = (unsigned int)((_DWORD)v42 - *(_DWORD *)(v41 + 356)); if ( v40 != (_DWORD)v14 ) { v43 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_deleteIcon_001.png", v42); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v43 + 160LL))(v43, 0.7); v44 = CCMenuItemSpriteExtra::create(v43, 0, (__int64)this, (__int64)MemberListPopup::onKickMember, 0); CCMenuItemSpriteExtra::setSizeMult(v44, 1.5); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v44 + 648LL))(v44, v17); v65 = *(GJAccountManager **)(*(_QWORD *)v44 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v66, *((float *)this + 176) - 18.0, -(float)((float)((float)i * 40.0) + 20.0)); ((void (__fastcall *)(__int64, _BYTE *))v65)(v44, v66); (*(void (__fastcall **)(GJUserScore *, __int64, __int64))(*(_QWORD *)v13 + 464LL))(v13, v44, 3); v46 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"particle_313_001.png", v45); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v46 + 160LL))(v46, 1.2); v47 = CCMenuItemSpriteExtra::create(v46, 0, (__int64)this, (__int64)MemberListPopup::onTransferOwner, 0); CCMenuItemSpriteExtra::setSizeMult(v47, 1.5); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v47 + 648LL))(v47, v17); v48 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v47 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v66, *((float *)this + 176) - 47.0, -(float)((float)((float)i * 40.0) + 20.0)); v48(v47, v66); v14 = (*(__int64 (__fastcall **)(GJUserScore *, __int64, __int64))(*(_QWORD *)v13 + 464LL))(v13, v47, 3); } } } else if ( v2 ) { goto LABEL_25; } } } v19 = (GameLevelManager *)GameLevelManager::sharedState((GameLevelManager *)v14); ThreadPendingInvites = (cocos2d::CCArray *)GameLevelManager::getThreadPendingInvites( v19, (const char *)*((unsigned int *)*(this + 100) + 14)); v61 = ThreadPendingInvites; if ( ThreadPendingInvites ) { v60 = cocos2d::CCArray::count(ThreadPendingInvites); v21 = v60; if ( v60 > 0 ) { v21 = 0; do { while ( 1 ) { v27 = 1; v62 = (GJAccountManager *)cocos2d::CCArray::objectAtIndex(v61, v21); v28 = -(float)((float)((float)(int)(v15 + v21) * 40.0) + 20.0); v29 = GJCompactUserCell::buildUserRow( (__int64)v62, v13, (__int64)v13, (__int64)this, (__int64)MemberListPopup::onMemberProfile, 0, 0, 1u, v28); v30 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, _BYTE *))(*(_QWORD *)v29 + 1072LL); memset(v66, 175, 3); v30(v29, v66); if ( !v2 ) { v50 = *((_DWORD *)v62 + 99); v51 = GJAccountManager::sharedState(v62); v27 = v50 == *(_DWORD *)(v51 + 352) - *(_DWORD *)(v51 + 356); } v32 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Invited", "chatFont.fnt", v31); v33 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v32 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v66, 1.0, 0.5); v33(v32, v66); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v32 + 160LL))(v32, 1.0); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v32 + 1024LL))(v32, 4294967190LL); v34 = *((float *)this + 176); v35 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v32 + 184LL); if ( !v27 ) break; v22 = -(float)((float)((float)(int)(v15 + v21++) * 40.0) + 20.0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v66, v34 - 40.0, v22); v35(v32, v66); (*(void (__fastcall **)(GJUserScore *, __int64, __int64))(*(_QWORD *)v13 + 464LL))(v13, v32, 1); v24 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_deleteIcon_001.png", v23); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v24 + 160LL))(v24, 0.7); v25 = CCMenuItemSpriteExtra::create(v24, 0, (__int64)this, (__int64)MemberListPopup::onRevokeInvite, 0); CCMenuItemSpriteExtra::setSizeMult(v25, 1.5); (*(void (__fastcall **)(__int64, GJAccountManager *))(*(_QWORD *)v25 + 648LL))(v25, v62); v26 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v25 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v66, *((float *)this + 176) - 18.0, v28); v26(v25, v66); (*(void (__fastcall **)(GJUserScore *, __int64, __int64))(*(_QWORD *)v13 + 464LL))(v13, v25, 3); if ( v60 == v21 ) goto LABEL_22; } v36 = -(float)((float)((float)(int)(v15 + v21++) * 40.0) + 20.0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v66, v34 - 12.0, v36); v35(v32, v66); (*(void (__fastcall **)(GJUserScore *, __int64, __int64))(*(_QWORD *)v13 + 464LL))(v13, v32, 1); } while ( v60 != v21 ); } } else { v21 = 0; } LABEL_22: v37 = *(this + 86); v38 = *((float *)this + 177); if ( (float)((float)((float)(int)(v21 + v15) * 40.0) + 6.0) >= v38 ) ScrollableContentLayer::setContentHeight(v37, (float)((float)(int)(v21 + v15) * 40.0) + 6.0); else ScrollableContentLayer::setContentHeight(v37, v38); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source