{"type": "func", "start": 6442672288, "end": 6442672374, "name": "cocos2d::CCFadeTo::startWithTarget", "pseudocode": "// \n// cocos2d::CCFadeTo::startWithTarget from 0x1800360a0 to 0x1800360f6 (86 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800e9cc8\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b0870\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::CCFadeTo::startWithTarget(cocos2d::CCFadeTo *this, struct cocos2d::CCNode *a2)\n{\n  __int64 v4; // rax\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    *((_BYTE *)this + 97) = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 32LL))(v4);\n}", "assembly": "; \n; cocos2d::CCFadeTo::startWithTarget from 0x1800360a0 to 0x1800360f6 (86 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800e9cc8\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b0870\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_0], rbx                                               ; +0x0, 0x1800360a0\npush    rdi                                                            ; +0x5, 0x1800360a5\nsub     rsp, 30h                                                       ; +0x6, 0x1800360a6\nmov     rbx, rdx                                                       ; +0xa, 0x1800360aa\nmov     rdi, rcx                                                       ; +0xd, 0x1800360ad\ncall    ?startWithTarget@CCAction@cocos2d@@UEAAXPEAVCCNode@2@@Z; cocos2d::CCAction::startWithTarget(cocos2d::CCNode *) ; +0x10, 0x1800360b0\nxor     eax, eax                                                       ; +0x15, 0x1800360b5\nmov     byte ptr [rdi+5Ch], 1                                          ; +0x17, 0x1800360b7\nlea     r9, ??_R0?AVCCRGBAProtocol@cocos2d@@@8; cocos2d::CCRGBAProtocol `RTTI Type Descriptor' ; +0x1b, 0x1800360bb\nmov     [rdi+58h], eax                                                 ; +0x22, 0x1800360c2\nlea     r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x25, 0x1800360c5\nmov     [rsp+38h+var_18], eax                                          ; +0x2c, 0x1800360cc\nxor     edx, edx                                                       ; +0x30, 0x1800360d0\nmov     rcx, rbx                                                       ; +0x32, 0x1800360d2\ncall    __RTDynamicCast                                                ; +0x35, 0x1800360d5\ntest    rax, rax                                                       ; +0x3a, 0x1800360da\njz      short loc_1800360EB                                            ; +0x3d, 0x1800360dd\nmov     rdx, [rax]                                                     ; +0x3f, 0x1800360df\nmov     rcx, rax                                                       ; +0x42, 0x1800360e2\ncall    qword ptr [rdx+20h]                                            ; +0x45, 0x1800360e5\nmov     [rdi+61h], al                                                  ; +0x48, 0x1800360e8\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x4b, 0x1800360eb\nadd     rsp, 30h                                                       ; +0x50, 0x1800360f0\npop     rdi                                                            ; +0x54, 0x1800360f4\nretn                                                                   ; +0x55, 0x1800360f5", "xrefs": ["<???> @ 0x1800e9cc8", "<???> @ 0x1801438a8", "<???> @ 0x1801b0870"], "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"}