//
// LevelInfoLayer::setIDPopupClosed from 0x1402f9bd0 to 0x1402f9c53 (131 bytes)
//
// 2 xrefs:
// > ??> @ 0x140586d60
// > ??> @ 0x1406d4100
//
// 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)
{
int v3; // edx
void (__fastcall **v5)(__int64, const char *); // rbx
cocos2d::CCString *v6; // rax
const char *CString; // rax
v3 = 0;
if ( a3 >= 0 )
v3 = a3;
if ( v3 > 999 )
v3 = 999;
*(_DWORD *)(*(_QWORD *)&a1->m_uIndexInArray + 872LL) = v3;
v5 = *(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)&a1->m_sAdditionalTransform.b + 360LL);
v6 = cocos2d::CCString::createWithFormat("%i", v3);
CString = cocos2d::CCString::getCString(v6);
(*v5)(*(_QWORD *)&a1->m_sAdditionalTransform.b + 360LL, CString);
cocos2d::CCLabelBMFont::limitLabelWidth(
*(cocos2d::CCLabelBMFont **)&a1->m_sAdditionalTransform.b,
24.0,
0.55000001,
0.0);
}