; ; CCMenuItemToggler::setEnabled from 0x140049290 to 0x1400492d9 (73 bytes) ; ; 2 xrefs: ; > @ 0x140709da8 ; > @ 0x14090fc20 ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x140049290 push rdi ; +0x5, 0x140049295 sub rsp, 20h ; +0x6, 0x140049296 movzx edi, dl ; +0xa, 0x14004929a mov rbx, rcx ; +0xd, 0x14004929d call cs:?setEnabled@CCMenuItem@cocos2d@@UEAAX_N@Z; cocos2d::CCMenuItem::setEnabled(bool) ; +0x10, 0x1400492a0 mov rcx, [rbx+178h] ; +0x16, 0x1400492a6 movzx edx, dil ; +0x1d, 0x1400492ad mov rax, [rcx] ; +0x21, 0x1400492b1 call qword ptr [rax+3A8h] ; +0x24, 0x1400492b4 mov rcx, [rbx+180h] ; +0x2a, 0x1400492ba movzx edx, dil ; +0x31, 0x1400492c1 mov rax, [rcx] ; +0x35, 0x1400492c5 mov rbx, [rsp+28h+arg_0] ; +0x38, 0x1400492c8 add rsp, 20h ; +0x3d, 0x1400492cd pop rdi ; +0x41, 0x1400492d1 jmp qword ptr [rax+3A8h] ; +0x42, 0x1400492d2