; ; CCSpritePlus::setRotation from 0x1004765a0 to 0x10047661d (125 bytes) ; ; 4 xrefs: ; > GameObject::setRotation @ 0x10068d6d2 ; > @ 0x100b260b0 ; > @ 0x100b46948 ; > @ 0x100ba6ea8 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 12:30:35 +0000 ; push rbp ; +0x0, 0x1004765a0 mov rbp, rsp ; +0x1, 0x1004765a1 push r14 ; +0x4, 0x1004765a4 push rbx ; +0x6, 0x1004765a6 sub rsp, 10h ; +0x7, 0x1004765a7 mov rbx, rdi ; +0xb, 0x1004765ab movss [rbp+var_14], xmm0 ; +0xe, 0x1004765ae call cocos2d__CCSprite__setRotation ; +0x13, 0x1004765b3 cmp byte ptr [rbx+268h], 1 ; +0x18, 0x1004765b8 jnz short loc_100476614 ; +0x1f, 0x1004765bf mov rdi, [rbx+258h] ; +0x21, 0x1004765c1 call sub_1007FEF90 ; +0x28, 0x1004765c8 test eax, eax ; +0x2d, 0x1004765cd jz short loc_100476614 ; +0x2f, 0x1004765cf xor r14d, r14d ; +0x31, 0x1004765d1 nop word ptr [rax+rax+00000000h] ; +0x34, 0x1004765d4 mov rdi, [rbx+258h] ; +0x40, 0x1004765e0 mov esi, r14d ; +0x47, 0x1004765e7 call sub_1007FEFE0 ; +0x4a, 0x1004765ea mov rcx, [rax] ; +0x4f, 0x1004765ef mov rdi, rax ; +0x52, 0x1004765f2 movss xmm0, [rbp+var_14] ; +0x55, 0x1004765f5 call qword ptr [rcx+168h] ; +0x5a, 0x1004765fa inc r14d ; +0x60, 0x100476600 mov rdi, [rbx+258h] ; +0x63, 0x100476603 call sub_1007FEF90 ; +0x6a, 0x10047660a cmp r14d, eax ; +0x6f, 0x10047660f jb short loc_1004765E0 ; +0x72, 0x100476612 add rsp, 10h ; +0x74, 0x100476614 pop rbx ; +0x78, 0x100476618 pop r14 ; +0x79, 0x100476619 pop rbp ; +0x7b, 0x10047661b retn ; +0x7c, 0x10047661c