{"type": "func", "start": 6442677952, "end": 6442678164, "name": "cocos2d::CCTintTo::update", "pseudocode": "// \n// cocos2d::CCTintTo::update from 0x1800376c0 to 0x180037794 (212 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800e9d10\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b0b28\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::CCTintTo::update(cocos2d::CCTintTo *this, float a2)\n{\n  void (__fastcall ***v4)(_QWORD, char *); // rax\n  int v5; // r9d\n  float v6; // xmm0_4\n  float v7; // xmm1_4\n  char v8; // [rsp+50h] [rbp+8h] BYREF\n  char v9; // [rsp+51h] [rbp+9h]\n  char v10; // [rsp+52h] [rbp+Ah]\n\n  v4 = (void (__fastcall ***)(_QWORD, char *))_RTDynamicCast(\n                                                this->m_pTarget,\n                                                0,\n                                                &cocos2d::CCNode `RTTI Type Descriptor',\n                                                &cocos2d::CCRGBAProtocol `RTTI Type Descriptor',\n                                                0);\n  if ( v4 )\n  {\n    v5 = *((unsigned __int8 *)this + 101);\n    v6 = (float)*((unsigned __int8 *)this + 100);\n    v7 = (float)(*((unsigned __int8 *)this + 97) - *((unsigned __int8 *)this + 100));\n    v8 = (int)(float)((float)((float)(*((unsigned __int8 *)this + 96) - *((unsigned __int8 *)this + 99)) * a2)\n                    + (float)*((unsigned __int8 *)this + 99));\n    v9 = (int)(float)((float)(v7 * a2) + v6);\n    v10 = (int)(float)((float)((float)(*((unsigned __int8 *)this + 98) - v5) * a2) + (float)v5);\n    (**v4)(v4, &v8);\n  }\n}", "assembly": "; \n; cocos2d::CCTintTo::update from 0x1800376c0 to 0x180037794 (212 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800e9d10\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b0b28\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, 0x1800376c0\nsub     rsp, 40h                                                       ; +0x2, 0x1800376c2\nmov     rbx, rcx                                                       ; +0x6, 0x1800376c6\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0x9, 0x1800376c9\nmov     rcx, [rcx+40h]                                                 ; +0xe, 0x1800376ce\nlea     r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x12, 0x1800376d2\nlea     r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x19, 0x1800376d9\nmov     [rsp+48h+var_28], 0                                            ; +0x20, 0x1800376e0\nxor     edx, edx                                                       ; +0x28, 0x1800376e8\nmovaps  xmm6, xmm1                                                     ; +0x2a, 0x1800376ea\ncall    __RTDynamicCast                                                ; +0x2d, 0x1800376ed\nmov     r10, rax                                                       ; +0x32, 0x1800376f2\ntest    rax, rax                                                       ; +0x35, 0x1800376f5\njz      loc_180037789                                                  ; +0x38, 0x1800376f8\nmovzx   edx, byte ptr [rbx+63h]                                        ; +0x3e, 0x1800376fe\nmovzx   ecx, byte ptr [rbx+60h]                                        ; +0x42, 0x180037702\nmovzx   r8d, byte ptr [rbx+64h]                                        ; +0x46, 0x180037706\nsub     ecx, edx                                                       ; +0x4b, 0x18003770b\nmovzx   eax, byte ptr [rbx+61h]                                        ; +0x4d, 0x18003770d\nmovzx   r9d, byte ptr [rbx+65h]                                        ; +0x51, 0x180037711\nsub     eax, r8d                                                       ; +0x56, 0x180037716\nmovd    xmm0, edx                                                      ; +0x59, 0x180037719\nlea     rdx, [rsp+48h+arg_0]                                           ; +0x5d, 0x18003771d\ncvtdq2ps xmm0, xmm0                                                    ; +0x62, 0x180037722\nmovd    xmm1, ecx                                                      ; +0x65, 0x180037725\ncvtdq2ps xmm1, xmm1                                                    ; +0x69, 0x180037729\nmulss   xmm1, xmm6                                                     ; +0x6c, 0x18003772c\naddss   xmm1, xmm0                                                     ; +0x70, 0x180037730\nmovd    xmm0, r8d                                                      ; +0x74, 0x180037734\ncvtdq2ps xmm0, xmm0                                                    ; +0x79, 0x180037739\ncvttss2si ecx, xmm1                                                    ; +0x7c, 0x18003773c\nmovd    xmm1, eax                                                      ; +0x80, 0x180037740\ncvtdq2ps xmm1, xmm1                                                    ; +0x84, 0x180037744\nmov     [rsp+48h+arg_0], cl                                            ; +0x87, 0x180037747\nmov     rcx, r10                                                       ; +0x8b, 0x18003774b\nmulss   xmm1, xmm6                                                     ; +0x8e, 0x18003774e\naddss   xmm1, xmm0                                                     ; +0x92, 0x180037752\nmovd    xmm0, r9d                                                      ; +0x96, 0x180037756\ncvtdq2ps xmm0, xmm0                                                    ; +0x9b, 0x18003775b\ncvttss2si eax, xmm1                                                    ; +0x9e, 0x18003775e\nmov     [rsp+48h+arg_1], al                                            ; +0xa2, 0x180037762\nmovzx   eax, byte ptr [rbx+62h]                                        ; +0xa6, 0x180037766\nsub     eax, r9d                                                       ; +0xaa, 0x18003776a\nmovd    xmm1, eax                                                      ; +0xad, 0x18003776d\ncvtdq2ps xmm1, xmm1                                                    ; +0xb1, 0x180037771\nmulss   xmm1, xmm6                                                     ; +0xb4, 0x180037774\naddss   xmm1, xmm0                                                     ; +0xb8, 0x180037778\ncvttss2si eax, xmm1                                                    ; +0xbc, 0x18003777c\nmov     [rsp+48h+arg_2], al                                            ; +0xc0, 0x180037780\nmov     rax, [r10]                                                     ; +0xc4, 0x180037784\ncall    qword ptr [rax]                                                ; +0xc7, 0x180037787\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0xc9, 0x180037789\nadd     rsp, 40h                                                       ; +0xce, 0x18003778e\npop     rbx                                                            ; +0xd2, 0x180037792\nretn                                                                   ; +0xd3, 0x180037793", "xrefs": ["<???> @ 0x1800e9d10", "<???> @ 0x1801438a8", "<???> @ 0x1801b0b28"], "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"}