{"type": "func", "start": 5368990704, "end": 5368990798, "name": "CCAnimatedSprite::setOpacity", "pseudocode": "// \n// CCAnimatedSprite::setOpacity from 0x140044bf0 to 0x140044c4e (94 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x140707080\n// > <???> @ 0x140780558\n// > <???> @ 0x14090f7a0\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:25:30 +0000\n// \n\nvoid __fastcall CCAnimatedSprite::setOpacity(cocos2d::CCSprite *a1, unsigned __int8 a2)\n{\n  __int64 v4; // rcx\n  __int64 v5; // rcx\n\n  v4 = *((_QWORD *)a1 + 45);\n  if ( v4 )\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)(v4 + 320) + 40LL))(v4 + 320);\n  v5 = *((_QWORD *)a1 + 46);\n  if ( v5 )\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(v5 + 320) + 40LL))(v5 + 320, a2);\n  cocos2d::CCSprite::setOpacity(a1, a2);\n}", "assembly": "; \n; CCAnimatedSprite::setOpacity from 0x140044bf0 to 0x140044c4e (94 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x140707080\n; > <???> @ 0x140780558\n; > <???> @ 0x14090f7a0\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:25:30 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140044bf0\npush    rdi                                                            ; +0x5, 0x140044bf5\nsub     rsp, 20h                                                       ; +0x6, 0x140044bf6\nmov     rbx, rcx                                                       ; +0xa, 0x140044bfa\nmovzx   edi, dl                                                        ; +0xd, 0x140044bfd\nmov     rcx, [rcx+168h]                                                ; +0x10, 0x140044c00\ntest    rcx, rcx                                                       ; +0x17, 0x140044c07\njz      short loc_140044C19                                            ; +0x1a, 0x140044c0a\nadd     rcx, 140h                                                      ; +0x1c, 0x140044c0c\nmov     rax, [rcx]                                                     ; +0x23, 0x140044c13\ncall    qword ptr [rax+28h]                                            ; +0x26, 0x140044c16\nmov     rcx, [rbx+170h]                                                ; +0x29, 0x140044c19\ntest    rcx, rcx                                                       ; +0x30, 0x140044c20\njz      short loc_140044C36                                            ; +0x33, 0x140044c23\nadd     rcx, 140h                                                      ; +0x35, 0x140044c25\nmovzx   edx, dil                                                       ; +0x3c, 0x140044c2c\nmov     rax, [rcx]                                                     ; +0x40, 0x140044c30\ncall    qword ptr [rax+28h]                                            ; +0x43, 0x140044c33\nmovzx   edx, dil                                                       ; +0x46, 0x140044c36\nmov     rcx, rbx                                                       ; +0x4a, 0x140044c3a\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4d, 0x140044c3d\nadd     rsp, 20h                                                       ; +0x52, 0x140044c42\npop     rdi                                                            ; +0x56, 0x140044c46\njmp     cs:__imp_?setOpacity@CCSprite@cocos2d@@UEAAXE@Z; cocos2d::CCSprite::setOpacity(uchar) ; +0x57, 0x140044c47", "xrefs": ["<???> @ 0x140707080", "<???> @ 0x140780558", "<???> @ 0x14090f7a0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}