; ; GJItemIcon::setOpacity from 0x14027b220 to 0x14027b2bb (155 bytes) ; ; 2 xrefs: ; > @ 0x14056a758 ; > @ 0x1406d110c ; ; 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, 0x14027b220 mov [rsp+arg_8], rsi ; +0x5, 0x14027b225 push rdi ; +0xa, 0x14027b22a sub rsp, 20h ; +0xb, 0x14027b22b movzx esi, dl ; +0xf, 0x14027b22f mov rbx, rcx ; +0x12, 0x14027b232 call cs:__imp_?setOpacity@CCSprite@cocos2d@@UEAAXE@Z; cocos2d::CCSprite::setOpacity(uchar) ; +0x15, 0x14027b235 mov rcx, [rbx+118h] ; +0x1b, 0x14027b23b movzx edx, sil ; +0x22, 0x14027b242 add rcx, 140h ; +0x26, 0x14027b246 mov rax, [rcx] ; +0x2d, 0x14027b24d call qword ptr [rax+28h] ; +0x30, 0x14027b250 mov rcx, [rbx+118h] ; +0x33, 0x14027b253 mov rax, [rcx] ; +0x3a, 0x14027b25a call qword ptr [rax+1D0h] ; +0x3d, 0x14027b25d mov rdi, rax ; +0x43, 0x14027b263 test rax, rax ; +0x46, 0x14027b266 jz short loc_14027B2AB ; +0x49, 0x14027b269 mov rcx, rax ; +0x4b, 0x14027b26b xor ebx, ebx ; +0x4e, 0x14027b26e call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x50, 0x14027b270 test eax, eax ; +0x56, 0x14027b276 jz short loc_14027B2AB ; +0x58, 0x14027b278 nop word ptr [rax+rax+00h] ; +0x5a, 0x14027b27a mov edx, ebx ; +0x60, 0x14027b280 mov rcx, rdi ; +0x62, 0x14027b282 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x65, 0x14027b285 movzx edx, sil ; +0x6b, 0x14027b28b lea rcx, [rax+140h] ; +0x6f, 0x14027b28f mov rax, [rcx] ; +0x76, 0x14027b296 call qword ptr [rax+28h] ; +0x79, 0x14027b299 mov rcx, rdi ; +0x7c, 0x14027b29c inc ebx ; +0x7f, 0x14027b29f call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x81, 0x14027b2a1 cmp ebx, eax ; +0x87, 0x14027b2a7 jb short loc_14027B280 ; +0x89, 0x14027b2a9 mov rbx, [rsp+28h+arg_0] ; +0x8b, 0x14027b2ab mov rsi, [rsp+28h+arg_8] ; +0x90, 0x14027b2b0 add rsp, 20h ; +0x95, 0x14027b2b5 pop rdi ; +0x99, 0x14027b2b9 retn ; +0x9a, 0x14027b2ba