{"type": "func", "start": 4089446, "end": 4089504, "name": "CCSpritePlus::setRotationY", "pseudocode": "// \n// CCSpritePlus::setRotationY from 0x3e6666 to 0x3e66a0 (58 bytes)\n// \n// 1 xrefs:\n// > GameObject::setRotationY @ 0x44bfe0\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::setRotationY(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::setRotationY((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 + 196))(v6, LODWORD(a2));\n    }\n  }\n  return result;\n}", "assembly": "; \n; CCSpritePlus::setRotationY from 0x3e6666 to 0x3e66a0 (58 bytes)\n; \n; 1 xrefs:\n; > GameObject::setRotationY @ 0x44bfe0\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, 0x3e6666\nMOV             R5, R0                                                 ; +0x2, 0x3e6668\nMOV             R6, R1                                                 ; +0x4, 0x3e666a\nBL              _ZN7cocos2d8CCSprite12setRotationYEf; cocos2d::CCSprite::setRotationY(float) ; +0x6, 0x3e666c\nLDRB.W          R3, [R5,#0x204]                                        ; +0xa, 0x3e6670\nCBNZ            R3, loc_3E6678                                         ; +0xe, 0x3e6674\nPOP             {R4-R6,PC}                                             ; +0x10, 0x3e6676\nMOVS            R4, #0                                                 ; +0x12, 0x3e6678\nLDR.W           R0, [R5,#0x1FC]; this                                  ; +0x14, 0x3e667a\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x18, 0x3e667e\nCMP             R4, R0                                                 ; +0x1c, 0x3e6682\nBCS             locret_3E669E                                          ; +0x1e, 0x3e6684\nMOV             R1, R4; unsigned int                                   ; +0x20, 0x3e6686\nLDR.W           R0, [R5,#0x1FC]; this                                  ; +0x22, 0x3e6688\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x26, 0x3e668c\nMOV             R1, R6                                                 ; +0x2a, 0x3e6690\nADDS            R4, #1                                                 ; +0x2c, 0x3e6692\nLDR             R3, [R0]                                               ; +0x2e, 0x3e6694\nLDR.W           R3, [R3,#0xC4]                                         ; +0x30, 0x3e6696\nBLX             R3                                                     ; +0x34, 0x3e669a\nB               loc_3E667A                                             ; +0x36, 0x3e669c\nPOP             {R4-R6,PC}                                             ; +0x38, 0x3e669e", "xrefs": ["GameObject::setRotationY @ 0x44bfe0"], "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"}