{"type": "func", "start": 7111936, "end": 7112044, "name": "CCSpritePlus::setRotationX", "pseudocode": "// \n// CCSpritePlus::setRotationX from 0x6c8500 to 0x6c856c (108 bytes)\n// \n// 5 xrefs:\n// > GameObject::setRotationX @ 0x76d4f0\n// > <???> @ 0xc5218\n// > <???> @ 0x14178d8\n// > <???> @ 0x14218d8\n// > <???> @ 0x14919b8\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::setRotationX(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::setRotationX((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 + 376LL))(v6, a2);\n    }\n  }\n  return result;\n}", "assembly": "; \n; CCSpritePlus::setRotationX from 0x6c8500 to 0x6c856c (108 bytes)\n; \n; 5 xrefs:\n; > GameObject::setRotationX @ 0x76d4f0\n; > <???> @ 0xc5218\n; > <???> @ 0x14178d8\n; > <???> @ 0x14218d8\n; > <???> @ 0x14919b8\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, 0x6c8500\nMOV             X29, SP                                                ; +0x4, 0x6c8504\nSTR             D8, [SP,#0x30+var_10]                                  ; +0x8, 0x6c8508\nFMOV            S8, S0                                                 ; +0xc, 0x6c850c\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x10, 0x6c8510\nMOV             X20, X0                                                ; +0x14, 0x6c8514\nMOV             W19, #0                                                ; +0x18, 0x6c8518\nBL              _ZN7cocos2d8CCSprite12setRotationXEf; cocos2d::CCSprite::setRotationX(float) ; +0x1c, 0x6c851c\nLDRB            W0, [X20,#0x268]                                       ; +0x20, 0x6c8520\nCBNZ            W0, loc_6C8544                                         ; +0x24, 0x6c8524\nB               loc_6C855C                                             ; +0x28, 0x6c8528\nLDR             X0, [X20,#0x258]; this                                 ; +0x2c, 0x6c852c\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x30, 0x6c8530\nLDR             X1, [X0]                                               ; +0x34, 0x6c8534\nFMOV            S0, S8                                                 ; +0x38, 0x6c8538\nLDR             X1, [X1,#0x178]                                        ; +0x3c, 0x6c853c\nBLR             X1                                                     ; +0x40, 0x6c8540\nLDR             X0, [X20,#0x258]; this                                 ; +0x44, 0x6c8544\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x48, 0x6c8548\nCMP             W19, W0                                                ; +0x4c, 0x6c854c\nMOV             W1, W19; unsigned int                                  ; +0x50, 0x6c8550\nADD             W19, W19, #1                                           ; +0x54, 0x6c8554\nB.CC            loc_6C852C                                             ; +0x58, 0x6c8558\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x5c, 0x6c855c\nLDR             D8, [SP,#0x30+var_10]                                  ; +0x60, 0x6c8560\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x64, 0x6c8564\nRET                                                                    ; +0x68, 0x6c8568", "xrefs": ["GameObject::setRotationX @ 0x76d4f0", "<???> @ 0xc5218", "<???> @ 0x14178d8", "<???> @ 0x14218d8", "<???> @ 0x14919b8"], "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"}