{"type": "func", "start": 4089388, "end": 4089446, "name": "CCSpritePlus::setRotationX", "pseudocode": "// \n// CCSpritePlus::setRotationX from 0x3e662c to 0x3e6666 (58 bytes)\n// \n// 1 xrefs:\n// > GameObject::setRotationX @ 0x44bf14\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:47:05 +0000\n// \n\nunsigned int __fastcall CCSpritePlus::setRotationX(cocos2d::CCArray **this, float a2)\n{\n  unsigned int result; // r0\n  unsigned int i; // r4\n  int v6; // r0\n\n  result = cocos2d::CCSprite::setRotationX((cocos2d::CCSprite *)this, a2);\n  if ( *((_BYTE *)this + 516) )\n  {\n    for ( i = 0; ; ++i )\n    {\n      result = cocos2d::CCArray::count(*(this + 127));\n      if ( i >= result )\n        break;\n      v6 = cocos2d::CCArray::objectAtIndex(*(this + 127), i);\n      (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v6 + 188))(v6, LODWORD(a2));\n    }\n  }\n  return result;\n}", "assembly": "; \n; CCSpritePlus::setRotationX from 0x3e662c to 0x3e6666 (58 bytes)\n; \n; 1 xrefs:\n; > GameObject::setRotationX @ 0x44bf14\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:47:05 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x3e662c\nMOV             R5, R0                                                 ; +0x2, 0x3e662e\nMOV             R6, R1                                                 ; +0x4, 0x3e6630\nBL              _ZN7cocos2d8CCSprite12setRotationXEf; cocos2d::CCSprite::setRotationX(float) ; +0x6, 0x3e6632\nLDRB.W          R3, [R5,#0x204]                                        ; +0xa, 0x3e6636\nCBNZ            R3, loc_3E663E                                         ; +0xe, 0x3e663a\nPOP             {R4-R6,PC}                                             ; +0x10, 0x3e663c\nMOVS            R4, #0                                                 ; +0x12, 0x3e663e\nLDR.W           R0, [R5,#0x1FC]; this                                  ; +0x14, 0x3e6640\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x18, 0x3e6644\nCMP             R4, R0                                                 ; +0x1c, 0x3e6648\nBCS             locret_3E6664                                          ; +0x1e, 0x3e664a\nMOV             R1, R4; unsigned int                                   ; +0x20, 0x3e664c\nLDR.W           R0, [R5,#0x1FC]; this                                  ; +0x22, 0x3e664e\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x26, 0x3e6652\nMOV             R1, R6                                                 ; +0x2a, 0x3e6656\nADDS            R4, #1                                                 ; +0x2c, 0x3e6658\nLDR             R3, [R0]                                               ; +0x2e, 0x3e665a\nLDR.W           R3, [R3,#0xBC]                                         ; +0x30, 0x3e665c\nBLX             R3                                                     ; +0x34, 0x3e6660\nB               loc_3E6640                                             ; +0x36, 0x3e6662\nPOP             {R4-R6,PC}                                             ; +0x38, 0x3e6664", "xrefs": ["GameObject::setRotationX @ 0x44bf14"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}