; ; sub_1800398D0 from 0x1800398d0 to 0x180039975 (165 bytes) ; ; 2 xrefs: ; > sub_180039870 @ 0x180039888 ; > @ 0x1801f7cbc ; ; 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, 0x1800398d0 sub rsp, 20h ; +0x2, 0x1800398d2 xor eax, eax ; +0x6, 0x1800398d6 mov dword ptr [rcx+28h], 3E8h ; +0x8, 0x1800398d8 mov [rcx+120h], rax ; +0xf, 0x1800398df mov rbx, rcx ; +0x16, 0x1800398e6 mov [rcx+128h], rax ; +0x19, 0x1800398e9 mov [rcx+130h], rax ; +0x20, 0x1800398f0 mov [rcx+148h], rax ; +0x27, 0x1800398f7 mov [rcx+138h], rax ; +0x2e, 0x1800398fe mov [rcx+168h], rax ; +0x35, 0x180039905 mov [rcx+18h], eax ; +0x3c, 0x18003990c mov [rcx+8], rax ; +0x3f, 0x18003990f call sub_18003AC00 ; +0x43, 0x180039913 test eax, eax ; +0x48, 0x180039918 jnz short loc_18003995E ; +0x4a, 0x18003991a mov rcx, [rbx+170h] ; +0x4c, 0x18003991c lea rdx, [rsp+28h+arg_0] ; +0x53, 0x180039923 call sub_1800B3D20 ; +0x58, 0x180039928 test eax, eax ; +0x5d, 0x18003992d jnz short loc_18003996F ; +0x5f, 0x18003992f mov rcx, [rbx+170h] ; +0x61, 0x180039931 lea rdx, [rsp+28h+arg_18] ; +0x68, 0x180039938 call sub_1800B3050 ; +0x6d, 0x18003993d test eax, eax ; +0x72, 0x180039942 jnz short loc_18003996F ; +0x74, 0x180039944 mov edx, [rsp+28h+arg_18] ; +0x76, 0x180039946 add edx, [rsp+28h+arg_0] ; +0x7a, 0x18003994a mov rcx, [rbx+170h] ; +0x7e, 0x18003994e call sub_1800B3C10 ; +0x85, 0x180039955 test eax, eax ; +0x8a, 0x18003995a jnz short loc_18003996F ; +0x8c, 0x18003995c mov rcx, [rbx+170h] ; +0x8e, 0x18003995e xor r8d, r8d ; +0x95, 0x180039965 xor edx, edx ; +0x98, 0x180039968 call sub_1800B3990 ; +0x9a, 0x18003996a add rsp, 20h ; +0x9f, 0x18003996f pop rbx ; +0xa3, 0x180039973 retn ; +0xa4, 0x180039974