// // cocos2d::CCLabelBMFont::limitLabelWidth from 0xae4a04 to 0xae4ae0 (220 bytes) // // 166 xrefs: // > GameToolbox::createToggleButton @ 0x580154 // > MenuLayer::updateUserProfileButton @ 0x5c2558 // > MenuLayer::init @ 0x5c3910 // > LevelCell::loadCustomLevelCell @ 0x60fd78 // > LevelCell::loadCustomLevelCell @ 0x6100c4 // > LevelCell::loadCustomLevelCell @ 0x610378 // > LevelCell::loadCustomLevelCell @ 0x610ab0 // > LevelCell::loadCustomLevelCell @ 0x610c10 // > LevelCell::loadCustomLevelCell @ 0x610d9c // > LevelCell::loadCustomLevelCell @ 0x610fec // > LevelCell::loadCustomLevelCell @ 0x611350 // > LevelCell::loadCustomLevelCell @ 0x6113a8 // > LevelCell::loadCustomLevelCell @ 0x61188c // > ArtistCell::loadFromObject @ 0x616444 // > CommentCell::loadFromComment @ 0x616a48 // > CommentCell::loadFromComment @ 0x617164 // > CommentCell::loadFromComment @ 0x617364 // > CommentCell::loadFromComment @ 0x617a0c // > GJScoreCell::loadFromScore @ 0x618d74 // > GJScoreCell::loadFromScore @ 0x618dd0 // > GJScoreCell::loadFromScore @ 0x619080 // > GJScoreCell::loadFromScore @ 0x6191f4 // > GJScoreCell::loadFromScore @ 0x6193cc // > GJScoreCell::loadFromScore @ 0x619584 // > GJScoreCell::loadFromScore @ 0x619738 // > GJScoreCell::loadFromScore @ 0x6198e8 // > GJScoreCell::loadFromScore @ 0x619bc8 // > GJLocalLevelScoreCell::loadFromScore @ 0x61a5e8 // > GJLevelScoreCell::loadFromScore @ 0x61aca8 // > GJLevelScoreCell::loadFromScore @ 0x61aea0 // > GJLevelScoreCell::loadFromScore @ 0x61b1bc // > GJLevelScoreCell::loadFromScore @ 0x61b1dc // > GJLevelScoreCell::loadFromScore @ 0x61b218 // > GJLevelScoreCell::loadFromScore @ 0x61b2d8 // > GJUserCell::loadFromScore @ 0x61b904 // > GJRequestCell::loadFromScore @ 0x61c370 // > GJMessageCell::loadFromMessage @ 0x61cecc // > GJMessageCell::loadFromMessage @ 0x61d13c // > SmartTemplateCell::loadFromObject @ 0x61dc74 // > LevelListCell::loadFromList @ 0x61e730 // > LevelListCell::loadFromList @ 0x61e964 // > LevelListCell::loadFromList @ 0x61eeec // > LevelListCell::loadFromList @ 0x61f098 // > LevelListCell::loadFromList @ 0x61f670 // > URLCell::loadFromObject @ 0x620170 // > LevelEditorLayer::updateObjectLabel @ 0x65eff4 // > EditorUI::updateGroupIDLabel @ 0x68e6c8 // > GJScaleControl::updateLabelX @ 0x6959ac // > GJScaleControl::updateLabelY @ 0x695a10 // > GJScaleControl::updateLabelXY @ 0x695a74 // > PauseLayer::createToggleButton @ 0x6c6e78 // > PauseLayer::setupProgressBars @ 0x6c7684 // > PauseLayer::setupProgressBars @ 0x6c77f8 // > LevelInfoLayer::setIDPopupClosed @ 0x6d54c8 // > LevelInfoLayer::setupPlatformerStats @ 0x6d7afc // > LevelInfoLayer::setupPlatformerStats @ 0x6d7c28 // > LevelInfoLayer::updateLabelValues @ 0x6d9b6c // > LevelInfoLayer::updateLabelValues @ 0x6d9b80 // > LevelInfoLayer::updateLabelValues @ 0x6d9b94 // > LevelInfoLayer::updateLabelValues @ 0x6d9ba8 // > LevelInfoLayer::updateLabelValues @ 0x6d9bbc // > LevelInfoLayer::init @ 0x6db600 // > LevelInfoLayer::init @ 0x6db7c0 // > LevelInfoLayer::init @ 0x6dc720 // > LevelInfoLayer::init @ 0x6dca9c // > EditLevelLayer::setIDPopupClosed @ 0x6dde60 // > EditLevelLayer::setupLevelInfo @ 0x6df6cc // > EditLevelLayer::init @ 0x6e0fbc // > ShareLevelSettingsLayer::init @ 0x6e629c // > LevelBrowserLayer::updatePageLabel @ 0x6e8d6c // > LevelBrowserLayer::updatePageLabel @ 0x6e8db4 // > LevelBrowserLayer::updateLevelsLabel @ 0x6e8e6c // > ColorSelectPopup::init @ 0x73f1fc // > CustomSongWidget::updateError @ 0x7444ac // > CustomSongWidget::updateError @ 0x744514 // > CustomSongWidget::updateSongInfo @ 0x7448c8 // > CustomSongWidget::updateSongInfo @ 0x7448dc // > CustomSongWidget::updateSongInfo @ 0x744d60 // > CustomSongWidget::updateSongInfo @ 0x744dac // > CustomSongWidget::updateSongInfo @ 0x744f60 // > CustomSongWidget::updateSongInfo @ 0x744f74 // > CustomSongWidget::updateSongInfo @ 0x744f90 // > CustomSongWidget::updateSongInfo @ 0x74516c // > CustomSongWidget::updateMultiAssetInfo @ 0x7471b0 // > CustomSongWidget::deleteSong @ 0x7475bc // > CustomSongWidget::deleteSong @ 0x747600 // > CustomSongWidget::processNextMultiAsset @ 0x747d8c // > CustomSongWidget::processNextMultiAsset @ 0x747e6c // > CustomSongWidget::processNextMultiAsset @ 0x747ed8 // > CustomSongWidget::downloadSongFinished @ 0x749328 // > CustomSongWidget::downloadSongFinished @ 0x749360 // > ItemInfoPopup::init @ 0x7951a8 // > ItemInfoPopup::init @ 0x795a9c // > GJListLayer::init @ 0x7a0a80 // > VideoOptionsLayer::updateTextureQuality @ 0x7cc318 // > VideoOptionsLayer::updateTextureQuality @ 0x7cc354 // > VideoOptionsLayer::updateTextureQuality @ 0x7cc38c // > VideoOptionsLayer::updateTextureQuality @ 0x7cc3cc // > VideoOptionsLayer::updateResolution @ 0x7cc78c // > VideoOptionsLayer::createToggleButton @ 0x7ccb28 // > EndLevelLayer::playCurrencyEffect @ 0x7d45dc // > EndLevelLayer::playDiamondEffect @ 0x7d4954 // > EndLevelLayer::customSetup @ 0x7d5e7c // > EndLevelLayer::customSetup @ 0x7d6c80 // > EndLevelLayer::customSetup @ 0x7d6d5c // > SongInfoLayer::init @ 0x7df754 // > InfoLayer::init @ 0x7e3ef4 // > InfoLayer::init @ 0x7e47bc // > InfoLayer::init @ 0x7e4858 // > RetryLevelLayer::customSetup @ 0x7edf64 // > KeybindingsLayer::addKeyPair @ 0x852eec // > KeybindingsLayer::addKeyPair @ 0x852f80 // > ColorChannelSprite::updateCopyLabel @ 0x8a3250 // > GJAccountSettingsLayer::createToggleButton @ 0x8ca0c0 // > MessagesProfilePage::init @ 0x8f33a0 // > FRequestProfilePage::init @ 0x8f57d4 // > FriendsProfilePage::init @ 0x8f6ee4 // > ProfilePage::loadPageFromUserInfo @ 0x8fa3a4 // > ProfilePage::loadPageFromUserInfo @ 0x8fb898 // > ProfilePage::loadPageFromUserInfo @ 0x8fc0b8 // > ProfilePage::init @ 0x8fe088 // > SecretLayer::updateMessageLabel @ 0x90264c // > CollisionBlockPopup::createToggleButton @ 0x909430 // > ColorSelectLiveOverlay::createToggleButton @ 0x90aaa8 // > DialogLayer::init @ 0x916ec4 // > GauntletNode::generateNode @ 0x91a3ec // > GauntletLayer::setupGauntlet @ 0x91e950 // > GJRotateCommandLayer::updateEasingLabel @ 0x925d90 // > LevelLeaderboard::init @ 0x9327c0 // > RewardUnlockLayer::playLabelEffect @ 0x936bc4 // > SecretLayer2::updateMessageLabel @ 0x93ff9c // > SecretLayer2::onSubmit @ 0x943760 // > SecretLayer2::onSubmit @ 0x943c58 // > SecretLayer4::updateMessageLabel @ 0x948308 // > SecretLayer4::onSubmit @ 0x949564 // > WorldLevelPage::init @ 0x961b08 // > TopArtistsLayer::updateLevelsLabel @ 0x9665e8 // > SetupCameraOffsetTrigger::updateEasingLabel @ 0x9677cc // > CommunityCreditsPage::init @ 0x971c08 // > CommunityCreditsPage::init @ 0x971e9c // > SetupCameraRotatePopup::updateEasingLabel @ 0x9abff8 // > CreateParticlePopup::createParticleSlider @ 0x9c3880 // > GJSmartBlockPreview::addCount @ 0x9d638c // > GJSmartBlockPreview::addChance @ 0x9d64a8 // > SetupSmartTemplateLayer::init @ 0x9de24c // > SetupTriggerPopup::updateEaseLabel @ 0x9e9ba4 // > SetupTriggerPopup::updateCustomEaseLabel @ 0x9ea6c4 // > SetupGradientPopup::updateBlendingLabel @ 0x9fa330 // > SetupMGTrigger::updateEasingLabel @ 0xa1f8b8 // > CustomSFXWidget::updateSFXInfo @ 0xa31f9c // > CustomSFXWidget::updateSFXInfo @ 0xa31fb0 // > CustomSFXWidget::updateSFXInfo @ 0xa320f0 // > CustomSFXWidget::updateSFXInfo @ 0xa32104 // > CustomSFXWidget::deleteSFX @ 0xa32578 // > CustomSFXWidget::updateError @ 0xa33a1c // > SetupReverbPopup::updateReverbLabel @ 0xa3f2f8 // > SetupItemEditTriggerPopup::updateOpButton @ 0xa49414 // > SetupItemEditTriggerPopup::updateFormulaLabel @ 0xa49830 // > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0xa4c49c // > SFXBrowser::setupList @ 0xa5d680 // > SFXBrowser::setupList @ 0xa5d740 // > SFXBrowser::setupList @ 0xa5d76c // > LevelListLayer::init @ 0xa76ac8 // > LevelListLayer::init @ 0xa76b30 // > SecretLayer5::updateMessageLabel @ 0xa93d18 // > @ 0x46110 // // 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; // s9 float v7; // s0 a1->setScale(a1, 1.0); width = a1->getContentSize(a1)->width; a1->getScale(a1); if ( width > a2 && a2 > 0.0 ) v7 = a2 / width; if ( a3 != 0.0 && v7 >= a3 ) v7 = a3; if ( a4 == 0.0 || v7 > a4 ) ((void (__fastcall *)(cocos2d::CCLabelBMFont *))a1->setScale)(a1); else a1->setScale(a1, a4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source