//
// SetIDPopup::show from 0x4a88c6 to 0x4a8912 (76 bytes)
//
// 0 xrefs:
//
// 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_pRunningScene; // r5
cocos2d::CCNode *m_scene; // r0
int v4; // r0
m_pRunningScene = cocos2d::CCDirector::sharedDirector()->m_pRunningScene;
m_scene = a1->m_scene;
if ( !m_scene )
{
if ( cocos2d::CCScene::getHighestChildZ(m_pRunningScene) <= 104 )
v4 = 105;
else
v4 = cocos2d::CCScene::getHighestChildZ(m_pRunningScene) + 1;
a1->m_ZOrder = v4;
m_scene = m_pRunningScene;
}
if ( !a1->m_ZOrder )
a1->m_ZOrder = 105;
m_scene->addChild_0(m_scene, a1, a1->m_ZOrder);
}