{"type": "func", "start": 6443025968, "end": 6443025995, "name": "cocos2d::CCSprite::setOpacityModifyRGB", "pseudocode": "// \n// cocos2d::CCSprite::setOpacityModifyRGB from 0x18008c630 to 0x18008c64b (27 bytes)\n// \n// 6 xrefs:\n// > <???> @ 0x1800ebce8\n// > <???> @ 0x1800ec1c0\n// > <???> @ 0x1800ecd40\n// > <???> @ 0x180103bf8\n// > <???> @ 0x180106c20\n// > <???> @ 0x1801438a8\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::setOpacityModifyRGB(cocos2d::CCSprite *this, char a2)\n{\n  if ( BYTE4(this->m_pUserObject) != a2 )\n  {\n    BYTE4(this->m_pUserObject) = a2;\n    cocos2d::CCSprite::updateColor((cocos2d::CCSprite *)((char *)this - 320));\n  }\n}", "assembly": "; \n; cocos2d::CCSprite::setOpacityModifyRGB from 0x18008c630 to 0x18008c64b (27 bytes)\n; \n; 6 xrefs:\n; > <???> @ 0x1800ebce8\n; > <???> @ 0x1800ec1c0\n; > <???> @ 0x1800ecd40\n; > <???> @ 0x180103bf8\n; > <???> @ 0x180106c20\n; > <???> @ 0x1801438a8\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\ncmp     [rcx+0ECh], dl                                                 ; +0x0, 0x18008c630\njz      short locret_18008C64A                                         ; +0x6, 0x18008c636\nmov     [rcx+0ECh], dl                                                 ; +0x8, 0x18008c638\nadd     rcx, 0FFFFFFFFFFFFFEC0h; this                                  ; +0xe, 0x18008c63e\njmp     ?updateColor@CCSprite@cocos2d@@IEAAXXZ; cocos2d::CCSprite::updateColor(void) ; +0x15, 0x18008c645\nretn                                                                   ; +0x1a, 0x18008c64a", "xrefs": ["<???> @ 0x1800ebce8", "<???> @ 0x1800ec1c0", "<???> @ 0x1800ecd40", "<???> @ 0x180103bf8", "<???> @ 0x180106c20", "<???> @ 0x1801438a8"], "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"}