//
// LevelInfoLayer::setIDPopupClosed from 0x499a5c to 0x499aa8 (76 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'LevelInfoLayer::setIDPopupClosed @ 0x499ab8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:49:44 +0000
//
int __fastcall LevelInfoLayer::setIDPopupClosed(LevelInfoLayer *this, SetIDPopup *a2, const char *a3)
{
const char *v3; // r1
int v5; // r5
void (__fastcall *v6)(int, int); // r6
cocos2d::CCString *v7; // r0
int CString; // r0
v3 = a3;
if ( (int)a3 < 0 )
{
v3 = nullptr;
}
else if ( (int)a3 >= 999 )
{
v3 = (_BYTE *)(&stru_3DC + 11);
}
*(_DWORD *)(*((_DWORD *)this + 91) + 740) = v3;
v5 = *((_DWORD *)this + 103);
v6 = *(void (__fastcall **)(int, int))(*(_DWORD *)v5 + 464);
v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v3);
CString = cocos2d::CCString::getCString(v7);
v6(v5, CString);
return cocos2d::CCLabelBMFont::limitLabelWidth(*((cocos2d::CCLabelBMFont **)this + 103), 24.0, 0.55, 0.0);
}