// // cocos2d::CCLabelBMFont::limitLabelWidth from 0x1002fcdbc to 0x1002fce68 (172 bytes) // // 156 xrefs: // > GJSmartBlockPreview::addCount @ 0x1000093cc // > GJSmartBlockPreview::addChance @ 0x1000094f8 // > ColorChannelSprite::updateCopyLabel @ 0x10000ce9c // > LevelInfoLayer::init @ 0x100024850 // > LevelInfoLayer::init @ 0x100024a84 // > LevelInfoLayer::init @ 0x100025fdc // > LevelInfoLayer::setupPlatformerStats @ 0x100027a14 // > LevelInfoLayer::setupPlatformerStats @ 0x100027b00 // > LevelInfoLayer::setIDPopupClosed @ 0x1000293d4 // > LevelInfoLayer::updateLabelValues @ 0x100029844 // > LevelInfoLayer::updateLabelValues @ 0x100029860 // > LevelInfoLayer::updateLabelValues @ 0x100029874 // > LevelInfoLayer::updateLabelValues @ 0x100029888 // > LevelInfoLayer::updateLabelValues @ 0x10002989c // > GameToolbox::createToggleButton @ 0x100044604 // > SetupSmartTemplateLayer::init @ 0x100070b94 // > SecretLayer5::updateMessageLabel @ 0x100074cb8 // > GJListLayer::init @ 0x10007fea8 // > DialogLayer::init @ 0x100086afc // > EditLevelLayer::init @ 0x1000e9c44 // > EditLevelLayer::setupLevelInfo @ 0x1000eaa74 // > EditLevelLayer::setIDPopupClosed @ 0x1000ec478 // > VideoOptionsLayer::createToggleButton @ 0x1000f0c44 // > VideoOptionsLayer::updateTextureQuality @ 0x1000f0f94 // > VideoOptionsLayer::updateResolution @ 0x1000f103c // > CustomSongWidget::updateSongInfo @ 0x1000fc4d4 // > CustomSongWidget::updateSongInfo @ 0x1000fc518 // > CustomSongWidget::updateSongInfo @ 0x1000fc53c // > CustomSongWidget::updateSongInfo @ 0x1000fc6c8 // > CustomSongWidget::updateSongInfo @ 0x1000fc6fc // > CustomSongWidget::updateSongInfo @ 0x1000fc714 // > CustomSongWidget::updateSongInfo @ 0x1000fc738 // > CustomSongWidget::deleteSong @ 0x1000fcea0 // > CustomSongWidget::updateMultiAssetInfo @ 0x1000fdd60 // > CustomSongWidget::updateError @ 0x1000fe0dc // > CustomSongWidget::downloadSongFinished @ 0x1000fe1ec // > CustomSongWidget::processNextMultiAsset @ 0x1000fe558 // > CustomSongWidget::processNextMultiAsset @ 0x1000fe580 // > LevelListCell::loadFromList @ 0x100103db8 // > LevelListCell::loadFromList @ 0x100104030 // > LevelListCell::loadFromList @ 0x1001046f4 // > LevelListCell::loadFromList @ 0x100104898 // > LevelListCell::loadFromList @ 0x100104b30 // > ArtistCell::loadFromObject @ 0x100105744 // > URLCell::loadFromObject @ 0x100105ab8 // > CommentCell::loadFromComment @ 0x100105eec // > CommentCell::loadFromComment @ 0x100106958 // > CommentCell::loadFromComment @ 0x1001070b0 // > GJScoreCell::loadFromScore @ 0x100107a28 // > GJScoreCell::loadFromScore @ 0x100107aa4 // > GJScoreCell::loadFromScore @ 0x100107e9c // > GJScoreCell::loadFromScore @ 0x10010802c // > GJScoreCell::loadFromScore @ 0x10010822c // > GJScoreCell::loadFromScore @ 0x1001083ec // > GJScoreCell::loadFromScore @ 0x1001085a8 // > GJScoreCell::loadFromScore @ 0x100108770 // > GJScoreCell::loadFromScore @ 0x100108944 // > GJLevelScoreCell::loadFromScore @ 0x100108e50 // > GJLevelScoreCell::loadFromScore @ 0x100108f98 // > GJLevelScoreCell::loadFromScore @ 0x1001091e8 // > GJLevelScoreCell::loadFromScore @ 0x100109260 // > GJLevelScoreCell::loadFromScore @ 0x100109484 // > GJLocalLevelScoreCell::loadFromScore @ 0x1001096e0 // > GJUserCell::loadFromScore @ 0x100109b40 // > GJRequestCell::loadFromScore @ 0x10010a35c // > GJMessageCell::loadFromMessage @ 0x10010a988 // > GJMessageCell::loadFromMessage @ 0x10010ac60 // > SmartTemplateCell::loadFromObject @ 0x10010b2cc // > LevelCell::loadCustomLevelCell @ 0x10010cb0c // > LevelCell::loadCustomLevelCell @ 0x10010cca8 // > LevelCell::loadCustomLevelCell @ 0x10010d3a0 // > LevelCell::loadCustomLevelCell @ 0x10010d45c // > LevelCell::loadCustomLevelCell @ 0x10010d7a0 // > LevelCell::loadCustomLevelCell @ 0x10010e2f8 // > LevelCell::loadCustomLevelCell @ 0x10010e45c // > LevelCell::loadCustomLevelCell @ 0x10010e604 // > LevelCell::loadCustomLevelCell @ 0x10010e880 // > SetupTriggerPopup::updateEaseLabel @ 0x100134180 // > SetupTriggerPopup::updateCustomEaseLabel @ 0x100134e1c // > PauseLayer::setupProgressBars @ 0x100143064 // > PauseLayer::setupProgressBars @ 0x100143168 // > SFXBrowser::setupList @ 0x100169eb0 // > SFXBrowser::setupList @ 0x100169f74 // > SFXBrowser::setupList @ 0x100169fb4 // > SetupReverbPopup::updateReverbLabel @ 0x10017f954 // > SetupCameraOffsetTrigger::updateEasingLabel @ 0x1001904f0 // > ProfilePage::init @ 0x100196d28 // > ProfilePage::loadPageFromUserInfo @ 0x1001981a8 // > ProfilePage::loadPageFromUserInfo @ 0x1001990b8 // > ProfilePage::loadPageFromUserInfo @ 0x1001996a8 // > CommunityCreditsPage::init @ 0x1001a1b54 // > CommunityCreditsPage::init @ 0x1001a1de4 // > TopArtistsLayer::updateLevelsLabel @ 0x1001a537c // > RetryLevelLayer::customSetup @ 0x1001b30e8 // > FRequestProfilePage::init @ 0x1001b6144 // > GauntletNode::generateNode @ 0x1001c1648 // > RewardUnlockLayer::playLabelEffect @ 0x1001c7dc4 // > MessagesProfilePage::init @ 0x1001cc0a8 // > FriendsProfilePage::init @ 0x1001d8f34 // > GauntletLayer::setupGauntlet @ 0x100233044 // > LevelListLayer::init @ 0x1002438d0 // > LevelListLayer::init @ 0x100243944 // > LevelLeaderboard::init @ 0x10024f608 // > MenuLayer::init @ 0x100267564 // > MenuLayer::updateUserProfileButton @ 0x100267cbc // > ShareLevelSettingsLayer::init @ 0x100277650 // > CreateParticlePopup::createParticleSlider @ 0x1002ce658 // > GJAccountSettingsLayer::createToggleButton @ 0x1002d696c // > CustomSFXWidget::updateSFXInfo @ 0x1002f0f88 // > CustomSFXWidget::updateSFXInfo @ 0x1002f0fa0 // > CustomSFXWidget::updateSFXInfo @ 0x1002f104c // > CustomSFXWidget::updateSFXInfo @ 0x1002f1068 // > CustomSFXWidget::deleteSFX @ 0x1002f1408 // > CustomSFXWidget::updateError @ 0x1002f17d4 // > SetupMGTrigger::updateEasingLabel @ 0x1002f2d30 // > EndLevelLayer::customSetup @ 0x1002f5eb0 // > EndLevelLayer::customSetup @ 0x1002f5f7c // > EndLevelLayer::customSetup @ 0x1002f6230 // > EndLevelLayer::playCurrencyEffect @ 0x1002f7f28 // > EndLevelLayer::playDiamondEffect @ 0x1002f8254 // > ItemInfoPopup::init @ 0x100308e88 // > ItemInfoPopup::init @ 0x100308f70 // > SecretLayer2::updateMessageLabel @ 0x10030a4c0 // > SecretLayer2::onSubmit @ 0x10030acc4 // > SecretLayer2::onSubmit @ 0x10030ad98 // > SecretLayer2::onSubmit @ 0x10030af4c // > SecretLayer2::onSubmit @ 0x10030b01c // > SecretLayer2::onSubmit @ 0x10030b0ec // > SecretLayer2::onSubmit @ 0x10030b1bc // > SecretLayer2::onSubmit @ 0x10030b28c // > SetupGradientPopup::updateBlendingLabel @ 0x1003434b4 // > InfoLayer::init @ 0x10034fc40 // > InfoLayer::init @ 0x10034fd58 // > InfoLayer::init @ 0x10034fe78 // > SecretLayer4::updateMessageLabel @ 0x100354c00 // > SecretLayer4::onSubmit @ 0x1003551c0 // > SecretLayer4::onSubmit @ 0x1003552b0 // > SecretLayer4::onSubmit @ 0x1003553bc // > SecretLayer4::onSubmit @ 0x100355490 // > SecretLayer4::onSubmit @ 0x1003555a4 // > SecretLayer4::onSubmit @ 0x100355674 // > SecretLayer4::onSubmit @ 0x100355744 // > LevelEditorLayer::updateObjectLabel @ 0x10035e178 // > SongInfoLayer::init @ 0x1003a7df0 // > SecretLayer::updateMessageLabel @ 0x1003bdb54 // > EditorUI::updateGroupIDLabel @ 0x1003e59e8 // > GJScaleControl::updateLabelX @ 0x1003fb138 // > GJScaleControl::updateLabelY @ 0x1003fb1a0 // > GJScaleControl::updateLabelXY @ 0x1003fb208 // > SetupItemEditTriggerPopup::updateOpButton @ 0x10040c98c // > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x10040d11c // > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x10040ee58 // > LevelBrowserLayer::updatePageLabel @ 0x100415dc0 // > LevelBrowserLayer::updatePageLabel @ 0x100415e14 // > LevelBrowserLayer::updateLevelsLabel @ 0x100418e10 // > ColorSelectPopup::init @ 0x10041d43c // // 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 __fastcall cocos2d::CCLabelBMFont::limitLabelWidth(cocos2d::CCLabelBMFont *a1, float a2, float a3, float a4) { float v8; // s11 __n128 v9; // q0 float v11; // s1 float v12; // s1 ((void (__fastcall *)(cocos2d::CCLabelBMFont *, float))a1->setScale)(a1, 1.0); v8 = *(float *)((__int64 (__fastcall *)(cocos2d::CCLabelBMFont *))a1->getContentSize)(a1); ((void (__fastcall *)(cocos2d::CCLabelBMFont *))a1->getScale)(a1); if ( v8 > a2 && a2 > 0.0 ) v9.n128_f32[0] = a2 / v8; if ( v9.n128_f32[0] >= a3 ) v11 = a3; else v11 = v9.n128_f32[0]; if ( a3 != 0.0 ) v9.n128_f32[0] = v11; if ( v9.n128_f32[0] <= a4 ) v12 = a4; else v12 = v9.n128_f32[0]; if ( a4 != 0.0 ) v9.n128_f32[0] = v12; ((void (__fastcall *)(cocos2d::CCLabelBMFont *, __n128))a1->setScale)(a1, v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source