; ; CCMenuItemToggler::create from 0x1000597a0 to 0x100059858 (184 bytes) ; ; 39 xrefs: ; > EditorUI::setupCreateMenu @ 0x10002a149 ; > AccountLayer::createToggleButton @ 0x1000ccfc2 ; > CustomizeObjectLayer::createToggleButton @ 0x1001f8ee2 ; > MessagesProfilePage::init @ 0x10022dfba ; > LevelCell::loadFromLevel @ 0x100244875 ; > GJRequestCell::loadFromScore @ 0x10024c82f ; > GJMessageCell::loadFromMessage @ 0x10024d14e ; > LevelSettingsLayer::createToggleButton @ 0x10026e451 ; > ShareLevelSettingsLayer::init @ 0x100282a23 ; > ShareLevelSettingsLayer::init @ 0x100282c9f ; > CollisionBlockPopup::createToggleButton @ 0x100286e51 ; > GJAccountSettingsLayer::createToggleButton @ 0x1002a12ab ; > GJGarageLayer::setupIconSelect @ 0x10036b61e ; > GJGarageLayer::setupIconSelect @ 0x10036b689 ; > GJGarageLayer::setupIconSelect @ 0x10036b6f7 ; > GJGarageLayer::setupIconSelect @ 0x10036b765 ; > GJGarageLayer::setupIconSelect @ 0x10036b7d3 ; > GJGarageLayer::setupIconSelect @ 0x10036b841 ; > GJGarageLayer::setupIconSelect @ 0x10036b8af ; > GJGarageLayer::setupIconSelect @ 0x10036b91d ; > GJGarageLayer::setupIconSelect @ 0x10036b98b ; > GJGarageLayer::setupIconSelect @ 0x10036b9f9 ; > GJGarageLayer::setupIconSelect @ 0x10036ba67 ; > SupportLayer::createToggleButton @ 0x10039a352 ; > PauseLayer::createToggleButton @ 0x1003d7681 ; > LevelBrowserLayer::init @ 0x10048bd4f ; > GameToolbox::createToggleButton @ 0x1004eee73 ; > LeaderboardsLayer::setupTabs @ 0x100512f45 ; > LeaderboardsLayer::setupTabs @ 0x100513001 ; > LeaderboardsLayer::setupTabs @ 0x1005130bd ; > LeaderboardsLayer::setupTabs @ 0x100513174 ; > ColorSelectLiveOverlay::createToggleButton @ 0x10056a221 ; > ShareCommentLayer::init @ 0x1005e0036 ; > MoreSearchLayer::createToggleButton @ 0x10062e532 ; > CharacterColorPage::init @ 0x10065d5cf ; > ColorSelectPopup::init @ 0x100725fb0 ; > FRequestProfilePage::init @ 0x1007903f7 ; > OptionsLayer::createToggleButton @ 0x10079ad32 ; > VideoOptionsLayer::createToggleButton @ 0x10079ffd5 ; ; 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 ; push rbp ; +0x0, 0x1000597a0 mov rbp, rsp ; +0x1, 0x1000597a1 push r15 ; +0x4, 0x1000597a4 push r14 ; +0x6, 0x1000597a6 push r13 ; +0x8, 0x1000597a8 push r12 ; +0xa, 0x1000597aa push rbx ; +0xc, 0x1000597ac push rax ; +0xd, 0x1000597ad mov [rbp+var_30], r8 ; +0xe, 0x1000597ae mov r15, rcx ; +0x12, 0x1000597b2 mov r12, rdx ; +0x15, 0x1000597b5 mov r13, rsi ; +0x18, 0x1000597b8 mov r14, rdi ; +0x1b, 0x1000597bb mov edi, 190h; __sz ; +0x1e, 0x1000597be call __Znwm; operator new(ulong) ; +0x23, 0x1000597c3 mov rbx, rax ; +0x28, 0x1000597c8 mov rdi, rax ; +0x2b, 0x1000597cb call cocos2d__CCNodeRGBA__CCNodeRGBA ; +0x2e, 0x1000597ce mov word ptr [rbx+152h], 0 ; +0x33, 0x1000597d3 xorps xmm0, xmm0 ; +0x3c, 0x1000597dc movups xmmword ptr [rbx+158h], xmm0 ; +0x3f, 0x1000597df movups xmmword ptr [rbx+168h], xmm0 ; +0x46, 0x1000597e6 lea rax, off_1008B2FE8 ; +0x4d, 0x1000597ed mov [rbx], rax ; +0x54, 0x1000597f4 lea rax, off_1008B3418 ; +0x57, 0x1000597f7 mov [rbx+140h], rax ; +0x5e, 0x1000597fe movups xmmword ptr [rbx+178h], xmm0 ; +0x65, 0x100059805 mov word ptr [rbx+188h], 0 ; +0x6c, 0x10005980c mov rdi, rbx ; +0x75, 0x100059815 mov rsi, r14 ; +0x78, 0x100059818 mov rdx, r13 ; +0x7b, 0x10005981b mov rcx, r12 ; +0x7e, 0x10005981e mov r8, r15 ; +0x81, 0x100059821 mov r9, [rbp+var_30] ; +0x84, 0x100059824 call CCMenuItemToggler__init ; +0x88, 0x100059828 test al, al ; +0x8d, 0x10005982d jz short loc_10005983B ; +0x8f, 0x10005982f mov rdi, rbx ; +0x91, 0x100059831 call cocos2d__CCObject__autorelease ; +0x94, 0x100059834 jmp short loc_100059846 ; +0x99, 0x100059839 mov rax, [rbx] ; +0x9b, 0x10005983b mov rdi, rbx ; +0x9e, 0x10005983e call qword ptr [rax+10h] ; +0xa1, 0x100059841 xor ebx, ebx ; +0xa4, 0x100059844 mov rax, rbx ; +0xa6, 0x100059846 add rsp, 8 ; +0xa9, 0x100059849 pop rbx ; +0xad, 0x10005984d pop r12 ; +0xae, 0x10005984e pop r13 ; +0xb0, 0x100059850 pop r14 ; +0xb2, 0x100059852 pop r15 ; +0xb4, 0x100059854 pop rbp ; +0xb6, 0x100059856 retn ; +0xb7, 0x100059857