{"type": "func", "start": 6442674064, "end": 6442674179, "name": "cocos2d::CCTintBy::startWithTarget", "pseudocode": "// \n// cocos2d::CCTintBy::startWithTarget from 0x180036790 to 0x180036803 (115 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800e9db8\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b0930\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::startWithTarget(cocos2d::CCTintBy *this, struct cocos2d::CCNode *a2)\n{\n  __int64 v4; // rax\n  __int64 v5; // rax\n  __int16 v6; // cx\n  __int16 v7; // dx\n\n  cocos2d::CCAction::startWithTarget(this, a2);\n  this->m_bFirstTick = 1;\n  this->m_elapsed = 0.0;\n  v4 = _RTDynamicCast(\n         a2,\n         0,\n         &cocos2d::CCNode `RTTI Type Descriptor',\n         &cocos2d::CCRGBAProtocol `RTTI Type Descriptor',\n         0);\n  if ( v4 )\n  {\n    v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 8LL))(v4);\n    v6 = *(_WORD *)v5;\n    v7 = *(unsigned __int8 *)(v5 + 2);\n    *((_WORD *)this + 51) = (unsigned __int8)*(_WORD *)v5;\n    *((_WORD *)this + 52) = HIBYTE(v6);\n    *((_WORD *)this + 53) = v7;\n  }\n}", "assembly": "; \n; cocos2d::CCTintBy::startWithTarget from 0x180036790 to 0x180036803 (115 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800e9db8\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b0930\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\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x180036790\npush    rdi                                                            ; +0x5, 0x180036795\nsub     rsp, 30h                                                       ; +0x6, 0x180036796\nmov     rbx, rdx                                                       ; +0xa, 0x18003679a\nmov     rdi, rcx                                                       ; +0xd, 0x18003679d\ncall    ?startWithTarget@CCAction@cocos2d@@UEAAXPEAVCCNode@2@@Z; cocos2d::CCAction::startWithTarget(cocos2d::CCNode *) ; +0x10, 0x1800367a0\nxor     eax, eax                                                       ; +0x15, 0x1800367a5\nmov     byte ptr [rdi+5Ch], 1                                          ; +0x17, 0x1800367a7\nlea     r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x1b, 0x1800367ab\nmov     [rdi+58h], eax                                                 ; +0x22, 0x1800367b2\nlea     r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x25, 0x1800367b5\nmov     [rsp+38h+var_18], eax                                          ; +0x2c, 0x1800367bc\nxor     edx, edx                                                       ; +0x30, 0x1800367c0\nmov     rcx, rbx                                                       ; +0x32, 0x1800367c2\ncall    __RTDynamicCast                                                ; +0x35, 0x1800367c5\ntest    rax, rax                                                       ; +0x3a, 0x1800367ca\njz      short loc_1800367F8                                            ; +0x3d, 0x1800367cd\nmov     rdx, [rax]                                                     ; +0x3f, 0x1800367cf\nmov     rcx, rax                                                       ; +0x42, 0x1800367d2\ncall    qword ptr [rdx+8]                                              ; +0x45, 0x1800367d5\nmovzx   ecx, word ptr [rax]                                            ; +0x48, 0x1800367d8\nmovzx   edx, byte ptr [rax+2]                                          ; +0x4b, 0x1800367db\nmovzx   eax, cl                                                        ; +0x4f, 0x1800367df\nmov     [rdi+66h], ax                                                  ; +0x52, 0x1800367e2\nmov     [rsp+38h+arg_0], cx                                            ; +0x56, 0x1800367e6\nmovzx   eax, byte ptr [rsp+38h+arg_0+1]                                ; +0x5b, 0x1800367eb\nmov     [rdi+68h], ax                                                  ; +0x60, 0x1800367f0\nmov     [rdi+6Ah], dx                                                  ; +0x64, 0x1800367f4\nmov     rbx, [rsp+38h+arg_8]                                           ; +0x68, 0x1800367f8\nadd     rsp, 30h                                                       ; +0x6d, 0x1800367fd\npop     rdi                                                            ; +0x71, 0x180036801\nretn                                                                   ; +0x72, 0x180036802", "xrefs": ["<???> @ 0x1800e9db8", "<???> @ 0x1801438a8", "<???> @ 0x1801b0930"], "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"}