// // CCMenuItemToggler::setSizeMult from 0x100059d40 to 0x100059e2a (234 bytes) // // 44 xrefs: // > EditorUI::setupCreateMenu @ 0x10002a40a // > AccountLayer::createToggleButton @ 0x1000cd015 // > CustomizeObjectLayer::createToggleButton @ 0x1001f8f31 // > MessagesProfilePage::init @ 0x10022e037 // > LevelCell::loadFromLevel @ 0x1002448a0 // > GJRequestCell::loadFromScore @ 0x10024c8c0 // > GJMessageCell::loadFromMessage @ 0x10024d1db // > LevelSettingsLayer::createToggleButton @ 0x10026e4a4 // > ShareLevelSettingsLayer::init @ 0x100282a89 // > ShareLevelSettingsLayer::init @ 0x100282d14 // > CollisionBlockPopup::createToggleButton @ 0x100286ea0 // > GJOptionsLayer::addToggleInternal @ 0x10029c8a8 // > GJAccountSettingsLayer::createToggleButton @ 0x1002a12fa // > GameOptionsLayer::setupOptions @ 0x1002b1619 // > GJGarageLayer::setupIconSelect @ 0x10036b631 // > GJGarageLayer::setupIconSelect @ 0x10036b69c // > GJGarageLayer::setupIconSelect @ 0x10036b70a // > GJGarageLayer::setupIconSelect @ 0x10036b778 // > GJGarageLayer::setupIconSelect @ 0x10036b7e6 // > GJGarageLayer::setupIconSelect @ 0x10036b854 // > GJGarageLayer::setupIconSelect @ 0x10036b8c2 // > GJGarageLayer::setupIconSelect @ 0x10036b930 // > GJGarageLayer::setupIconSelect @ 0x10036b99e // > GJGarageLayer::setupIconSelect @ 0x10036ba0c // > GJGarageLayer::setupIconSelect @ 0x10036ba7a // > SupportLayer::createToggleButton @ 0x10039a3a1 // > PauseLayer::createToggleButton @ 0x1003d76d4 // > LevelBrowserLayer::init @ 0x10048bdca // > GameToolbox::createToggleButton @ 0x1004eeec2 // > LeaderboardsLayer::setupTabs @ 0x100512f8b // > LeaderboardsLayer::setupTabs @ 0x100513047 // > LeaderboardsLayer::setupTabs @ 0x100513103 // > LeaderboardsLayer::setupTabs @ 0x1005131ba // > ColorSelectLiveOverlay::createToggleButton @ 0x10056a270 // > ShareCommentLayer::init @ 0x1005e00cc // > MoreSearchLayer::createToggleButton @ 0x10062e581 // > CharacterColorPage::init @ 0x10065d647 // > ColorSelectPopup::init @ 0x10072600e // > FRequestProfilePage::init @ 0x100790465 // > OptionsLayer::createToggleButton @ 0x10079ad81 // > MoreOptionsLayer::addToggle @ 0x10079cdf3 // > VideoOptionsLayer::createToggleButton @ 0x1007a0028 // > MoreVideoOptionsLayer::addToggle @ 0x1007a1713 // > ParentalOptionsLayer::addToggle @ 0x1007a3c13 // // 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 CCMenuItemToggler::setSizeMult(CCMenuItemToggler *a1, float a2) { _BOOL4 m_toggled; // r14d __int64 v4; // rdi __int64 v5; // rax _BYTE v6[8]; // [rsp+Ch] [rbp-24h] BYREF float v7[7]; // [rsp+14h] [rbp-1Ch] BYREF v7[2] = a2; CCMenuItemSpriteExtra::setSizeMult(a1->m_offButton, a2); CCMenuItemSpriteExtra::setSizeMult(a1->m_onButton, a2); m_toggled = a1->m_toggled; ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_offButton->setVisible)(a1->m_offButton, !a1->m_toggled); ((void (__fastcall *)(CCMenuItemSpriteExtra *, _BOOL4))a1->m_onButton->setVisible)(a1->m_onButton, m_toggled); v4 = *((_QWORD *)&a1->m_offButton + a1->m_toggled); v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 312LL))(v4); sub_10028CFC0(v7, v5); ((void (__fastcall *)(CCMenuItemToggler *, float *))a1->setContentSize)(a1, v7); sub_10028CBE0(v6, v7[0] * 0.5, 0.5 * v7[1]); ((void (__fastcall *)(CCMenuItemSpriteExtra *, _BYTE *))a1->m_offButton->setPosition)(a1->m_offButton, v6); ((void (__fastcall *)(CCMenuItemSpriteExtra *, _BYTE *))a1->m_onButton->setPosition)(a1->m_onButton, v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source