//
// MessagesProfilePage::loadMessagesFailed from 0x1001cd5b4 to 0x1001cd648 (148 bytes)
//
// 2 xrefs:
// > sub_1001CD648 @ 0x1001cd64c
// > ??> @ 0x1007ba7c0
//
// 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)
{
const char *v5; // x1
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);
if ( a3 == NotFound )
v5 = "Nothing found";
else
v5 = "Something went wrong";
((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))a1->m_errorLabel->setString)(a1->m_errorLabel, v5);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, __int64))a1->m_errorLabel->setVisible)(a1->m_errorLabel, 1);
}
}