{"type": "func", "start": 6442677744, "end": 6442677940, "name": "cocos2d::CCTintBy::update", "pseudocode": "// \n// cocos2d::CCTintBy::update from 0x1800375f0 to 0x1800376b4 (196 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800e9d88\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b0b1c\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::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                                                this->m_pTarget,\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 0x1800375f0 to 0x1800376b4 (196 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800e9d88\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b0b1c\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, 0x1800375f0\nsub     rsp, 40h                                                       ; +0x2, 0x1800375f2\nmov     rbx, rcx                                                       ; +0x6, 0x1800375f6\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0x9, 0x1800375f9\nmov     rcx, [rcx+40h]                                                 ; +0xe, 0x1800375fe\nlea     r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x12, 0x180037602\nlea     r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x19, 0x180037609\nmov     [rsp+48h+var_28], 0                                            ; +0x20, 0x180037610\nxor     edx, edx                                                       ; +0x28, 0x180037618\nmovaps  xmm6, xmm1                                                     ; +0x2a, 0x18003761a\ncall    __RTDynamicCast                                                ; +0x2d, 0x18003761d\nmov     r8, rax                                                        ; +0x32, 0x180037622\ntest    rax, rax                                                       ; +0x35, 0x180037625\njz      short loc_1800376A9                                            ; +0x38, 0x180037628\nmovsx   ecx, word ptr [rbx+66h]                                        ; +0x3a, 0x18003762a\nmovsx   edx, word ptr [rbx+60h]                                        ; +0x3e, 0x18003762e\nmovsx   eax, word ptr [rbx+68h]                                        ; +0x42, 0x180037632\nmovd    xmm0, ecx                                                      ; +0x46, 0x180037636\ncvtdq2ps xmm0, xmm0                                                    ; +0x4a, 0x18003763a\nmovd    xmm2, edx                                                      ; +0x4d, 0x18003763d\nlea     rdx, [rsp+48h+arg_0]                                           ; +0x51, 0x180037641\ncvtdq2ps xmm2, xmm2                                                    ; +0x56, 0x180037646\nmulss   xmm2, xmm6                                                     ; +0x59, 0x180037649\naddss   xmm2, xmm0                                                     ; +0x5d, 0x18003764d\nmovd    xmm0, eax                                                      ; +0x61, 0x180037651\ncvtdq2ps xmm0, xmm0                                                    ; +0x65, 0x180037655\ncvttss2si ecx, xmm2                                                    ; +0x68, 0x180037658\nmov     [rsp+48h+arg_0], cl                                            ; +0x6c, 0x18003765c\nmovsx   ecx, word ptr [rbx+62h]                                        ; +0x70, 0x180037660\nmovd    xmm1, ecx                                                      ; +0x74, 0x180037664\nmov     rcx, r8                                                        ; +0x78, 0x180037668\ncvtdq2ps xmm1, xmm1                                                    ; +0x7b, 0x18003766b\nmulss   xmm1, xmm6                                                     ; +0x7e, 0x18003766e\naddss   xmm1, xmm0                                                     ; +0x82, 0x180037672\ncvttss2si eax, xmm1                                                    ; +0x86, 0x180037676\nmov     [rsp+48h+arg_1], al                                            ; +0x8a, 0x18003767a\nmovsx   eax, word ptr [rbx+64h]                                        ; +0x8e, 0x18003767e\nmovd    xmm1, eax                                                      ; +0x92, 0x180037682\nmovsx   eax, word ptr [rbx+6Ah]                                        ; +0x96, 0x180037686\ncvtdq2ps xmm1, xmm1                                                    ; +0x9a, 0x18003768a\nmovd    xmm0, eax                                                      ; +0x9d, 0x18003768d\ncvtdq2ps xmm0, xmm0                                                    ; +0xa1, 0x180037691\nmulss   xmm1, xmm6                                                     ; +0xa4, 0x180037694\naddss   xmm1, xmm0                                                     ; +0xa8, 0x180037698\ncvttss2si eax, xmm1                                                    ; +0xac, 0x18003769c\nmov     [rsp+48h+arg_2], al                                            ; +0xb0, 0x1800376a0\nmov     rax, [r8]                                                      ; +0xb4, 0x1800376a4\ncall    qword ptr [rax]                                                ; +0xb7, 0x1800376a7\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0xb9, 0x1800376a9\nadd     rsp, 40h                                                       ; +0xbe, 0x1800376ae\npop     rbx                                                            ; +0xc2, 0x1800376b2\nretn                                                                   ; +0xc3, 0x1800376b3", "xrefs": ["<???> @ 0x1800e9d88", "<???> @ 0x1801438a8", "<???> @ 0x1801b0b1c"], "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"}