{"type": "func", "start": 5369020272, "end": 5369020404, "name": "CCSpritePlus::setRotation", "pseudocode": "// \n// CCSpritePlus::setRotation from 0x14004bf70 to 0x14004bff4 (132 bytes)\n// \n// 6 xrefs:\n// > <???> @ 0x140709fa8\n// > <???> @ 0x14070a400\n// > <???> @ 0x1407386a8\n// > <???> @ 0x140886028\n// > <???> @ 0x140886038\n// > <???> @ 0x14090ff20\n// \n// This function is hookable on this platform (idp: pc, 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 11:25:33 +0000\n// \n\nvoid __fastcall CCSpritePlus::setRotation(__int64 a1, float a2)\n{\n  unsigned int i; // edi\n  struct cocos2d::CCObject *v4; // rax\n\n  cocos2d::CCSprite::setRotation((cocos2d::CCSprite *)a1, a2);\n  if ( *(_BYTE *)(a1 + 616) )\n  {\n    for ( i = 0; i < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 600)); ++i )\n    {\n      v4 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 600), i);\n      (*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v4 + 352LL))(v4);\n    }\n  }\n}", "assembly": "; \n; CCSpritePlus::setRotation from 0x14004bf70 to 0x14004bff4 (132 bytes)\n; \n; 6 xrefs:\n; > <???> @ 0x140709fa8\n; > <???> @ 0x14070a400\n; > <???> @ 0x1407386a8\n; > <???> @ 0x140886028\n; > <???> @ 0x140886038\n; > <???> @ 0x14090ff20\n; \n; This function is hookable on this platform (idp: pc, 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 11:25:33 +0000\n; \npush    rbx                                                            ; +0x0, 0x14004bf70\nsub     rsp, 30h                                                       ; +0x2, 0x14004bf72\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x6, 0x14004bf76\nmov     rbx, rcx                                                       ; +0xb, 0x14004bf7b\nmovaps  xmm6, xmm1                                                     ; +0xe, 0x14004bf7e\ncall    cs:__imp_?setRotation@CCSprite@cocos2d@@UEAAXM@Z; cocos2d::CCSprite::setRotation(float) ; +0x11, 0x14004bf81\ncmp     byte ptr [rbx+268h], 0                                         ; +0x17, 0x14004bf87\njz      short loc_14004BFE9                                            ; +0x1e, 0x14004bf8e\nmov     rcx, [rbx+258h]                                                ; +0x20, 0x14004bf90\nmov     [rsp+38h+arg_0], rdi                                           ; +0x27, 0x14004bf97\nxor     edi, edi                                                       ; +0x2c, 0x14004bf9c\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2e, 0x14004bf9e\ntest    eax, eax                                                       ; +0x34, 0x14004bfa4\njz      short loc_14004BFE4                                            ; +0x36, 0x14004bfa6\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x38, 0x14004bfa8\nmov     rcx, [rbx+258h]                                                ; +0x40, 0x14004bfb0\nmov     edx, edi                                                       ; +0x47, 0x14004bfb7\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x49, 0x14004bfb9\nmovaps  xmm1, xmm6                                                     ; +0x4f, 0x14004bfbf\nmov     rcx, [rax]                                                     ; +0x52, 0x14004bfc2\nmov     rdx, [rcx+160h]                                                ; +0x55, 0x14004bfc5\nmov     rcx, rax                                                       ; +0x5c, 0x14004bfcc\ncall    rdx                                                            ; +0x5f, 0x14004bfcf\nmov     rcx, [rbx+258h]                                                ; +0x61, 0x14004bfd1\ninc     edi                                                            ; +0x68, 0x14004bfd8\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x6a, 0x14004bfda\ncmp     edi, eax                                                       ; +0x70, 0x14004bfe0\njb      short loc_14004BFB0                                            ; +0x72, 0x14004bfe2\nmov     rdi, [rsp+38h+arg_0]                                           ; +0x74, 0x14004bfe4\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x79, 0x14004bfe9\nadd     rsp, 30h                                                       ; +0x7e, 0x14004bfee\npop     rbx                                                            ; +0x82, 0x14004bff2\nretn                                                                   ; +0x83, 0x14004bff3", "xrefs": ["<???> @ 0x140709fa8", "<???> @ 0x14070a400", "<???> @ 0x1407386a8", "<???> @ 0x140886028", "<???> @ 0x140886038", "<???> @ 0x14090ff20"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}