{"type": "func", "start": 6443025328, "end": 6443025391, "name": "cocos2d::CCSprite::setColor", "pseudocode": "// \n// cocos2d::CCSprite::setColor from 0x18008c3b0 to 0x18008c3ef (63 bytes)\n// \n// 7 xrefs:\n// > <???> @ 0x1800ebcb8\n// > <???> @ 0x1800ec190\n// > <???> @ 0x1800ecd10\n// > <???> @ 0x180103bc8\n// > <???> @ 0x180106bf0\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b5d30\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 __fastcall cocos2d::CCSprite::setColor(cocos2d::CCSprite *this, const struct cocos2d::_ccColor3B *a2)\n{\n  if ( BYTE1(this->m_nLuaID) != a2->r || BYTE2(this->m_nLuaID) != a2->g || HIBYTE(this->m_nLuaID) != a2->b )\n  {\n    cocos2d::CCNodeRGBA::setColor(this, a2);\n    cocos2d::CCSprite::updateColor((cocos2d::CCSprite *)((char *)this - 320));\n  }\n}", "assembly": "; \n; cocos2d::CCSprite::setColor from 0x18008c3b0 to 0x18008c3ef (63 bytes)\n; \n; 7 xrefs:\n; > <???> @ 0x1800ebcb8\n; > <???> @ 0x1800ec190\n; > <???> @ 0x1800ecd10\n; > <???> @ 0x180103bc8\n; > <???> @ 0x180106bf0\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b5d30\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    rbx                                                            ; +0x0, 0x18008c3b0\nsub     rsp, 20h                                                       ; +0x2, 0x18008c3b2\nmovzx   eax, byte ptr [rdx]                                            ; +0x6, 0x18008c3b6\nmov     rbx, rcx                                                       ; +0x9, 0x18008c3b9\ncmp     [rcx+0Dh], al                                                  ; +0xc, 0x18008c3bc\njnz     short loc_18008C3D3                                            ; +0xf, 0x18008c3bf\nmovzx   eax, byte ptr [rdx+1]                                          ; +0x11, 0x18008c3c1\ncmp     [rcx+0Eh], al                                                  ; +0x15, 0x18008c3c5\njnz     short loc_18008C3D3                                            ; +0x18, 0x18008c3c8\nmovzx   eax, byte ptr [rdx+2]                                          ; +0x1a, 0x18008c3ca\ncmp     [rcx+0Fh], al                                                  ; +0x1e, 0x18008c3ce\njz      short loc_18008C3E9                                            ; +0x21, 0x18008c3d1\ncall    ?setColor@CCNodeRGBA@cocos2d@@UEAAXAEBU_ccColor3B@2@@Z; cocos2d::CCNodeRGBA::setColor(cocos2d::_ccColor3B const &) ; +0x23, 0x18008c3d3\nlea     rcx, [rbx-140h]; this                                          ; +0x28, 0x18008c3d8\nadd     rsp, 20h                                                       ; +0x2f, 0x18008c3df\npop     rbx                                                            ; +0x33, 0x18008c3e3\njmp     ?updateColor@CCSprite@cocos2d@@IEAAXXZ; cocos2d::CCSprite::updateColor(void) ; +0x34, 0x18008c3e4\nadd     rsp, 20h                                                       ; +0x39, 0x18008c3e9\npop     rbx                                                            ; +0x3d, 0x18008c3ed\nretn                                                                   ; +0x3e, 0x18008c3ee", "xrefs": ["<???> @ 0x1800ebcb8", "<???> @ 0x1800ec190", "<???> @ 0x1800ecd10", "<???> @ 0x180103bc8", "<???> @ 0x180106bf0", "<???> @ 0x1801438a8", "<???> @ 0x1801b5d30"], "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"}