//
// FriendsProfilePage::onSendMessage from 0x1402157c0 to 0x140215832 (114 bytes)
//
// 2 xrefs:
// > FriendsProfilePage::mountVirtualRow @ 0x140214a6d
// > ??> @ 0x14091b6d4
//
// 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 11:28:20 +0000
//
// Hidden C++ exception states: #wind=1
void __fastcall FriendsProfilePage::onSendMessage(__int64 a1, __int64 a2)
{
__int64 v2; // rax
__int64 v3; // rbx
_BYTE v4[32]; // [rsp+28h] [rbp-30h] BYREF
v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 632LL))(a2);
v3 = v2;
if ( v2 )
{
if ( *(int *)(v2 + 392) > 0 )
{
sub_14003F4F0((__int64)v4, v2 + 320);
ThreadOpenHelper::check(*(_DWORD *)(v3 + 392), (__int64)v4);
sub_14003D310((__int64)v4);
}
}
}