{"type": "func", "start": 4299646368, "end": 4299646493, "name": "CCSpritePlus::setRotation", "pseudocode": "// \n// CCSpritePlus::setRotation from 0x1004765a0 to 0x10047661d (125 bytes)\n// \n// 4 xrefs:\n// > GameObject::setRotation @ 0x10068d6d2\n// > <???> @ 0x100b260b0\n// > <???> @ 0x100b46948\n// > <???> @ 0x100ba6ea8\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 12:30:35 +0000\n// \n\nvoid __fastcall CCSpritePlus::setRotation(__int64 a1, float a2)\n{\n  unsigned int v2; // r14d\n  __int64 v3; // rax\n\n  cocos2d::CCSprite::setRotation(a1, a2);\n  if ( *(_BYTE *)(a1 + 616) == 1 && (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 600)) )\n  {\n    v2 = 0;\n    do\n    {\n      v3 = sub_1007FEFE0(*(_QWORD *)(a1 + 600), v2);\n      (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v3 + 360LL))(v3, a2);\n      ++v2;\n    }\n    while ( v2 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 600)) );\n  }\n}", "assembly": "; \n; CCSpritePlus::setRotation from 0x1004765a0 to 0x10047661d (125 bytes)\n; \n; 4 xrefs:\n; > GameObject::setRotation @ 0x10068d6d2\n; > <???> @ 0x100b260b0\n; > <???> @ 0x100b46948\n; > <???> @ 0x100ba6ea8\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 12:30:35 +0000\n; \npush    rbp                                                            ; +0x0, 0x1004765a0\nmov     rbp, rsp                                                       ; +0x1, 0x1004765a1\npush    r14                                                            ; +0x4, 0x1004765a4\npush    rbx                                                            ; +0x6, 0x1004765a6\nsub     rsp, 10h                                                       ; +0x7, 0x1004765a7\nmov     rbx, rdi                                                       ; +0xb, 0x1004765ab\nmovss   [rbp+var_14], xmm0                                             ; +0xe, 0x1004765ae\ncall    cocos2d__CCSprite__setRotation                                 ; +0x13, 0x1004765b3\ncmp     byte ptr [rbx+268h], 1                                         ; +0x18, 0x1004765b8\njnz     short loc_100476614                                            ; +0x1f, 0x1004765bf\nmov     rdi, [rbx+258h]                                                ; +0x21, 0x1004765c1\ncall    sub_1007FEF90                                                  ; +0x28, 0x1004765c8\ntest    eax, eax                                                       ; +0x2d, 0x1004765cd\njz      short loc_100476614                                            ; +0x2f, 0x1004765cf\nxor     r14d, r14d                                                     ; +0x31, 0x1004765d1\nnop     word ptr [rax+rax+00000000h]                                   ; +0x34, 0x1004765d4\nmov     rdi, [rbx+258h]                                                ; +0x40, 0x1004765e0\nmov     esi, r14d                                                      ; +0x47, 0x1004765e7\ncall    sub_1007FEFE0                                                  ; +0x4a, 0x1004765ea\nmov     rcx, [rax]                                                     ; +0x4f, 0x1004765ef\nmov     rdi, rax                                                       ; +0x52, 0x1004765f2\nmovss   xmm0, [rbp+var_14]                                             ; +0x55, 0x1004765f5\ncall    qword ptr [rcx+168h]                                           ; +0x5a, 0x1004765fa\ninc     r14d                                                           ; +0x60, 0x100476600\nmov     rdi, [rbx+258h]                                                ; +0x63, 0x100476603\ncall    sub_1007FEF90                                                  ; +0x6a, 0x10047660a\ncmp     r14d, eax                                                      ; +0x6f, 0x10047660f\njb      short loc_1004765E0                                            ; +0x72, 0x100476612\nadd     rsp, 10h                                                       ; +0x74, 0x100476614\npop     rbx                                                            ; +0x78, 0x100476618\npop     r14                                                            ; +0x79, 0x100476619\npop     rbp                                                            ; +0x7b, 0x10047661b\nretn                                                                   ; +0x7c, 0x10047661c", "xrefs": ["GameObject::setRotation @ 0x10068d6d2", "<???> @ 0x100b260b0", "<???> @ 0x100b46948", "<???> @ 0x100ba6ea8"], "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"}