{"type": "func", "start": 4295094128, "end": 4295094362, "name": "CCMenuItemToggler::setSizeMult", "pseudocode": "// \n// CCMenuItemToggler::setSizeMult from 0x10001ef70 to 0x10001f05a (234 bytes)\n// \n// 52 xrefs:\n// > AccountLayer::createToggleButton @ 0x10009b465\n// > CustomizeObjectLayer::createToggleButton @ 0x1001db351\n// > LevelCell::loadFromLevel @ 0x10022a4cb\n// > CommentCell::loadFromComment @ 0x10022f21f\n// > GJRequestCell::loadFromScore @ 0x100232049\n// > GJMessageCell::loadFromMessage @ 0x1002328ab\n// > GJThreadCell::loadFromThread @ 0x10023392e\n// > LevelSettingsLayer::createToggleButton @ 0x100258424\n// > ShareLevelSettingsLayer::init @ 0x10026f643\n// > ShareLevelSettingsLayer::init @ 0x10026f8ce\n// > sub_100287300 @ 0x1002874f8\n// > GJAccountSettingsLayer::createToggleButton @ 0x10028be5a\n// > GameOptionsLayer::setupOptions @ 0x10029e881\n// > GJGarageLayer::setupIconSelect @ 0x100354a41\n// > GJGarageLayer::setupIconSelect @ 0x100354aac\n// > GJGarageLayer::setupIconSelect @ 0x100354b1a\n// > GJGarageLayer::setupIconSelect @ 0x100354b88\n// > GJGarageLayer::setupIconSelect @ 0x100354bf6\n// > GJGarageLayer::setupIconSelect @ 0x100354c64\n// > GJGarageLayer::setupIconSelect @ 0x100354cd2\n// > GJGarageLayer::setupIconSelect @ 0x100354d40\n// > GJGarageLayer::setupIconSelect @ 0x100354dae\n// > GJGarageLayer::setupIconSelect @ 0x100354e1c\n// > GJGarageLayer::setupIconSelect @ 0x100354e8a\n// > SupportLayer::createToggleButton @ 0x100383e31\n// > PauseLayer::createToggleButton @ 0x1003c2424\n// > sub_1004EAD20 @ 0x1004eb007\n// > GameToolbox::createToggleButton @ 0x1004eb682\n// > LeaderboardsLayer::setupTabs @ 0x100513fbb\n// > LeaderboardsLayer::setupTabs @ 0x100514077\n// > LeaderboardsLayer::setupTabs @ 0x100514133\n// > LeaderboardsLayer::setupTabs @ 0x1005141ea\n// > ColorSelectLiveOverlay::createToggleButton @ 0x1005970f0\n// > EditorUI::setupCreateMenu @ 0x100637d39\n// > ShareCommentLayer::init @ 0x1006b18f1\n// > sub_10070B210 @ 0x10070b2e1\n// > CharacterColorPage::init @ 0x10073cc97\n// > ColorSelectPopup::init @ 0x100804e11\n// > sub_10087B920 @ 0x10087b9f1\n// > MoreOptionsLayer::addToggle @ 0x10087e113\n// > VideoOptionsLayer::createToggleButton @ 0x100881118\n// > sub_100882580 @ 0x100882823\n// > ParentalOptionsLayer::init @ 0x100884820\n// > sub_100884A10 @ 0x100884d91\n// > sub_100885240 @ 0x1008854c3\n// > ClearPlatformerSavesPopup::init @ 0x1008b47e5\n// > ClearPlatformerSavesOptionsPopup::init @ 0x1008b5522\n// > sub_10093E4A0 @ 0x10093ed3f\n// > sub_1009645C0 @ 0x1009647a8\n// > sub_10097E2F0 @ 0x10097ea81\n// > AccountReviewPopup::buildReportedRows @ 0x10099c089\n// > AccountReviewPopup::buildFilterRows @ 0x10099dc40\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:18:57 +0000\n// \n\n__int64 __fastcall CCMenuItemToggler::setSizeMult(__int64 a1, float a2)\n{\n  unsigned int v3; // r14d\n  __int64 v4; // rdi\n  __int64 v5; // rax\n  _BYTE v7[8]; // [rsp+Ch] [rbp-24h] BYREF\n  float v8[7]; // [rsp+14h] [rbp-1Ch] BYREF\n\n  v8[2] = a2;\n  CCMenuItemSpriteExtra::setSizeMult(*(_QWORD *)(a1 + 376), a2);\n  CCMenuItemSpriteExtra::setSizeMult(*(_QWORD *)(a1 + 384), a2);\n  v3 = *(unsigned __int8 *)(a1 + 392);\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 376) + 344LL))(\n    *(_QWORD *)(a1 + 376),\n    *(_BYTE *)(a1 + 392) ^ 1u);\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 384) + 344LL))(*(_QWORD *)(a1 + 384), v3);\n  v4 = *(_QWORD *)(a1 + 8LL * *(unsigned __int8 *)(a1 + 392) + 376);\n  v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 328LL))(v4);\n  sub_100278630(v8, v5);\n  (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)a1 + 320LL))(a1, v8);\n  sub_100278250(v7, v8[0] * 0.5, 0.5 * v8[1]);\n  (*(void (__fastcall **)(_QWORD, _BYTE *))(**(_QWORD **)(a1 + 376) + 184LL))(*(_QWORD *)(a1 + 376), v7);\n  return (*(__int64 (__fastcall **)(_QWORD, _BYTE *))(**(_QWORD **)(a1 + 384) + 184LL))(*(_QWORD *)(a1 + 384), v7);\n}", "assembly": "; \n; CCMenuItemToggler::setSizeMult from 0x10001ef70 to 0x10001f05a (234 bytes)\n; \n; 52 xrefs:\n; > AccountLayer::createToggleButton @ 0x10009b465\n; > CustomizeObjectLayer::createToggleButton @ 0x1001db351\n; > LevelCell::loadFromLevel @ 0x10022a4cb\n; > CommentCell::loadFromComment @ 0x10022f21f\n; > GJRequestCell::loadFromScore @ 0x100232049\n; > GJMessageCell::loadFromMessage @ 0x1002328ab\n; > GJThreadCell::loadFromThread @ 0x10023392e\n; > LevelSettingsLayer::createToggleButton @ 0x100258424\n; > ShareLevelSettingsLayer::init @ 0x10026f643\n; > ShareLevelSettingsLayer::init @ 0x10026f8ce\n; > sub_100287300 @ 0x1002874f8\n; > GJAccountSettingsLayer::createToggleButton @ 0x10028be5a\n; > GameOptionsLayer::setupOptions @ 0x10029e881\n; > GJGarageLayer::setupIconSelect @ 0x100354a41\n; > GJGarageLayer::setupIconSelect @ 0x100354aac\n; > GJGarageLayer::setupIconSelect @ 0x100354b1a\n; > GJGarageLayer::setupIconSelect @ 0x100354b88\n; > GJGarageLayer::setupIconSelect @ 0x100354bf6\n; > GJGarageLayer::setupIconSelect @ 0x100354c64\n; > GJGarageLayer::setupIconSelect @ 0x100354cd2\n; > GJGarageLayer::setupIconSelect @ 0x100354d40\n; > GJGarageLayer::setupIconSelect @ 0x100354dae\n; > GJGarageLayer::setupIconSelect @ 0x100354e1c\n; > GJGarageLayer::setupIconSelect @ 0x100354e8a\n; > SupportLayer::createToggleButton @ 0x100383e31\n; > PauseLayer::createToggleButton @ 0x1003c2424\n; > sub_1004EAD20 @ 0x1004eb007\n; > GameToolbox::createToggleButton @ 0x1004eb682\n; > LeaderboardsLayer::setupTabs @ 0x100513fbb\n; > LeaderboardsLayer::setupTabs @ 0x100514077\n; > LeaderboardsLayer::setupTabs @ 0x100514133\n; > LeaderboardsLayer::setupTabs @ 0x1005141ea\n; > ColorSelectLiveOverlay::createToggleButton @ 0x1005970f0\n; > EditorUI::setupCreateMenu @ 0x100637d39\n; > ShareCommentLayer::init @ 0x1006b18f1\n; > sub_10070B210 @ 0x10070b2e1\n; > CharacterColorPage::init @ 0x10073cc97\n; > ColorSelectPopup::init @ 0x100804e11\n; > sub_10087B920 @ 0x10087b9f1\n; > MoreOptionsLayer::addToggle @ 0x10087e113\n; > VideoOptionsLayer::createToggleButton @ 0x100881118\n; > sub_100882580 @ 0x100882823\n; > ParentalOptionsLayer::init @ 0x100884820\n; > sub_100884A10 @ 0x100884d91\n; > sub_100885240 @ 0x1008854c3\n; > ClearPlatformerSavesPopup::init @ 0x1008b47e5\n; > ClearPlatformerSavesOptionsPopup::init @ 0x1008b5522\n; > sub_10093E4A0 @ 0x10093ed3f\n; > sub_1009645C0 @ 0x1009647a8\n; > sub_10097E2F0 @ 0x10097ea81\n; > AccountReviewPopup::buildReportedRows @ 0x10099c089\n; > AccountReviewPopup::buildFilterRows @ 0x10099dc40\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:18:57 +0000\n; \npush    rbp                                                            ; +0x0, 0x10001ef70\nmov     rbp, rsp                                                       ; +0x1, 0x10001ef71\npush    r14                                                            ; +0x4, 0x10001ef74\npush    rbx                                                            ; +0x6, 0x10001ef76\nsub     rsp, 20h                                                       ; +0x7, 0x10001ef77\nmovss   [rbp+var_14], xmm0                                             ; +0xb, 0x10001ef7b\nmov     rbx, rdi                                                       ; +0x10, 0x10001ef80\nmov     rdi, [rdi+178h]                                                ; +0x13, 0x10001ef83\ncall    CCMenuItemSpriteExtra__setSizeMult                             ; +0x1a, 0x10001ef8a\nmov     rdi, [rbx+180h]                                                ; +0x1f, 0x10001ef8f\nmovss   xmm0, [rbp+var_14]                                             ; +0x26, 0x10001ef96\ncall    CCMenuItemSpriteExtra__setSizeMult                             ; +0x2b, 0x10001ef9b\nmovzx   r14d, byte ptr [rbx+188h]                                      ; +0x30, 0x10001efa0\nmov     rdi, [rbx+178h]                                                ; +0x38, 0x10001efa8\nmov     eax, r14d                                                      ; +0x3f, 0x10001efaf\nxor     al, 1                                                          ; +0x42, 0x10001efb2\nmov     rcx, [rdi]                                                     ; +0x44, 0x10001efb4\nmovzx   esi, al                                                        ; +0x47, 0x10001efb7\ncall    qword ptr [rcx+158h]                                           ; +0x4a, 0x10001efba\nmov     rdi, [rbx+180h]                                                ; +0x50, 0x10001efc0\nmov     rax, [rdi]                                                     ; +0x57, 0x10001efc7\nmov     esi, r14d                                                      ; +0x5a, 0x10001efca\ncall    qword ptr [rax+158h]                                           ; +0x5d, 0x10001efcd\nmovzx   eax, byte ptr [rbx+188h]                                       ; +0x63, 0x10001efd3\nmov     rdi, [rbx+rax*8+178h]                                          ; +0x6a, 0x10001efda\nmov     rax, [rdi]                                                     ; +0x72, 0x10001efe2\ncall    qword ptr [rax+148h]                                           ; +0x75, 0x10001efe5\nlea     r14, [rbp+var_1C]                                              ; +0x7b, 0x10001efeb\nmov     rdi, r14                                                       ; +0x7f, 0x10001efef\nmov     rsi, rax                                                       ; +0x82, 0x10001eff2\ncall    sub_100278630                                                  ; +0x85, 0x10001eff5\nmov     rax, [rbx]                                                     ; +0x8a, 0x10001effa\nmov     rdi, rbx                                                       ; +0x8d, 0x10001effd\nmov     rsi, r14                                                       ; +0x90, 0x10001f000\ncall    qword ptr [rax+140h]                                           ; +0x93, 0x10001f003\nmovss   xmm1, cs:dword_100A03578                                       ; +0x99, 0x10001f009\nmovss   xmm0, [rbp+var_1C]                                             ; +0xa1, 0x10001f011\nmulss   xmm0, xmm1                                                     ; +0xa6, 0x10001f016\nmulss   xmm1, [rbp+var_18]                                             ; +0xaa, 0x10001f01a\nlea     r14, [rbp+var_24]                                              ; +0xaf, 0x10001f01f\nmov     rdi, r14                                                       ; +0xb3, 0x10001f023\ncall    sub_100278250                                                  ; +0xb6, 0x10001f026\nmov     rdi, [rbx+178h]                                                ; +0xbb, 0x10001f02b\nmov     rax, [rdi]                                                     ; +0xc2, 0x10001f032\nmov     rsi, r14                                                       ; +0xc5, 0x10001f035\ncall    qword ptr [rax+0B8h]                                           ; +0xc8, 0x10001f038\nmov     rdi, [rbx+180h]                                                ; +0xce, 0x10001f03e\nmov     rax, [rdi]                                                     ; +0xd5, 0x10001f045\nmov     rsi, r14                                                       ; +0xd8, 0x10001f048\ncall    qword ptr [rax+0B8h]                                           ; +0xdb, 0x10001f04b\nadd     rsp, 20h                                                       ; +0xe1, 0x10001f051\npop     rbx                                                            ; +0xe5, 0x10001f055\npop     r14                                                            ; +0xe6, 0x10001f056\npop     rbp                                                            ; +0xe8, 0x10001f058\nretn                                                                   ; +0xe9, 0x10001f059", "xrefs": ["AccountLayer::createToggleButton @ 0x10009b465", "CustomizeObjectLayer::createToggleButton @ 0x1001db351", "LevelCell::loadFromLevel @ 0x10022a4cb", "CommentCell::loadFromComment @ 0x10022f21f", "GJRequestCell::loadFromScore @ 0x100232049", "GJMessageCell::loadFromMessage @ 0x1002328ab", "GJThreadCell::loadFromThread @ 0x10023392e", "LevelSettingsLayer::createToggleButton @ 0x100258424", "ShareLevelSettingsLayer::init @ 0x10026f643", "ShareLevelSettingsLayer::init @ 0x10026f8ce", "sub_100287300 @ 0x1002874f8", "GJAccountSettingsLayer::createToggleButton @ 0x10028be5a", "GameOptionsLayer::setupOptions @ 0x10029e881", "GJGarageLayer::setupIconSelect @ 0x100354a41", "GJGarageLayer::setupIconSelect @ 0x100354aac", "GJGarageLayer::setupIconSelect @ 0x100354b1a", "GJGarageLayer::setupIconSelect @ 0x100354b88", "GJGarageLayer::setupIconSelect @ 0x100354bf6", "GJGarageLayer::setupIconSelect @ 0x100354c64", "GJGarageLayer::setupIconSelect @ 0x100354cd2", "GJGarageLayer::setupIconSelect @ 0x100354d40", "GJGarageLayer::setupIconSelect @ 0x100354dae", "GJGarageLayer::setupIconSelect @ 0x100354e1c", "GJGarageLayer::setupIconSelect @ 0x100354e8a", "SupportLayer::createToggleButton @ 0x100383e31", "PauseLayer::createToggleButton @ 0x1003c2424", "sub_1004EAD20 @ 0x1004eb007", "GameToolbox::createToggleButton @ 0x1004eb682", "LeaderboardsLayer::setupTabs @ 0x100513fbb", "LeaderboardsLayer::setupTabs @ 0x100514077", "LeaderboardsLayer::setupTabs @ 0x100514133", "LeaderboardsLayer::setupTabs @ 0x1005141ea", "ColorSelectLiveOverlay::createToggleButton @ 0x1005970f0", "EditorUI::setupCreateMenu @ 0x100637d39", "ShareCommentLayer::init @ 0x1006b18f1", "sub_10070B210 @ 0x10070b2e1", "CharacterColorPage::init @ 0x10073cc97", "ColorSelectPopup::init @ 0x100804e11", "sub_10087B920 @ 0x10087b9f1", "MoreOptionsLayer::addToggle @ 0x10087e113", "VideoOptionsLayer::createToggleButton @ 0x100881118", "sub_100882580 @ 0x100882823", "ParentalOptionsLayer::init @ 0x100884820", "sub_100884A10 @ 0x100884d91", "sub_100885240 @ 0x1008854c3", "ClearPlatformerSavesPopup::init @ 0x1008b47e5", "ClearPlatformerSavesOptionsPopup::init @ 0x1008b5522", "sub_10093E4A0 @ 0x10093ed3f", "sub_1009645C0 @ 0x1009647a8", "sub_10097E2F0 @ 0x10097ea81", "AccountReviewPopup::buildReportedRows @ 0x10099c089", "AccountReviewPopup::buildFilterRows @ 0x10099dc40"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}