{"type": "func", "start": 5369005104, "end": 5369005157, "name": "CCSpriteCOpacity::setOpacity", "pseudocode": "// \n// CCSpriteCOpacity::setOpacity from 0x140048430 to 0x140048465 (53 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14056dad8\n// > <???> @ 0x1406c4b60\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid CCSpriteCOpacity::setOpacity(CCSpriteCOpacity *a1, unsigned __int8 a2)\n{\n  cocos2d::CCSprite::setOpacity(a1, a2);\n  (*(void (__fastcall **)(float *, _QWORD))(*(_QWORD *)&a1[-1].m_fTransformY + 936LL))(&a1[-1].m_fTransformY, a2);\n}", "assembly": "; \n; CCSpriteCOpacity::setOpacity from 0x140048430 to 0x140048465 (53 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14056dad8\n; > <???> @ 0x1406c4b60\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140048430\npush    rdi                                                            ; +0x5, 0x140048435\nsub     rsp, 20h                                                       ; +0x6, 0x140048436\nmovzx   edi, dl                                                        ; +0xa, 0x14004843a\nmov     rbx, rcx                                                       ; +0xd, 0x14004843d\ncall    cs:__imp_?setOpacity@CCSprite@cocos2d@@UEAAXE@Z; cocos2d::CCSprite::setOpacity(uchar) ; +0x10, 0x140048440\nlea     rcx, [rbx-140h]                                                ; +0x16, 0x140048446\nmovzx   edx, dil                                                       ; +0x1d, 0x14004844d\nmov     rax, [rcx]                                                     ; +0x21, 0x140048451\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x24, 0x140048454\nadd     rsp, 20h                                                       ; +0x29, 0x140048459\npop     rdi                                                            ; +0x2d, 0x14004845d\njmp     qword ptr [rax+3A8h]                                           ; +0x2e, 0x14004845e", "xrefs": ["<???> @ 0x14056dad8", "<???> @ 0x1406c4b60"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}