{"type": "func", "start": 6442783344, "end": 6442783751, "name": "cocos2d::CCLayerColor::updateColor", "pseudocode": "// \n// cocos2d::CCLayerColor::updateColor from 0x180051270 to 0x180051407 (407 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1800edcf0\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::CCLayerColor::updateColor(cocos2d::CCLayerColor *this)\n{\n  GLfloat v1; // xmm2_4\n\n  v1 = (float)this->_displayedColor.r / 255.0;\n  this->m_pSquareColors[0].r = v1;\n  this->m_pSquareColors[0].g = (float)this->_displayedColor.g / 255.0;\n  this->m_pSquareColors[0].b = (float)this->_displayedColor.b / 255.0;\n  this->m_pSquareColors[0].a = (float)this->_displayedOpacity / 255.0;\n  this->m_pSquareColors[1].r = v1;\n  this->m_pSquareColors[1].g = (float)this->_displayedColor.g / 255.0;\n  this->m_pSquareColors[1].b = (float)this->_displayedColor.b / 255.0;\n  this->m_pSquareColors[1].a = (float)this->_displayedOpacity / 255.0;\n  this->m_pSquareColors[2].r = (float)this->_displayedColor.r / 255.0;\n  this->m_pSquareColors[2].g = (float)this->_displayedColor.g / 255.0;\n  this->m_pSquareColors[2].b = (float)this->_displayedColor.b / 255.0;\n  this->m_pSquareColors[2].a = (float)this->_displayedOpacity / 255.0;\n  this->m_pSquareColors[3].r = (float)this->_displayedColor.r / 255.0;\n  this->m_pSquareColors[3].g = (float)this->_displayedColor.g / 255.0;\n  this->m_pSquareColors[3].b = (float)this->_displayedColor.b / 255.0;\n  this->m_pSquareColors[3].a = (float)this->_displayedOpacity / 255.0;\n}", "assembly": "; \n; cocos2d::CCLayerColor::updateColor from 0x180051270 to 0x180051407 (407 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1800edcf0\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\nmovzx   eax, byte ptr [rcx+1A2h]                                       ; +0x0, 0x180051270\nmovss   xmm3, cs:dword_1800E5838                                       ; +0x7, 0x180051277\nmovd    xmm2, eax                                                      ; +0xf, 0x18005127f\ncvtdq2ps xmm2, xmm2                                                    ; +0x13, 0x180051283\ndivss   xmm2, xmm3                                                     ; +0x16, 0x180051286\nmovss   dword ptr [rcx+1D8h], xmm2                                     ; +0x1a, 0x18005128a\nmovzx   eax, byte ptr [rcx+1A3h]                                       ; +0x22, 0x180051292\nmovd    xmm0, eax                                                      ; +0x29, 0x180051299\ncvtdq2ps xmm0, xmm0                                                    ; +0x2d, 0x18005129d\ndivss   xmm0, xmm3                                                     ; +0x30, 0x1800512a0\nmovss   dword ptr [rcx+1DCh], xmm0                                     ; +0x34, 0x1800512a4\nmovzx   eax, byte ptr [rcx+1A4h]                                       ; +0x3c, 0x1800512ac\nmovd    xmm1, eax                                                      ; +0x43, 0x1800512b3\ncvtdq2ps xmm1, xmm1                                                    ; +0x47, 0x1800512b7\ndivss   xmm1, xmm3                                                     ; +0x4a, 0x1800512ba\nmovss   dword ptr [rcx+1E0h], xmm1                                     ; +0x4e, 0x1800512be\nmovzx   eax, byte ptr [rcx+1A0h]                                       ; +0x56, 0x1800512c6\nmovd    xmm0, eax                                                      ; +0x5d, 0x1800512cd\ncvtdq2ps xmm0, xmm0                                                    ; +0x61, 0x1800512d1\ndivss   xmm0, xmm3                                                     ; +0x64, 0x1800512d4\nmovss   dword ptr [rcx+1E4h], xmm0                                     ; +0x68, 0x1800512d8\nmovss   dword ptr [rcx+1E8h], xmm2                                     ; +0x70, 0x1800512e0\nmovzx   eax, byte ptr [rcx+1A3h]                                       ; +0x78, 0x1800512e8\nmovd    xmm0, eax                                                      ; +0x7f, 0x1800512ef\ncvtdq2ps xmm0, xmm0                                                    ; +0x83, 0x1800512f3\ndivss   xmm0, xmm3                                                     ; +0x86, 0x1800512f6\nmovss   dword ptr [rcx+1ECh], xmm0                                     ; +0x8a, 0x1800512fa\nmovzx   eax, byte ptr [rcx+1A4h]                                       ; +0x92, 0x180051302\nmovd    xmm1, eax                                                      ; +0x99, 0x180051309\ncvtdq2ps xmm1, xmm1                                                    ; +0x9d, 0x18005130d\ndivss   xmm1, xmm3                                                     ; +0xa0, 0x180051310\nmovss   dword ptr [rcx+1F0h], xmm1                                     ; +0xa4, 0x180051314\nmovzx   eax, byte ptr [rcx+1A0h]                                       ; +0xac, 0x18005131c\nmovd    xmm0, eax                                                      ; +0xb3, 0x180051323\ncvtdq2ps xmm0, xmm0                                                    ; +0xb7, 0x180051327\ndivss   xmm0, xmm3                                                     ; +0xba, 0x18005132a\nmovss   dword ptr [rcx+1F4h], xmm0                                     ; +0xbe, 0x18005132e\nmovzx   eax, byte ptr [rcx+1A2h]                                       ; +0xc6, 0x180051336\nmovd    xmm1, eax                                                      ; +0xcd, 0x18005133d\ncvtdq2ps xmm1, xmm1                                                    ; +0xd1, 0x180051341\ndivss   xmm1, xmm3                                                     ; +0xd4, 0x180051344\nmovss   dword ptr [rcx+1F8h], xmm1                                     ; +0xd8, 0x180051348\nmovzx   eax, byte ptr [rcx+1A3h]                                       ; +0xe0, 0x180051350\nmovd    xmm0, eax                                                      ; +0xe7, 0x180051357\ncvtdq2ps xmm0, xmm0                                                    ; +0xeb, 0x18005135b\ndivss   xmm0, xmm3                                                     ; +0xee, 0x18005135e\nmovss   dword ptr [rcx+1FCh], xmm0                                     ; +0xf2, 0x180051362\nmovzx   eax, byte ptr [rcx+1A4h]                                       ; +0xfa, 0x18005136a\nmovd    xmm1, eax                                                      ; +0x101, 0x180051371\ncvtdq2ps xmm1, xmm1                                                    ; +0x105, 0x180051375\ndivss   xmm1, xmm3                                                     ; +0x108, 0x180051378\nmovss   dword ptr [rcx+200h], xmm1                                     ; +0x10c, 0x18005137c\nmovzx   eax, byte ptr [rcx+1A0h]                                       ; +0x114, 0x180051384\nmovd    xmm0, eax                                                      ; +0x11b, 0x18005138b\ncvtdq2ps xmm0, xmm0                                                    ; +0x11f, 0x18005138f\ndivss   xmm0, xmm3                                                     ; +0x122, 0x180051392\nmovss   dword ptr [rcx+204h], xmm0                                     ; +0x126, 0x180051396\nmovzx   eax, byte ptr [rcx+1A2h]                                       ; +0x12e, 0x18005139e\nmovd    xmm1, eax                                                      ; +0x135, 0x1800513a5\ncvtdq2ps xmm1, xmm1                                                    ; +0x139, 0x1800513a9\ndivss   xmm1, xmm3                                                     ; +0x13c, 0x1800513ac\nmovss   dword ptr [rcx+208h], xmm1                                     ; +0x140, 0x1800513b0\nmovzx   eax, byte ptr [rcx+1A3h]                                       ; +0x148, 0x1800513b8\nmovd    xmm0, eax                                                      ; +0x14f, 0x1800513bf\ncvtdq2ps xmm0, xmm0                                                    ; +0x153, 0x1800513c3\ndivss   xmm0, xmm3                                                     ; +0x156, 0x1800513c6\nmovss   dword ptr [rcx+20Ch], xmm0                                     ; +0x15a, 0x1800513ca\nmovzx   eax, byte ptr [rcx+1A4h]                                       ; +0x162, 0x1800513d2\nmovd    xmm1, eax                                                      ; +0x169, 0x1800513d9\ncvtdq2ps xmm1, xmm1                                                    ; +0x16d, 0x1800513dd\ndivss   xmm1, xmm3                                                     ; +0x170, 0x1800513e0\nmovss   dword ptr [rcx+210h], xmm1                                     ; +0x174, 0x1800513e4\nmovzx   eax, byte ptr [rcx+1A0h]                                       ; +0x17c, 0x1800513ec\nmovd    xmm0, eax                                                      ; +0x183, 0x1800513f3\ncvtdq2ps xmm0, xmm0                                                    ; +0x187, 0x1800513f7\ndivss   xmm0, xmm3                                                     ; +0x18a, 0x1800513fa\nmovss   dword ptr [rcx+214h], xmm0                                     ; +0x18e, 0x1800513fe\nretn                                                                   ; +0x196, 0x180051406", "xrefs": ["<???> @ 0x1800edcf0", "<???> @ 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"}