; ; GJRobotSprite::setOpacity from 0x1402a7380 to 0x1402a7478 (248 bytes) ; ; 3 xrefs: ; > @ 0x14057c4e8 ; > @ 0x14057c588 ; > @ 0x1406d2138 ; ; 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, 0x1402a7380 mov [rsp+arg_8], rbp ; +0x5, 0x1402a7385 mov [rsp+arg_10], rsi ; +0xa, 0x1402a738a push rdi ; +0xf, 0x1402a738f sub rsp, 20h ; +0x10, 0x1402a7390 mov rsi, rcx ; +0x14, 0x1402a7394 xor ebx, ebx ; +0x17, 0x1402a7397 mov rcx, [rcx+1B8h] ; +0x19, 0x1402a7399 mov edi, ebx ; +0x20, 0x1402a73a0 movzx ebp, dl ; +0x22, 0x1402a73a2 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x25, 0x1402a73a5 test eax, eax ; +0x2b, 0x1402a73ab jz short loc_1402A73E3 ; +0x2d, 0x1402a73ad nop ; +0x2f, 0x1402a73af mov rcx, [rsi+1B8h] ; +0x30, 0x1402a73b0 mov edx, edi ; +0x37, 0x1402a73b7 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x39, 0x1402a73b9 movzx edx, bpl ; +0x3f, 0x1402a73bf lea rcx, [rax+140h] ; +0x43, 0x1402a73c3 mov rax, [rcx] ; +0x4a, 0x1402a73ca call qword ptr [rax+28h] ; +0x4d, 0x1402a73cd mov rcx, [rsi+1B8h] ; +0x50, 0x1402a73d0 inc edi ; +0x57, 0x1402a73d7 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x59, 0x1402a73d9 cmp edi, eax ; +0x5f, 0x1402a73df jb short loc_1402A73B0 ; +0x61, 0x1402a73e1 mov rcx, [rsi+170h] ; +0x63, 0x1402a73e3 movzx edx, bpl ; +0x6a, 0x1402a73ea add rcx, 140h ; +0x6e, 0x1402a73ee mov rax, [rcx] ; +0x75, 0x1402a73f5 call qword ptr [rax+28h] ; +0x78, 0x1402a73f8 mov rcx, [rsi+1C0h] ; +0x7b, 0x1402a73fb mov rax, [rcx] ; +0x82, 0x1402a7402 call qword ptr [rax+1D0h] ; +0x85, 0x1402a7405 mov rcx, rax ; +0x8b, 0x1402a740b mov rdi, rax ; +0x8e, 0x1402a740e call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x91, 0x1402a7411 test eax, eax ; +0x97, 0x1402a7417 jz short loc_1402A744B ; +0x99, 0x1402a7419 nop dword ptr [rax+rax+00h] ; +0x9b, 0x1402a741b mov edx, ebx ; +0xa0, 0x1402a7420 mov rcx, rdi ; +0xa2, 0x1402a7422 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0xa5, 0x1402a7425 movzx edx, bpl ; +0xab, 0x1402a742b lea rcx, [rax+140h] ; +0xaf, 0x1402a742f mov rax, [rcx] ; +0xb6, 0x1402a7436 call qword ptr [rax+28h] ; +0xb9, 0x1402a7439 mov rcx, rdi ; +0xbc, 0x1402a743c inc ebx ; +0xbf, 0x1402a743f call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xc1, 0x1402a7441 cmp ebx, eax ; +0xc7, 0x1402a7447 jb short loc_1402A7420 ; +0xc9, 0x1402a7449 mov rcx, [rsi+1C8h] ; +0xcb, 0x1402a744b movzx edx, bpl ; +0xd2, 0x1402a7452 add rcx, 140h ; +0xd6, 0x1402a7456 mov rax, [rcx] ; +0xdd, 0x1402a745d mov rbx, [rsp+28h+arg_0] ; +0xe0, 0x1402a7460 mov rbp, [rsp+28h+arg_8] ; +0xe5, 0x1402a7465 mov rsi, [rsp+28h+arg_10] ; +0xea, 0x1402a746a add rsp, 20h ; +0xef, 0x1402a746f pop rdi ; +0xf3, 0x1402a7473 jmp qword ptr [rax+28h] ; +0xf4, 0x1402a7474