//
// ProfilePage::onSendMessage from 0x1403c3cd0 to 0x1403c3d17 (71 bytes)
//
// 2 xrefs:
// > ProfilePage::loadPageFromUserInfo @ 0x1403c22b9
// > ??> @ 0x1406d779c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void ProfilePage::onSendMessage(ProfilePage *a1, cocos2d::CCObject *a2)
{
GJAccountManager *v3; // rax
ProfilePage *v4; // rcx
GJWriteMessagePopup *v5; // rax
v3 = GJAccountManager::sharedState();
if ( v3->m_accountID - v3->m_unkInt1 > 0 )
{
v5 = GJWriteMessagePopup::create(a1->m_accountID, 0);
v5->show(v5);
}
else
{
ProfilePage::showNoAccountError(v4);
}
}