; ; CCSpritePlus::setFlipX from 0x100476720 to 0x1004767e7 (199 bytes) ; ; 3 xrefs: ; > @ 0x100b26420 ; > @ 0x100b46cb8 ; > @ 0x100ba7218 ; ; 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, 0x100476720 mov rbp, rsp ; +0x1, 0x100476721 push r15 ; +0x4, 0x100476724 push r14 ; +0x6, 0x100476726 push r12 ; +0x8, 0x100476728 push rbx ; +0xa, 0x10047672a mov r14d, esi ; +0xb, 0x10047672b mov rbx, rdi ; +0xe, 0x10047672e call cocos2d__CCSprite__setFlipX ; +0x11, 0x100476731 cmp byte ptr [rbx+26Ah], 1 ; +0x16, 0x100476736 jnz short loc_10047678E ; +0x1d, 0x10047673d mov rdi, [rbx+0D0h] ; +0x1f, 0x10047673f test rdi, rdi ; +0x26, 0x100476746 jz short loc_10047678E ; +0x29, 0x100476749 call sub_1007FEF90 ; +0x2b, 0x10047674b test eax, eax ; +0x30, 0x100476750 jz short loc_10047678E ; +0x32, 0x100476752 xor r15d, r15d ; +0x34, 0x100476754 movzx r12d, r14b ; +0x37, 0x100476757 nop dword ptr [rax+rax+00h] ; +0x3b, 0x10047675b mov rdi, [rbx+0D0h] ; +0x40, 0x100476760 mov esi, r15d ; +0x47, 0x100476767 call sub_1007FEFE0 ; +0x4a, 0x10047676a mov rdi, rax ; +0x4f, 0x10047676f mov esi, r12d ; +0x52, 0x100476772 call cocos2d__CCSprite__setFlipX ; +0x55, 0x100476775 inc r15d ; +0x5a, 0x10047677a mov rdi, [rbx+0D0h] ; +0x5d, 0x10047677d call sub_1007FEF90 ; +0x64, 0x100476784 cmp r15d, eax ; +0x69, 0x100476789 jb short loc_100476760 ; +0x6c, 0x10047678c cmp byte ptr [rbx+268h], 1 ; +0x6e, 0x10047678e jnz short loc_1004767DE ; +0x75, 0x100476795 mov rdi, [rbx+258h] ; +0x77, 0x100476797 call sub_1007FEF90 ; +0x7e, 0x10047679e test eax, eax ; +0x83, 0x1004767a3 jz short loc_1004767DE ; +0x85, 0x1004767a5 xor r15d, r15d ; +0x87, 0x1004767a7 movzx r14d, r14b ; +0x8a, 0x1004767aa xchg ax, ax ; +0x8e, 0x1004767ae mov rdi, [rbx+258h] ; +0x90, 0x1004767b0 mov esi, r15d ; +0x97, 0x1004767b7 call sub_1007FEFE0 ; +0x9a, 0x1004767ba mov rdi, rax ; +0x9f, 0x1004767bf mov esi, r14d ; +0xa2, 0x1004767c2 call cocos2d__CCSprite__setFlipX ; +0xa5, 0x1004767c5 inc r15d ; +0xaa, 0x1004767ca mov rdi, [rbx+258h] ; +0xad, 0x1004767cd call sub_1007FEF90 ; +0xb4, 0x1004767d4 cmp r15d, eax ; +0xb9, 0x1004767d9 jb short loc_1004767B0 ; +0xbc, 0x1004767dc pop rbx ; +0xbe, 0x1004767de pop r12 ; +0xbf, 0x1004767df pop r14 ; +0xc1, 0x1004767e1 pop r15 ; +0xc3, 0x1004767e3 pop rbp ; +0xc5, 0x1004767e5 retn ; +0xc6, 0x1004767e6