//
// MessagesProfilePage::loadMessagesFailed from 0x8f2a24 to 0x8f2ae4 (192 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'MessagesProfilePage::loadMessagesFailed @ 0x8f2ae8
// > ??> @ 0xb6568
// > ??> @ 0x11a5128
//
// 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 MessagesProfilePage::loadMessagesFailed(MessagesProfilePage *a1, const char *a2, GJErrorCode a3)
{
cocos2d::CCLabelBMFont *m_errorLabel; // x2
if ( MessagesProfilePage::isCorrect(a1, a2) )
{
a1->m_loadingCircle->setVisible(a1->m_loadingCircle, 0);
a1->m_refreshButton->setVisible(a1->m_refreshButton, 1);
m_errorLabel = a1->m_errorLabel;
if ( a3 == NotFound )
m_errorLabel->setString(a1->m_errorLabel, "Nothing found");
else
m_errorLabel->setString(a1->m_errorLabel, "Something went wrong");
a1->m_errorLabel->setVisible(a1->m_errorLabel, 1);
}
}