{"type": "func", "start": 7111828, "end": 7111936, "name": "CCSpritePlus::setRotation", "pseudocode": "// \n// CCSpritePlus::setRotation from 0x6c8494 to 0x6c8500 (108 bytes)\n// \n// 5 xrefs:\n// > GameObject::setRotation @ 0x76c9a4\n// > <???> @ 0x7efe8\n// > <???> @ 0x14178c8\n// > <???> @ 0x14218c8\n// > <???> @ 0x14919a8\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::setRotation(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::setRotation((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 + 360LL))(v6, a2);\n    }\n  }\n  return result;\n}", "assembly": "; \n; CCSpritePlus::setRotation from 0x6c8494 to 0x6c8500 (108 bytes)\n; \n; 5 xrefs:\n; > GameObject::setRotation @ 0x76c9a4\n; > <???> @ 0x7efe8\n; > <???> @ 0x14178c8\n; > <???> @ 0x14218c8\n; > <???> @ 0x14919a8\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, 0x6c8494\nMOV             X29, SP                                                ; +0x4, 0x6c8498\nSTR             D8, [SP,#0x30+var_10]                                  ; +0x8, 0x6c849c\nFMOV            S8, S0                                                 ; +0xc, 0x6c84a0\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x10, 0x6c84a4\nMOV             X20, X0                                                ; +0x14, 0x6c84a8\nMOV             W19, #0                                                ; +0x18, 0x6c84ac\nBL              _ZN7cocos2d8CCSprite11setRotationEf; cocos2d::CCSprite::setRotation(float) ; +0x1c, 0x6c84b0\nLDRB            W0, [X20,#0x268]                                       ; +0x20, 0x6c84b4\nCBNZ            W0, loc_6C84D8                                         ; +0x24, 0x6c84b8\nB               loc_6C84F0                                             ; +0x28, 0x6c84bc\nLDR             X0, [X20,#0x258]; this                                 ; +0x2c, 0x6c84c0\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x30, 0x6c84c4\nLDR             X1, [X0]                                               ; +0x34, 0x6c84c8\nFMOV            S0, S8                                                 ; +0x38, 0x6c84cc\nLDR             X1, [X1,#0x168]                                        ; +0x3c, 0x6c84d0\nBLR             X1                                                     ; +0x40, 0x6c84d4\nLDR             X0, [X20,#0x258]; this                                 ; +0x44, 0x6c84d8\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x48, 0x6c84dc\nCMP             W19, W0                                                ; +0x4c, 0x6c84e0\nMOV             W1, W19; unsigned int                                  ; +0x50, 0x6c84e4\nADD             W19, W19, #1                                           ; +0x54, 0x6c84e8\nB.CC            loc_6C84C0                                             ; +0x58, 0x6c84ec\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x5c, 0x6c84f0\nLDR             D8, [SP,#0x30+var_10]                                  ; +0x60, 0x6c84f4\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x64, 0x6c84f8\nRET                                                                    ; +0x68, 0x6c84fc", "xrefs": ["GameObject::setRotation @ 0x76c9a4", "<???> @ 0x7efe8", "<???> @ 0x14178c8", "<???> @ 0x14218c8", "<???> @ 0x14919a8"], "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"}