{"type": "func", "start": 6442673408, "end": 6442673514, "name": "cocos2d::CCScaleTo::startWithTarget", "pseudocode": "// \n// cocos2d::CCScaleTo::startWithTarget from 0x180036500 to 0x18003656a (106 bytes)\n// \n// 5 xrefs:\n// > cocos2d::CCScaleBy::startWithTarget @ 0x1800364c9\n// > <???> @ 0x1800e9a70\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b08dc\n// > <???> @ 0x1801b08e8\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::CCScaleTo::startWithTarget(cocos2d::CCScaleTo *this, struct cocos2d::CCNode *a2)\n{\n  float v4; // xmm0_4\n  float v5; // xmm1_4\n  float v6; // xmm2_4\n\n  cocos2d::CCAction::startWithTarget(this, a2);\n  this->m_elapsed = 0.0;\n  this->m_bFirstTick = 1;\n  this->m_fStartScaleX = ((float (__fastcall *)(struct cocos2d::CCNode *))a2->getScaleX)(a2);\n  v4 = ((float (__fastcall *)(struct cocos2d::CCNode *))a2->getScaleY)(a2);\n  v5 = this->m_fEndScaleX - this->m_fStartScaleX;\n  v6 = this->m_fEndScaleY - v4;\n  this->m_fStartScaleY = v4;\n  this->m_fDeltaX = v5;\n  this->m_fDeltaY = v6;\n}", "assembly": "; \n; cocos2d::CCScaleTo::startWithTarget from 0x180036500 to 0x18003656a (106 bytes)\n; \n; 5 xrefs:\n; > cocos2d::CCScaleBy::startWithTarget @ 0x1800364c9\n; > <???> @ 0x1800e9a70\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b08dc\n; > <???> @ 0x1801b08e8\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, 0x180036500\npush    rdi                                                            ; +0x5, 0x180036505\nsub     rsp, 20h                                                       ; +0x6, 0x180036506\nmov     rbx, rdx                                                       ; +0xa, 0x18003650a\nmov     rdi, rcx                                                       ; +0xd, 0x18003650d\ncall    ?startWithTarget@CCAction@cocos2d@@UEAAXPEAVCCNode@2@@Z; cocos2d::CCAction::startWithTarget(cocos2d::CCNode *) ; +0x10, 0x180036510\nmov     dword ptr [rdi+58h], 0                                         ; +0x15, 0x180036515\nmov     rcx, rbx                                                       ; +0x1c, 0x18003651c\nmov     byte ptr [rdi+5Ch], 1                                          ; +0x1f, 0x18003651f\nmov     rax, [rbx]                                                     ; +0x23, 0x180036523\ncall    qword ptr [rax+80h]                                            ; +0x26, 0x180036526\nmovss   dword ptr [rdi+68h], xmm0                                      ; +0x2c, 0x18003652c\nmov     rcx, rbx                                                       ; +0x31, 0x180036531\nmov     rax, [rbx]                                                     ; +0x34, 0x180036534\ncall    qword ptr [rax+90h]                                            ; +0x37, 0x180036537\nmovss   xmm1, dword ptr [rdi+70h]                                      ; +0x3d, 0x18003653d\nmovss   xmm2, dword ptr [rdi+74h]                                      ; +0x42, 0x180036542\nsubss   xmm1, dword ptr [rdi+68h]                                      ; +0x47, 0x180036547\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4c, 0x18003654c\nsubss   xmm2, xmm0                                                     ; +0x51, 0x180036551\nmovss   dword ptr [rdi+6Ch], xmm0                                      ; +0x55, 0x180036555\nmovss   dword ptr [rdi+78h], xmm1                                      ; +0x5a, 0x18003655a\nmovss   dword ptr [rdi+7Ch], xmm2                                      ; +0x5f, 0x18003655f\nadd     rsp, 20h                                                       ; +0x64, 0x180036564\npop     rdi                                                            ; +0x68, 0x180036568\nretn                                                                   ; +0x69, 0x180036569", "xrefs": ["cocos2d::CCScaleBy::startWithTarget @ 0x1800364c9", "<???> @ 0x1800e9a70", "<???> @ 0x1801438a8", "<???> @ 0x1801b08dc", "<???> @ 0x1801b08e8"], "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"}