{"type": "func", "start": 4299646624, "end": 4299646749, "name": "CCSpritePlus::setRotationY", "pseudocode": "// \n// CCSpritePlus::setRotationY from 0x1004766a0 to 0x10047671d (125 bytes)\n// \n// 4 xrefs:\n// > GameObject::setRotationY @ 0x10068d851\n// > <???> @ 0x100b260d0\n// > <???> @ 0x100b46968\n// > <???> @ 0x100ba6ec8\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::setRotationY(__int64 a1, float a2)\n{\n  unsigned int v2; // r14d\n  __int64 v3; // rax\n\n  cocos2d::CCSprite::setRotationY(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 + 392LL))(v3, a2);\n      ++v2;\n    }\n    while ( v2 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 600)) );\n  }\n}", "assembly": "; \n; CCSpritePlus::setRotationY from 0x1004766a0 to 0x10047671d (125 bytes)\n; \n; 4 xrefs:\n; > GameObject::setRotationY @ 0x10068d851\n; > <???> @ 0x100b260d0\n; > <???> @ 0x100b46968\n; > <???> @ 0x100ba6ec8\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, 0x1004766a0\nmov     rbp, rsp                                                       ; +0x1, 0x1004766a1\npush    r14                                                            ; +0x4, 0x1004766a4\npush    rbx                                                            ; +0x6, 0x1004766a6\nsub     rsp, 10h                                                       ; +0x7, 0x1004766a7\nmov     rbx, rdi                                                       ; +0xb, 0x1004766ab\nmovss   [rbp+var_14], xmm0                                             ; +0xe, 0x1004766ae\ncall    cocos2d__CCSprite__setRotationY                                ; +0x13, 0x1004766b3\ncmp     byte ptr [rbx+268h], 1                                         ; +0x18, 0x1004766b8\njnz     short loc_100476714                                            ; +0x1f, 0x1004766bf\nmov     rdi, [rbx+258h]                                                ; +0x21, 0x1004766c1\ncall    sub_1007FEF90                                                  ; +0x28, 0x1004766c8\ntest    eax, eax                                                       ; +0x2d, 0x1004766cd\njz      short loc_100476714                                            ; +0x2f, 0x1004766cf\nxor     r14d, r14d                                                     ; +0x31, 0x1004766d1\nnop     word ptr [rax+rax+00000000h]                                   ; +0x34, 0x1004766d4\nmov     rdi, [rbx+258h]                                                ; +0x40, 0x1004766e0\nmov     esi, r14d                                                      ; +0x47, 0x1004766e7\ncall    sub_1007FEFE0                                                  ; +0x4a, 0x1004766ea\nmov     rcx, [rax]                                                     ; +0x4f, 0x1004766ef\nmov     rdi, rax                                                       ; +0x52, 0x1004766f2\nmovss   xmm0, [rbp+var_14]                                             ; +0x55, 0x1004766f5\ncall    qword ptr [rcx+188h]                                           ; +0x5a, 0x1004766fa\ninc     r14d                                                           ; +0x60, 0x100476700\nmov     rdi, [rbx+258h]                                                ; +0x63, 0x100476703\ncall    sub_1007FEF90                                                  ; +0x6a, 0x10047670a\ncmp     r14d, eax                                                      ; +0x6f, 0x10047670f\njb      short loc_1004766E0                                            ; +0x72, 0x100476712\nadd     rsp, 10h                                                       ; +0x74, 0x100476714\npop     rbx                                                            ; +0x78, 0x100476718\npop     r14                                                            ; +0x79, 0x100476719\npop     rbp                                                            ; +0x7b, 0x10047671b\nretn                                                                   ; +0x7c, 0x10047671c", "xrefs": ["GameObject::setRotationY @ 0x10068d851", "<???> @ 0x100b260d0", "<???> @ 0x100b46968", "<???> @ 0x100ba6ec8"], "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"}