; ; sub_18005A240 from 0x18005a240 to 0x18005a2e3 (163 bytes) ; ; 10 xrefs: ; > sub_180068660 @ 0x18006867f ; > sub_1800696B0 @ 0x1800696d1 ; > sub_1800923A0 @ 0x18009243e ; > sub_180092F10 @ 0x1800930b3 ; > sub_180098A50 @ 0x180099176 ; > sub_1800E1DB0 @ 0x1800e1e8b ; > sub_1800E9660 @ 0x1800e96f8 ; > sub_1800E98E0 @ 0x1800e9935 ; > sub_180107B20 @ 0x180107b35 ; > @ 0x1801f8f64 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 10:53:21 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x18005a240 mov [rsp+arg_8], rsi ; +0x5, 0x18005a245 push rdi ; +0xa, 0x18005a24a sub rsp, 20h ; +0xb, 0x18005a24b xor esi, esi ; +0xf, 0x18005a24f movzx edi, r8b ; +0x11, 0x18005a251 mov rbx, rcx ; +0x15, 0x18005a255 test dl, dl ; +0x18, 0x18005a258 jz short loc_18005A2A7 ; +0x1a, 0x18005a25a mov rdx, [rbx] ; +0x1c, 0x18005a25c mov dword ptr [rcx+68h], 3F800000h ; +0x1f, 0x18005a25f mov [rcx+84h], esi ; +0x26, 0x18005a266 add rcx, 38h ; '8' ; +0x2c, 0x18005a26c call sub_1800EC270 ; +0x30, 0x18005a270 mov rdx, [rbx] ; +0x35, 0x18005a275 lea rcx, [rbx+48h] ; +0x38, 0x18005a278 call sub_1800EC270 ; +0x3c, 0x18005a27c test dil, dil ; +0x41, 0x18005a281 jz short loc_18005A2A7 ; +0x44, 0x18005a284 mov rdx, [rbx] ; +0x46, 0x18005a286 lea rcx, [rbx+98h] ; +0x49, 0x18005a289 mov qword ptr [rbx+90h], 3F800000h ; +0x50, 0x18005a290 mov [rbx+88h], rsi ; +0x5b, 0x18005a29b call sub_1800EC270 ; +0x62, 0x18005a2a2 mov eax, [rbx+68h] ; +0x67, 0x18005a2a7 mov rcx, rbx ; +0x6a, 0x18005a2aa mov [rbx+80h], eax ; +0x6d, 0x18005a2ad mov qword ptr [rbx+78h], 3F800000h ; +0x73, 0x18005a2b3 mov [rbx+6Ch], rsi ; +0x7b, 0x18005a2bb mov [rbx+84h], esi ; +0x7f, 0x18005a2bf mov dword ptr [rbx+74h], 3F800000h ; +0x85, 0x18005a2c5 call sub_18005A480 ; +0x8c, 0x18005a2cc mov rbx, [rsp+28h+arg_0] ; +0x91, 0x18005a2d1 xor eax, eax ; +0x96, 0x18005a2d6 mov rsi, [rsp+28h+arg_8] ; +0x98, 0x18005a2d8 add rsp, 20h ; +0x9d, 0x18005a2dd pop rdi ; +0xa1, 0x18005a2e1 retn ; +0xa2, 0x18005a2e2