; ; GJChestSprite::setOpacity from 0x1403d1770 to 0x1403d17d2 (98 bytes) ; ; 3 xrefs: ; > @ 0x1405cd548 ; > @ 0x1406d7c7c ; > @ 0x1406d7c88 ; ; 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, 0x1403d1770 push rdi ; +0x5, 0x1403d1775 sub rsp, 20h ; +0x6, 0x1403d1776 movzx edi, dl ; +0xa, 0x1403d177a mov rbx, rcx ; +0xd, 0x1403d177d call cs:__imp_?setOpacity@CCSprite@cocos2d@@UEAAXE@Z; cocos2d::CCSprite::setOpacity(uchar) ; +0x10, 0x1403d1780 lea rcx, [rbx-140h] ; +0x16, 0x1403d1786 mov rax, [rcx] ; +0x1d, 0x1403d178d call qword ptr [rax+1D0h] ; +0x20, 0x1403d1790 mov rbx, rax ; +0x26, 0x1403d1796 test rax, rax ; +0x29, 0x1403d1799 jz short loc_1403D17C7 ; +0x2c, 0x1403d179c mov rcx, rax ; +0x2e, 0x1403d179e call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x31, 0x1403d17a1 test eax, eax ; +0x37, 0x1403d17a7 jz short loc_1403D17C7 ; +0x39, 0x1403d17a9 xor edx, edx ; +0x3b, 0x1403d17ab mov rcx, rbx ; +0x3d, 0x1403d17ad call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x40, 0x1403d17b0 movzx edx, dil ; +0x46, 0x1403d17b6 lea rcx, [rax+140h] ; +0x4a, 0x1403d17ba mov rax, [rcx] ; +0x51, 0x1403d17c1 call qword ptr [rax+28h] ; +0x54, 0x1403d17c4 mov rbx, [rsp+28h+arg_0] ; +0x57, 0x1403d17c7 add rsp, 20h ; +0x5c, 0x1403d17cc pop rdi ; +0x60, 0x1403d17d0 retn ; +0x61, 0x1403d17d1