//
// sub_10051B070 from 0x10051b070 to 0x10051b0a4 (52 bytes)
//
// 11 xrefs:
// > sub_1002722F8 @ 0x100272398
// > sub_1002723E0 @ 0x100272458
// > FriendsProfilePage::getUserListFinished @ 0x1002734ec
// > FriendsProfilePage::getUserListFinished @ 0x1002735e4
// > FriendsProfilePage::forceReloadList @ 0x10027386c
// > FriendsProfilePage::textChanged @ 0x100273bcc
// > sub_100503A98 @ 0x100503abc
// > sub_100506074 @ 0x1005060c8
// > sub_100507288 @ 0x1005072cc
// > InvitesPopup::buildRows @ 0x10050ed78
// > sub_10053053C @ 0x100530580
//
// 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:07:08 +0000
//
__int64 __fastcall sub_10051B070(__int64 a1)
{
__int64 result; // x0
result = *(_QWORD *)(a1 + 760);
if ( result )
{
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 520LL))(result);
*(_QWORD *)(a1 + 760) = 0;
}
return result;
}