{"type": "func", "start": 6442673648, "end": 6442673923, "name": "cocos2d::CCSkewTo::startWithTarget", "pseudocode": "// \n// cocos2d::CCSkewTo::startWithTarget from 0x1800365f0 to 0x180036703 (275 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCSkewBy::startWithTarget @ 0x1800365b9\n// > <???> @ 0x1800e9790\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b090c\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::CCSkewTo::startWithTarget(cocos2d::CCSkewTo *this, struct cocos2d::CCNode *a2)\n{\n  float v4; // xmm0_4\n  float v5; // xmm1_4\n  float v6; // xmm0_4\n  float v7; // xmm0_4\n  float v8; // xmm0_4\n  float v9; // xmm1_4\n  float v10; // xmm0_4\n  float v11; // xmm0_4\n\n  cocos2d::CCAction::startWithTarget(this, a2);\n  this->m_elapsed = 0.0;\n  this->m_bFirstTick = 1;\n  v4 = ((float (__fastcall *)(struct cocos2d::CCNode *))a2->getSkewX)(a2);\n  if ( v4 <= 0.0 )\n    v5 = -180.0;\n  else\n    v5 = 180.0;\n  v6 = fmodf(v4, v5);\n  *((float *)this + 26) = v6;\n  v7 = *((float *)this + 28) - v6;\n  *((float *)this + 30) = v7;\n  if ( v7 > 180.0 )\n  {\n    v7 = v7 - 360.0;\n    *((float *)this + 30) = v7;\n  }\n  if ( v7 < -180.0 )\n    *((float *)this + 30) = v7 + 360.0;\n  v8 = ((float (__fastcall *)(struct cocos2d::CCNode *))a2->getSkewY)(a2);\n  if ( v8 <= 0.0 )\n    v9 = -360.0;\n  else\n    v9 = 360.0;\n  v10 = fmodf(v8, v9);\n  *((float *)this + 27) = v10;\n  v11 = *((float *)this + 29) - v10;\n  *((float *)this + 31) = v11;\n  if ( v11 > 180.0 )\n  {\n    v11 = v11 - 360.0;\n    *((float *)this + 31) = v11;\n  }\n  if ( v11 < -180.0 )\n    *((float *)this + 31) = v11 + 360.0;\n}", "assembly": "; \n; cocos2d::CCSkewTo::startWithTarget from 0x1800365f0 to 0x180036703 (275 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCSkewBy::startWithTarget @ 0x1800365b9\n; > <???> @ 0x1800e9790\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b090c\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, 0x1800365f0\npush    rdi                                                            ; +0x5, 0x1800365f5\nsub     rsp, 50h                                                       ; +0x6, 0x1800365f6\nmovaps  [rsp+58h+var_18], xmm6                                         ; +0xa, 0x1800365fa\nmov     rdi, rdx                                                       ; +0xf, 0x1800365ff\nmovaps  [rsp+58h+var_28], xmm7                                         ; +0x12, 0x180036602\nmov     rbx, rcx                                                       ; +0x17, 0x180036607\nmovaps  [rsp+58h+var_38], xmm9                                         ; +0x1a, 0x18003660a\ncall    ?startWithTarget@CCAction@cocos2d@@UEAAXPEAVCCNode@2@@Z; cocos2d::CCAction::startWithTarget(cocos2d::CCNode *) ; +0x20, 0x180036610\nmov     dword ptr [rbx+58h], 0                                         ; +0x25, 0x180036615\nmov     rcx, rdi                                                       ; +0x2c, 0x18003661c\nmov     byte ptr [rbx+5Ch], 1                                          ; +0x2f, 0x18003661f\nmov     rax, [rdi]                                                     ; +0x33, 0x180036623\ncall    qword ptr [rax+0F8h]                                           ; +0x36, 0x180036626\nmovss   xmm7, cs:flt_1800EA038                                         ; +0x3c, 0x18003662c\nxorps   xmm9, xmm9                                                     ; +0x44, 0x180036634\ncomiss  xmm0, xmm9                                                     ; +0x48, 0x180036638\njbe     short loc_180036648                                            ; +0x4c, 0x18003663c\nmovss   xmm1, cs:dword_1800EA030                                       ; +0x4e, 0x18003663e\njmp     short loc_18003664B                                            ; +0x56, 0x180036646\nmovaps  xmm1, xmm7; Y                                                  ; +0x58, 0x180036648\ncall    fmodf                                                          ; +0x5b, 0x18003664b\nmovss   xmm6, cs:dword_1800EA034                                       ; +0x60, 0x180036650\nmovaps  xmm1, xmm0                                                     ; +0x68, 0x180036658\nmovss   dword ptr [rbx+68h], xmm0                                      ; +0x6b, 0x18003665b\nmovss   xmm0, dword ptr [rbx+70h]                                      ; +0x70, 0x180036660\nsubss   xmm0, xmm1                                                     ; +0x75, 0x180036665\ncomiss  xmm0, cs:dword_1800EA030                                       ; +0x79, 0x180036669\nmovss   dword ptr [rbx+78h], xmm0                                      ; +0x80, 0x180036670\njbe     short loc_180036680                                            ; +0x85, 0x180036675\nsubss   xmm0, xmm6                                                     ; +0x87, 0x180036677\nmovss   dword ptr [rbx+78h], xmm0                                      ; +0x8b, 0x18003667b\ncomiss  xmm7, xmm0                                                     ; +0x90, 0x180036680\njbe     short loc_18003668E                                            ; +0x93, 0x180036683\naddss   xmm0, xmm6                                                     ; +0x95, 0x180036685\nmovss   dword ptr [rbx+78h], xmm0                                      ; +0x99, 0x180036689\nmov     rax, [rdi]                                                     ; +0x9e, 0x18003668e\nmov     rcx, rdi                                                       ; +0xa1, 0x180036691\ncall    qword ptr [rax+108h]                                           ; +0xa4, 0x180036694\ncomiss  xmm0, xmm9                                                     ; +0xaa, 0x18003669a\njbe     short loc_1800366A5                                            ; +0xae, 0x18003669e\nmovaps  xmm1, xmm6                                                     ; +0xb0, 0x1800366a0\njmp     short loc_1800366AD                                            ; +0xb3, 0x1800366a3\nmovss   xmm1, cs:flt_1800EA03C; Y                                      ; +0xb5, 0x1800366a5\ncall    fmodf                                                          ; +0xbd, 0x1800366ad\nmovss   dword ptr [rbx+6Ch], xmm0                                      ; +0xc2, 0x1800366b2\nmovaps  xmm1, xmm0                                                     ; +0xc7, 0x1800366b7\nmovss   xmm0, dword ptr [rbx+74h]                                      ; +0xca, 0x1800366ba\nsubss   xmm0, xmm1                                                     ; +0xcf, 0x1800366bf\ncomiss  xmm0, cs:dword_1800EA030                                       ; +0xd3, 0x1800366c3\nmovss   dword ptr [rbx+7Ch], xmm0                                      ; +0xda, 0x1800366ca\njbe     short loc_1800366DA                                            ; +0xdf, 0x1800366cf\nsubss   xmm0, xmm6                                                     ; +0xe1, 0x1800366d1\nmovss   dword ptr [rbx+7Ch], xmm0                                      ; +0xe5, 0x1800366d5\ncomiss  xmm7, xmm0                                                     ; +0xea, 0x1800366da\njbe     short loc_1800366E8                                            ; +0xed, 0x1800366dd\naddss   xmm0, xmm6                                                     ; +0xef, 0x1800366df\nmovss   dword ptr [rbx+7Ch], xmm0                                      ; +0xf3, 0x1800366e3\nmov     rbx, [rsp+58h+arg_0]                                           ; +0xf8, 0x1800366e8\nmovaps  xmm6, [rsp+58h+var_18]                                         ; +0xfd, 0x1800366ed\nmovaps  xmm7, [rsp+58h+var_28]                                         ; +0x102, 0x1800366f2\nmovaps  xmm9, [rsp+58h+var_38]                                         ; +0x107, 0x1800366f7\nadd     rsp, 50h                                                       ; +0x10d, 0x1800366fd\npop     rdi                                                            ; +0x111, 0x180036701\nretn                                                                   ; +0x112, 0x180036702", "xrefs": ["cocos2d::CCSkewBy::startWithTarget @ 0x1800365b9", "<???> @ 0x1800e9790", "<???> @ 0x1801438a8", "<???> @ 0x1801b090c"], "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"}