//
// PagedListPopup::show from 0x1400c39c0 to 0x1400c3a49 (137 bytes)
//
// 16 xrefs:
// > MessageThreadsPage::onShowInvites @ 0x1400d672e
// > MenuLayer::onReportQueue @ 0x140473e07
// > MessageThreadsPage::onShowInvites @ 0x1400d6715
// > MenuLayer::onReportQueue @ 0x140473dee
// > ??> @ 0x140721920
// > ??> @ 0x140721eb0
// > ??> @ 0x140724f80
// > ??> @ 0x140725c58
// > ??> @ 0x140728ce0
// > ??> @ 0x14072acc8
// > ??> @ 0x14072c6f0
// > ??> @ 0x14072d9d0
// > ??> @ 0x14072e0a0
// > ??> @ 0x14072f420
// > ??> @ 0x140756fe0
// > ??> @ 0x140913c7c
//
// 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:19 +0000
//
// Merged with: PagedListPopup::show, DeathTrackerPopup::show, ThreadViewPopup::show
__int64 __fastcall PagedListPopup::show(__int64 a1)
{
cocos2d::CCScene *v2; // rbx
int v3; // eax
v2 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(a1) + 272);
if ( *(_QWORD *)(a1 + 568) )
{
v2 = *(cocos2d::CCScene **)(a1 + 568);
}
else
{
if ( cocos2d::CCScene::getHighestChildZ(v2) + 1 >= 110 )
v3 = cocos2d::CCScene::getHighestChildZ(v2) + 1;
else
v3 = 110;
*(_DWORD *)(a1 + 592) = v3;
}
if ( !*(_DWORD *)(a1 + 592) )
*(_DWORD *)(a1 + 592) = 110;
return (*(__int64 (__fastcall **)(cocos2d::CCScene *, __int64))(*(_QWORD *)v2 + 456LL))(v2, a1);
}