{"type": "func", "start": 3032408, "end": 3032456, "name": "CCAnimatedSprite::setOpacity", "pseudocode": "// \n// CCAnimatedSprite::setOpacity from 0x2e4558 to 0x2e4588 (48 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'CCAnimatedSprite::setOpacity @ 0x2e458c\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 CCAnimatedSprite::setOpacity(CCAnimatedSprite *a1, unsigned __int8 a2)\n{\n  cocos2d::CCSprite *m_fbfSprite; // r0\n  int v4; // r5\n  CCPartAnimSprite *m_paSprite; // r0\n\n  m_fbfSprite = a1->m_fbfSprite;\n  v4 = a2;\n  if ( m_fbfSprite )\n    ((void (__fastcall *)(cocos2d::CCSprite *))m_fbfSprite->setOpacity)(m_fbfSprite);\n  m_paSprite = a1->m_paSprite;\n  if ( m_paSprite )\n    m_paSprite->setOpacity(m_paSprite, v4);\n  cocos2d::CCSprite::setOpacity(a1, v4);\n}", "assembly": "; \n; CCAnimatedSprite::setOpacity from 0x2e4558 to 0x2e4588 (48 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'CCAnimatedSprite::setOpacity @ 0x2e458c\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\nPUSH            {R3-R5,LR}                                             ; +0x0, 0x2e4558\nMOV             R4, R0                                                 ; +0x2, 0x2e455a\nLDR.W           R0, [R0,#0x20C]                                        ; +0x4, 0x2e455c\nMOV             R5, R1                                                 ; +0x8, 0x2e4560\nCBZ             R0, loc_2E456C                                         ; +0xa, 0x2e4562\nLDR             R3, [R0]                                               ; +0xc, 0x2e4564\nLDR.W           R3, [R3,#0x1C0]                                        ; +0xe, 0x2e4566\nBLX             R3                                                     ; +0x12, 0x2e456a\nLDR.W           R0, [R4,#0x210]                                        ; +0x14, 0x2e456c\nCBZ             R0, loc_2E457C                                         ; +0x18, 0x2e4570\nLDR             R3, [R0]                                               ; +0x1a, 0x2e4572\nMOV             R1, R5                                                 ; +0x1c, 0x2e4574\nLDR.W           R3, [R3,#0x1C0]                                        ; +0x1e, 0x2e4576\nBLX             R3                                                     ; +0x22, 0x2e457a\nMOV             R0, R4; this                                           ; +0x24, 0x2e457c\nMOV             R1, R5; unsigned __int8                                ; +0x26, 0x2e457e\nPOP.W           {R3-R5,LR}                                             ; +0x28, 0x2e4580\nB.W             _ZN7cocos2d8CCSprite10setOpacityEh; cocos2d::CCSprite::setOpacity(uchar) ; +0x2c, 0x2e4584", "xrefs": ["`non-virtual thunk to'CCAnimatedSprite::setOpacity @ 0x2e458c"], "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"}