//
// SetIDPopup::show from 0x14029bf20 to 0x14029bfa9 (137 bytes)
//
// 10 xrefs:
// > EditorUI::onColorFilter @ 0x1400e7411
// > EditorUI::onFindObject @ 0x1400e7fc6
// > EditorUI::onColorFilter @ 0x1400e73f3
// > EditorUI::onFindObject @ 0x1400e7fa8
// > ??> @ 0x140574ef8
// > ??> @ 0x140575d00
// > ??> @ 0x140576128
// > ??> @ 0x140577488
// > ??> @ 0x14058a198
// > ??> @ 0x1406d1dcc
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void SetIDPopup::show(SetIDPopup *a1)
{
cocos2d::CCScene *m_scene; // rbx
int v3; // eax
m_scene = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(a1) + 264);
if ( a1->m_scene )
{
m_scene = (cocos2d::CCScene *)a1->m_scene;
}
else
{
if ( cocos2d::CCScene::getHighestChildZ(m_scene) + 1 >= 105 )
v3 = cocos2d::CCScene::getHighestChildZ(m_scene) + 1;
else
v3 = 105;
a1->m_ZOrder = v3;
}
if ( !a1->m_ZOrder )
a1->m_ZOrder = 105;
((void (__fastcall *)(cocos2d::CCScene *, SetIDPopup *))m_scene->addChild_0)(m_scene, a1);
}