; ; sub_1800547E0 from 0x1800547e0 to 0x180054949 (361 bytes) ; ; 4 xrefs: ; > sub_180053BD0 @ 0x180053ca0 ; > sub_180053D30 @ 0x180053d33 ; > sub_180054050 @ 0x18005419f ; > @ 0x1801f8c28 ; ; 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 rbx ; +0x0, 0x1800547e0 sub rsp, 20h ; +0x2, 0x1800547e2 mov rbx, rcx ; +0x6, 0x1800547e6 mov qword ptr [rcx+258h], 0 ; +0x9, 0x1800547e9 mov rcx, [rcx+240h]; void * ; +0x14, 0x1800547f4 test rcx, rcx ; +0x1b, 0x1800547fb jz short loc_18005480E ; +0x1e, 0x1800547fe mov r8d, [rbx+254h]; Size ; +0x20, 0x180054800 xor edx, edx; Val ; +0x27, 0x180054807 call memset ; +0x29, 0x180054809 movss xmm1, dword ptr [rbx+8284h] ; +0x2e, 0x18005480e xorps xmm2, xmm2 ; +0x36, 0x180054816 movss xmm5, cs:dword_180164640 ; +0x39, 0x180054819 movaps xmm0, xmm1 ; +0x41, 0x180054821 movss xmm4, cs:dword_180164634 ; +0x44, 0x180054824 addss xmm0, xmm5 ; +0x4c, 0x18005482c movaps xmm3, xmm5 ; +0x50, 0x180054830 movss dword ptr [rbx+224h], xmm1 ; +0x53, 0x180054833 divss xmm3, xmm0 ; +0x5b, 0x18005483b movaps xmm0, xmm1 ; +0x5f, 0x18005483f addss xmm0, xmm1 ; +0x62, 0x180054842 movss dword ptr [rbx+228h], xmm3 ; +0x66, 0x180054846 comiss xmm0, xmm2 ; +0x6e, 0x18005484e jnb short loc_180054858 ; +0x71, 0x180054851 xorps xmm0, xmm0 ; +0x73, 0x180054853 jmp short loc_18005485C ; +0x76, 0x180054856 minss xmm0, xmm4 ; +0x78, 0x180054858 mulss xmm0, cs:dword_1801670CC ; +0x7c, 0x18005485c mulss xmm1, cs:dword_180166DD0 ; +0x84, 0x180054864 mulss xmm0, xmm3 ; +0x8c, 0x18005486c movss dword ptr [rbx+22Ch], xmm0 ; +0x90, 0x180054870 movaps xmm0, xmm1 ; +0x98, 0x180054878 subss xmm0, xmm5 ; +0x9b, 0x18005487b comiss xmm0, xmm2 ; +0x9f, 0x18005487f jnb short loc_180054889 ; +0xa2, 0x180054882 xorps xmm0, xmm0 ; +0xa4, 0x180054884 jmp short loc_18005488D ; +0xa7, 0x180054887 minss xmm0, xmm4 ; +0xa9, 0x180054889 mulss xmm0, cs:dword_1801670CC ; +0xad, 0x18005488d subss xmm1, cs:dword_1801670D8 ; +0xb5, 0x180054895 mulss xmm0, xmm3 ; +0xbd, 0x18005489d comiss xmm1, xmm2 ; +0xc1, 0x1800548a1 movss dword ptr [rbx+230h], xmm0 ; +0xc4, 0x1800548a4 jb short loc_1800548B5 ; +0xcc, 0x1800548ac minss xmm1, xmm4 ; +0xce, 0x1800548ae movaps xmm2, xmm1 ; +0xd2, 0x1800548b2 mulss xmm2, cs:dword_1801670CC ; +0xd5, 0x1800548b5 xor eax, eax ; +0xdd, 0x1800548bd mov dword ptr [rbx+274h], 0 ; +0xdf, 0x1800548bf movss xmm1, dword ptr [rbx+8280h] ; +0xe9, 0x1800548c9 movss dword ptr [rbx+220h], xmm1 ; +0xf1, 0x1800548d1 mulss xmm2, xmm3 ; +0xf9, 0x1800548d9 mov dword ptr [rbx+278h], 3E800000h ; +0xfd, 0x1800548dd movss xmm3, dword ptr [rbx+8288h] ; +0x107, 0x1800548e7 movss dword ptr [rbx+238h], xmm3 ; +0x10f, 0x1800548ef movss dword ptr [rbx+234h], xmm2 ; +0x117, 0x1800548f7 movd xmm2, dword ptr [rbx+264h] ; +0x11f, 0x1800548ff cvtdq2ps xmm2, xmm2 ; +0x127, 0x180054907 mov dword ptr [rbx+27Ch], 3F000000h ; +0x12a, 0x18005490a divss xmm3, xmm2 ; +0x134, 0x180054914 movaps xmm0, xmm2 ; +0x138, 0x180054918 mulss xmm0, xmm1 ; +0x13b, 0x18005491b mulss xmm1, cs:dword_1801670C0 ; +0x13f, 0x18005491f movss dword ptr [rbx+260h], xmm3 ; +0x147, 0x180054927 mulss xmm0, xmm1 ; +0x14f, 0x18005492f movss dword ptr [rbx+26Ch], xmm0 ; +0x153, 0x180054933 movss dword ptr [rbx+270h], xmm0 ; +0x15b, 0x18005493b add rsp, 20h ; +0x163, 0x180054943 pop rbx ; +0x167, 0x180054947 retn ; +0x168, 0x180054948