; ; AnimatedShopKeeper::init from 0x1003286c0 to 0x100328769 (169 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, 0x1003286c0 mov rbp, rsp ; +0x1, 0x1003286c1 push r14 ; +0x4, 0x1003286c4 push rbx ; +0x6, 0x1003286c6 mov rbx, rdi ; +0x7, 0x1003286c7 mov [rdi+2D0h], esi ; +0xa, 0x1003286ca dec esi ; +0x10, 0x1003286d0 cmp esi, 3 ; +0x12, 0x1003286d2 ja short loc_1003286E6 ; +0x15, 0x1003286d5 mov eax, esi ; +0x17, 0x1003286d7 lea rcx, off_1009149A0; "GJShopKeeper2" ; +0x19, 0x1003286d9 mov rsi, [rcx+rax*8] ; +0x20, 0x1003286e0 jmp short loc_1003286ED ; +0x24, 0x1003286e4 lea rsi, aGjshopkeeper; "GJShopKeeper" ; +0x26, 0x1003286e6 mov rdi, rbx ; +0x2d, 0x1003286ed xor edx, edx ; +0x30, 0x1003286f0 xor ecx, ecx ; +0x32, 0x1003286f2 call CCAnimatedSprite__initWithType ; +0x34, 0x1003286f4 test al, al ; +0x39, 0x1003286f9 jz short loc_100328764 ; +0x3b, 0x1003286fb mov r14d, eax ; +0x3d, 0x1003286fd call _rand ; +0x40, 0x100328700 cvtsi2ss xmm0, eax ; +0x45, 0x100328705 mulss xmm0, cs:dword_100815710 ; +0x49, 0x100328709 mulss xmm0, cs:flt_100815088 ; +0x51, 0x100328711 addss xmm0, cs:dword_100814FEC ; +0x59, 0x100328719 cvttss2si eax, xmm0 ; +0x61, 0x100328721 mov [rbx+2D8h], eax ; +0x65, 0x100328725 call _rand ; +0x6b, 0x10032872b xorps xmm0, xmm0 ; +0x70, 0x100328730 cvtsi2ss xmm0, eax ; +0x73, 0x100328733 mulss xmm0, cs:dword_100815710 ; +0x77, 0x100328737 addss xmm0, xmm0 ; +0x7f, 0x10032873f addss xmm0, cs:alpha ; +0x83, 0x100328743 cvttss2si eax, xmm0 ; +0x8b, 0x10032874b mov [rbx+2D4h], eax ; +0x8f, 0x10032874f mov rdi, [rbx+288h] ; +0x95, 0x100328755 call SpriteAnimationManager__stopAnimations ; +0x9c, 0x10032875c mov eax, r14d ; +0xa1, 0x100328761 pop rbx ; +0xa4, 0x100328764 pop r14 ; +0xa5, 0x100328765 pop rbp ; +0xa7, 0x100328767 retn ; +0xa8, 0x100328768