{"type": "func", "start": 6442674832, "end": 6442675114, "name": "cocos2d::CCRotateTo::startWithTarget", "pseudocode": "// \n// cocos2d::CCRotateTo::startWithTarget from 0x180036a90 to 0x180036baa (282 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800ef608\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801ba9fc\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:35 +0000\n// \n\nvoid __fastcall cocos2d::CCRotateTo::startWithTarget(cocos2d::CCRotateTo *this, struct cocos2d::CCNode *a2)\n{\n  float v4; // xmm0_4\n  float v5; // xmm8_4\n  float v6; // xmm1_4\n  float v7; // xmm0_4\n  float v8; // xmm1_4\n  float v9; // xmm0_4\n  float v10; // xmm0_4\n  float v11; // xmm1_4\n\n  cocos2d::CCAction::startWithTarget(this, a2);\n  *((_DWORD *)this + 22) = 0;\n  *((_BYTE *)this + 92) = 1;\n  v4 = (*(float (__fastcall **)(struct cocos2d::CCNode *))(*(_QWORD *)a2 + 376LL))(a2);\n  v5 = -360.0;\n  if ( v4 <= 0.0 )\n    v6 = -360.0;\n  else\n    v6 = 360.0;\n  v7 = fmodf(v4, v6);\n  v8 = *((float *)this + 24) - v7;\n  *((float *)this + 25) = v7;\n  *((float *)this + 26) = v8;\n  if ( v8 > 180.0 )\n  {\n    v8 = v8 - 360.0;\n    *((float *)this + 26) = v8;\n  }\n  if ( v8 < -180.0 )\n    *((float *)this + 26) = v8 + 360.0;\n  v9 = (*(float (__fastcall **)(_QWORD))(**((_QWORD **)this + 8) + 392LL))(*((_QWORD *)this + 8));\n  if ( v9 > 0.0 )\n    v5 = 360.0;\n  v10 = fmodf(v9, v5);\n  v11 = *((float *)this + 27) - v10;\n  *((float *)this + 28) = v10;\n  *((float *)this + 29) = v11;\n  if ( v11 > 180.0 )\n  {\n    v11 = v11 - 360.0;\n    *((float *)this + 29) = v11;\n  }\n  if ( v11 < -180.0 )\n    *((float *)this + 29) = v11 + 360.0;\n}", "assembly": "; \n; cocos2d::CCRotateTo::startWithTarget from 0x180036a90 to 0x180036baa (282 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800ef608\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801ba9fc\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:35 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180036a90\npush    rdi                                                            ; +0x5, 0x180036a95\nsub     rsp, 60h                                                       ; +0x6, 0x180036a96\nmovaps  [rsp+68h+var_18], xmm6                                         ; +0xa, 0x180036a9a\nmov     rbx, rdx                                                       ; +0xf, 0x180036a9f\nmovaps  [rsp+68h+var_28], xmm7                                         ; +0x12, 0x180036aa2\nmov     rdi, rcx                                                       ; +0x17, 0x180036aa7\nmovaps  [rsp+68h+var_38], xmm8                                         ; +0x1a, 0x180036aaa\nmovaps  [rsp+68h+var_48], xmm9                                         ; +0x20, 0x180036ab0\ncall    ?startWithTarget@CCAction@cocos2d@@UEAAXPEAVCCNode@2@@Z; cocos2d::CCAction::startWithTarget(cocos2d::CCNode *) ; +0x26, 0x180036ab6\nmov     dword ptr [rdi+58h], 0                                         ; +0x2b, 0x180036abb\nmov     rcx, rbx                                                       ; +0x32, 0x180036ac2\nmov     byte ptr [rdi+5Ch], 1                                          ; +0x35, 0x180036ac5\nmov     rax, [rbx]                                                     ; +0x39, 0x180036ac9\ncall    qword ptr [rax+178h]                                           ; +0x3c, 0x180036acc\nmovss   xmm8, cs:flt_1800F009C                                         ; +0x42, 0x180036ad2\nxorps   xmm9, xmm9                                                     ; +0x4b, 0x180036adb\ncomiss  xmm0, xmm9                                                     ; +0x4f, 0x180036adf\nmovss   xmm6, cs:dword_1800F0094                                       ; +0x53, 0x180036ae3\njbe     short loc_180036AF2                                            ; +0x5b, 0x180036aeb\nmovaps  xmm1, xmm6                                                     ; +0x5d, 0x180036aed\njmp     short loc_180036AF6                                            ; +0x60, 0x180036af0\nmovaps  xmm1, xmm8; Y                                                  ; +0x62, 0x180036af2\ncall    fmodf                                                          ; +0x66, 0x180036af6\nmovss   xmm1, dword ptr [rdi+60h]                                      ; +0x6b, 0x180036afb\nsubss   xmm1, xmm0                                                     ; +0x70, 0x180036b00\nmovss   dword ptr [rdi+64h], xmm0                                      ; +0x74, 0x180036b04\ncomiss  xmm1, cs:dword_1800F0090                                       ; +0x79, 0x180036b09\nmovss   dword ptr [rdi+68h], xmm1                                      ; +0x80, 0x180036b10\njbe     short loc_180036B20                                            ; +0x85, 0x180036b15\nsubss   xmm1, xmm6                                                     ; +0x87, 0x180036b17\nmovss   dword ptr [rdi+68h], xmm1                                      ; +0x8b, 0x180036b1b\nmovss   xmm7, cs:flt_1800F0098                                         ; +0x90, 0x180036b20\ncomiss  xmm7, xmm1                                                     ; +0x98, 0x180036b28\njbe     short loc_180036B36                                            ; +0x9b, 0x180036b2b\naddss   xmm1, xmm6                                                     ; +0x9d, 0x180036b2d\nmovss   dword ptr [rdi+68h], xmm1                                      ; +0xa1, 0x180036b31\nmov     rcx, [rdi+40h]                                                 ; +0xa6, 0x180036b36\nmov     rax, [rcx]                                                     ; +0xaa, 0x180036b3a\ncall    qword ptr [rax+188h]                                           ; +0xad, 0x180036b3d\ncomiss  xmm0, xmm9                                                     ; +0xb3, 0x180036b43\njbe     short loc_180036B4D                                            ; +0xb7, 0x180036b47\nmovaps  xmm8, xmm6                                                     ; +0xb9, 0x180036b49\nmovaps  xmm1, xmm8; Y                                                  ; +0xbd, 0x180036b4d\ncall    fmodf                                                          ; +0xc1, 0x180036b51\nmovss   xmm1, dword ptr [rdi+6Ch]                                      ; +0xc6, 0x180036b56\nsubss   xmm1, xmm0                                                     ; +0xcb, 0x180036b5b\nmovss   dword ptr [rdi+70h], xmm0                                      ; +0xcf, 0x180036b5f\ncomiss  xmm1, cs:dword_1800F0090                                       ; +0xd4, 0x180036b64\nmovss   dword ptr [rdi+74h], xmm1                                      ; +0xdb, 0x180036b6b\njbe     short loc_180036B7B                                            ; +0xe0, 0x180036b70\nsubss   xmm1, xmm6                                                     ; +0xe2, 0x180036b72\nmovss   dword ptr [rdi+74h], xmm1                                      ; +0xe6, 0x180036b76\ncomiss  xmm7, xmm1                                                     ; +0xeb, 0x180036b7b\njbe     short loc_180036B89                                            ; +0xee, 0x180036b7e\naddss   xmm1, xmm6                                                     ; +0xf0, 0x180036b80\nmovss   dword ptr [rdi+74h], xmm1                                      ; +0xf4, 0x180036b84\nmov     rbx, [rsp+68h+arg_0]                                           ; +0xf9, 0x180036b89\nmovaps  xmm6, [rsp+68h+var_18]                                         ; +0xfe, 0x180036b8e\nmovaps  xmm7, [rsp+68h+var_28]                                         ; +0x103, 0x180036b93\nmovaps  xmm8, [rsp+68h+var_38]                                         ; +0x108, 0x180036b98\nmovaps  xmm9, [rsp+68h+var_48]                                         ; +0x10e, 0x180036b9e\nadd     rsp, 60h                                                       ; +0x114, 0x180036ba4\npop     rdi                                                            ; +0x118, 0x180036ba8\nretn                                                                   ; +0x119, 0x180036ba9", "xrefs": ["<???> @ 0x1800ef608", "<???> @ 0x18014cf68", "<???> @ 0x1801ba9fc"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}