//
// ProfilePage::onSendMessage from 0x8fd10c to 0x8fd168 (92 bytes)
//
// 3 xrefs:
// > ??> @ 0x820e0
// > ProfilePage::loadPageFromUserInfo @ 0x8fa61c
// > ??> @ 0x122c620
//
// 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; // x0
GJWriteMessagePopup *v4; // x0
v3 = GJAccountManager::sharedState();
if ( v3->m_accountID - v3->m_unkInt1 <= 0 )
{
ProfilePage::showNoAccountError(a1);
}
else
{
v4 = GJWriteMessagePopup::create(a1->m_accountID, 0);
v4->show(v4);
}
}