zombie-core-utils/length_func.inc
zombie b6470befab added length
this is broken rn fix
2021-09-17 09:18:29 -04:00

20 lines
213 B
PHP

length_func:
pop r8
_loop67865432:
mov r9b, [r8]
cmp r9b, 0
jz _exitloop4323567
inc r8
jmp _loop67865432
_exitloop4323567:
dec r8 ; idk how to do it properly do im doing this instead
push r8
ret