{"type": "func", "start": 5729048, "end": 5729116, "name": "CCMenuItemToggler::setSizeMult", "pseudocode": "// \n// CCMenuItemToggler::setSizeMult from 0x576b18 to 0x576b5c (68 bytes)\n// \n// 45 xrefs:\n// > GameToolbox::createToggleButton @ 0x580088\n// > LevelCell::loadFromLevel @ 0x612790\n// > GJRequestCell::loadFromScore @ 0x61c6cc\n// > GJMessageCell::loadFromMessage @ 0x61d408\n// > EditorUI::setupCreateMenu @ 0x6b352c\n// > PauseLayer::createToggleButton @ 0x6c6dc4\n// > MoreSearchLayer::createToggleButton @ 0x6d399c\n// > ShareLevelSettingsLayer::init @ 0x6e5f98\n// > ShareLevelSettingsLayer::init @ 0x6e61dc\n// > LevelBrowserLayer::init @ 0x6ebcd8\n// > ColorSelectPopup::init @ 0x73f138\n// > GJGarageLayer::setupIconSelect @ 0x7983ec\n// > GJGarageLayer::setupIconSelect @ 0x798460\n// > GJGarageLayer::setupIconSelect @ 0x7984d4\n// > GJGarageLayer::setupIconSelect @ 0x798548\n// > GJGarageLayer::setupIconSelect @ 0x7985bc\n// > GJGarageLayer::setupIconSelect @ 0x798630\n// > GJGarageLayer::setupIconSelect @ 0x7986a4\n// > GJGarageLayer::setupIconSelect @ 0x798718\n// > GJGarageLayer::setupIconSelect @ 0x79878c\n// > GJGarageLayer::setupIconSelect @ 0x798800\n// > GJGarageLayer::setupIconSelect @ 0x798878\n// > OptionsLayer::createToggleButton @ 0x7c96c8\n// > MoreOptionsLayer::addToggle @ 0x7ca2c0\n// > VideoOptionsLayer::createToggleButton @ 0x7cca54\n// > MoreVideoOptionsLayer::addToggle @ 0x7cf644\n// > ParentalOptionsLayer::addToggle @ 0x7d1cc0\n// > SupportLayer::createToggleButton @ 0x7dd118\n// > ShareCommentLayer::init @ 0x7e7414\n// > LeaderboardsLayer::setupTabs @ 0x81de40\n// > LeaderboardsLayer::setupTabs @ 0x81dee8\n// > LeaderboardsLayer::setupTabs @ 0x81df8c\n// > LeaderboardsLayer::setupTabs @ 0x81e030\n// > CustomizeObjectLayer::createToggleButton @ 0x840550\n// > AccountLayer::createToggleButton @ 0x84b03c\n// > GJAccountSettingsLayer::createToggleButton @ 0x8ca008\n// > GJOptionsLayer::addToggleInternal @ 0x8dadec\n// > GameOptionsLayer::setupOptions @ 0x8dc2a8\n// > MessagesProfilePage::init @ 0x8f3704\n// > FRequestProfilePage::init @ 0x8f5f5c\n// > CollisionBlockPopup::createToggleButton @ 0x90937c\n// > ColorSelectLiveOverlay::createToggleButton @ 0x90a9ec\n// > CharacterColorPage::init @ 0xa25eec\n// > LevelSettingsLayer::createToggleButton @ 0xa353e8\n// > <???> @ 0x3f918\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid CCMenuItemToggler::setSizeMult(CCMenuItemToggler *a1, float a2)\n{\n  CCMenuItemSpriteExtra::setSizeMult(a1->m_offButton, a2);\n  CCMenuItemSpriteExtra::setSizeMult(a1->m_onButton, a2);\n  CCMenuItemToggler::toggle(a1, a1->m_toggled);\n}", "assembly": "; \n; CCMenuItemToggler::setSizeMult from 0x576b18 to 0x576b5c (68 bytes)\n; \n; 45 xrefs:\n; > GameToolbox::createToggleButton @ 0x580088\n; > LevelCell::loadFromLevel @ 0x612790\n; > GJRequestCell::loadFromScore @ 0x61c6cc\n; > GJMessageCell::loadFromMessage @ 0x61d408\n; > EditorUI::setupCreateMenu @ 0x6b352c\n; > PauseLayer::createToggleButton @ 0x6c6dc4\n; > MoreSearchLayer::createToggleButton @ 0x6d399c\n; > ShareLevelSettingsLayer::init @ 0x6e5f98\n; > ShareLevelSettingsLayer::init @ 0x6e61dc\n; > LevelBrowserLayer::init @ 0x6ebcd8\n; > ColorSelectPopup::init @ 0x73f138\n; > GJGarageLayer::setupIconSelect @ 0x7983ec\n; > GJGarageLayer::setupIconSelect @ 0x798460\n; > GJGarageLayer::setupIconSelect @ 0x7984d4\n; > GJGarageLayer::setupIconSelect @ 0x798548\n; > GJGarageLayer::setupIconSelect @ 0x7985bc\n; > GJGarageLayer::setupIconSelect @ 0x798630\n; > GJGarageLayer::setupIconSelect @ 0x7986a4\n; > GJGarageLayer::setupIconSelect @ 0x798718\n; > GJGarageLayer::setupIconSelect @ 0x79878c\n; > GJGarageLayer::setupIconSelect @ 0x798800\n; > GJGarageLayer::setupIconSelect @ 0x798878\n; > OptionsLayer::createToggleButton @ 0x7c96c8\n; > MoreOptionsLayer::addToggle @ 0x7ca2c0\n; > VideoOptionsLayer::createToggleButton @ 0x7cca54\n; > MoreVideoOptionsLayer::addToggle @ 0x7cf644\n; > ParentalOptionsLayer::addToggle @ 0x7d1cc0\n; > SupportLayer::createToggleButton @ 0x7dd118\n; > ShareCommentLayer::init @ 0x7e7414\n; > LeaderboardsLayer::setupTabs @ 0x81de40\n; > LeaderboardsLayer::setupTabs @ 0x81dee8\n; > LeaderboardsLayer::setupTabs @ 0x81df8c\n; > LeaderboardsLayer::setupTabs @ 0x81e030\n; > CustomizeObjectLayer::createToggleButton @ 0x840550\n; > AccountLayer::createToggleButton @ 0x84b03c\n; > GJAccountSettingsLayer::createToggleButton @ 0x8ca008\n; > GJOptionsLayer::addToggleInternal @ 0x8dadec\n; > GameOptionsLayer::setupOptions @ 0x8dc2a8\n; > MessagesProfilePage::init @ 0x8f3704\n; > FRequestProfilePage::init @ 0x8f5f5c\n; > CollisionBlockPopup::createToggleButton @ 0x90937c\n; > ColorSelectLiveOverlay::createToggleButton @ 0x90a9ec\n; > CharacterColorPage::init @ 0xa25eec\n; > LevelSettingsLayer::createToggleButton @ 0xa353e8\n; > <???> @ 0x3f918\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x576b18\nMOV             X29, SP                                                ; +0x4, 0x576b1c\nSTR             D8, [SP,#var_s18]                                      ; +0x8, 0x576b20\nSTR             X19, [SP,#var_s10]                                     ; +0xc, 0x576b24\nFMOV            S8, S0                                                 ; +0x10, 0x576b28\nMOV             X19, X0                                                ; +0x14, 0x576b2c\nLDR             X0, [X0,#0x178]; this                                  ; +0x18, 0x576b30\nBL              _ZN21CCMenuItemSpriteExtra11setSizeMultEf; CCMenuItemSpriteExtra::setSizeMult(float) ; +0x1c, 0x576b34\nFMOV            S0, S8; float                                          ; +0x20, 0x576b38\nLDR             X0, [X19,#0x180]; this                                 ; +0x24, 0x576b3c\nBL              _ZN21CCMenuItemSpriteExtra11setSizeMultEf; CCMenuItemSpriteExtra::setSizeMult(float) ; +0x28, 0x576b40\nLDR             D8, [SP,#var_s18]                                      ; +0x2c, 0x576b44\nMOV             X0, X19; this                                          ; +0x30, 0x576b48\nLDRB            W1, [X19,#0x188]; bool                                 ; +0x34, 0x576b4c\nLDR             X19, [SP,#var_s10]                                     ; +0x38, 0x576b50\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x3c, 0x576b54\nB               _ZN17CCMenuItemToggler6toggleEb; CCMenuItemToggler::toggle(bool) ; +0x40, 0x576b58", "xrefs": ["GameToolbox::createToggleButton @ 0x580088", "LevelCell::loadFromLevel @ 0x612790", "GJRequestCell::loadFromScore @ 0x61c6cc", "GJMessageCell::loadFromMessage @ 0x61d408", "EditorUI::setupCreateMenu @ 0x6b352c", "PauseLayer::createToggleButton @ 0x6c6dc4", "MoreSearchLayer::createToggleButton @ 0x6d399c", "ShareLevelSettingsLayer::init @ 0x6e5f98", "ShareLevelSettingsLayer::init @ 0x6e61dc", "LevelBrowserLayer::init @ 0x6ebcd8", "ColorSelectPopup::init @ 0x73f138", "GJGarageLayer::setupIconSelect @ 0x7983ec", "GJGarageLayer::setupIconSelect @ 0x798460", "GJGarageLayer::setupIconSelect @ 0x7984d4", "GJGarageLayer::setupIconSelect @ 0x798548", "GJGarageLayer::setupIconSelect @ 0x7985bc", "GJGarageLayer::setupIconSelect @ 0x798630", "GJGarageLayer::setupIconSelect @ 0x7986a4", "GJGarageLayer::setupIconSelect @ 0x798718", "GJGarageLayer::setupIconSelect @ 0x79878c", "GJGarageLayer::setupIconSelect @ 0x798800", "GJGarageLayer::setupIconSelect @ 0x798878", "OptionsLayer::createToggleButton @ 0x7c96c8", "MoreOptionsLayer::addToggle @ 0x7ca2c0", "VideoOptionsLayer::createToggleButton @ 0x7cca54", "MoreVideoOptionsLayer::addToggle @ 0x7cf644", "ParentalOptionsLayer::addToggle @ 0x7d1cc0", "SupportLayer::createToggleButton @ 0x7dd118", "ShareCommentLayer::init @ 0x7e7414", "LeaderboardsLayer::setupTabs @ 0x81de40", "LeaderboardsLayer::setupTabs @ 0x81dee8", "LeaderboardsLayer::setupTabs @ 0x81df8c", "LeaderboardsLayer::setupTabs @ 0x81e030", "CustomizeObjectLayer::createToggleButton @ 0x840550", "AccountLayer::createToggleButton @ 0x84b03c", "GJAccountSettingsLayer::createToggleButton @ 0x8ca008", "GJOptionsLayer::addToggleInternal @ 0x8dadec", "GameOptionsLayer::setupOptions @ 0x8dc2a8", "MessagesProfilePage::init @ 0x8f3704", "FRequestProfilePage::init @ 0x8f5f5c", "CollisionBlockPopup::createToggleButton @ 0x90937c", "ColorSelectLiveOverlay::createToggleButton @ 0x90a9ec", "CharacterColorPage::init @ 0xa25eec", "LevelSettingsLayer::createToggleButton @ 0xa353e8", "<???> @ 0x3f918"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}