; ; _clearfp from 0x180142120 to 0x18014218e (110 bytes) ; ; 2 xrefs: ; > feholdexcept @ 0x180141534 ; > @ 0x180203d1c ; ; 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, 0x180142120 sub rsp, 20h ; +0x2, 0x180142122 call _get_fpsr ; +0x6, 0x180142126 mov ebx, eax ; +0xb, 0x18014212b call _fclrf ; +0xd, 0x18014212d xor r9d, r9d ; +0x12, 0x180142132 test bl, 3Fh ; +0x15, 0x180142135 jz short loc_180142185 ; +0x18, 0x180142138 mov ecx, ebx ; +0x1a, 0x18014213a mov eax, ebx ; +0x1c, 0x18014213c mov edx, ebx ; +0x1e, 0x18014213e and edx, 1 ; +0x20, 0x180142140 shl edx, 4 ; +0x23, 0x180142143 mov r8d, edx ; +0x26, 0x180142146 or r8d, 8 ; +0x29, 0x180142149 and cl, 4 ; +0x2d, 0x18014214d cmovz r8d, edx ; +0x30, 0x180142150 mov ecx, r8d ; +0x34, 0x180142154 or ecx, 4 ; +0x37, 0x180142157 and al, 8 ; +0x3a, 0x18014215a mov eax, ebx ; +0x3c, 0x18014215c cmovz ecx, r8d ; +0x3e, 0x18014215e mov edx, ecx ; +0x42, 0x180142162 or edx, 2 ; +0x44, 0x180142164 and al, 10h ; +0x47, 0x180142167 mov eax, ebx ; +0x49, 0x180142169 cmovz edx, ecx ; +0x4b, 0x18014216b mov r9d, edx ; +0x4e, 0x18014216e or r9d, 1 ; +0x51, 0x180142171 and al, 20h ; +0x55, 0x180142175 cmovz r9d, edx ; +0x57, 0x180142177 test bl, 2 ; +0x5b, 0x18014217b jz short loc_180142185 ; +0x5e, 0x18014217e bts r9d, 13h ; +0x60, 0x180142180 mov eax, r9d ; +0x65, 0x180142185 add rsp, 20h ; +0x68, 0x180142188 pop rbx ; +0x6c, 0x18014218c retn ; +0x6d, 0x18014218d