; ; CCSpritePlus::setPosition from 0x100476520 to 0x10047659d (125 bytes) ; ; 4 xrefs: ; > GameObject::setPosition @ 0x10068d435 ; > @ 0x100b26000 ; > @ 0x100b46898 ; > @ 0x100ba6df8 ; ; 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, 0x100476520 mov rbp, rsp ; +0x1, 0x100476521 push r15 ; +0x4, 0x100476524 push r14 ; +0x6, 0x100476526 push rbx ; +0x8, 0x100476528 push rax ; +0x9, 0x100476529 mov rbx, rsi ; +0xa, 0x10047652a mov r14, rdi ; +0xd, 0x10047652d call cocos2d__CCSprite__setPosition ; +0x10, 0x100476530 cmp byte ptr [r14+268h], 1 ; +0x15, 0x100476535 jnz short loc_100476592 ; +0x1d, 0x10047653d mov rdi, [r14+258h] ; +0x1f, 0x10047653f call sub_1007FEF90 ; +0x26, 0x100476546 test eax, eax ; +0x2b, 0x10047654b jz short loc_100476592 ; +0x2d, 0x10047654d xor r15d, r15d ; +0x2f, 0x10047654f nop word ptr [rax+rax+00000000h] ; +0x32, 0x100476552 mov rdi, [r14+258h] ; +0x40, 0x100476560 mov esi, r15d ; +0x47, 0x100476567 call sub_1007FEFE0 ; +0x4a, 0x10047656a mov rcx, [rax] ; +0x4f, 0x10047656f mov rdi, rax ; +0x52, 0x100476572 mov rsi, rbx ; +0x55, 0x100476575 call qword ptr [rcx+0B8h] ; +0x58, 0x100476578 inc r15d ; +0x5e, 0x10047657e mov rdi, [r14+258h] ; +0x61, 0x100476581 call sub_1007FEF90 ; +0x68, 0x100476588 cmp r15d, eax ; +0x6d, 0x10047658d jb short loc_100476560 ; +0x70, 0x100476590 add rsp, 8 ; +0x72, 0x100476592 pop rbx ; +0x76, 0x100476596 pop r14 ; +0x77, 0x100476597 pop r15 ; +0x79, 0x100476599 pop rbp ; +0x7b, 0x10047659b retn ; +0x7c, 0x10047659c