{"type": "func", "start": 5931564, "end": 5931672, "name": "CCSpritePlus::setRotationY", "pseudocode": "// \n// CCSpritePlus::setRotationY from 0x5a822c to 0x5a8298 (108 bytes)\n// \n// 5 xrefs:\n// > GameObject::setRotationY @ 0x641aa0\n// > <???> @ 0x67518\n// > <???> @ 0x1139a78\n// > <???> @ 0x1142c78\n// > <???> @ 0x11aa838\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 CCSpritePlus::setRotationY(CCSpritePlus *a1, float a2)\n{\n  unsigned int v4; // w19\n  __int64 v5; // x0\n  bool v6; // cf\n  unsigned int v7; // w1\n\n  v4 = 0;\n  cocos2d::CCSprite::setRotationY(a1, a2);\n  if ( a1->m_hasFollower )\n  {\n    while ( 1 )\n    {\n      v6 = v4 >= (unsigned int)cocos2d::CCArray::count(a1->m_followers);\n      v7 = v4++;\n      if ( v6 )\n        break;\n      v5 = cocos2d::CCArray::objectAtIndex(a1->m_followers, v7);\n      (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v5 + 376LL))(v5, a2);\n    }\n  }\n}", "assembly": "; \n; CCSpritePlus::setRotationY from 0x5a822c to 0x5a8298 (108 bytes)\n; \n; 5 xrefs:\n; > GameObject::setRotationY @ 0x641aa0\n; > <???> @ 0x67518\n; > <???> @ 0x1139a78\n; > <???> @ 0x1142c78\n; > <???> @ 0x11aa838\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\nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x5a822c\nMOV             X29, SP                                                ; +0x4, 0x5a8230\nSTR             D8, [SP,#0x30+var_10]                                  ; +0x8, 0x5a8234\nFMOV            S8, S0                                                 ; +0xc, 0x5a8238\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x10, 0x5a823c\nMOV             X20, X0                                                ; +0x14, 0x5a8240\nMOV             W19, #0                                                ; +0x18, 0x5a8244\nBL              _ZN7cocos2d8CCSprite12setRotationYEf; cocos2d::CCSprite::setRotationY(float) ; +0x1c, 0x5a8248\nLDRB            W0, [X20,#0x268]                                       ; +0x20, 0x5a824c\nCBNZ            W0, loc_5A8270                                         ; +0x24, 0x5a8250\nB               loc_5A8288                                             ; +0x28, 0x5a8254\nLDR             X0, [X20,#0x258]; this                                 ; +0x2c, 0x5a8258\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x30, 0x5a825c\nLDR             X1, [X0]                                               ; +0x34, 0x5a8260\nFMOV            S0, S8                                                 ; +0x38, 0x5a8264\nLDR             X1, [X1,#0x178]                                        ; +0x3c, 0x5a8268\nBLR             X1                                                     ; +0x40, 0x5a826c\nLDR             X0, [X20,#0x258]; this                                 ; +0x44, 0x5a8270\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x48, 0x5a8274\nCMP             W19, W0                                                ; +0x4c, 0x5a8278\nMOV             W1, W19; unsigned int                                  ; +0x50, 0x5a827c\nADD             W19, W19, #1                                           ; +0x54, 0x5a8280\nB.CC            loc_5A8258                                             ; +0x58, 0x5a8284\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x5c, 0x5a8288\nLDR             D8, [SP,#0x30+var_10]                                  ; +0x60, 0x5a828c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x64, 0x5a8290\nRET                                                                    ; +0x68, 0x5a8294", "xrefs": ["GameObject::setRotationY @ 0x641aa0", "<???> @ 0x67518", "<???> @ 0x1139a78", "<???> @ 0x1142c78", "<???> @ 0x11aa838"], "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"}