; ; AnimatedGameObject::setOpacity from 0x1406459f0 to 0x140645ac0 (208 bytes) ; ; 4 xrefs: ; > @ 0x140821150 ; > @ 0x1408e88ac ; > @ 0x1408e88bc ; > @ 0x1409313a0 ; ; 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:35:36 +0000 ; mov [rsp+arg_10], rbp ; +0x0, 0x1406459f0 push rdi ; +0x5, 0x1406459f5 sub rsp, 20h ; +0x6, 0x1406459f6 mov rdi, rcx ; +0xa, 0x1406459fa call GameObject__setOpacity ; +0xd, 0x1406459fd mov rax, [rdi] ; +0x12, 0x140645a02 mov rcx, rdi ; +0x15, 0x140645a05 call qword ptr [rax+20h] ; +0x18, 0x140645a08 mov rcx, [rdi+488h] ; +0x1b, 0x140645a0b add rcx, 140h ; +0x22, 0x140645a12 movzx ebp, al ; +0x29, 0x140645a19 mov rdx, [rcx] ; +0x2c, 0x140645a1c mov r8, [rdx+28h] ; +0x2f, 0x140645a1f movzx edx, bpl ; +0x33, 0x140645a23 call r8 ; +0x37, 0x140645a27 mov rcx, [rdi+490h] ; +0x3a, 0x140645a2a test rcx, rcx ; +0x41, 0x140645a31 jz short loc_140645AB5 ; +0x44, 0x140645a34 mov [rsp+28h+arg_0], rbx ; +0x46, 0x140645a36 xor ebx, ebx ; +0x4b, 0x140645a3b cmp [rdi+2C4h], bl ; +0x4d, 0x140645a3d mov [rsp+28h+arg_8], rsi ; +0x53, 0x140645a43 mov esi, ebx ; +0x58, 0x140645a48 cmovz esi, ebp ; +0x5a, 0x140645a4a add rcx, 140h ; +0x5d, 0x140645a4d movzx edx, sil ; +0x64, 0x140645a54 mov rax, [rcx] ; +0x68, 0x140645a58 call qword ptr [rax+28h] ; +0x6b, 0x140645a5b mov rcx, [rdi+490h] ; +0x6e, 0x140645a5e mov rax, [rcx] ; +0x75, 0x140645a65 call qword ptr [rax+1E0h] ; +0x78, 0x140645a68 mov rcx, rax ; +0x7e, 0x140645a6e mov rdi, rax ; +0x81, 0x140645a71 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x84, 0x140645a74 test eax, eax ; +0x8a, 0x140645a7a jz short loc_140645AAB ; +0x8c, 0x140645a7c xchg ax, ax ; +0x8e, 0x140645a7e mov edx, ebx ; +0x90, 0x140645a80 mov rcx, rdi ; +0x92, 0x140645a82 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x95, 0x140645a85 movzx edx, sil ; +0x9b, 0x140645a8b lea rcx, [rax+140h] ; +0x9f, 0x140645a8f mov rax, [rcx] ; +0xa6, 0x140645a96 call qword ptr [rax+28h] ; +0xa9, 0x140645a99 mov rcx, rdi ; +0xac, 0x140645a9c inc ebx ; +0xaf, 0x140645a9f call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xb1, 0x140645aa1 cmp ebx, eax ; +0xb7, 0x140645aa7 jb short loc_140645A80 ; +0xb9, 0x140645aa9 mov rbx, [rsp+28h+arg_0] ; +0xbb, 0x140645aab mov rsi, [rsp+28h+arg_8] ; +0xc0, 0x140645ab0 mov rbp, [rsp+28h+arg_10] ; +0xc5, 0x140645ab5 add rsp, 20h ; +0xca, 0x140645aba pop rdi ; +0xce, 0x140645abe retn ; +0xcf, 0x140645abf