//
// SetIDPopup::show from 0x1403a6160 to 0x1403a61e9 (137 bytes)
//
// 10 xrefs:
// > EditorUI::onColorFilter @ 0x1401b1993
// > LevelListLayer::cellPerformedAction @ 0x14042ec27
// > EditorUI::onColorFilter @ 0x1401b1984
// > LevelListLayer::cellPerformedAction @ 0x14042ec18
// > ??> @ 0x1407799b0
// > ??> @ 0x140779f20
// > ??> @ 0x14077ad80
// > ??> @ 0x14078f450
// > ??> @ 0x140923780
// > ??> @ 0x14092378c
//
// 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:31:19 +0000
//
__int64 __fastcall SetIDPopup::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 >= 105 )
v3 = cocos2d::CCScene::getHighestChildZ(v2) + 1;
else
v3 = 105;
*(_DWORD *)(a1 + 592) = v3;
}
if ( !*(_DWORD *)(a1 + 592) )
*(_DWORD *)(a1 + 592) = 105;
return (*(__int64 (__fastcall **)(cocos2d::CCScene *, __int64))(*(_QWORD *)v2 + 456LL))(v2, a1);
}