{"type": "func", "start": 5708180, "end": 5708256, "name": "CCAnimatedSprite::setColor", "pseudocode": "// \n// CCAnimatedSprite::setColor from 0x571994 to 0x5719e0 (76 bytes)\n// \n// 6 xrefs:\n// > `non-virtual thunk to'CCAnimatedSprite::setColor @ 0x5719e4\n// > <???> @ 0x55ad0\n// > <???> @ 0x1136850\n// > <???> @ 0x11a0f50\n// > <???> @ 0x11a14f0\n// > <???> @ 0x11b0430\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::setColor(CCAnimatedSprite *a1, const cocos2d::ccColor3B *a2)\n{\n  cocos2d::CCSprite *m_fbfSprite; // x0\n  CCPartAnimSprite *m_paSprite; // x0\n\n  m_fbfSprite = a1->m_fbfSprite;\n  if ( m_fbfSprite )\n    ((void (__fastcall *)(cocos2d::CCSprite *))m_fbfSprite->setColor)(m_fbfSprite);\n  m_paSprite = a1->m_paSprite;\n  if ( m_paSprite )\n    CCPartAnimSprite::setColor(m_paSprite, (cocos2d::ccColor3B)*(_QWORD *)&a2->r);\n  cocos2d::CCSprite::setColor(a1, a2);\n}", "assembly": "; \n; CCAnimatedSprite::setColor from 0x571994 to 0x5719e0 (76 bytes)\n; \n; 6 xrefs:\n; > `non-virtual thunk to'CCAnimatedSprite::setColor @ 0x5719e4\n; > <???> @ 0x55ad0\n; > <???> @ 0x1136850\n; > <???> @ 0x11a0f50\n; > <???> @ 0x11a14f0\n; > <???> @ 0x11b0430\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, 0x571994\nMOV             X29, SP                                                ; +0x4, 0x571998\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x57199c\nMOV             X19, X0                                                ; +0xc, 0x5719a0\nLDR             X0, [X0,#0x278]                                        ; +0x10, 0x5719a4\nMOV             X20, X1                                                ; +0x14, 0x5719a8\nCBZ             X0, loc_5719BC                                         ; +0x18, 0x5719ac\nLDR             X2, [X0]                                               ; +0x1c, 0x5719b0\nLDR             X2, [X2,#0x3B0]                                        ; +0x20, 0x5719b4\nBLR             X2                                                     ; +0x24, 0x5719b8\nLDR             X0, [X19,#0x280]                                       ; +0x28, 0x5719bc\nCBZ             X0, loc_5719CC                                         ; +0x2c, 0x5719c0\nLDR             X1, [X20]                                              ; +0x30, 0x5719c4\nBL              _ZN16CCPartAnimSprite8setColorEN7cocos2d10_ccColor3BE; CCPartAnimSprite::setColor(cocos2d::_ccColor3B) ; +0x34, 0x5719c8\nMOV             X0, X19                                                ; +0x38, 0x5719cc\nMOV             X1, X20                                                ; +0x3c, 0x5719d0\nLDP             X19, X20, [SP,#var_s10]                                ; +0x40, 0x5719d4\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x44, 0x5719d8\nB               _ZN7cocos2d8CCSprite8setColorERKNS_10_ccColor3BE; cocos2d::CCSprite::setColor(cocos2d::_ccColor3B const&) ; +0x48, 0x5719dc", "xrefs": ["`non-virtual thunk to'CCAnimatedSprite::setColor @ 0x5719e4", "<???> @ 0x55ad0", "<???> @ 0x1136850", "<???> @ 0x11a0f50", "<???> @ 0x11a14f0", "<???> @ 0x11b0430"], "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"}