Last active
January 6, 2019 21:01
-
-
Save shinyquagsire23/a4d195aa3e6b20f8458edc657d0f4c92 to your computer and use it in GitHub Desktop.
lua vs lua2cpp vs luac vs nrooooooo tokens
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function <?:27,31> (25 instructions at 0x563b8aad94d0) | |
0 params, 17 slots, 1 upvalue, 0 locals, 7 constants, 0 functions | |
1 [-] GETTABUP 0 0 -1 ; - "sv_animcmd" | |
2 [-] GETTABLE 0 0 -2 ; "is_excute" | |
3 [-] CALL 0 1 2 | |
4 [-] TEST 0 0 | |
5 [-] JMP 0 19 ; to 25 | |
6 [-] GETTABUP 0 0 -1 ; - "sv_animcmd" | |
7 [-] GETTABLE 0 0 -3 ; "LANDING_EFFECT" | |
8 [-] LOADK 1 -4 ; 85833409598 | |
9 [-] LOADK 2 -5 ; 13402447818 | |
10 [-] LOADK 3 -6 ; 0 | |
11 [-] LOADK 4 -6 ; 0 | |
12 [-] LOADK 5 -6 ; 0 | |
13 [-] LOADK 6 -6 ; 0 | |
14 [-] LOADK 7 -6 ; 0 | |
15 [-] LOADK 8 -6 ; 0 | |
16 [-] LOADK 9 -7 ; 0.9 | |
17 [-] LOADK 10 -6 ; 0 | |
18 [-] LOADK 11 -6 ; 0 | |
19 [-] LOADK 12 -6 ; 0 | |
20 [-] LOADK 13 -6 ; 0 | |
21 [-] LOADK 14 -6 ; 0 | |
22 [-] LOADK 15 -6 ; 0 | |
23 [-] LOADBOOL 16 1 0 | |
24 [-] CALL 0 17 1 | |
25 [-] RETURN 0 1 | |
constants (7) for 0x563b8aad94d0: | |
1 "sv_animcmd" | |
2 "is_excute" | |
3 "LANDING_EFFECT" | |
4 85833409598 | |
5 13402447818 | |
6 0 | |
7 0.9 | |
locals (0) for 0x563b8aad94d0: | |
upvalues (1) for 0x563b8aad94d0: | |
0 - 0 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10001b870 0 lib::L2CAgent::clear_lua_stack() | |
10001b878 0 app::sv_animcmd::is_excute(lua_State*) | |
10001b888 0 lib::L2CAgent::pop_lua_stack(int) args 0x1 | |
10001b890 0 lib::L2CValue::operator bool() const | |
10001b89c 0 lib::L2CValue::~L2CValue() | |
10001b8a0 0 DIV_START | |
10001b8a4 0 DIV_DST_FORK | |
10001b8b4 0->1 lib::L2CValue::L2CValue(phx::Hash40) args 0xfc11e43e | |
10001b8c8 0->1 lib::L2CValue::L2CValue(phx::Hash40) args 0x1ed91fca | |
10001b8d4 0->1 lib::L2CValue::L2CValue(int) args 0x0 | |
10001b8e0 0->1 lib::L2CValue::L2CValue(int) args 0x0 | |
10001b8ec 0->1 lib::L2CValue::L2CValue(int) args 0x0 | |
10001b8f8 0->1 lib::L2CValue::L2CValue(int) args 0x0 | |
10001b904 0->1 lib::L2CValue::L2CValue(int) args 0x0 | |
10001b910 0->1 lib::L2CValue::L2CValue(int) args 0x0 | |
10001b920 0->1 lib::L2CValue::L2CValue(float) | |
10001b92c 0->1 lib::L2CValue::L2CValue(int) args 0x0 | |
10001b938 0->1 lib::L2CValue::L2CValue(int) args 0x0 | |
10001b944 0->1 lib::L2CValue::L2CValue(int) args 0x0 | |
10001b950 0->1 lib::L2CValue::L2CValue(int) args 0x0 | |
10001b95c 0->1 lib::L2CValue::L2CValue(int) args 0x0 | |
10001b968 0->1 lib::L2CValue::L2CValue(int) args 0x0 | |
10001b978 0->1 lib::L2CValue::L2CValue(bool) args 0x0 | |
10001b9d0 0->1 app::sv_animcmd::LANDING_EFFECT(lua_State*) | |
10001b9d8 0->1 lib::L2CValue::~L2CValue() | |
10001b9e0 0->1 lib::L2CValue::~L2CValue() | |
10001b9e8 0->1 lib::L2CValue::~L2CValue() | |
10001b9f0 0->1 lib::L2CValue::~L2CValue() | |
10001b9f8 0->1 lib::L2CValue::~L2CValue() | |
10001ba00 0->1 lib::L2CValue::~L2CValue() | |
10001ba08 0->1 lib::L2CValue::~L2CValue() | |
10001ba10 0->1 lib::L2CValue::~L2CValue() | |
10001ba18 0->1 lib::L2CValue::~L2CValue() | |
10001ba20 0->1 lib::L2CValue::~L2CValue() | |
10001ba28 0->1 lib::L2CValue::~L2CValue() | |
10001ba30 0->1 lib::L2CValue::~L2CValue() | |
10001ba38 0->1 lib::L2CValue::~L2CValue() | |
10001ba40 0->1 lib::L2CValue::~L2CValue() | |
10001ba48 0->1 lib::L2CValue::~L2CValue() | |
10001ba50 0->1 lib::L2CValue::~L2CValue() | |
10001ba54 0 DIV_DST_PARENT | |
10001ba5c 0->1 CONV | |
10001ba5c 0 lib::L2CValue::L2CValue(int) args 0x0 | |
1000fcbac 0->1 lib::L2CAgent::clear_lua_stack() | |
1000fcbb8 0->1 lib::L2CAgent::push_lua_stack(lib::L2CValue const&) | |
1000fcbc4 0->1 lib::L2CAgent::push_lua_stack(lib::L2CValue const&) | |
1000fcbd0 0->1 lib::L2CAgent::push_lua_stack(lib::L2CValue const&) | |
1000fcbdc 0->1 lib::L2CAgent::push_lua_stack(lib::L2CValue const&) | |
1000fcbe8 0->1 lib::L2CAgent::push_lua_stack(lib::L2CValue const&) | |
1000fcbf4 0->1 lib::L2CAgent::push_lua_stack(lib::L2CValue const&) | |
1000fcc00 0->1 lib::L2CAgent::push_lua_stack(lib::L2CValue const&) | |
1000fcc0c 0->1 lib::L2CAgent::push_lua_stack(lib::L2CValue const&) | |
1000fcc18 0->1 lib::L2CAgent::push_lua_stack(lib::L2CValue const&) | |
1000fcc24 0->1 lib::L2CAgent::push_lua_stack(lib::L2CValue const&) | |
1000fcc30 0->1 lib::L2CAgent::push_lua_stack(lib::L2CValue const&) | |
1000fcc3c 0->1 lib::L2CAgent::push_lua_stack(lib::L2CValue const&) | |
1000fcc48 0->1 lib::L2CAgent::push_lua_stack(lib::L2CValue const&) | |
1000fcc54 0->1 lib::L2CAgent::push_lua_stack(lib::L2CValue const&) | |
1000fcc60 0->1 lib::L2CAgent::push_lua_stack(lib::L2CValue const&) | |
1000fcc6c 0->1 lib::L2CAgent::push_lua_stack(lib::L2CValue const&) | |
1000fd930 0 lib::utility::Variadic::get_format() const | |
1000fd974 0 lib::L2CValue::~L2CValue() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function effect_SummersaultLanding() | |
if (sv_animcmd.is_excute()) then | |
sv_animcmd.LANDING_EFFECT(0x13FC11E43E, 0x31ED91FCA, 0, 0, 0, 0, 0, 0, 0.9, 0,0,0,0,0,0,false) | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function <test2.lua:9,13> (25 instructions at 0x5630654581e0) | |
0 params, 17 slots, 1 upvalue, 0 locals, 7 constants, 0 functions | |
1 [10] GETTABUP 0 0 -1 ; _ENV "sv_animcmd" | |
2 [10] GETTABLE 0 0 -2 ; "is_excute" | |
3 [10] CALL 0 1 2 | |
4 [10] TEST 0 0 | |
5 [10] JMP 0 19 ; to 25 | |
6 [11] GETTABUP 0 0 -1 ; _ENV "sv_animcmd" | |
7 [11] GETTABLE 0 0 -3 ; "LANDING_EFFECT" | |
8 [11] LOADK 1 -4 ; 85833409598 | |
9 [11] LOADK 2 -5 ; 13402447818 | |
10 [11] LOADK 3 -6 ; 0 | |
11 [11] LOADK 4 -6 ; 0 | |
12 [11] LOADK 5 -6 ; 0 | |
13 [11] LOADK 6 -6 ; 0 | |
14 [11] LOADK 7 -6 ; 0 | |
15 [11] LOADK 8 -6 ; 0 | |
16 [11] LOADK 9 -7 ; 0.9 | |
17 [11] LOADK 10 -6 ; 0 | |
18 [11] LOADK 11 -6 ; 0 | |
19 [11] LOADK 12 -6 ; 0 | |
20 [11] LOADK 13 -6 ; 0 | |
21 [11] LOADK 14 -6 ; 0 | |
22 [11] LOADK 15 -6 ; 0 | |
23 [11] LOADBOOL 16 0 0 | |
24 [11] CALL 0 17 1 | |
25 [13] RETURN 0 1 | |
constants (7) for 0x5630654581e0: | |
1 "sv_animcmd" | |
2 "is_excute" | |
3 "LANDING_EFFECT" | |
4 85833409598 | |
5 13402447818 | |
6 0 | |
7 0.9 | |
locals (0) for 0x5630654581e0: | |
upvalues (1) for 0x5630654581e0: | |
0 _ENV 0 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__int64 __fastcall effect_landinglight_lua2cpp(lib::L2CValue *a1, lib::L2CAgent *this, __int64 a3, __int64 a4, __int64 a5, __int64 a6, __int64 a7, __int64 a8, int a9, int a10, int a11, int a12, int a13, int a14, int a15, int a16, int a17, int a18, int a19, int a20, int a21, int a22, int a23, int a24, int a25, int a26, int a27, int a28, char a29, int a30, int a31, int a32, char a33, int a34, int a35, int a36, char a37, int a38, int a39, int a40, char a41, int a42, int a43, int a44, char a45, int a46, int a47, int a48, char a49, int a50, int a51, int a52, char a53, int a54, int a55, int a56, char a57) | |
{ | |
void **v57; // x20 | |
lib::L2CValue *v58; // x19 | |
char v59; // w21 | |
char v61; // [xsp+50h] [xbp-130h] | |
char v62; // [xsp+60h] [xbp-120h] | |
char v63; // [xsp+70h] [xbp-110h] | |
char v64; // [xsp+80h] [xbp-100h] | |
char v65; // [xsp+90h] [xbp-F0h] | |
char v66; // [xsp+A0h] [xbp-E0h] | |
char v67; // [xsp+B0h] [xbp-D0h] | |
char v68; // [xsp+C0h] [xbp-C0h] | |
char v69; // [xsp+D0h] [xbp-B0h] | |
char v70; // [xsp+E0h] [xbp-A0h] | |
char v71; // [xsp+F0h] [xbp-90h] | |
char v72; // [xsp+100h] [xbp-80h] | |
char v73; // [xsp+110h] [xbp-70h] | |
char v74; // [xsp+120h] [xbp-60h] | |
char v75; // [xsp+130h] [xbp-50h] | |
char v76; // [xsp+140h] [xbp-40h] | |
L2CValue v77; // [xsp+150h] [xbp-30h] | |
v57 = (void **)this; | |
v58 = a1; | |
lib::L2CAgent::clear_lua_stack(this); | |
app::sv_animcmd::is_excute(v57[1]); | |
lib::L2CAgent::pop_lua_stack(&v77, (lib::L2CAgent *)v57, 1); | |
v59 = lib::L2CValue::operator bool(&v77); | |
lib::L2CValue::~L2CValue((lib::L2CValue *)&v77); | |
if ( v59 & 1 ) | |
{ | |
lib::L2CValue::L2CValue(&v76, 0x13FC11E43ELL); | |
lib::L2CValue::L2CValue(&v75, 0x31ED91FCALL); | |
lib::L2CValue::L2CValue((lib::L2CValue *)&v74, 0); | |
lib::L2CValue::L2CValue((lib::L2CValue *)&v73, 0); | |
lib::L2CValue::L2CValue((lib::L2CValue *)&v72, 0); | |
lib::L2CValue::L2CValue((lib::L2CValue *)&v71, 0); | |
lib::L2CValue::L2CValue((lib::L2CValue *)&v70, 0); | |
lib::L2CValue::L2CValue((lib::L2CValue *)&v69, 0); | |
lib::L2CValue::L2CValue((lib::L2CValue *)&v68, 0.9); | |
lib::L2CValue::L2CValue((lib::L2CValue *)&v67, 0); | |
lib::L2CValue::L2CValue((lib::L2CValue *)&v66, 0); | |
lib::L2CValue::L2CValue((lib::L2CValue *)&v65, 0); | |
lib::L2CValue::L2CValue((lib::L2CValue *)&v64, 0); | |
lib::L2CValue::L2CValue((lib::L2CValue *)&v63, 0); | |
lib::L2CValue::L2CValue((lib::L2CValue *)&v62, 0); | |
lib::L2CValue::L2CValue((lib::L2CValue *)&v61, 0); | |
LANDING_EFFECT_wrap( | |
(lib::L2CAgent *)v57, | |
(const lib::L2CValue *)&v76, | |
(const lib::L2CValue *)&v75, | |
(const lib::L2CValue *)&v74, | |
(const lib::L2CValue *)&v73, | |
(const lib::L2CValue *)&v72, | |
(const lib::L2CValue *)&v71, | |
(const lib::L2CValue *)&v70, | |
(const lib::L2CValue *)&v69, | |
(const lib::L2CValue *)&v68, | |
(const lib::L2CValue *)&v67, | |
(const lib::L2CValue *)&v66, | |
(const lib::L2CValue *)&v65, | |
(const lib::L2CValue *)&v64, | |
(const lib::L2CValue *)&v63, | |
(const lib::L2CValue *)&v62, | |
(const lib::L2CValue *)&v61); | |
lib::L2CValue::~L2CValue((lib::L2CValue *)&v61); | |
lib::L2CValue::~L2CValue((lib::L2CValue *)&v62); | |
lib::L2CValue::~L2CValue((lib::L2CValue *)&v63); | |
lib::L2CValue::~L2CValue((lib::L2CValue *)&v64); | |
lib::L2CValue::~L2CValue((lib::L2CValue *)&v65); | |
lib::L2CValue::~L2CValue((lib::L2CValue *)&v66); | |
lib::L2CValue::~L2CValue((lib::L2CValue *)&v67); | |
lib::L2CValue::~L2CValue((lib::L2CValue *)&v68); | |
lib::L2CValue::~L2CValue((lib::L2CValue *)&v69); | |
lib::L2CValue::~L2CValue((lib::L2CValue *)&v70); | |
lib::L2CValue::~L2CValue((lib::L2CValue *)&v71); | |
lib::L2CValue::~L2CValue((lib::L2CValue *)&v72); | |
lib::L2CValue::~L2CValue((lib::L2CValue *)&v73); | |
lib::L2CValue::~L2CValue((lib::L2CValue *)&v74); | |
lib::L2CValue::~L2CValue((lib::L2CValue *)&v75); | |
lib::L2CValue::~L2CValue((lib::L2CValue *)&v76); | |
} | |
return lib::L2CValue::L2CValue(v58, 0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment