; ; CCAnimatedSprite::cleanupSprite from 0x100350830 to 0x1003508c7 (151 bytes) ; ; 0 xrefs: ; ; 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 rbp ; +0x0, 0x100350830 mov rbp, rsp ; +0x1, 0x100350831 push rbx ; +0x4, 0x100350834 push rax ; +0x5, 0x100350835 mov rbx, rdi ; +0x6, 0x100350836 mov rdi, [rdi+2A0h] ; +0x9, 0x100350839 test rdi, rdi ; +0x10, 0x100350840 jz short loc_10035084E ; +0x13, 0x100350843 mov rax, [rdi] ; +0x15, 0x100350845 call qword ptr [rax+2D0h] ; +0x18, 0x100350848 mov rdi, [rbx+298h] ; +0x1e, 0x10035084e test rdi, rdi ; +0x25, 0x100350855 jz short loc_100350863 ; +0x28, 0x100350858 mov rax, [rdi] ; +0x2a, 0x10035085a call qword ptr [rax+2D0h] ; +0x2d, 0x10035085d mov rdi, [rbx+288h] ; +0x33, 0x100350863 test rdi, rdi ; +0x3a, 0x10035086a jz short loc_100350874 ; +0x3d, 0x10035086d call SpriteAnimationManager__doCleanup ; +0x3f, 0x10035086f mov rdi, [rbx+298h] ; +0x44, 0x100350874 test rdi, rdi ; +0x4b, 0x10035087b jz short loc_10035088E ; +0x4e, 0x10035087e mov rax, [rdi] ; +0x50, 0x100350880 mov esi, 1 ; +0x53, 0x100350883 call qword ptr [rax+200h] ; +0x58, 0x100350888 mov rdi, [rbx+2A0h] ; +0x5e, 0x10035088e add rbx, 288h ; +0x65, 0x100350895 test rdi, rdi ; +0x6c, 0x10035089c jz short loc_1003508AF ; +0x6f, 0x10035089f mov rax, [rdi] ; +0x71, 0x1003508a1 mov esi, 1 ; +0x74, 0x1003508a4 call qword ptr [rax+200h] ; +0x79, 0x1003508a9 xorps xmm0, xmm0 ; +0x7f, 0x1003508af movups xmmword ptr [rbx+10h], xmm0 ; +0x82, 0x1003508b2 movups xmmword ptr [rbx], xmm0 ; +0x86, 0x1003508b6 mov dword ptr [rbx+20h], 0 ; +0x89, 0x1003508b9 add rsp, 8 ; +0x90, 0x1003508c0 pop rbx ; +0x94, 0x1003508c4 pop rbp ; +0x95, 0x1003508c5 retn ; +0x96, 0x1003508c6