{"type": "func", "start": 6442679760, "end": 6442679972, "name": "cocos2d::CCTintTo::update", "pseudocode": "// \n// cocos2d::CCTintTo::update from 0x180037dd0 to 0x180037ea4 (212 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800efd70\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bac54\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:35 +0000\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                                                *((_QWORD *)this + 8),\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 0x180037dd0 to 0x180037ea4 (212 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800efd70\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bac54\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:35 +0000\n; \npush    rbx                                                            ; +0x0, 0x180037dd0\nsub     rsp, 40h                                                       ; +0x2, 0x180037dd2\nmov     rbx, rcx                                                       ; +0x6, 0x180037dd6\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0x9, 0x180037dd9\nmov     rcx, [rcx+40h]                                                 ; +0xe, 0x180037dde\nlea     r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x12, 0x180037de2\nlea     r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x19, 0x180037de9\nmov     [rsp+48h+var_28], 0                                            ; +0x20, 0x180037df0\nxor     edx, edx                                                       ; +0x28, 0x180037df8\nmovaps  xmm6, xmm1                                                     ; +0x2a, 0x180037dfa\ncall    __RTDynamicCast                                                ; +0x2d, 0x180037dfd\nmov     r10, rax                                                       ; +0x32, 0x180037e02\ntest    rax, rax                                                       ; +0x35, 0x180037e05\njz      loc_180037E99                                                  ; +0x38, 0x180037e08\nmovzx   edx, byte ptr [rbx+63h]                                        ; +0x3e, 0x180037e0e\nmovzx   ecx, byte ptr [rbx+60h]                                        ; +0x42, 0x180037e12\nmovzx   r8d, byte ptr [rbx+64h]                                        ; +0x46, 0x180037e16\nsub     ecx, edx                                                       ; +0x4b, 0x180037e1b\nmovzx   eax, byte ptr [rbx+61h]                                        ; +0x4d, 0x180037e1d\nmovzx   r9d, byte ptr [rbx+65h]                                        ; +0x51, 0x180037e21\nsub     eax, r8d                                                       ; +0x56, 0x180037e26\nmovd    xmm0, edx                                                      ; +0x59, 0x180037e29\nlea     rdx, [rsp+48h+arg_0]                                           ; +0x5d, 0x180037e2d\ncvtdq2ps xmm0, xmm0                                                    ; +0x62, 0x180037e32\nmovd    xmm1, ecx                                                      ; +0x65, 0x180037e35\ncvtdq2ps xmm1, xmm1                                                    ; +0x69, 0x180037e39\nmulss   xmm1, xmm6                                                     ; +0x6c, 0x180037e3c\naddss   xmm1, xmm0                                                     ; +0x70, 0x180037e40\nmovd    xmm0, r8d                                                      ; +0x74, 0x180037e44\ncvtdq2ps xmm0, xmm0                                                    ; +0x79, 0x180037e49\ncvttss2si ecx, xmm1                                                    ; +0x7c, 0x180037e4c\nmovd    xmm1, eax                                                      ; +0x80, 0x180037e50\ncvtdq2ps xmm1, xmm1                                                    ; +0x84, 0x180037e54\nmov     [rsp+48h+arg_0], cl                                            ; +0x87, 0x180037e57\nmov     rcx, r10                                                       ; +0x8b, 0x180037e5b\nmulss   xmm1, xmm6                                                     ; +0x8e, 0x180037e5e\naddss   xmm1, xmm0                                                     ; +0x92, 0x180037e62\nmovd    xmm0, r9d                                                      ; +0x96, 0x180037e66\ncvtdq2ps xmm0, xmm0                                                    ; +0x9b, 0x180037e6b\ncvttss2si eax, xmm1                                                    ; +0x9e, 0x180037e6e\nmov     [rsp+48h+arg_1], al                                            ; +0xa2, 0x180037e72\nmovzx   eax, byte ptr [rbx+62h]                                        ; +0xa6, 0x180037e76\nsub     eax, r9d                                                       ; +0xaa, 0x180037e7a\nmovd    xmm1, eax                                                      ; +0xad, 0x180037e7d\ncvtdq2ps xmm1, xmm1                                                    ; +0xb1, 0x180037e81\nmulss   xmm1, xmm6                                                     ; +0xb4, 0x180037e84\naddss   xmm1, xmm0                                                     ; +0xb8, 0x180037e88\ncvttss2si eax, xmm1                                                    ; +0xbc, 0x180037e8c\nmov     [rsp+48h+arg_2], al                                            ; +0xc0, 0x180037e90\nmov     rax, [r10]                                                     ; +0xc4, 0x180037e94\ncall    qword ptr [rax]                                                ; +0xc7, 0x180037e97\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0xc9, 0x180037e99\nadd     rsp, 40h                                                       ; +0xce, 0x180037e9e\npop     rbx                                                            ; +0xd2, 0x180037ea2\nretn                                                                   ; +0xd3, 0x180037ea3", "xrefs": ["<???> @ 0x1800efd70", "<???> @ 0x18014cf68", "<???> @ 0x1801bac54"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}