Posted: Sat Dec 13, 2025 6:22 am Post subject: i'm sorry
ParkourPenguin wrote:
No. Maybe you could pretend to do that with `registerAutoAssemblerPrologue`.
Why would you want to do that in the first place?
I originally wanted to implement something like an inline function, essentially creating a pushad equivalent for x64. Such a sequence of code doesn’t rely on symbols or absolute addresses and could be addressed with something like define(name, db ...). However, in daily development, I also have scenarios that require symbols and absolute addresses. Maybe my idea is unreasonable—I apologize. I’ll give up on trying to do this in CE for now; my request is probably not reasonable, as CE is a tool and not suited for creating finished product-level trainers.
Joined: 09 May 2003 Posts: 25830 Location: The netherlands
Posted: Sat Dec 13, 2025 10:54 am Post subject:
Code:
registerAutoAssemblerCommand(command, function(parameters, syntaxcheckonly)): Registers an auto assembler command to call the specified function. The command will be replaced by the string this function returns when executed. The function can be called twice. Once for syntax check and symbol lookup(1), and the second time for actual execution by the assembler(2) if it has not been removed in phase1.
Note: The callback function can return multiple values
Nil, <String>: Will raise an error with the given string
MultilineString: Replaces the line in the script with the given strings.
If the function returns nil, and as secondary parameter a string, this will make the auto assembler fail with that error
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum