; ; sub_180005020 from 0x180005020 to 0x180005075 (85 bytes) ; ; 6 xrefs: ; > sub_180004FB0 @ 0x180004fda ; > sub_180005020 @ 0x18000504a ; > sub_180005080 @ 0x1800050ba ; > sub_18001D600 @ 0x18001d63a ; > sub_18001DC00 @ 0x18001dc3a ; > @ 0x18004b450 ; ; 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 12:15:35 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x180005020 mov [rsp+arg_8], rsi ; +0x5, 0x180005025 push rdi ; +0xa, 0x18000502a sub rsp, 20h ; +0xb, 0x18000502b cmp byte ptr [r8+19h], 0 ; +0xf, 0x18000502f mov rbx, r8 ; +0x14, 0x180005034 mov rdi, rdx ; +0x17, 0x180005037 mov rsi, rcx ; +0x1a, 0x18000503a jnz short loc_180005065 ; +0x1d, 0x18000503d nop ; +0x1f, 0x18000503f mov r8, [rbx+10h] ; +0x20, 0x180005040 mov rdx, rdi ; +0x24, 0x180005044 mov rcx, rsi ; +0x27, 0x180005047 call sub_180005020 ; +0x2a, 0x18000504a mov rcx, rbx; Block ; +0x2f, 0x18000504f mov edx, 28h ; '(' ; +0x32, 0x180005052 mov rbx, [rbx] ; +0x37, 0x180005057 call j_j_free ; +0x3a, 0x18000505a cmp byte ptr [rbx+19h], 0 ; +0x3f, 0x18000505f jz short loc_180005040 ; +0x43, 0x180005063 mov rbx, [rsp+28h+arg_0] ; +0x45, 0x180005065 mov rsi, [rsp+28h+arg_8] ; +0x4a, 0x18000506a add rsp, 20h ; +0x4f, 0x18000506f pop rdi ; +0x53, 0x180005073 retn ; +0x54, 0x180005074