{"type": "func", "start": 5708084, "end": 5708172, "name": "CCAnimatedSprite::setOpacity", "pseudocode": "// \n// CCAnimatedSprite::setOpacity from 0x571934 to 0x57198c (88 bytes)\n// \n// 4 xrefs:\n// > `non-virtual thunk to'CCAnimatedSprite::setOpacity @ 0x571990\n// > <???> @ 0x5efe0\n// > <???> @ 0x1136820\n// > <???> @ 0x11b0400\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; // x0\n  int v4; // w20\n  CCPartAnimSprite *m_paSprite; // x0\n\n  m_fbfSprite = a1->m_fbfSprite;\n  v4 = a2;\n  if ( m_fbfSprite )\n    m_fbfSprite->setOpacity(m_fbfSprite, a2);\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 0x571934 to 0x57198c (88 bytes)\n; \n; 4 xrefs:\n; > `non-virtual thunk to'CCAnimatedSprite::setOpacity @ 0x571990\n; > <???> @ 0x5efe0\n; > <???> @ 0x1136820\n; > <???> @ 0x11b0400\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\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x571934\nMOV             X29, SP                                                ; +0x4, 0x571938\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x57193c\nMOV             X19, X0                                                ; +0xc, 0x571940\nLDR             X0, [X0,#0x278]                                        ; +0x10, 0x571944\nUXTB            W20, W1                                                ; +0x14, 0x571948\nCBZ             X0, loc_571960                                         ; +0x18, 0x57194c\nLDR             X2, [X0]                                               ; +0x1c, 0x571950\nMOV             W1, W20                                                ; +0x20, 0x571954\nLDR             X2, [X2,#0x380]                                        ; +0x24, 0x571958\nBLR             X2                                                     ; +0x28, 0x57195c\nLDR             X0, [X19,#0x280]                                       ; +0x2c, 0x571960\nCBZ             X0, loc_571978                                         ; +0x30, 0x571964\nLDR             X2, [X0]                                               ; +0x34, 0x571968\nMOV             W1, W20                                                ; +0x38, 0x57196c\nLDR             X2, [X2,#0x380]                                        ; +0x3c, 0x571970\nBLR             X2                                                     ; +0x40, 0x571974\nMOV             X0, X19; this                                          ; +0x44, 0x571978\nMOV             W1, W20; unsigned __int8                               ; +0x48, 0x57197c\nLDP             X19, X20, [SP,#var_s10]                                ; +0x4c, 0x571980\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x50, 0x571984\nB               _ZN7cocos2d8CCSprite10setOpacityEh; cocos2d::CCSprite::setOpacity(uchar) ; +0x54, 0x571988", "xrefs": ["`non-virtual thunk to'CCAnimatedSprite::setOpacity @ 0x571990", "<???> @ 0x5efe0", "<???> @ 0x1136820", "<???> @ 0x11b0400"], "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"}