; ; cocos2d::extension::CCControlButton::setOpacity from 0x180007610 to 0x180007676 (102 bytes) ; ; 4 xrefs: ; > @ 0x180023be0 ; > @ 0x180027a28 ; > @ 0x18002fdf8 ; > @ 0x18004975c ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x180007610 push rdi ; +0x5, 0x180007615 sub rsp, 20h ; +0x6, 0x180007616 movzx edi, dl ; +0xa, 0x18000761a mov rbx, rcx ; +0xd, 0x18000761d call cs:__imp_?setOpacity@CCLayerRGBA@cocos2d@@UEAAXE@Z; cocos2d::CCLayerRGBA::setOpacity(uchar) ; +0x10, 0x180007620 mov rax, [rbx+90h] ; +0x16, 0x180007626 test rax, rax ; +0x1d, 0x18000762d jz short loc_18000766B ; +0x20, 0x180007630 mov rax, [rax+38h] ; +0x22, 0x180007632 test rax, rax ; +0x26, 0x180007636 jz short loc_18000766B ; +0x29, 0x180007639 mov rbx, [rax+120h] ; +0x2b, 0x18000763b mov rcx, [rax+108h] ; +0x32, 0x180007642 movzx edx, dil ; +0x39, 0x180007649 add rcx, 140h ; +0x3d, 0x18000764d mov rax, [rcx] ; +0x44, 0x180007654 call qword ptr [rax+28h] ; +0x47, 0x180007657 mov rax, rbx ; +0x4a, 0x18000765a test rbx, rbx ; +0x4d, 0x18000765d jz short loc_18000766B ; +0x50, 0x180007660 mov rbx, [rbx+120h] ; +0x52, 0x180007662 jmp short loc_180007642 ; +0x59, 0x180007669 mov rbx, [rsp+28h+arg_0] ; +0x5b, 0x18000766b add rsp, 20h ; +0x60, 0x180007670 pop rdi ; +0x64, 0x180007674 retn ; +0x65, 0x180007675