{"type": "func", "start": 6442679552, "end": 6442679748, "name": "cocos2d::CCTintBy::update", "pseudocode": "// \n// cocos2d::CCTintBy::update from 0x180037d00 to 0x180037dc4 (196 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800efde8\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bac48\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::CCTintBy::update(cocos2d::CCTintBy *this, float a2)\n{\n  void (__fastcall ***v3)(_QWORD, char *); // rax\n  float v4; // xmm0_4\n  char v5; // [rsp+50h] [rbp+8h] BYREF\n  char v6; // [rsp+51h] [rbp+9h]\n  char v7; // [rsp+52h] [rbp+Ah]\n\n  v3 = (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 ( v3 )\n  {\n    v4 = (float)*((__int16 *)this + 52);\n    v5 = (int)(float)((float)((float)*((__int16 *)this + 48) * a2) + (float)*((__int16 *)this + 51));\n    v6 = (int)(float)((float)((float)*((__int16 *)this + 49) * a2) + v4);\n    v7 = (int)(float)((float)((float)*((__int16 *)this + 50) * a2) + (float)*((__int16 *)this + 53));\n    (**v3)(v3, &v5);\n  }\n}", "assembly": "; \n; cocos2d::CCTintBy::update from 0x180037d00 to 0x180037dc4 (196 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800efde8\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bac48\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, 0x180037d00\nsub     rsp, 40h                                                       ; +0x2, 0x180037d02\nmov     rbx, rcx                                                       ; +0x6, 0x180037d06\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0x9, 0x180037d09\nmov     rcx, [rcx+40h]                                                 ; +0xe, 0x180037d0e\nlea     r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x12, 0x180037d12\nlea     r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x19, 0x180037d19\nmov     [rsp+48h+var_28], 0                                            ; +0x20, 0x180037d20\nxor     edx, edx                                                       ; +0x28, 0x180037d28\nmovaps  xmm6, xmm1                                                     ; +0x2a, 0x180037d2a\ncall    __RTDynamicCast                                                ; +0x2d, 0x180037d2d\nmov     r8, rax                                                        ; +0x32, 0x180037d32\ntest    rax, rax                                                       ; +0x35, 0x180037d35\njz      short loc_180037DB9                                            ; +0x38, 0x180037d38\nmovsx   ecx, word ptr [rbx+66h]                                        ; +0x3a, 0x180037d3a\nmovsx   edx, word ptr [rbx+60h]                                        ; +0x3e, 0x180037d3e\nmovsx   eax, word ptr [rbx+68h]                                        ; +0x42, 0x180037d42\nmovd    xmm0, ecx                                                      ; +0x46, 0x180037d46\ncvtdq2ps xmm0, xmm0                                                    ; +0x4a, 0x180037d4a\nmovd    xmm2, edx                                                      ; +0x4d, 0x180037d4d\nlea     rdx, [rsp+48h+arg_0]                                           ; +0x51, 0x180037d51\ncvtdq2ps xmm2, xmm2                                                    ; +0x56, 0x180037d56\nmulss   xmm2, xmm6                                                     ; +0x59, 0x180037d59\naddss   xmm2, xmm0                                                     ; +0x5d, 0x180037d5d\nmovd    xmm0, eax                                                      ; +0x61, 0x180037d61\ncvtdq2ps xmm0, xmm0                                                    ; +0x65, 0x180037d65\ncvttss2si ecx, xmm2                                                    ; +0x68, 0x180037d68\nmov     [rsp+48h+arg_0], cl                                            ; +0x6c, 0x180037d6c\nmovsx   ecx, word ptr [rbx+62h]                                        ; +0x70, 0x180037d70\nmovd    xmm1, ecx                                                      ; +0x74, 0x180037d74\nmov     rcx, r8                                                        ; +0x78, 0x180037d78\ncvtdq2ps xmm1, xmm1                                                    ; +0x7b, 0x180037d7b\nmulss   xmm1, xmm6                                                     ; +0x7e, 0x180037d7e\naddss   xmm1, xmm0                                                     ; +0x82, 0x180037d82\ncvttss2si eax, xmm1                                                    ; +0x86, 0x180037d86\nmov     [rsp+48h+arg_1], al                                            ; +0x8a, 0x180037d8a\nmovsx   eax, word ptr [rbx+64h]                                        ; +0x8e, 0x180037d8e\nmovd    xmm1, eax                                                      ; +0x92, 0x180037d92\nmovsx   eax, word ptr [rbx+6Ah]                                        ; +0x96, 0x180037d96\ncvtdq2ps xmm1, xmm1                                                    ; +0x9a, 0x180037d9a\nmovd    xmm0, eax                                                      ; +0x9d, 0x180037d9d\ncvtdq2ps xmm0, xmm0                                                    ; +0xa1, 0x180037da1\nmulss   xmm1, xmm6                                                     ; +0xa4, 0x180037da4\naddss   xmm1, xmm0                                                     ; +0xa8, 0x180037da8\ncvttss2si eax, xmm1                                                    ; +0xac, 0x180037dac\nmov     [rsp+48h+arg_2], al                                            ; +0xb0, 0x180037db0\nmov     rax, [r8]                                                      ; +0xb4, 0x180037db4\ncall    qword ptr [rax]                                                ; +0xb7, 0x180037db7\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0xb9, 0x180037db9\nadd     rsp, 40h                                                       ; +0xbe, 0x180037dbe\npop     rbx                                                            ; +0xc2, 0x180037dc2\nretn                                                                   ; +0xc3, 0x180037dc3", "xrefs": ["<???> @ 0x1800efde8", "<???> @ 0x18014cf68", "<???> @ 0x1801bac48"], "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"}