// // LevelInfoLayer::setIDPopupClosed from 0x6d5454 to 0x6d54d4 (128 bytes) // // 3 xrefs: // > `non-virtual thunk to'LevelInfoLayer::setIDPopupClosed @ 0x6d54dc // > @ 0x35a60 // > @ 0x115b6f8 // // 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) { cocos2d::CCLabelBMFont *m_folderLabel; // x20 cocos2d::CCLabelBMFont_vtbl *v5; // x3 void (__fastcall *setString)(cocos2d::CCLabelBMFont *__hidden, const unsigned __int8 *); // x21 cocos2d::CCString *v7; // x0 const char *CString; // x0 if ( a3 < 0 ) { a3 = 0; } else if ( a3 >= 1000 ) { a3 = 999; } m_folderLabel = a1->m_folderLabel; v5 = m_folderLabel->cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; a1->m_level->m_levelFolder = a3; setString = v5->setString; v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i", (const char *)(unsigned int)a3); CString = cocos2d::CCString::getCString(v7); setString(m_folderLabel, (const unsigned __int8 *)CString); cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_folderLabel, 24.0, 0.55, 0.0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source