// // cocos2d::CCLabelBMFont::limitLabelWidth from 0x5cccd4 to 0x5ccd68 (148 bytes) // // 152 xrefs: // > GameToolbox::createToggleButton @ 0x2ec128 // > MenuLayer::updateUserProfileButton @ 0x30a224 // > MenuLayer::init @ 0x30b3a4 // > LevelCell::loadCustomLevelCell @ 0x331c9c // > LevelCell::loadCustomLevelCell @ 0x331d7e // > LevelCell::loadCustomLevelCell @ 0x3322e4 // > LevelCell::loadCustomLevelCell @ 0x33237e // > LevelCell::loadCustomLevelCell @ 0x3325f2 // > LevelCell::loadCustomLevelCell @ 0x332d0a // > LevelCell::loadCustomLevelCell @ 0x332df0 // > LevelCell::loadCustomLevelCell @ 0x332f32 // > LevelCell::loadCustomLevelCell @ 0x333106 // > ArtistCell::loadFromObject @ 0x335a34 // > CommentCell::loadFromComment @ 0x335e74 // > CommentCell::loadFromComment @ 0x3364d6 // > CommentCell::loadFromComment @ 0x336cae // > GJScoreCell::loadFromScore @ 0x33743a // > GJScoreCell::loadFromScore @ 0x337468 // > GJScoreCell::loadFromScore @ 0x33775a // > GJScoreCell::loadFromScore @ 0x337858 // > GJScoreCell::loadFromScore @ 0x3379a0 // > GJScoreCell::loadFromScore @ 0x337b0a // > GJScoreCell::loadFromScore @ 0x337c2c // > GJScoreCell::loadFromScore @ 0x337d4a // > GJScoreCell::loadFromScore @ 0x337ebc // > GJLocalLevelScoreCell::loadFromScore @ 0x3381ac // > GJLevelScoreCell::loadFromScore @ 0x33849c // > GJLevelScoreCell::loadFromScore @ 0x33853c // > GJLevelScoreCell::loadFromScore @ 0x338722 // > GJLevelScoreCell::loadFromScore @ 0x338774 // > GJLevelScoreCell::loadFromScore @ 0x3388ee // > GJUserCell::loadFromScore @ 0x338bf8 // > GJRequestCell::loadFromScore @ 0x3392e2 // > GJMessageCell::loadFromMessage @ 0x3399e2 // > GJMessageCell::loadFromMessage @ 0x339c10 // > SmartTemplateCell::loadFromObject @ 0x33a1fe // > LevelListCell::loadFromList @ 0x33a9da // > LevelListCell::loadFromList @ 0x33abb4 // > LevelListCell::loadFromList @ 0x33afea // > LevelListCell::loadFromList @ 0x33b10a // > LevelListCell::loadFromList @ 0x33b31c // > URLCell::loadFromObject @ 0x33b944 // > LevelEditorLayer::updateObjectLabel @ 0x367488 // > EditorUI::updateGroupIDLabel @ 0x380b28 // > GJScaleControl::updateLabelX @ 0x386e3e // > GJScaleControl::updateLabelY @ 0x386e86 // > GJScaleControl::updateLabelXY @ 0x386ece // > PauseLayer::createToggleButton @ 0x3a7dc8 // > PauseLayer::setupProgressBars @ 0x3a8370 // > PauseLayer::setupProgressBars @ 0x3a8406 // > LevelInfoLayer::setIDPopupClosed @ 0x3b07f8 // > LevelInfoLayer::setupPlatformerStats @ 0x3b1a9c // > LevelInfoLayer::setupPlatformerStats @ 0x3b1b2a // > LevelInfoLayer::updateLabelValues @ 0x3b2eca // > LevelInfoLayer::updateLabelValues @ 0x3b2edc // > LevelInfoLayer::updateLabelValues @ 0x3b2eee // > LevelInfoLayer::updateLabelValues @ 0x3b2efe // > LevelInfoLayer::updateLabelValues @ 0x3b2f0e // > LevelInfoLayer::init @ 0x3b3f6e // > LevelInfoLayer::init @ 0x3b4016 // > LevelInfoLayer::init @ 0x3b4c44 // > EditLevelLayer::setIDPopupClosed @ 0x3b5ac4 // > EditLevelLayer::setupLevelInfo @ 0x3b6504 // > EditLevelLayer::init @ 0x3b744a // > ShareLevelSettingsLayer::init @ 0x3ba068 // > LevelBrowserLayer::updatePageLabel @ 0x3bb360 // > LevelBrowserLayer::updatePageLabel @ 0x3bb396 // > LevelBrowserLayer::updateLevelsLabel @ 0x3bb40e // > ColorSelectPopup::init @ 0x3db63a // > CustomSongWidget::updateError @ 0x3de0e2 // > CustomSongWidget::updateSongInfo @ 0x3de7d6 // > CustomSongWidget::updateSongInfo @ 0x3de7f0 // > CustomSongWidget::updateSongInfo @ 0x3de800 // > CustomSongWidget::updateSongInfo @ 0x3de814 // > CustomSongWidget::updateSongInfo @ 0x3de8f4 // > CustomSongWidget::updateSongInfo @ 0x3de93e // > CustomSongWidget::updateSongInfo @ 0x3de952 // > CustomSongWidget::deleteSong @ 0x3dfb0e // > CustomSongWidget::updateMultiAssetInfo @ 0x3dfdac // > CustomSongWidget::processNextMultiAsset @ 0x3dfeac // > CustomSongWidget::processNextMultiAsset @ 0x3dff32 // > CustomSongWidget::downloadSongFinished @ 0x3e08b2 // > ItemInfoPopup::init @ 0x4054d4 // > ItemInfoPopup::init @ 0x40556a // > GJListLayer::init @ 0x40bfbc // > VideoOptionsLayer::updateTextureQuality @ 0x4244ec // > VideoOptionsLayer::updateResolution @ 0x4247ca // > VideoOptionsLayer::createToggleButton @ 0x424a0a // > EndLevelLayer::playCurrencyEffect @ 0x428334 // > EndLevelLayer::playDiamondEffect @ 0x4285a8 // > EndLevelLayer::customSetup @ 0x4295b4 // > EndLevelLayer::customSetup @ 0x429628 // > EndLevelLayer::customSetup @ 0x4298d2 // > SongInfoLayer::init @ 0x42df9a // > InfoLayer::init @ 0x430382 // > InfoLayer::init @ 0x430430 // > InfoLayer::init @ 0x430536 // > RetryLevelLayer::customSetup @ 0x435c58 // > KeybindingsLayer::addKeyPair @ 0x46a7a6 // > KeybindingsLayer::addKeyPair @ 0x46a80c // > ColorChannelSprite::updateCopyLabel @ 0x499088 // > GJAccountSettingsLayer::createToggleButton @ 0x4abcc2 // > MessagesProfilePage::init @ 0x4c141e // > sub_4C275C @ 0x4c28b0 // > FriendsProfilePage::init @ 0x4c385e // > ProfilePage::loadPageFromUserInfo @ 0x4c5360 // > ProfilePage::loadPageFromUserInfo @ 0x4c5dc8 // > ProfilePage::loadPageFromUserInfo @ 0x4c681c // > ProfilePage::init @ 0x4c762e // > SecretLayer::updateMessageLabel @ 0x4c982c // > CollisionBlockPopup::createToggleButton @ 0x4cd54e // > ColorSelectLiveOverlay::createToggleButton @ 0x4ce358 // > DialogLayer::init @ 0x4d6302 // > GauntletNode::generateNode @ 0x4d8686 // > GauntletLayer::setupGauntlet @ 0x4daaca // > GJRotateCommandLayer::updateEasingLabel @ 0x4df0ae // > LevelLeaderboard::init @ 0x4e54c6 // > RewardUnlockLayer::playLabelEffect @ 0x4e7aae // > SecretLayer2::updateMessageLabel @ 0x4ec35c // > SecretLayer2::onSubmit @ 0x4ed4dc // > SecretLayer4::updateMessageLabel @ 0x4f0964 // > SecretLayer4::onSubmit @ 0x4f124a // > WorldLevelPage::init @ 0x4fe9da // > TopArtistsLayer::updateLevelsLabel @ 0x50127c // > SetupCameraOffsetTrigger::updateEasingLabel @ 0x501b6e // > CommunityCreditsPage::init @ 0x507cca // > CommunityCreditsPage::init @ 0x507faa // > SetupCameraRotatePopup::updateEasingLabel @ 0x52652e // > CreateParticlePopup::createParticleSlider @ 0x531426 // > GJSmartBlockPreview::addCount @ 0x53b8cc // > GJSmartBlockPreview::addChance @ 0x53b9a8 // > SetupSmartTemplateLayer::init @ 0x53e674 // > SetupTriggerPopup::updateEaseLabel @ 0x54558e // > SetupTriggerPopup::updateCustomEaseLabel @ 0x545caa // > SetupGradientPopup::updateBlendingLabel @ 0x550ca0 // > SetupMGTrigger::updateEasingLabel @ 0x5628ce // > CustomSFXWidget::updateSFXInfo @ 0x56e272 // > CustomSFXWidget::updateSFXInfo @ 0x56e280 // > CustomSFXWidget::updateSFXInfo @ 0x56e28e // > CustomSFXWidget::updateSFXInfo @ 0x56e29e // > CustomSFXWidget::deleteSFX @ 0x56e420 // > CustomSFXWidget::updateError @ 0x56f1b0 // > SetupReverbPopup::updateReverbLabel @ 0x575b8e // > SetupItemEditTriggerPopup::updateOpButton @ 0x57a3b4 // > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x57a732 // > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x57bbbc // > SFXBrowser::setupList @ 0x58332a // > SFXBrowser::setupList @ 0x5833aa // > SFXBrowser::setupList @ 0x5833c6 // > LevelListLayer::init @ 0x590c8e // > LevelListLayer::init @ 0x590cba // > SecretLayer5::updateMessageLabel @ 0x59dca0 // // 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 cocos2d::CCLabelBMFont::limitLabelWidth(cocos2d::CCLabelBMFont *a1, float a2, float a3, float a4) { float width; // s19 float v9; // s15 ((void (__fastcall *)(cocos2d::CCLabelBMFont *, int, _DWORD))a1->setScale)(a1, 1065353216, LODWORD(a3)); width = a1->getContentSize(a1)->width; v9 = COERCE_FLOAT(((int (__fastcall *)(cocos2d::CCLabelBMFont *))a1->getScale)(a1)); if ( width > a2 && a2 > 0.0 ) v9 = a2 / width; if ( a3 != 0.0 && a3 <= v9 ) v9 = a3; if ( a4 != 0.0 && a4 >= v9 ) v9 = a4; ((void (__fastcall *)(cocos2d::CCLabelBMFont *, _DWORD))a1->setScale)(a1, LODWORD(v9)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source