// // FriendPickerPopup::mountVirtualRow from 0xc63ba0 to 0xc63fb4 (1044 bytes) // // 3 xrefs: // > `non-virtual thunk to'FriendPickerPopup::mountVirtualRow @ 0xc63fc0 // > @ 0x79408 // > @ 0x14ee308 // // 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:24 +0000 // __int64 __fastcall FriendPickerPopup::mountVirtualRow( cocos2d::CCArray **this, unsigned int a2, cocos2d::CCNode *a3, cocos2d::CCMenu *a4) { _DWORD *v7; // x21 int v8; // w25 cocos2d::CCArray *v9; // x0 signed int i; // w20 int v11; // w0 _BOOL4 v12; // w20 unsigned __int8 v13; // w26 const char *v14; // x1 char *v15; // x0 __int64 v16; // x20 __int64 v17; // x20 float v18; // s0 void (__fastcall *v19)(__int64, _BYTE *); // x19 GameManager *v21; // x0 __int64 v22; // x0 char v23; // w6 _BOOL4 v24; // w27 int v25; // w28 int v26; // w25 __int64 v27; // x0 cocos2d::CCLabelBMFont *v28; // x0 const char *v29; // x2 char *v30; // x0 __int64 v31; // x20 void (__fastcall *v32)(__int64, _BYTE *); // x24 float v33; // s0 void (__fastcall *v34)(__int64, _BYTE *); // x19 void (__fastcall *v35)(cocos2d::CCLabelBMFont *, _BYTE *); // x2 __int64 v36; // x0 _BYTE v37[8]; // [xsp+70h] [xbp+70h] BYREF v7 = (_DWORD *)cocos2d::CCArray::objectAtIndex(*(this + 102), a2); if ( *((_BYTE *)this + 827) ) goto LABEL_19; v8 = *((unsigned __int8 *)this + 824) ^ 1; if ( *((_BYTE *)this + 824) ) { v9 = *(this + 100); if ( v9 ) { for ( i = 0; i < (int)cocos2d::CCArray::count(v9); ++i ) { if ( *(_DWORD *)(cocos2d::CCArray::objectAtIndex(*(this + 100), i) + 376) == v7[94] ) { v8 = 1; if ( *((_BYTE *)this + 825) ) goto LABEL_10; goto LABEL_18; } v9 = *(this + 100); } } } if ( *((_BYTE *)this + 825) ) { if ( v8 ) LABEL_10: v11 = v7[112]; else v11 = v7[113]; v12 = v11 != 2; v13 = v11 == 2; if ( !*((_BYTE *)this + 826) ) goto LABEL_12; goto LABEL_21; } LABEL_18: v21 = (GameManager *)(unsigned int)v7[109]; if ( !(_DWORD)v21 ) goto LABEL_19; if ( (_DWORD)v21 == 1 ) { if ( v8 ) { LABEL_19: v13 = 0; v12 = 1; goto LABEL_20; } v36 = GameManager::sharedState(v21); v12 = (unsigned int)(*(_DWORD *)(v36 + 1032) - *(_DWORD *)(v36 + 1036) - 1) <= 1; v13 = (unsigned int)(*(_DWORD *)(v36 + 1032) - *(_DWORD *)(v36 + 1036) - 1) > 1; } else { v13 = 1; v12 = 0; } LABEL_20: if ( !*((_BYTE *)this + 826) ) goto LABEL_12; LABEL_21: v22 = (__int64)*(this + 99); if ( v22 ) { v23 = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v22 + 8LL))(v22, (unsigned int)v7[94]); if ( v23 ) { v24 = v12; v25 = 1; if ( !*((_BYTE *)this + 828) ) { v26 = 0; goto LABEL_28; } LABEL_26: v27 = (__int64)*(this + 99); if ( v27 ) { v26 = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v27 + 48LL))(v27, (unsigned int)v7[94]); v23 = v26 == 0; } else { v23 = 1; v26 = 0; } LABEL_28: v28 = GJCompactUserCell::buildUserRow( (__int64)v7, a3, (__int64)a4, (__int64)this, (__int64)FriendPickerPopup::onShowProfile, 0, v23 & v13, 0, 20.0); if ( v24 ) { v35 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, _BYTE *))(*(_QWORD *)v28 + 1072LL); v37[0] = 0; v37[1] = -1; v37[2] = 0; v35(v28, v37); if ( v26 ) goto LABEL_30; } else if ( v26 ) { LABEL_30: if ( v26 == 1 ) v30 = "Member"; else v30 = "Invited"; v31 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)v30, "chatFont.fnt", v29); v32 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v31 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v37, 1.0, 0.5); v32(v31, v37); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v31 + 160LL))(v31, 0.5); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v31 + 1024LL))(v31, 4294967170LL); v33 = *((float *)this + 176) - 12.0; v34 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v31 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v37, v33, 20.0); v34(v31, v37); (*(void (__fastcall **)(cocos2d::CCNode *, __int64, __int64))(*(_QWORD *)a3 + 464LL))(a3, v31, 1); return _stack_chk_guard; } LABEL_34: if ( !v12 ) return _stack_chk_guard; if ( v25 ) { v15 = "GJ_checkOn_001.png"; goto LABEL_15; } LABEL_14: v15 = "GJ_checkOff_001.png"; LABEL_15: v16 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)v15, v14); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v16 + 160LL))(v16, 0.6); v17 = CCMenuItemSpriteExtra::create(v16, 0, (__int64)this, (__int64)FriendPickerPopup::onPickFriend, 0); CCMenuItemSpriteExtra::setSizeMult(v17, 1.4); (*(void (__fastcall **)(__int64, _DWORD *))(*(_QWORD *)v17 + 648LL))(v17, v7); v18 = *((float *)this + 176) - 24.0; v19 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v17 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v37, v18, 20.0); v19(v17, v37); (*(void (__fastcall **)(cocos2d::CCMenu *, __int64, __int64))(*(_QWORD *)a4 + 464LL))(a4, v17, 3); return _stack_chk_guard; } LABEL_12: if ( !*((_BYTE *)this + 828) ) goto LABEL_13; v24 = 0; v25 = 0; goto LABEL_26; } if ( *((_BYTE *)this + 828) ) { v25 = 0; GJCompactUserCell::buildUserRow( (__int64)v7, a3, (__int64)a4, (__int64)this, (__int64)FriendPickerPopup::onShowProfile, 0, v13, 0, 20.0); goto LABEL_34; } LABEL_13: GJCompactUserCell::buildUserRow( (__int64)v7, a3, (__int64)a4, (__int64)this, (__int64)FriendPickerPopup::onShowProfile, 0, v13, 0, 20.0); if ( v12 ) goto LABEL_14; return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source