; ; sub_1800158A0 from 0x1800158a0 to 0x1800158d8 (56 bytes) ; ; 2 xrefs: ; > sub_180015B40 @ 0x180015caf ; > @ 0x1801f70b0 ; ; 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:52:47 +0000 ; push rbx ; +0x0, 0x1800158a0 sub rsp, 20h ; +0x2, 0x1800158a2 mov rcx, [r8+170h] ; +0x6, 0x1800158a6 mov rbx, rdx ; +0xd, 0x1800158ad lea rdx, [rsp+28h+arg_10] ; +0x10, 0x1800158b0 call sub_1800B3D20 ; +0x15, 0x1800158b5 test eax, eax ; +0x1a, 0x1800158ba jnz short loc_1800158CD ; +0x1c, 0x1800158bc mov eax, [rsp+28h+arg_10] ; +0x1e, 0x1800158be mov [rbx], rax ; +0x22, 0x1800158c2 xor eax, eax ; +0x25, 0x1800158c5 add rsp, 20h ; +0x27, 0x1800158c7 pop rbx ; +0x2b, 0x1800158cb retn ; +0x2c, 0x1800158cc mov eax, 1 ; +0x2d, 0x1800158cd add rsp, 20h ; +0x32, 0x1800158d2 pop rbx ; +0x36, 0x1800158d6 retn ; +0x37, 0x1800158d7