; ; GJChestSprite::setOpacity from 0x1405670e0 to 0x140567142 (98 bytes) ; ; 3 xrefs: ; > @ 0x1407db1c8 ; > @ 0x14092c57c ; > @ 0x14092c588 ; ; 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:34:17 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x1405670e0 push rdi ; +0x5, 0x1405670e5 sub rsp, 20h ; +0x6, 0x1405670e6 movzx edi, dl ; +0xa, 0x1405670ea mov rbx, rcx ; +0xd, 0x1405670ed call cs:__imp_?setOpacity@CCSprite@cocos2d@@UEAAXE@Z; cocos2d::CCSprite::setOpacity(uchar) ; +0x10, 0x1405670f0 lea rcx, [rbx-140h] ; +0x16, 0x1405670f6 mov rax, [rcx] ; +0x1d, 0x1405670fd call qword ptr [rax+1E0h] ; +0x20, 0x140567100 mov rbx, rax ; +0x26, 0x140567106 test rax, rax ; +0x29, 0x140567109 jz short loc_140567137 ; +0x2c, 0x14056710c mov rcx, rax ; +0x2e, 0x14056710e call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x31, 0x140567111 test eax, eax ; +0x37, 0x140567117 jz short loc_140567137 ; +0x39, 0x140567119 xor edx, edx ; +0x3b, 0x14056711b mov rcx, rbx ; +0x3d, 0x14056711d call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x40, 0x140567120 movzx edx, dil ; +0x46, 0x140567126 lea rcx, [rax+140h] ; +0x4a, 0x14056712a mov rax, [rcx] ; +0x51, 0x140567131 call qword ptr [rax+28h] ; +0x54, 0x140567134 mov rbx, [rsp+28h+arg_0] ; +0x57, 0x140567137 add rsp, 20h ; +0x5c, 0x14056713c pop rdi ; +0x60, 0x140567140 retn ; +0x61, 0x140567141