// // CCMenuItemToggler::setSizeMult from 0x10001ef70 to 0x10001f05a (234 bytes) // // 52 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 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:18:57 +0000 // __int64 __fastcall CCMenuItemToggler::setSizeMult(__int64 a1, float a2) { unsigned int v3; // r14d __int64 v4; // rdi __int64 v5; // rax _BYTE v7[8]; // [rsp+Ch] [rbp-24h] BYREF float v8[7]; // [rsp+14h] [rbp-1Ch] BYREF v8[2] = a2; CCMenuItemSpriteExtra::setSizeMult(*(_QWORD *)(a1 + 376), a2); CCMenuItemSpriteExtra::setSizeMult(*(_QWORD *)(a1 + 384), a2); v3 = *(unsigned __int8 *)(a1 + 392); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 376) + 344LL))( *(_QWORD *)(a1 + 376), *(_BYTE *)(a1 + 392) ^ 1u); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 384) + 344LL))(*(_QWORD *)(a1 + 384), v3); v4 = *(_QWORD *)(a1 + 8LL * *(unsigned __int8 *)(a1 + 392) + 376); v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 328LL))(v4); sub_100278630(v8, v5); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)a1 + 320LL))(a1, v8); sub_100278250(v7, v8[0] * 0.5, 0.5 * v8[1]); (*(void (__fastcall **)(_QWORD, _BYTE *))(**(_QWORD **)(a1 + 376) + 184LL))(*(_QWORD *)(a1 + 376), v7); return (*(__int64 (__fastcall **)(_QWORD, _BYTE *))(**(_QWORD **)(a1 + 384) + 184LL))(*(_QWORD *)(a1 + 384), v7); }