{"type": "func", "start": 3032464, "end": 3032520, "name": "CCAnimatedSprite::setColor", "pseudocode": "// \n// CCAnimatedSprite::setColor from 0x2e4590 to 0x2e45c8 (56 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'CCAnimatedSprite::setColor @ 0x2e45cc\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; // r0\n  CCPartAnimSprite *m_paSprite; // r0\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)(a2->r | (a2->g << 8) | (a2->b << 16)));\n  cocos2d::CCSprite::setColor(a1, a2);\n}", "assembly": "; \n; CCAnimatedSprite::setColor from 0x2e4590 to 0x2e45c8 (56 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'CCAnimatedSprite::setColor @ 0x2e45cc\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, 0x2e4590\nMOV             R5, R0                                                 ; +0x2, 0x2e4592\nLDR.W           R0, [R0,#0x20C]                                        ; +0x4, 0x2e4594\nMOV             R4, R1                                                 ; +0x8, 0x2e4598\nCBZ             R0, loc_2E45A4                                         ; +0xa, 0x2e459a\nLDR             R3, [R0]                                               ; +0xc, 0x2e459c\nLDR.W           R3, [R3,#0x1D8]                                        ; +0xe, 0x2e459e\nBLX             R3                                                     ; +0x12, 0x2e45a2\nLDR.W           R0, [R5,#0x210]                                        ; +0x14, 0x2e45a4\nCBZ             R0, loc_2E45BC                                         ; +0x18, 0x2e45a8\nLDRB            R1, [R4,#1]                                            ; +0x1a, 0x2e45aa\nLDRB            R3, [R4]                                               ; +0x1c, 0x2e45ac\nORR.W           R3, R3, R1,LSL#8                                       ; +0x1e, 0x2e45ae\nLDRB            R1, [R4,#2]                                            ; +0x22, 0x2e45b2\nORR.W           R1, R3, R1,LSL#16                                      ; +0x24, 0x2e45b4\nBL              _ZN16CCPartAnimSprite8setColorEN7cocos2d10_ccColor3BE; CCPartAnimSprite::setColor(cocos2d::_ccColor3B) ; +0x28, 0x2e45b8\nMOV             R0, R5                                                 ; +0x2c, 0x2e45bc\nMOV             R1, R4                                                 ; +0x2e, 0x2e45be\nPOP.W           {R3-R5,LR}                                             ; +0x30, 0x2e45c0\nB.W             _ZN7cocos2d8CCSprite8setColorERKNS_10_ccColor3BE; cocos2d::CCSprite::setColor(cocos2d::_ccColor3B const&) ; +0x34, 0x2e45c4", "xrefs": ["`non-virtual thunk to'CCAnimatedSprite::setColor @ 0x2e45cc"], "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"}