; ; EnhancedGameObject::createRotateAction from 0x1005cc7d0 to 0x1005cc86a (154 bytes) ; ; 2 xrefs: ; > EnhancedGameObject::customSetup @ 0x1005ccd68 ; > EnhancedGameObject::customSetup @ 0x1005ccfd3 ; ; 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, 0x1005cc7d0 mov rbp, rsp ; +0x1, 0x1005cc7d1 push rbx ; +0x4, 0x1005cc7d4 sub rsp, 28h ; +0x5, 0x1005cc7d5 mov rbx, rdi ; +0x9, 0x1005cc7d9 xorps xmm1, xmm1 ; +0xc, 0x1005cc7dc ucomiss xmm0, xmm1 ; +0xf, 0x1005cc7df jnz short loc_1005CC7E6 ; +0x12, 0x1005cc7e2 jnp short loc_1005CC7EE ; +0x14, 0x1005cc7e4 movss dword ptr [rbx+574h], xmm0 ; +0x16, 0x1005cc7e6 movss xmm3, dword ptr [rbx+570h] ; +0x1e, 0x1005cc7ee ucomiss xmm1, xmm3 ; +0x26, 0x1005cc7f6 mov eax, 1 ; +0x29, 0x1005cc7f9 cmovnz esi, eax ; +0x2e, 0x1005cc7fe cmovp esi, eax ; +0x31, 0x1005cc801 test esi, esi ; +0x34, 0x1005cc804 jnz short loc_1005CC83F ; +0x36, 0x1005cc806 movaps [rbp+var_30], xmm0 ; +0x38, 0x1005cc808 movaps [rbp+var_20], xmm3 ; +0x3c, 0x1005cc80c call _rand ; +0x40, 0x1005cc810 movaps xmm3, [rbp+var_20] ; +0x45, 0x1005cc815 movaps xmm0, [rbp+var_30] ; +0x49, 0x1005cc819 xorps xmm1, xmm1 ; +0x4d, 0x1005cc81d cvtsi2ss xmm1, eax ; +0x50, 0x1005cc820 mulss xmm1, cs:dword_100815710 ; +0x54, 0x1005cc824 xor eax, eax ; +0x5c, 0x1005cc82c ucomiss xmm1, cs:dword_100814FA8 ; +0x5e, 0x1005cc82e setnbe al ; +0x65, 0x1005cc835 lea esi, ds:0FFFFFFFFFFFFFFFFh[rax*2] ; +0x68, 0x1005cc838 xorps xmm2, xmm2 ; +0x6f, 0x1005cc83f cmpneqss xmm2, xmm3 ; +0x72, 0x1005cc842 andps xmm3, xmm2 ; +0x77, 0x1005cc847 xorps xmm1, xmm1 ; +0x7a, 0x1005cc84a cvtsi2ss xmm1, esi ; +0x7d, 0x1005cc84d andnps xmm2, xmm0 ; +0x81, 0x1005cc851 orps xmm2, xmm3 ; +0x84, 0x1005cc854 mulss xmm1, xmm2 ; +0x87, 0x1005cc857 movss dword ptr [rbx+578h], xmm1 ; +0x8b, 0x1005cc85b add rsp, 28h ; +0x93, 0x1005cc863 pop rbx ; +0x97, 0x1005cc867 pop rbp ; +0x98, 0x1005cc868 retn ; +0x99, 0x1005cc869