//
// LevelInfoLayer::setIDPopupClosed from 0x3b07b0 to 0x3b07fc (76 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'LevelInfoLayer::setIDPopupClosed @ 0x3b080c
//
// 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 LevelInfoLayer::setIDPopupClosed(LevelInfoLayer *a1, SetIDPopup *a2, int a3)
{
const char *v3; // r1
cocos2d::CCLabelBMFont *m_folderLabel; // r5
void (__fastcall *setString)(cocos2d::CCLabelBMFont *__hidden, const unsigned __int8 *); // r6
cocos2d::CCString *v7; // r0
const char *CString; // r0
v3 = (const char *)a3;
if ( a3 < 0 )
{
v3 = nullptr;
}
else if ( a3 >= 999 )
{
v3 = (_BYTE *)(&stru_3DC + 11);
}
m_folderLabel = a1->m_folderLabel;
a1->m_level->m_levelFolder = (int)v3;
setString = m_folderLabel->setString;
v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v3);
CString = cocos2d::CCString::getCString(v7);
setString(m_folderLabel, (const unsigned __int8 *)CString);
cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_folderLabel, 24.0, 0.55, 0.0);
}