{"type": "func", "start": 5370379472, "end": 5370379619, "name": "GameObject::addRotation", "pseudocode": "// \n// GameObject::addRotation from 0x140197cd0 to 0x140197d63 (147 bytes)\n// \n// 5 xrefs:\n// > GJBaseGameLayer::processRotationActions @ 0x14022bf0d\n// > GJBaseGameLayer::processRotationActions @ 0x14022bff1\n// > GJBaseGameLayer::rotateObject @ 0x14022c148\n// > GJBaseGameLayer::processTransformActions @ 0x14022d323\n// > <???> @ 0x1406cbacc\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 GameObject::addRotation(GameObject *a1, float a2)\n{\n  GameObject_vtbl *v3; // rbx\n  GameObject_vtbl *v4; // rbx\n\n  v3 = a1->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  if ( a1->m_fRotationX == a1->m_fRotationY )\n  {\n    ((void (*)(void))v3->getRotation)();\n    ((void (__fastcall *)(GameObject *))v3->setRotation)(a1);\n  }\n  else\n  {\n    ((void (*)(void))v3->getRotationX)();\n    ((void (__fastcall *)(GameObject *))v3->setRotationX)(a1);\n    v4 = a1->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    a1->getRotationY(a1);\n    ((void (__fastcall *)(GameObject *))v4->setRotationY)(a1);\n  }\n}", "assembly": "; \n; GameObject::addRotation from 0x140197cd0 to 0x140197d63 (147 bytes)\n; \n; 5 xrefs:\n; > GJBaseGameLayer::processRotationActions @ 0x14022bf0d\n; > GJBaseGameLayer::processRotationActions @ 0x14022bff1\n; > GJBaseGameLayer::rotateObject @ 0x14022c148\n; > GJBaseGameLayer::processTransformActions @ 0x14022d323\n; > <???> @ 0x1406cbacc\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, 0x140197cd0\npush    rdi                                                            ; +0x5, 0x140197cd5\nsub     rsp, 30h                                                       ; +0x6, 0x140197cd6\nmovss   xmm0, dword ptr [rcx+38h]                                      ; +0xa, 0x140197cda\nmov     rdi, rcx                                                       ; +0xf, 0x140197cdf\nucomiss xmm0, dword ptr [rcx+3Ch]                                      ; +0x12, 0x140197ce2\nmov     rbx, [rcx]                                                     ; +0x16, 0x140197ce6\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x19, 0x140197ce9\nmovaps  xmm6, xmm1                                                     ; +0x1e, 0x140197cee\njp      short loc_140197D1E                                            ; +0x21, 0x140197cf1\njnz     short loc_140197D1E                                            ; +0x23, 0x140197cf3\ncall    qword ptr [rbx+158h]                                           ; +0x25, 0x140197cf5\naddss   xmm0, xmm6                                                     ; +0x2b, 0x140197cfb\nmov     rcx, rdi                                                       ; +0x2f, 0x140197cff\nmovaps  xmm1, xmm0                                                     ; +0x32, 0x140197d02\nmov     rax, [rbx+150h]                                                ; +0x35, 0x140197d05\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x3c, 0x140197d0c\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x41, 0x140197d11\nadd     rsp, 30h                                                       ; +0x46, 0x140197d16\npop     rdi                                                            ; +0x4a, 0x140197d1a\njmp     rax                                                            ; +0x4b, 0x140197d1b\ncall    qword ptr [rbx+168h]                                           ; +0x4e, 0x140197d1e\naddss   xmm0, xmm6                                                     ; +0x54, 0x140197d24\nmov     rcx, rdi                                                       ; +0x58, 0x140197d28\nmovaps  xmm1, xmm0                                                     ; +0x5b, 0x140197d2b\ncall    qword ptr [rbx+160h]                                           ; +0x5e, 0x140197d2e\nmov     rbx, [rdi]                                                     ; +0x64, 0x140197d34\nmov     rcx, rdi                                                       ; +0x67, 0x140197d37\ncall    qword ptr [rbx+178h]                                           ; +0x6a, 0x140197d3a\naddss   xmm0, xmm6                                                     ; +0x70, 0x140197d40\nmov     rcx, rdi                                                       ; +0x74, 0x140197d44\nmovaps  xmm1, xmm0                                                     ; +0x77, 0x140197d47\nmov     rax, [rbx+170h]                                                ; +0x7a, 0x140197d4a\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x81, 0x140197d51\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x86, 0x140197d56\nadd     rsp, 30h                                                       ; +0x8b, 0x140197d5b\npop     rdi                                                            ; +0x8f, 0x140197d5f\njmp     rax                                                            ; +0x90, 0x140197d60", "xrefs": ["GJBaseGameLayer::processRotationActions @ 0x14022bf0d", "GJBaseGameLayer::processRotationActions @ 0x14022bff1", "GJBaseGameLayer::rotateObject @ 0x14022c148", "GJBaseGameLayer::processTransformActions @ 0x14022d323", "<???> @ 0x1406cbacc"], "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"}