//
// MessagesProfilePage::loadMessagesFailed from 0x10022f780 to 0x10022f804 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008e1778
//
// 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 MessagesProfilePage::loadMessagesFailed(MessagesProfilePage *a1, const char *a2, GJErrorCode a3)
{
cocos2d::CCLabelBMFont *m_errorLabel; // rdi
const char *v6; // rsi
if ( MessagesProfilePage::isCorrect(a1, a2) )
{
((void (__fastcall *)(LoadingCircle *, _QWORD))a1->m_loadingCircle->setVisible)(a1->m_loadingCircle, 0);
((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))a1->m_refreshButton->setVisible)(a1->m_refreshButton, 1);
m_errorLabel = a1->m_errorLabel;
v6 = "Something went wrong";
if ( a3 == NotFound )
v6 = "Nothing found";
((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))m_errorLabel->setString)(m_errorLabel, v6);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, __int64))a1->m_errorLabel->setVisible)(a1->m_errorLabel, 1);
}
}