// // FriendPickerPopup::mountVirtualRow from 0x10093dc50 to 0x10093dfa5 (853 bytes) // // 2 xrefs: // > sub_10093E150 @ 0x10093e15c // > @ 0x100bc44e8 // // This function is hookable on this platform (idp: pc, 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:38:29 +0000 // __int64 __fastcall FriendPickerPopup::mountVirtualRow(__int64 a1, unsigned int a2, _QWORD *a3, _QWORD *a4) { __int64 v5; // r12 char v6; // r15 char v7; // r13 __int64 v8; // rdi unsigned int v9; // r14d int v10; // eax __int64 v11; // rax int v12; // r13d unsigned __int8 v13; // r14 __int64 v14; // rdi __int64 v15; // rdi __int64 result; // rax const char *v17; // rdi void *v18; // r14 _QWORD *v19; // rdi __int64 v20; // rax void *v21; // rsi __int64 v22; // rdx const char *v23; // rdi char *v24; // r14 void *v25; // r14 float v28[12]; // [rsp+10h] [rbp-30h] BYREF v5 = sub_1007FEFE0(*(_QWORD *)(a1 + 816), a2); v6 = 1; if ( *(_BYTE *)(a1 + 827) ) goto LABEL_16; v7 = *(_BYTE *)(a1 + 824) ^ 1; if ( *(_BYTE *)(a1 + 824) == 1 ) { v8 = *(_QWORD *)(a1 + 800); if ( v8 ) { if ( (int)sub_1007FEF90(v8) > 0 ) { v9 = 0; while ( *(_DWORD *)(sub_1007FEFE0(*(_QWORD *)(a1 + 800), v9) + 376) != *(_DWORD *)(v5 + 376) ) { if ( (int)++v9 >= (int)sub_1007FEF90(*(_QWORD *)(a1 + 800)) ) goto LABEL_8; } v7 = 1; if ( *(_BYTE *)(a1 + 825) != 1 ) goto LABEL_11; LABEL_9: v6 = *(_DWORD *)(v5 + 4LL * ((unsigned __int8)v7 ^ 1u) + 448) != 2; goto LABEL_16; } } } LABEL_8: if ( *(_BYTE *)(a1 + 825) == 1 ) goto LABEL_9; LABEL_11: v10 = *(_DWORD *)(v5 + 436); if ( v10 ) { if ( v10 == 1 ) { if ( !v7 ) { v11 = GameManager::sharedState(); v6 = (unsigned int)(*(_DWORD *)(v11 + 1036) - *(_DWORD *)(v11 + 1032)) >= 0xFFFFFFFE; } } else { v6 = 0; } } LABEL_16: v12 = 0; v13 = 0; if ( *(_BYTE *)(a1 + 826) == 1 ) { v14 = *(_QWORD *)(a1 + 792); if ( !v14 ) { v13 = 0; if ( *(_BYTE *)(a1 + 828) != 1 ) goto LABEL_23; goto LABEL_20; } v13 = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v14 + 8LL))(v14, *(unsigned int *)(v5 + 376)); } if ( *(_BYTE *)(a1 + 828) != 1 ) goto LABEL_23; LABEL_20: v15 = *(_QWORD *)(a1 + 792); if ( v15 ) v12 = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v15 + 48LL))(v15, *(unsigned int *)(v5 + 376)); LABEL_23: result = GJCompactUserCell::buildUserRow( v5, (__int64)a3, (__int64)a4, a1, (__int64)sub_10093DFB0, 0, COERCE_DOUBLE(1101004800), (v12 == 0) & (unsigned __int8)~v6, 0); if ( (v13 & (unsigned __int8)v6) == 1 ) { BYTE2(v28[0]) = 0; LOWORD(v28[0]) = -256; result = (*(__int64 (__fastcall **)(__int64, float *))(*(_QWORD *)result + 1072LL))(result, v28); } if ( v12 ) { v17 = "Invited"; if ( v12 == 1 ) v17 = "Member"; v18 = cocos2d::CCLabelBMFont::create_3((__int64)v17, (__int64)"chatFont.fnt"); sub_100278250(v28, 1.0, 0.5); (*(void (__fastcall **)(void *, float *))(*(_QWORD *)v18 + 296LL))(v18, v28); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v18 + 160LL))(v18, 0.5); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v18 + 1024LL))(v18, 130); sub_100278250(v28, *(float *)(a1 + 704) + -12.0, 20.0); (*(void (__fastcall **)(void *, float *))(*(_QWORD *)v18 + 184LL))(v18, v28); v19 = a3; v20 = *a3; v21 = v18; v22 = 1; } else { if ( !v6 ) return result; v23 = "GJ_checkOff_001.png"; if ( v13 ) v23 = "GJ_checkOn_001.png"; v24 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)v23, COERCE_DOUBLE(1101004800)); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v24 + 160LL))(v24, 0.60000002); v25 = CCMenuItemSpriteExtra::create((__int64)v24, 0, a1, (__int64)sub_10093DFF0, 0); CCMenuItemSpriteExtra::setSizeMult((__int64)v25, 1.4); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v25 + 648LL))(v25, v5); sub_100278250(v28, *(float *)(a1 + 704) + -24.0, 20.0); (*(void (__fastcall **)(void *, float *))(*(_QWORD *)v25 + 184LL))(v25, v28); v19 = a4; v20 = *a4; v21 = v25; v22 = 3; } return (*(__int64 (__fastcall **)(_QWORD *, void *, __int64))(v20 + 464))(v19, v21, v22); }
GD Web Decomp Icon

GD Web Decomp

Raw Source