//
// InvitesPopup::onToggleIgnored from 0x1400f7200 to 0x1400f7294 (148 bytes)
//
// 2 xrefs:
// > InvitesPopup::init @ 0x1400f6d6e
// > ??> @ 0x1409152f0
//
// 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:26:38 +0000
//
__int64 __fastcall InvitesPopup::onToggleIgnored(__int64 a1)
{
char v1; // r8
const char *v2; // rdi
__int64 *v4; // rcx
char *v5; // rdx
__int64 v6; // rcx
void (__fastcall ***v7)(_QWORD, const char *); // rcx
v1 = *(_BYTE *)(a1 + 813);
v2 = "Pending";
*(_BYTE *)(a1 + 813) = v1 == 0;
v4 = *(__int64 **)(a1 + 816);
if ( v4 )
{
v5 = "Ignored";
if ( !v1 )
v5 = "Pending";
ButtonSprite::setString(v4, v5);
}
v6 = *(_QWORD *)(a1 + 744);
if ( v6 )
{
v7 = (void (__fastcall ***)(_QWORD, const char *))(v6 + 360);
if ( *(_BYTE *)(a1 + 813) )
v2 = "Ignored";
(**v7)(v7, v2);
}
InvitesPopup::layoutTitleInfo(a1);
return InvitesPopup::buildRows(a1);
}