//
// FriendsProfilePage::mountVirtualRow from 0x100272880 to 0x100272b00 (640 bytes)
//
// 2 xrefs:
// > sub_1002731A8 @ 0x1002731ac
// > ??> @ 0x100918310
//
// 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:47 +0000
//
void __fastcall FriendsProfilePage::mountVirtualRow(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
char v6; // w23
__int64 v8; // x8
__int64 v9; // x0
__int64 v10; // x21
int v11; // w8
_WORD *v12; // x0
__int64 v13; // x0
_DWORD *v14; // x23
__n128 v15; // q0
float *v16; // x0
float v17; // s8
__int64 (__fastcall *v18)(); // x23
const char *v19; // x0
__int64 v20; // x24
__int64 v21; // x20
__n128 v22; // q0
__int64 v23; // x0
int v24; // [xsp+8h] [xbp-48h] BYREF
v6 = a2;
if ( (*(_BYTE *)(a1 + 920) & 1) != 0 )
{
v8 = 872;
}
else
{
v9 = *(_QWORD *)(a1 + 864);
if ( v9 )
goto LABEL_6;
v8 = 856;
}
v9 = *(_QWORD *)(a1 + v8);
LABEL_6:
v10 = sub_1002E75A0(v9, a2);
if ( (v6 & 1) != 0 )
v11 = -12684606;
else
v11 = -13870943;
v24 = v11;
v12 = cocos2d::CCLayerColor::create((__int64)&v24);
v13 = (*(__int64 (__fastcall **)(__int64, _WORD *, __int64))(*(_QWORD *)a3 + 464LL))(a3, v12, 4294967294LL);
v14 = (_DWORD *)sub_100272B00(v13);
v14[79] = *(_DWORD *)(a1 + 704);
sub_1000262BC((float *)&v24, 0.0, 20.0);
(*(void (__fastcall **)(_DWORD *, int *))(*(_QWORD *)v14 + 184LL))(v14, &v24);
v15 = ((__n128 (__fastcall *)(__int64, _DWORD *, __int64))*(_QWORD *)(*(_QWORD *)a3 + 464LL))(a3, v14, 0xFFFFFFFFLL);
v15.n128_u32[0] = 20.0;
GJCompactUserCell::buildUserRow(v10, a3, a4, a1, (__int64)sub_100272BAC, 0, 0, 0, v15);
v16 = sub_1000262BC((float *)&v24, *(float *)(a1 + 704) + -22.0, 20.0);
v17 = 0.55;
if ( *(_DWORD *)(a1 + 816) == 1 )
{
v18 = sub_100272BF4;
v19 = "accountBtn_unblock_001.png";
goto LABEL_13;
}
if ( (*(_BYTE *)(v10 + 723) & 1) != 0 )
{
v18 = sub_100272DA8;
v19 = "accountBtn_notifications_001.png";
goto LABEL_13;
}
if ( *(_DWORD *)(v10 + 688) != 1 )
{
if ( *(_BYTE *)(v10 + 720) != 1 )
return;
v18 = sub_100272FF8;
v19 = "followBtnOn_001.png";
v17 = *(float *)"33s?";
goto LABEL_13;
}
if ( *(_DWORD *)(v10 + 436) != 2 )
{
v23 = GameManager::sharedState(v16);
if ( (sub_1003B6084(v23) & 1) == 0 )
{
v18 = sub_100272F58;
v19 = "accountBtn_messages_001.png";
LABEL_13:
v20 = cocos2d::CCSprite::createWithSpriteFrameName(v19);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v20 + 160LL))(v20, v17);
v21 = CCMenuItemSpriteExtra::create(v20, 0, a1, v18, 0);
v22 = CCMenuItemSpriteExtra::setSizeMult(1.6);
if ( v21 )
{
(*(void (__fastcall **)(__int64, __int64, __n128))(*(_QWORD *)v21 + 648LL))(v21, v10, v22);
(*(void (__fastcall **)(__int64, int *))(*(_QWORD *)v21 + 184LL))(v21, &v24);
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a4 + 464LL))(a4, v21, 3);
}
}
}
}