//
// ProfilePage::followUserFailed from 0x10022fe00 to 0x10022fe88 (136 bytes)
//
// 2 xrefs:
// > sub_10022FEA4 @ 0x10022fea8
// > ??> @ 0x1008ff6e0
//
// 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:16 +0000
//
void __fastcall ProfilePage::followUserFailed(__int64 a1, int a2, int a3)
{
__int64 v3; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v5; // [xsp+1Fh] [xbp-11h]
if ( *(_DWORD *)(a1 + 736) == a2 )
{
sub_10022E1F8(a1, a3 ^ 1);
if ( (sub_1000483A4() & 1) == 0 )
{
sub_100009900(__p, "Something went wrong, please try again later.");
v3 = sub_10034A8F8(0, "Error", __p, "OK", 0);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 1312LL))(v3);
if ( v5 < 0 )
operator delete(__p[0]);
}
}
}