; ; sub_1800380A0 from 0x1800380a0 to 0x1800381a0 (256 bytes) ; ; 3 xrefs: ; > sub_1800364B0 @ 0x180037985 ; > sub_180037A60 @ 0x180037b0a ; > @ 0x1801f7c5c ; ; 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:06 +0000 ; push rbx ; +0x0, 0x1800380a0 sub rsp, 20h ; +0x2, 0x1800380a2 cmp dword ptr [rcx+0BECh], 0 ; +0x6, 0x1800380a6 mov rbx, rcx ; +0xd, 0x1800380ad jnz loc_180038155 ; +0x10, 0x1800380b0 cmp byte ptr [rcx+0BE9h], 0 ; +0x16, 0x1800380b6 jz short loc_1800380D2 ; +0x1d, 0x1800380bd cmp byte ptr [rcx+0BEAh], 0 ; +0x1f, 0x1800380bf jnz short loc_1800380D2 ; +0x26, 0x1800380c6 call sub_1800D5B30 ; +0x28, 0x1800380c8 jmp loc_18003815E ; +0x2d, 0x1800380cd mov eax, [rcx+0C0Ch] ; +0x32, 0x1800380d2 test eax, eax ; +0x38, 0x1800380d8 js short loc_1800380EC ; +0x3a, 0x1800380da mov [rcx+0BFCh], eax ; +0x3c, 0x1800380dc mov dword ptr [rcx+0C0Ch], 0FFFFFFFFh ; +0x42, 0x1800380e2 mov eax, [rcx+0C08h] ; +0x4c, 0x1800380ec test eax, eax ; +0x52, 0x1800380f2 js short loc_180038106 ; +0x54, 0x1800380f4 mov [rcx+0BF8h], eax ; +0x56, 0x1800380f6 mov dword ptr [rcx+0C08h], 0FFFFFFFFh ; +0x5c, 0x1800380fc call sub_180038CE0 ; +0x66, 0x180038106 cmp dword ptr [rbx+0C08h], 0FFFFFFFFh ; +0x6b, 0x18003810b jnz short loc_18003815E ; +0x72, 0x180038112 mov eax, [rbx+0BF8h] ; +0x74, 0x180038114 inc eax ; +0x7a, 0x18003811a mov [rbx+0C08h], eax ; +0x7c, 0x18003811c cmp eax, 40h ; '@' ; +0x82, 0x180038122 jl short loc_18003815E ; +0x85, 0x180038125 mov eax, [rbx+0BFCh] ; +0x87, 0x180038127 inc eax ; +0x8d, 0x18003812d mov [rbx+0C0Ch], eax ; +0x8f, 0x18003812f cmp eax, [rbx+8ECh] ; +0x95, 0x180038135 jl short loc_180038149 ; +0x9b, 0x18003813b mov eax, [rbx+0BD0h] ; +0x9d, 0x18003813d mov [rbx+0C0Ch], eax ; +0xa3, 0x180038143 mov dword ptr [rbx+0C08h], 0 ; +0xa9, 0x180038149 jmp short loc_18003815E ; +0xb3, 0x180038153 test dl, dl ; +0xb5, 0x180038155 jz short loc_18003815E ; +0xb7, 0x180038157 call sub_1800381A0 ; +0xb9, 0x180038159 mov eax, [rbx+0BF0h] ; +0xbe, 0x18003815e add eax, [rbx+0C00h] ; +0xc4, 0x180038164 inc dword ptr [rbx+0BECh] ; +0xca, 0x18003816a cmp [rbx+0BECh], eax ; +0xd0, 0x180038170 jl short loc_18003818C ; +0xd6, 0x180038176 mov dword ptr [rbx+0C00h], 0 ; +0xd8, 0x180038178 mov dword ptr [rbx+0BECh], 0 ; +0xe2, 0x180038182 mov eax, [rbx+854h] ; +0xec, 0x18003818c add [rbx+858h], eax ; +0xf2, 0x180038192 xor eax, eax ; +0xf8, 0x180038198 add rsp, 20h ; +0xfa, 0x18003819a pop rbx ; +0xfe, 0x18003819e retn ; +0xff, 0x18003819f