//
// NotificationsPage::loadNotificationsFailed from 0x140478bd0 to 0x140478c2e (94 bytes)
//
// 2 xrefs:
// > ??> @ 0x1407b5420
// > ??> @ 0x14092852c
//
// This function is hookable on this platform (idp: pc, 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:32:41 +0000
//
__int64 __fastcall NotificationsPage::loadNotificationsFailed(__int64 a1, int a2)
{
__int64 v3; // rdx
__int64 v4; // rdx
__int64 result; // rax
if ( a2 == *(_DWORD *)(a1 + 72) )
{
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 32) + 336LL))(*(_QWORD *)(a1 + 32), 0);
LOBYTE(v3) = 1;
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 56) + 336LL))(*(_QWORD *)(a1 + 56), v3);
(**(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 16) + 360LL))(
*(_QWORD *)(a1 + 16) + 360LL,
"Something went wrong");
LOBYTE(v4) = 1;
return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 16) + 336LL))(*(_QWORD *)(a1 + 16), v4);
}
return result;
}