; ; sub_18003B0F0 from 0x18003b0f0 to 0x18003b230 (320 bytes) ; ; 2 xrefs: ; > sub_18003B070 @ 0x18003b088 ; > @ 0x1801f7d4c ; ; 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:08 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x18003b0f0 mov [rsp+arg_8], rsi ; +0x5, 0x18003b0f5 push rdi ; +0xa, 0x18003b0fa sub rsp, 20h ; +0xb, 0x18003b0fb xor esi, esi ; +0xf, 0x18003b0ff mov dword ptr [rcx+28h], 0Eh ; +0x11, 0x18003b101 lea rdx, [rcx+178h] ; +0x18, 0x18003b108 mov [rcx+120h], rsi ; +0x1f, 0x18003b10f mov [rcx+128h], rsi ; +0x26, 0x18003b116 mov rdi, r8 ; +0x2d, 0x18003b11d mov [rcx+130h], rsi ; +0x30, 0x18003b120 mov rbx, rcx ; +0x37, 0x18003b127 mov [rcx+148h], rsi ; +0x3a, 0x18003b12a mov [rcx+138h], rsi ; +0x41, 0x18003b131 mov [rcx+168h], rsi ; +0x48, 0x18003b138 mov [rcx+18h], esi ; +0x4f, 0x18003b13f mov [rcx+8], rdx ; +0x52, 0x18003b142 mov eax, [r8+14h] ; +0x56, 0x18003b146 dec eax ; +0x5a, 0x18003b14a cmp eax, 4 ; +0x5c, 0x18003b14c ja loc_18003B21B ; +0x5f, 0x18003b14f mov rcx, [rcx+170h] ; +0x65, 0x18003b155 add rdx, 14h ; +0x6c, 0x18003b15c mov rax, [rcx] ; +0x70, 0x18003b160 call qword ptr [rax+10h] ; +0x73, 0x18003b163 test eax, eax ; +0x76, 0x18003b166 jnz loc_18003B220 ; +0x78, 0x18003b168 mov rcx, [rbx+8] ; +0x7e, 0x18003b16e mov [rbx+110h], esi ; +0x82, 0x18003b172 mov eax, [rdi+14h] ; +0x88, 0x18003b178 mov [rcx+8], eax ; +0x8b, 0x18003b17b mov rcx, [rbx+8] ; +0x8e, 0x18003b17e mov eax, [rdi+0Ch] ; +0x92, 0x18003b182 mov [rcx+0Ch], eax ; +0x95, 0x18003b185 mov rcx, [rbx+8] ; +0x98, 0x18003b188 mov eax, [rdi+10h] ; +0x9c, 0x18003b18c mov [rcx+10h], eax ; +0x9f, 0x18003b18f mov r9d, [rdi+0Ch] ; +0xa2, 0x18003b192 mov r8, [rbx+8] ; +0xa6, 0x18003b196 mov edx, [rdi+4] ; +0xaa, 0x18003b19a test r9d, r9d ; +0xad, 0x18003b19d jz short loc_18003B206 ; +0xb0, 0x18003b1a0 mov ecx, [rdi+14h] ; +0xb2, 0x18003b1a2 sub ecx, 1 ; +0xb5, 0x18003b1a5 jz short loc_18003B1EC ; +0xb8, 0x18003b1a8 sub ecx, 1 ; +0xba, 0x18003b1aa jz short loc_18003B1E5 ; +0xbd, 0x18003b1ad sub ecx, 1 ; +0xbf, 0x18003b1af jz short loc_18003B1DE ; +0xc2, 0x18003b1b2 sub ecx, 1 ; +0xc4, 0x18003b1b4 jz short loc_18003B1D7 ; +0xc7, 0x18003b1b7 cmp ecx, 1 ; +0xc9, 0x18003b1b9 jz short loc_18003B1D7 ; +0xcc, 0x18003b1bc mov [r8+18h], edx ; +0xce, 0x18003b1be mov eax, esi ; +0xd2, 0x18003b1c2 mov [rbx+18h], esi ; +0xd4, 0x18003b1c4 mov rbx, [rsp+28h+arg_0] ; +0xd7, 0x18003b1c7 mov rsi, [rsp+28h+arg_8] ; +0xdc, 0x18003b1cc add rsp, 20h ; +0xe1, 0x18003b1d1 pop rdi ; +0xe5, 0x18003b1d5 retn ; +0xe6, 0x18003b1d6 mov ecx, 20h ; ' ' ; +0xe7, 0x18003b1d7 jmp short loc_18003B1F1 ; +0xec, 0x18003b1dc mov ecx, 18h ; +0xee, 0x18003b1de jmp short loc_18003B1F1 ; +0xf3, 0x18003b1e3 mov ecx, 10h ; +0xf5, 0x18003b1e5 jmp short loc_18003B1F1 ; +0xfa, 0x18003b1ea mov ecx, 8 ; +0xfc, 0x18003b1ec mov rax, rdx ; +0x101, 0x18003b1f1 xor edx, edx ; +0x104, 0x18003b1f4 shl rax, 3 ; +0x106, 0x18003b1f6 div rcx ; +0x10a, 0x18003b1fa xor edx, edx ; +0x10d, 0x18003b1fd div r9d ; +0x10f, 0x18003b1ff mov [r8+18h], eax ; +0x112, 0x18003b202 mov [rbx+18h], esi ; +0x116, 0x18003b206 mov eax, esi ; +0x119, 0x18003b209 mov rbx, [rsp+28h+arg_0] ; +0x11b, 0x18003b20b mov rsi, [rsp+28h+arg_8] ; +0x120, 0x18003b210 add rsp, 20h ; +0x125, 0x18003b215 pop rdi ; +0x129, 0x18003b219 retn ; +0x12a, 0x18003b21a mov eax, 13h ; +0x12b, 0x18003b21b mov rbx, [rsp+28h+arg_0] ; +0x130, 0x18003b220 mov rsi, [rsp+28h+arg_8] ; +0x135, 0x18003b225 add rsp, 20h ; +0x13a, 0x18003b22a pop rdi ; +0x13e, 0x18003b22e retn ; +0x13f, 0x18003b22f