; ; CCSpritePlus::setPosition from 0x140047e40 to 0x140047ec2 (130 bytes) ; ; 6 xrefs: ; > @ 0x14052f2d8 ; > @ 0x14052f720 ; > @ 0x140543cb8 ; > @ 0x140662f6c ; > @ 0x140662f7c ; > @ 0x1406c4a10 ; ; 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 ; mov [rsp+arg_8], rbx ; +0x0, 0x140047e40 push rsi ; +0x5, 0x140047e45 sub rsp, 20h ; +0x6, 0x140047e46 mov rsi, rdx ; +0xa, 0x140047e4a mov rbx, rcx ; +0xd, 0x140047e4d call cs:__imp_?setPosition@CCSprite@cocos2d@@UEAAXAEBVCCPoint@2@@Z; cocos2d::CCSprite::setPosition(cocos2d::CCPoint const &) ; +0x10, 0x140047e50 cmp byte ptr [rbx+268h], 0 ; +0x16, 0x140047e56 jz short loc_140047EB7 ; +0x1d, 0x140047e5d mov rcx, [rbx+258h] ; +0x1f, 0x140047e5f mov [rsp+28h+arg_0], rdi ; +0x26, 0x140047e66 xor edi, edi ; +0x2b, 0x140047e6b call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2d, 0x140047e6d test eax, eax ; +0x33, 0x140047e73 jz short loc_140047EB2 ; +0x35, 0x140047e75 nop word ptr [rax+rax+00000000h] ; +0x37, 0x140047e77 mov rcx, [rbx+258h] ; +0x40, 0x140047e80 mov edx, edi ; +0x47, 0x140047e87 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x49, 0x140047e89 mov rdx, rsi ; +0x4f, 0x140047e8f mov rcx, rax ; +0x52, 0x140047e92 mov r8, [rax] ; +0x55, 0x140047e95 call qword ptr [r8+0B8h] ; +0x58, 0x140047e98 mov rcx, [rbx+258h] ; +0x5f, 0x140047e9f inc edi ; +0x66, 0x140047ea6 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x68, 0x140047ea8 cmp edi, eax ; +0x6e, 0x140047eae jb short loc_140047E80 ; +0x70, 0x140047eb0 mov rdi, [rsp+28h+arg_0] ; +0x72, 0x140047eb2 mov rbx, [rsp+28h+arg_8] ; +0x77, 0x140047eb7 add rsp, 20h ; +0x7c, 0x140047ebc pop rsi ; +0x80, 0x140047ec0 retn ; +0x81, 0x140047ec1