; ; sub_180070270 from 0x180070270 to 0x18007033a (202 bytes) ; ; 2 xrefs: ; > sub_18006F710 @ 0x18006f716 ; > @ 0x1801f98e8 ; ; 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:29 +0000 ; push rbx ; +0x0, 0x180070270 sub rsp, 30h ; +0x2, 0x180070272 mov rbx, rcx ; +0x6, 0x180070276 xor ecx, ecx ; +0x9, 0x180070279 test edx, edx ; +0xb, 0x18007027b jz short loc_1800702D4 ; +0xd, 0x18007027d sub edx, 1 ; +0xf, 0x18007027f jz short loc_1800702C2 ; +0x12, 0x180070282 sub edx, 1 ; +0x14, 0x180070284 jz short loc_1800702B8 ; +0x17, 0x180070287 sub edx, 1 ; +0x19, 0x180070289 jz short loc_1800702AE ; +0x1c, 0x18007028c cmp edx, 1 ; +0x1e, 0x18007028e jz short loc_18007029A ; +0x21, 0x180070291 mov ecx, 1Fh ; +0x23, 0x180070293 jmp short loc_1800702E4 ; +0x28, 0x180070298 comiss xmm2, cs:dword_18014573C ; +0x2a, 0x18007029a mov eax, ecx ; +0x31, 0x1800702a1 setnb al ; +0x33, 0x1800702a3 mov [rbx+290h], eax ; +0x36, 0x1800702a6 jmp short loc_1800702E4 ; +0x3c, 0x1800702ac movss dword ptr [rbx+28Ch], xmm2 ; +0x3e, 0x1800702ae jmp short loc_1800702E4 ; +0x46, 0x1800702b6 movss dword ptr [rbx+288h], xmm2 ; +0x48, 0x1800702b8 jmp short loc_1800702E4 ; +0x50, 0x1800702c0 mulss xmm2, cs:dword_1801670CC ; +0x52, 0x1800702c2 movss dword ptr [rbx+284h], xmm2 ; +0x5a, 0x1800702ca jmp short loc_1800702E4 ; +0x62, 0x1800702d2 mulss xmm2, cs:dword_1801670CC ; +0x64, 0x1800702d4 movss dword ptr [rbx+280h], xmm2 ; +0x6c, 0x1800702dc test r9b, r9b ; +0x74, 0x1800702e4 jz short loc_180070332 ; +0x77, 0x1800702e7 test ecx, ecx ; +0x79, 0x1800702e9 jnz short loc_180070332 ; +0x7b, 0x1800702eb lea r8d, [rcx+10h] ; +0x7d, 0x1800702ed mov r9b, 1 ; +0x81, 0x1800702f1 mov rcx, [rbx+0A8h] ; +0x84, 0x1800702f4 lea rdx, [rsp+38h+var_18] ; +0x8b, 0x1800702fb call sub_1800FCF40 ; +0x90, 0x180070300 test eax, eax ; +0x95, 0x180070305 jnz short loc_180070334 ; +0x97, 0x180070307 mov rax, [rsp+38h+var_18] ; +0x99, 0x180070309 mov r8b, 1 ; +0x9e, 0x18007030e mov byte ptr [rax], 7 ; +0xa1, 0x180070311 mov rax, [rsp+38h+var_18] ; +0xa4, 0x180070314 mov [rax+8], rbx ; +0xa9, 0x180070319 mov rdx, [rsp+38h+var_18] ; +0xad, 0x18007031d mov rcx, [rbx+0A8h] ; +0xb2, 0x180070322 call sub_1800FD370 ; +0xb9, 0x180070329 test eax, eax ; +0xbe, 0x18007032e jnz short loc_180070334 ; +0xc0, 0x180070330 xor eax, eax ; +0xc2, 0x180070332 add rsp, 30h ; +0xc4, 0x180070334 pop rbx ; +0xc8, 0x180070338 retn ; +0xc9, 0x180070339