//
// sub_10050EB50 from 0x10050eb50 to 0x10050ebd0 (128 bytes)
//
// 1 xrefs:
// > InvitesPopup::init @ 0x10050e784
//
// 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:01 +0000
//
__int64 __fastcall sub_10050EB50(__int64 a1)
{
int v2; // w8
__int64 v3; // x0
const std::string::value_type *v4; // x1
__int64 v5; // x0
const char *v6; // x1
v2 = *(unsigned __int8 *)(a1 + 813);
*(_BYTE *)(a1 + 813) = v2 ^ 1;
v3 = *(_QWORD *)(a1 + 816);
if ( v3 )
{
if ( v2 )
v4 = "Ignored";
else
v4 = "Pending";
ButtonSprite::setString(v3, v4);
}
v5 = *(_QWORD *)(a1 + 744);
if ( v5 )
{
if ( *(_BYTE *)(a1 + 813) )
v6 = "Ignored";
else
v6 = "Pending";
(*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v5 + 928LL))(v5, v6);
}
sub_10050EBD0(a1);
return InvitesPopup::buildRows(a1);
}