{"type": "func", "start": 7112044, "end": 7112152, "name": "CCSpritePlus::setRotationY", "pseudocode": "// \n// CCSpritePlus::setRotationY from 0x6c856c to 0x6c85d8 (108 bytes)\n// \n// 5 xrefs:\n// > GameObject::setRotationY @ 0x76d608\n// > <???> @ 0x8c308\n// > <???> @ 0x14178e8\n// > <???> @ 0x14218e8\n// > <???> @ 0x14919c8\n// \n// This function is hookable on this platform (idp: arm, 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 12:51:22 +0000\n// \n\n__int64 __fastcall CCSpritePlus::setRotationY(cocos2d::CCArray **this, float a2)\n{\n  unsigned int v4; // w19\n  __int64 result; // x0\n  __int64 v6; // x0\n  bool v7; // cf\n  unsigned int v8; // w1\n\n  v4 = 0;\n  cocos2d::CCSprite::setRotationY((cocos2d::CCSprite *)this, a2);\n  result = *((unsigned __int8 *)this + 616);\n  if ( *((_BYTE *)this + 616) )\n  {\n    while ( 1 )\n    {\n      result = cocos2d::CCArray::count(*(this + 75));\n      v7 = v4 >= (unsigned int)result;\n      v8 = v4++;\n      if ( v7 )\n        break;\n      v6 = cocos2d::CCArray::objectAtIndex(*(this + 75), v8);\n      (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v6 + 392LL))(v6, a2);\n    }\n  }\n  return result;\n}", "assembly": "; \n; CCSpritePlus::setRotationY from 0x6c856c to 0x6c85d8 (108 bytes)\n; \n; 5 xrefs:\n; > GameObject::setRotationY @ 0x76d608\n; > <???> @ 0x8c308\n; > <???> @ 0x14178e8\n; > <???> @ 0x14218e8\n; > <???> @ 0x14919c8\n; \n; This function is hookable on this platform (idp: arm, 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 12:51:22 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x6c856c\nMOV             X29, SP                                                ; +0x4, 0x6c8570\nSTR             D8, [SP,#0x30+var_10]                                  ; +0x8, 0x6c8574\nFMOV            S8, S0                                                 ; +0xc, 0x6c8578\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x10, 0x6c857c\nMOV             X20, X0                                                ; +0x14, 0x6c8580\nMOV             W19, #0                                                ; +0x18, 0x6c8584\nBL              _ZN7cocos2d8CCSprite12setRotationYEf; cocos2d::CCSprite::setRotationY(float) ; +0x1c, 0x6c8588\nLDRB            W0, [X20,#0x268]                                       ; +0x20, 0x6c858c\nCBNZ            W0, loc_6C85B0                                         ; +0x24, 0x6c8590\nB               loc_6C85C8                                             ; +0x28, 0x6c8594\nLDR             X0, [X20,#0x258]; this                                 ; +0x2c, 0x6c8598\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x30, 0x6c859c\nLDR             X1, [X0]                                               ; +0x34, 0x6c85a0\nFMOV            S0, S8                                                 ; +0x38, 0x6c85a4\nLDR             X1, [X1,#0x188]                                        ; +0x3c, 0x6c85a8\nBLR             X1                                                     ; +0x40, 0x6c85ac\nLDR             X0, [X20,#0x258]; this                                 ; +0x44, 0x6c85b0\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x48, 0x6c85b4\nCMP             W19, W0                                                ; +0x4c, 0x6c85b8\nMOV             W1, W19; unsigned int                                  ; +0x50, 0x6c85bc\nADD             W19, W19, #1                                           ; +0x54, 0x6c85c0\nB.CC            loc_6C8598                                             ; +0x58, 0x6c85c4\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x5c, 0x6c85c8\nLDR             D8, [SP,#0x30+var_10]                                  ; +0x60, 0x6c85cc\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x64, 0x6c85d0\nRET                                                                    ; +0x68, 0x6c85d4", "xrefs": ["GameObject::setRotationY @ 0x76d608", "<???> @ 0x8c308", "<???> @ 0x14178e8", "<???> @ 0x14218e8", "<???> @ 0x14919c8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}