//
// ProfilePage::onSendMessage from 0x4c6d40 to 0x4c6d76 (54 bytes)
//
// 0 xrefs:
//
// 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; // r0
GJWriteMessagePopup *v4; // r0
v3 = GJAccountManager::sharedState();
if ( v3->m_accountID - v3->m_unkInt1 > 0 )
{
v4 = GJWriteMessagePopup::create(a1->m_accountID, 0);
v4->show(v4);
}
else
{
ProfilePage::showNoAccountError(a1);
}
}