; ; CCSpritePlus::setRotation from 0x140047ed0 to 0x140047f51 (129 bytes) ; ; 6 xrefs: ; > @ 0x14052f370 ; > @ 0x14052f7b8 ; > @ 0x140543d50 ; > @ 0x140662f9c ; > @ 0x140662fac ; > @ 0x1406c4a34 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; push rbx ; +0x0, 0x140047ed0 sub rsp, 30h ; +0x2, 0x140047ed2 movaps [rsp+38h+var_18], xmm6 ; +0x6, 0x140047ed6 mov rbx, rcx ; +0xb, 0x140047edb movaps xmm6, xmm1 ; +0xe, 0x140047ede call cs:__imp_?setRotation@CCSprite@cocos2d@@UEAAXM@Z; cocos2d::CCSprite::setRotation(float) ; +0x11, 0x140047ee1 cmp byte ptr [rbx+268h], 0 ; +0x17, 0x140047ee7 jz short loc_140047F46 ; +0x1e, 0x140047eee mov rcx, [rbx+258h] ; +0x20, 0x140047ef0 mov [rsp+38h+arg_0], rdi ; +0x27, 0x140047ef7 xor edi, edi ; +0x2c, 0x140047efc call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2e, 0x140047efe test eax, eax ; +0x34, 0x140047f04 jz short loc_140047F41 ; +0x36, 0x140047f06 nop dword ptr [rax+rax+00000000h] ; +0x38, 0x140047f08 mov rcx, [rbx+258h] ; +0x40, 0x140047f10 mov edx, edi ; +0x47, 0x140047f17 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x49, 0x140047f19 movaps xmm1, xmm6 ; +0x4f, 0x140047f1f mov rcx, rax ; +0x52, 0x140047f22 mov rdx, [rax] ; +0x55, 0x140047f25 call qword ptr [rdx+150h] ; +0x58, 0x140047f28 mov rcx, [rbx+258h] ; +0x5e, 0x140047f2e inc edi ; +0x65, 0x140047f35 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x67, 0x140047f37 cmp edi, eax ; +0x6d, 0x140047f3d jb short loc_140047F10 ; +0x6f, 0x140047f3f mov rdi, [rsp+38h+arg_0] ; +0x71, 0x140047f41 movaps xmm6, [rsp+38h+var_18] ; +0x76, 0x140047f46 add rsp, 30h ; +0x7b, 0x140047f4b pop rbx ; +0x7f, 0x140047f4f retn ; +0x80, 0x140047f50