//
// ProfilePage::onSendMessage from 0x10019add0 to 0x10019ae20 (80 bytes)
//
// 1 xrefs:
// > ProfilePage::loadPageFromUserInfo @ 0x1001998d4
//
// 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 __fastcall ProfilePage::onSendMessage(ProfilePage *a1, cocos2d::CCObject *a2)
{
GJAccountManager *v3; // x0
GJWriteMessagePopup *v4; // x0
v3 = GJAccountManager::sharedState();
if ( v3->m_accountID <= v3->m_unkInt1 )
{
ProfilePage::showNoAccountError((ProfilePage *)v3);
}
else
{
v4 = GJWriteMessagePopup::create(a1->m_accountID, 0);
((void (__fastcall *)(GJWriteMessagePopup *))v4->show)(v4);
}
}