{"type": "func", "start": 6442674192, "end": 6442674278, "name": "cocos2d::CCTintTo::startWithTarget", "pseudocode": "// \n// cocos2d::CCTintTo::startWithTarget from 0x180036810 to 0x180036866 (86 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800e9d40\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b093c\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::startWithTarget(cocos2d::CCTintTo *this, struct cocos2d::CCNode *a2)\n{\n  cocos2d::CCNode *m_pTarget; // rcx\n  __int64 v4; // rax\n  __int64 v5; // rax\n\n  cocos2d::CCAction::startWithTarget(this, a2);\n  m_pTarget = this->m_pTarget;\n  this->m_bFirstTick = 1;\n  this->m_elapsed = 0.0;\n  v4 = _RTDynamicCast(\n         m_pTarget,\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    *(_WORD *)((char *)this + 99) = *(_WORD *)v5;\n    *((_BYTE *)this + 101) = *(_BYTE *)(v5 + 2);\n  }\n}", "assembly": "; \n; cocos2d::CCTintTo::startWithTarget from 0x180036810 to 0x180036866 (86 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800e9d40\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b093c\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, 0x180036810\nsub     rsp, 30h                                                       ; +0x2, 0x180036812\nmov     rbx, rcx                                                       ; +0x6, 0x180036816\ncall    ?startWithTarget@CCAction@cocos2d@@UEAAXPEAVCCNode@2@@Z; cocos2d::CCAction::startWithTarget(cocos2d::CCNode *) ; +0x9, 0x180036819\nmov     rcx, [rbx+40h]                                                 ; +0xe, 0x18003681e\nlea     r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x12, 0x180036822\nxor     eax, eax                                                       ; +0x19, 0x180036829\nmov     byte ptr [rbx+5Ch], 1                                          ; +0x1b, 0x18003682b\nlea     r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x1f, 0x18003682f\nmov     [rbx+58h], eax                                                 ; +0x26, 0x180036836\nxor     edx, edx                                                       ; +0x29, 0x180036839\nmov     [rsp+38h+var_18], eax                                          ; +0x2b, 0x18003683b\ncall    __RTDynamicCast                                                ; +0x2f, 0x18003683f\ntest    rax, rax                                                       ; +0x34, 0x180036844\njz      short loc_180036860                                            ; +0x37, 0x180036847\nmov     rdx, [rax]                                                     ; +0x39, 0x180036849\nmov     rcx, rax                                                       ; +0x3c, 0x18003684c\ncall    qword ptr [rdx+8]                                              ; +0x3f, 0x18003684f\nmovzx   ecx, word ptr [rax]                                            ; +0x42, 0x180036852\nmov     [rbx+63h], cx                                                  ; +0x45, 0x180036855\nmovzx   eax, byte ptr [rax+2]                                          ; +0x49, 0x180036859\nmov     [rbx+65h], al                                                  ; +0x4d, 0x18003685d\nadd     rsp, 30h                                                       ; +0x50, 0x180036860\npop     rbx                                                            ; +0x54, 0x180036864\nretn                                                                   ; +0x55, 0x180036865", "xrefs": ["<???> @ 0x1800e9d40", "<???> @ 0x1801438a8", "<???> @ 0x1801b093c"], "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"}