; ; CCMenuItemToggler::selected from 0x1400491d0 to 0x140049206 (54 bytes) ; ; 2 xrefs: ; > @ 0x140709d80 ; > @ 0x14090fbfc ; ; 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 11:25:32 +0000 ; push rbx ; +0x0, 0x1400491d0 sub rsp, 20h ; +0x2, 0x1400491d2 mov rbx, rcx ; +0x6, 0x1400491d6 call cs:?selected@CCMenuItem@cocos2d@@UEAAXXZ; cocos2d::CCMenuItem::selected(void) ; +0x9, 0x1400491d9 cmp byte ptr [rbx+188h], 0 ; +0xf, 0x1400491df mov eax, 178h ; +0x16, 0x1400491e6 mov ecx, 180h ; +0x1b, 0x1400491eb cmovz ecx, eax ; +0x20, 0x1400491f0 mov rcx, [rcx+rbx] ; +0x23, 0x1400491f3 mov rax, [rcx] ; +0x27, 0x1400491f7 add rsp, 20h ; +0x2a, 0x1400491fa pop rbx ; +0x2e, 0x1400491fe jmp qword ptr [rax+380h] ; +0x2f, 0x1400491ff