; ; CCSpritePlus::setFlipY from 0x1004767f0 to 0x1004768b7 (199 bytes) ; ; 3 xrefs: ; > @ 0x100b26428 ; > @ 0x100b46cc0 ; > @ 0x100ba7220 ; ; 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, 0x1004767f0 mov rbp, rsp ; +0x1, 0x1004767f1 push r15 ; +0x4, 0x1004767f4 push r14 ; +0x6, 0x1004767f6 push r12 ; +0x8, 0x1004767f8 push rbx ; +0xa, 0x1004767fa mov r14d, esi ; +0xb, 0x1004767fb mov rbx, rdi ; +0xe, 0x1004767fe call cocos2d__CCSprite__setFlipY ; +0x11, 0x100476801 cmp byte ptr [rbx+26Ah], 1 ; +0x16, 0x100476806 jnz short loc_10047685E ; +0x1d, 0x10047680d mov rdi, [rbx+0D0h] ; +0x1f, 0x10047680f test rdi, rdi ; +0x26, 0x100476816 jz short loc_10047685E ; +0x29, 0x100476819 call sub_1007FEF90 ; +0x2b, 0x10047681b test eax, eax ; +0x30, 0x100476820 jz short loc_10047685E ; +0x32, 0x100476822 xor r15d, r15d ; +0x34, 0x100476824 movzx r12d, r14b ; +0x37, 0x100476827 nop dword ptr [rax+rax+00h] ; +0x3b, 0x10047682b mov rdi, [rbx+0D0h] ; +0x40, 0x100476830 mov esi, r15d ; +0x47, 0x100476837 call sub_1007FEFE0 ; +0x4a, 0x10047683a mov rdi, rax ; +0x4f, 0x10047683f mov esi, r12d ; +0x52, 0x100476842 call cocos2d__CCSprite__setFlipY ; +0x55, 0x100476845 inc r15d ; +0x5a, 0x10047684a mov rdi, [rbx+0D0h] ; +0x5d, 0x10047684d call sub_1007FEF90 ; +0x64, 0x100476854 cmp r15d, eax ; +0x69, 0x100476859 jb short loc_100476830 ; +0x6c, 0x10047685c cmp byte ptr [rbx+268h], 1 ; +0x6e, 0x10047685e jnz short loc_1004768AE ; +0x75, 0x100476865 mov rdi, [rbx+258h] ; +0x77, 0x100476867 call sub_1007FEF90 ; +0x7e, 0x10047686e test eax, eax ; +0x83, 0x100476873 jz short loc_1004768AE ; +0x85, 0x100476875 xor r15d, r15d ; +0x87, 0x100476877 movzx r14d, r14b ; +0x8a, 0x10047687a xchg ax, ax ; +0x8e, 0x10047687e mov rdi, [rbx+258h] ; +0x90, 0x100476880 mov esi, r15d ; +0x97, 0x100476887 call sub_1007FEFE0 ; +0x9a, 0x10047688a mov rdi, rax ; +0x9f, 0x10047688f mov esi, r14d ; +0xa2, 0x100476892 call cocos2d__CCSprite__setFlipY ; +0xa5, 0x100476895 inc r15d ; +0xaa, 0x10047689a mov rdi, [rbx+258h] ; +0xad, 0x10047689d call sub_1007FEF90 ; +0xb4, 0x1004768a4 cmp r15d, eax ; +0xb9, 0x1004768a9 jb short loc_100476880 ; +0xbc, 0x1004768ac pop rbx ; +0xbe, 0x1004768ae pop r12 ; +0xbf, 0x1004768af pop r14 ; +0xc1, 0x1004768b1 pop r15 ; +0xc3, 0x1004768b3 pop rbp ; +0xc5, 0x1004768b5 retn ; +0xc6, 0x1004768b6