//
// MessagesProfilePage::loadMessagesFailed from 0x5efef4 to 0x5eff50 (92 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'MessagesProfilePage::loadMessagesFailed @ 0x5eff5c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:54:27 +0000
//
int __fastcall MessagesProfilePage::loadMessagesFailed(MessagesProfilePage *a1, const char *a2, int a3)
{
int result; // r0
const char *v6; // r1
result = MessagesProfilePage::isCorrect(a1, a2);
if ( result )
{
(*(void (__fastcall **)(_DWORD *, _DWORD))(**((_DWORD **)a1 + 141) + 172))(*((_DWORD **)a1 + 141), 0);
(*(void (__fastcall **)(_DWORD *, int))(**((_DWORD **)a1 + 146) + 172))(*((_DWORD **)a1 + 146), 1);
if ( a3 == -2 )
v6 = "Nothing found";
else
v6 = "Something went wrong";
(*(void (__fastcall **)(_DWORD *, const char *))(**((_DWORD **)a1 + 139) + 464))(*((_DWORD **)a1 + 139), v6);
(*(void (__fastcall **)(_DWORD *, int))(**((_DWORD **)a1 + 139) + 172))(*((_DWORD **)a1 + 139), 1);
return MessagesProfilePage::updateSelectUI(a1);
}
return result;
}