//
// MessagesProfilePage::loadMessagesFailed from 0x1002654d0 to 0x10026556c (156 bytes)
//
// 2 xrefs:
// > sub_10026556C @ 0x100265570
// > ??> @ 0x1009123b8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:01:41 +0000
//
__int64 __fastcall MessagesProfilePage::loadMessagesFailed(_QWORD **a1, char *a2, int a3)
{
__int64 result; // x0
const char *v6; // x1
result = sub_1002651F4((__int64)a1, a2);
if ( (_DWORD)result )
{
(*(void (__fastcall **)(_QWORD *, _QWORD))(*a1[94] + 344LL))(a1[94], 0);
(*(void (__fastcall **)(_QWORD *, __int64))(*a1[99] + 344LL))(a1[99], 1);
if ( a3 == -2 )
v6 = "Nothing found";
else
v6 = "Something went wrong";
(*(void (__fastcall **)(_QWORD *, const char *))(*a1[92] + 928LL))(a1[92], v6);
(*(void (__fastcall **)(_QWORD *, __int64))(*a1[92] + 344LL))(a1[92], 1);
return sub_100264984((__int64)a1);
}
return result;
}