// // FriendsProfilePage::mountVirtualRow from 0x1007362b0 to 0x10073657a (714 bytes) // // 2 xrefs: // > sub_100736E80 @ 0x100736e8c // > @ 0x100b9a2b0 // // 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:36:25 +0000 // void __fastcall FriendsProfilePage::mountVirtualRow(__int64 a1, unsigned int a2, __int64 a3, __int64 a4) { __int64 v6; // rax __int64 v7; // rdi __int64 v8; // r15 int v9; // ecx _QWORD *v10; // rax _DWORD *v11; // r13 __int64 v12; // xmm0_8 __int64 (__fastcall *v13)(); // r12 const char *v14; // rdi char *v15; // rbx void *v16; // r14 __int64 v17; // rax float v19[2]; // [rsp+1Ch] [rbp-34h] BYREF float v20; // [rsp+24h] [rbp-2Ch] v6 = 872; if ( !*(_BYTE *)(a1 + 920) ) { v7 = *(_QWORD *)(a1 + 864); if ( v7 ) goto LABEL_5; v6 = 856; } v7 = *(_QWORD *)(a1 + v6); LABEL_5: v8 = sub_1007FEFE0(v7, a2); v9 = -12684606; if ( (a2 & 1) == 0 ) v9 = -13870943; LODWORD(v19[0]) = v9; v10 = cocos2d::CCLayerColor::create((__int64)v19, *(float *)(a1 + 704), 40.0); (*(void (__fastcall **)(__int64, _QWORD *, __int64))(*(_QWORD *)a3 + 464LL))(a3, v10, 4294967294LL); v11 = operator new(0x140u); __bzero(v11, 320); cocos2d::CCNode::CCNode((__int64)v11); *(_QWORD *)v11 = off_100B9A620; v11[79] = 0; if ( cocos2d::CCNode::init() ) { cocos2d::CCObject::autorelease((__int64)v11); } else { (*(void (__fastcall **)(_DWORD *))(*(_QWORD *)v11 + 16LL))(v11); v11 = nullptr; } v11[79] = *(_DWORD *)(a1 + 704); sub_100278250(v19, 0.0, 20.0); (*(void (__fastcall **)(_DWORD *, float *))(*(_QWORD *)v11 + 184LL))(v11, v19); (*(void (__fastcall **)(__int64, _DWORD *, __int64))(*(_QWORD *)a3 + 464LL))(a3, v11, 0xFFFFFFFFLL); GJCompactUserCell::buildUserRow( v8, a3, a4, a1, (__int64)FriendsProfilePage::onViewProfile, 0, COERCE_DOUBLE(1101004800), 0, 0); sub_100278250(v19, *(float *)(a1 + 704) + -22.0, 20.0); v12 = 1057803469; if ( *(_DWORD *)(a1 + 816) == 1 ) { v20 = 0.55000001; v13 = FriendsProfilePage::onUnblock; v14 = "accountBtn_unblock_001.png"; goto LABEL_14; } if ( *(_BYTE *)(v8 + 723) ) { v20 = 0.55000001; v13 = FriendsProfilePage::onUnmute; v14 = "accountBtn_notifications_001.png"; goto LABEL_14; } if ( *(_DWORD *)(v8 + 688) != 1 ) { if ( *(_BYTE *)(v8 + 720) != 1 ) return; v13 = FriendsProfilePage::onUnfollow; v12 = 1064514355; v20 = 0.94999999; v14 = "followBtnOn_001.png"; goto LABEL_14; } v20 = 0.55000001; if ( *(_DWORD *)(v8 + 436) != 2 ) { v17 = GameManager::sharedState(); if ( !sub_10036D800(v17) ) { v13 = FriendsProfilePage::onSendMessage; v14 = "accountBtn_messages_001.png"; LABEL_14: v15 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)v14, *(double *)&v12); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v15 + 160LL))(v15, v20); v16 = CCMenuItemSpriteExtra::create((__int64)v15, 0, a1, (__int64)v13, 0); CCMenuItemSpriteExtra::setSizeMult((__int64)v16, 1.6); if ( v16 ) { (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v16 + 648LL))(v16, v8); (*(void (__fastcall **)(void *, float *))(*(_QWORD *)v16 + 184LL))(v16, v19); (*(void (__fastcall **)(__int64, void *, __int64))(*(_QWORD *)a4 + 464LL))(a4, v16, 3); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source