1 1

Some problems about the decompiled LUA codes

Recommended Posts

I decompiled some of the LUA files of Mafia2.

But I couldn't understand them.


For example :


I noticed that each LUA file has these two functions:


function onGameInit(_ARG_0_)




function onEvent(_ARG_0_, _ARG_1_)




1. Is the function "onGameInit" the main function, or the function "onEvent"?


2. What do the _ARG_0_ and _ARG_1_ mean?



-------------Thank you !!!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
1 1