//
// MessageThreadsPage::onShowInvites from 0x1400d65c0 to 0x1400d6740 (384 bytes)
//
// 2 xrefs:
// > MessageThreadsPage::init @ 0x1400d59d8
// > ??> @ 0x140914660
//
// 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:26 +0000
//
// Hidden C++ exception states: #wind=1
__int64 MessageThreadsPage::onShowInvites()
{
cocos2d::CCObject *v0; // rbx
__int64 (__fastcall *v1)(cocos2d::CCObject *); // rdx
char v2; // al
__int64 (__fastcall *v3)(__int64); // rdx
v0 = (cocos2d::CCObject *)operator new(0x368u);
sub_1400ABC50((__int64)v0);
*(_QWORD *)v0 = &InvitesPopup::`vftable';
*((_QWORD *)v0 + 40) = &InvitesPopup::`vftable';
*((_QWORD *)v0 + 41) = &InvitesPopup::`vftable';
*((_QWORD *)v0 + 42) = &InvitesPopup::`vftable';
*((_QWORD *)v0 + 43) = &InvitesPopup::`vftable';
*((_QWORD *)v0 + 44) = &InvitesPopup::`vftable';
*((_QWORD *)v0 + 51) = &InvitesPopup::`vftable';
*((_QWORD *)v0 + 54) = &InvitesPopup::`vftable';
*((_QWORD *)v0 + 68) = &InvitesPopup::`vftable';
*((_QWORD *)v0 + 97) = &InvitesPopup::`vftable';
*((_QWORD *)v0 + 98) = &InvitesPopup::`vftable';
*((_QWORD *)v0 + 99) = 0;
*((_QWORD *)v0 + 100) = 0;
*((_DWORD *)v0 + 202) = 0;
*((_WORD *)v0 + 406) = 0;
*((_QWORD *)v0 + 102) = 0;
*((_QWORD *)v0 + 103) = 0;
*((_QWORD *)v0 + 104) = 0;
*(_OWORD *)((char *)v0 + 840) = 0;
*((_QWORD *)v0 + 107) = 0;
*((_QWORD *)v0 + 108) = 15;
*((_BYTE *)v0 + 840) = 0;
v1 = *(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v0 + 72LL);
if ( (char *)v1 == (char *)InvitesPopup::init )
v2 = InvitesPopup::init(v0);
else
v2 = v1(v0);
if ( v2 )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v0 + 8LL))(v0, 1);
v0 = nullptr;
}
v3 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v0 + 1064LL);
if ( v3 == PagedListPopup::show )
return PagedListPopup::show((__int64)v0);
else
return v3((__int64)v0);
}