; ; cocos2d::extension::CCControlButton::setOpacity from 0x1800070e0 to 0x180007146 (102 bytes) ; ; 4 xrefs: ; > @ 0x180026108 ; > @ 0x18002a080 ; > @ 0x180032408 ; > @ 0x18004b690 ; ; 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:15:36 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x1800070e0 push rdi ; +0x5, 0x1800070e5 sub rsp, 20h ; +0x6, 0x1800070e6 movzx edi, dl ; +0xa, 0x1800070ea mov rbx, rcx ; +0xd, 0x1800070ed call cs:__imp_?setOpacity@CCLayerRGBA@cocos2d@@UEAAXE@Z; cocos2d::CCLayerRGBA::setOpacity(uchar) ; +0x10, 0x1800070f0 mov rax, [rbx+90h] ; +0x16, 0x1800070f6 test rax, rax ; +0x1d, 0x1800070fd jz short loc_18000713B ; +0x20, 0x180007100 mov rax, [rax+38h] ; +0x22, 0x180007102 test rax, rax ; +0x26, 0x180007106 jz short loc_18000713B ; +0x29, 0x180007109 mov rbx, [rax+120h] ; +0x2b, 0x18000710b mov rcx, [rax+108h] ; +0x32, 0x180007112 movzx edx, dil ; +0x39, 0x180007119 add rcx, 140h ; +0x3d, 0x18000711d mov rax, [rcx] ; +0x44, 0x180007124 call qword ptr [rax+28h] ; +0x47, 0x180007127 mov rax, rbx ; +0x4a, 0x18000712a test rbx, rbx ; +0x4d, 0x18000712d jz short loc_18000713B ; +0x50, 0x180007130 mov rbx, [rbx+120h] ; +0x52, 0x180007132 jmp short loc_180007112 ; +0x59, 0x180007139 mov rbx, [rsp+28h+arg_0] ; +0x5b, 0x18000713b add rsp, 20h ; +0x60, 0x180007140 pop rdi ; +0x64, 0x180007144 retn ; +0x65, 0x180007145