; ; CCMenuItemToggler::create from 0x10001e9d0 to 0x10001ea88 (184 bytes) ; ; 52 xrefs: ; > AccountLayer::createToggleButton @ 0x10009b412 ; > CustomizeObjectLayer::createToggleButton @ 0x1001db302 ; > LevelCell::loadFromLevel @ 0x10022a4a0 ; > CommentCell::loadFromComment @ 0x10022f1ee ; > GJRequestCell::loadFromScore @ 0x100232018 ; > GJMessageCell::loadFromMessage @ 0x10023281e ; > GJThreadCell::loadFromThread @ 0x1002338f6 ; > LevelSettingsLayer::createToggleButton @ 0x1002583d1 ; > ShareLevelSettingsLayer::init @ 0x10026f5dd ; > ShareLevelSettingsLayer::init @ 0x10026f859 ; > GJAccountSettingsLayer::createToggleButton @ 0x10028be0b ; > GJGarageLayer::setupIconSelect @ 0x100354a2e ; > GJGarageLayer::setupIconSelect @ 0x100354a99 ; > GJGarageLayer::setupIconSelect @ 0x100354b07 ; > GJGarageLayer::setupIconSelect @ 0x100354b75 ; > GJGarageLayer::setupIconSelect @ 0x100354be3 ; > GJGarageLayer::setupIconSelect @ 0x100354c51 ; > GJGarageLayer::setupIconSelect @ 0x100354cbf ; > GJGarageLayer::setupIconSelect @ 0x100354d2d ; > GJGarageLayer::setupIconSelect @ 0x100354d9b ; > GJGarageLayer::setupIconSelect @ 0x100354e09 ; > GJGarageLayer::setupIconSelect @ 0x100354e77 ; > SupportLayer::createToggleButton @ 0x100383de2 ; > PauseLayer::createToggleButton @ 0x1003c23d1 ; > sub_1004EAD20 @ 0x1004eafb2 ; > GameToolbox::createToggleButton @ 0x1004eb633 ; > LeaderboardsLayer::setupTabs @ 0x100513f75 ; > LeaderboardsLayer::setupTabs @ 0x100514031 ; > LeaderboardsLayer::setupTabs @ 0x1005140ed ; > LeaderboardsLayer::setupTabs @ 0x1005141a4 ; > ColorSelectLiveOverlay::createToggleButton @ 0x1005970a1 ; > KeybindCapturePopup::init @ 0x1005b428f ; > EditorUI::setupCreateMenu @ 0x100637a79 ; > ShareCommentLayer::init @ 0x1006b1857 ; > sub_10070B210 @ 0x10070b292 ; > CharacterColorPage::init @ 0x10073cc1f ; > ColorSelectPopup::init @ 0x100804db3 ; > sub_10087B920 @ 0x10087b9a2 ; > VideoOptionsLayer::createToggleButton @ 0x1008810c5 ; > ParentalOptionsLayer::init @ 0x1008847e3 ; > DeathMarkerSettingsPopup::init @ 0x1008c75e4 ; > sub_1008CA190 @ 0x1008ca383 ; > sub_10093E4A0 @ 0x10093ed21 ; > PlatformerControlsPopup::init @ 0x10095d818 ; > PlatformerControlsPopup::init @ 0x10095dc93 ; > PlatformerControlsPopup::init @ 0x10095dd83 ; > PlatformerControlsPopup::init @ 0x10095de6b ; > sub_1009645C0 @ 0x100964784 ; > TimeSpeedControl::init @ 0x100977aab ; > sub_10097E2F0 @ 0x10097e955 ; > AccountReviewPopup::buildReportedRows @ 0x10099c062 ; > AccountReviewPopup::buildFilterRows @ 0x10099dc19 ; ; 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 ; push rbp ; +0x0, 0x10001e9d0 mov rbp, rsp ; +0x1, 0x10001e9d1 push r15 ; +0x4, 0x10001e9d4 push r14 ; +0x6, 0x10001e9d6 push r13 ; +0x8, 0x10001e9d8 push r12 ; +0xa, 0x10001e9da push rbx ; +0xc, 0x10001e9dc push rax ; +0xd, 0x10001e9dd mov [rbp+var_30], r8 ; +0xe, 0x10001e9de mov r15, rcx ; +0x12, 0x10001e9e2 mov r12, rdx ; +0x15, 0x10001e9e5 mov r13, rsi ; +0x18, 0x10001e9e8 mov r14, rdi ; +0x1b, 0x10001e9eb mov edi, 190h; __sz ; +0x1e, 0x10001e9ee call __Znwm; operator new(ulong) ; +0x23, 0x10001e9f3 mov rbx, rax ; +0x28, 0x10001e9f8 mov rdi, rax ; +0x2b, 0x10001e9fb call cocos2d__CCNodeRGBA__CCNodeRGBA ; +0x2e, 0x10001e9fe mov word ptr [rbx+152h], 0 ; +0x33, 0x10001ea03 xorps xmm0, xmm0 ; +0x3c, 0x10001ea0c movups xmmword ptr [rbx+158h], xmm0 ; +0x3f, 0x10001ea0f movups xmmword ptr [rbx+168h], xmm0 ; +0x46, 0x10001ea16 lea rax, off_100AB65C8 ; +0x4d, 0x10001ea1d mov [rbx], rax ; +0x54, 0x10001ea24 lea rax, off_100AB6A08 ; +0x57, 0x10001ea27 mov [rbx+140h], rax ; +0x5e, 0x10001ea2e movups xmmword ptr [rbx+178h], xmm0 ; +0x65, 0x10001ea35 mov word ptr [rbx+188h], 0 ; +0x6c, 0x10001ea3c mov rdi, rbx ; +0x75, 0x10001ea45 mov rsi, r14 ; +0x78, 0x10001ea48 mov rdx, r13 ; +0x7b, 0x10001ea4b mov rcx, r12 ; +0x7e, 0x10001ea4e mov r8, r15 ; +0x81, 0x10001ea51 mov r9, [rbp+var_30] ; +0x84, 0x10001ea54 call CCMenuItemToggler__init ; +0x88, 0x10001ea58 test al, al ; +0x8d, 0x10001ea5d jz short loc_10001EA6B ; +0x8f, 0x10001ea5f mov rdi, rbx ; +0x91, 0x10001ea61 call cocos2d__CCObject__autorelease ; +0x94, 0x10001ea64 jmp short loc_10001EA76 ; +0x99, 0x10001ea69 mov rax, [rbx] ; +0x9b, 0x10001ea6b mov rdi, rbx ; +0x9e, 0x10001ea6e call qword ptr [rax+10h] ; +0xa1, 0x10001ea71 xor ebx, ebx ; +0xa4, 0x10001ea74 mov rax, rbx ; +0xa6, 0x10001ea76 add rsp, 8 ; +0xa9, 0x10001ea79 pop rbx ; +0xad, 0x10001ea7d pop r12 ; +0xae, 0x10001ea7e pop r13 ; +0xb0, 0x10001ea80 pop r14 ; +0xb2, 0x10001ea82 pop r15 ; +0xb4, 0x10001ea84 pop rbp ; +0xb6, 0x10001ea86 retn ; +0xb7, 0x10001ea87