{"type": "func", "start": 6442676992, "end": 6442677098, "name": "cocos2d::CCRotateBy::update", "pseudocode": "// \n// cocos2d::CCRotateBy::update from 0x180037300 to 0x18003736a (106 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800e95f8\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b0abc\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::CCRotateBy::update(cocos2d::CCRotateBy *this, float a2)\n{\n  cocos2d::CCNode *m_pTarget; // rcx\n  cocos2d::CCNode_vtbl *v4; // rax\n\n  m_pTarget = this->m_pTarget;\n  if ( m_pTarget )\n  {\n    v4 = m_pTarget->__vftable;\n    if ( (float)((float)(a2 * *((float *)this + 24)) + *((float *)this + 25)) == (float)((float)(a2\n                                                                                               * *((float *)this + 26))\n                                                                                       + *((float *)this + 27)) )\n    {\n      ((void (*)(void))v4->setRotation)();\n    }\n    else\n    {\n      ((void (*)(void))v4->setRotationX)();\n      ((void (__fastcall *)(cocos2d::CCNode *))this->m_pTarget->setRotationY)(this->m_pTarget);\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCRotateBy::update from 0x180037300 to 0x18003736a (106 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800e95f8\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b0abc\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, 0x180037300\nsub     rsp, 30h                                                       ; +0x2, 0x180037302\nmov     rbx, rcx                                                       ; +0x6, 0x180037306\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x9, 0x180037309\nmov     rcx, [rcx+40h]                                                 ; +0xe, 0x18003730e\nmovaps  xmm6, xmm1                                                     ; +0x12, 0x180037312\ntest    rcx, rcx                                                       ; +0x15, 0x180037315\njz      short loc_18003735F                                            ; +0x18, 0x180037318\nmulss   xmm1, dword ptr [rbx+60h]                                      ; +0x1a, 0x18003731a\nmov     rax, [rcx]                                                     ; +0x1f, 0x18003731f\nmulss   xmm6, dword ptr [rbx+68h]                                      ; +0x22, 0x180037322\naddss   xmm1, dword ptr [rbx+64h]                                      ; +0x27, 0x180037327\naddss   xmm6, dword ptr [rbx+6Ch]                                      ; +0x2c, 0x18003732c\nucomiss xmm1, xmm6                                                     ; +0x31, 0x180037331\njp      short loc_180037349                                            ; +0x34, 0x180037334\njnz     short loc_180037349                                            ; +0x36, 0x180037336\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x38, 0x180037338\nadd     rsp, 30h                                                       ; +0x3d, 0x18003733d\npop     rbx                                                            ; +0x41, 0x180037341\njmp     qword ptr [rax+150h]                                           ; +0x42, 0x180037342\ncall    qword ptr [rax+160h]                                           ; +0x49, 0x180037349\nmov     rcx, [rbx+40h]                                                 ; +0x4f, 0x18003734f\nmovaps  xmm1, xmm6                                                     ; +0x53, 0x180037353\nmov     rax, [rcx]                                                     ; +0x56, 0x180037356\ncall    qword ptr [rax+170h]                                           ; +0x59, 0x180037359\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x5f, 0x18003735f\nadd     rsp, 30h                                                       ; +0x64, 0x180037364\npop     rbx                                                            ; +0x68, 0x180037368\nretn                                                                   ; +0x69, 0x180037369", "xrefs": ["<???> @ 0x1800e95f8", "<???> @ 0x1801438a8", "<???> @ 0x1801b0abc"], "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"}