{"type": "func", "start": 5369003728, "end": 5369003857, "name": "CCSpritePlus::setRotation", "pseudocode": "// \n// CCSpritePlus::setRotation from 0x140047ed0 to 0x140047f51 (129 bytes)\n// \n// 6 xrefs:\n// > <???> @ 0x14052f370\n// > <???> @ 0x14052f7b8\n// > <???> @ 0x140543d50\n// > <???> @ 0x140662f9c\n// > <???> @ 0x140662fac\n// > <???> @ 0x1406c4a34\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid CCSpritePlus::setRotation(CCSpritePlus *a1, float a2)\n{\n  unsigned int i; // edi\n  struct cocos2d::CCObject *v4; // rax\n\n  cocos2d::CCSprite::setRotation(a1, a2);\n  if ( a1->m_hasFollower )\n  {\n    for ( i = 0; i < cocos2d::CCArray::count(a1->m_followers); ++i )\n    {\n      v4 = cocos2d::CCArray::objectAtIndex(a1->m_followers, i);\n      v4->__vftable[4].canEncode(v4);\n    }\n  }\n}", "assembly": "; \n; CCSpritePlus::setRotation from 0x140047ed0 to 0x140047f51 (129 bytes)\n; \n; 6 xrefs:\n; > <???> @ 0x14052f370\n; > <???> @ 0x14052f7b8\n; > <???> @ 0x140543d50\n; > <???> @ 0x140662f9c\n; > <???> @ 0x140662fac\n; > <???> @ 0x1406c4a34\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x140047ed0\nsub     rsp, 30h                                                       ; +0x2, 0x140047ed2\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x6, 0x140047ed6\nmov     rbx, rcx                                                       ; +0xb, 0x140047edb\nmovaps  xmm6, xmm1                                                     ; +0xe, 0x140047ede\ncall    cs:__imp_?setRotation@CCSprite@cocos2d@@UEAAXM@Z; cocos2d::CCSprite::setRotation(float) ; +0x11, 0x140047ee1\ncmp     byte ptr [rbx+268h], 0                                         ; +0x17, 0x140047ee7\njz      short loc_140047F46                                            ; +0x1e, 0x140047eee\nmov     rcx, [rbx+258h]                                                ; +0x20, 0x140047ef0\nmov     [rsp+38h+arg_0], rdi                                           ; +0x27, 0x140047ef7\nxor     edi, edi                                                       ; +0x2c, 0x140047efc\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2e, 0x140047efe\ntest    eax, eax                                                       ; +0x34, 0x140047f04\njz      short loc_140047F41                                            ; +0x36, 0x140047f06\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x38, 0x140047f08\nmov     rcx, [rbx+258h]                                                ; +0x40, 0x140047f10\nmov     edx, edi                                                       ; +0x47, 0x140047f17\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x49, 0x140047f19\nmovaps  xmm1, xmm6                                                     ; +0x4f, 0x140047f1f\nmov     rcx, rax                                                       ; +0x52, 0x140047f22\nmov     rdx, [rax]                                                     ; +0x55, 0x140047f25\ncall    qword ptr [rdx+150h]                                           ; +0x58, 0x140047f28\nmov     rcx, [rbx+258h]                                                ; +0x5e, 0x140047f2e\ninc     edi                                                            ; +0x65, 0x140047f35\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x67, 0x140047f37\ncmp     edi, eax                                                       ; +0x6d, 0x140047f3d\njb      short loc_140047F10                                            ; +0x6f, 0x140047f3f\nmov     rdi, [rsp+38h+arg_0]                                           ; +0x71, 0x140047f41\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x76, 0x140047f46\nadd     rsp, 30h                                                       ; +0x7b, 0x140047f4b\npop     rbx                                                            ; +0x7f, 0x140047f4f\nretn                                                                   ; +0x80, 0x140047f50", "xrefs": ["<???> @ 0x14052f370", "<???> @ 0x14052f7b8", "<???> @ 0x140543d50", "<???> @ 0x140662f9c", "<???> @ 0x140662fac", "<???> @ 0x1406c4a34"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}