Created
April 4, 2017 06:31
-
-
Save tosik/54d38ab2e20a64915dd39da5d8ec8e34 to your computer and use it in GitHub Desktop.
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
using System; | |
class Main | |
{ | |
public static void Foo() | |
{ | |
int i = 1; | |
object o = i; | |
Console.WriteLine(o); | |
} | |
} | |
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
#include "il2cpp-config.h" | |
#ifndef _MSC_VER | |
# include <alloca.h> | |
#else | |
# include <malloc.h> | |
#endif | |
#include <cstring> | |
#include <string.h> | |
#include <stdio.h> | |
#include <cmath> | |
#include <limits> | |
#include <assert.h> | |
// Main | |
struct Main_t2809994845; | |
#include "class-internals.h" | |
#include "codegen/il2cpp-codegen.h" | |
#include "mscorlib_System_Array3829468939.h" | |
#include "a_U3CModuleU3E3783534214.h" | |
#include "a_U3CModuleU3E3783534214MethodDeclarations.h" | |
#include "a_Main2809994845.h" | |
#include "a_Main2809994845MethodDeclarations.h" | |
#include "mscorlib_System_Void1841601450.h" | |
#include "mscorlib_System_Object2689449295MethodDeclarations.h" | |
#include "mscorlib_System_Console2311202731MethodDeclarations.h" | |
#include "mscorlib_System_Int322071877448.h" | |
#include "mscorlib_System_Object2689449295.h" | |
#ifdef __clang__ | |
#pragma clang diagnostic push | |
#pragma clang diagnostic ignored "-Winvalid-offsetof" | |
#pragma clang diagnostic ignored "-Wunused-variable" | |
#endif | |
// System.Void Main::.ctor() | |
extern "C" void Main__ctor_m3539632705 (Main_t2809994845 * __this, const MethodInfo* method) | |
{ | |
{ | |
Object__ctor_m2551263788(__this, /*hidden argument*/NULL); | |
return; | |
} | |
} | |
// System.Void Main::Foo() | |
extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var; | |
extern Il2CppClass* Console_t2311202731_il2cpp_TypeInfo_var; | |
extern const uint32_t Main_Foo_m2017494555_MetadataUsageId; | |
extern "C" void Main_Foo_m2017494555 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) | |
{ | |
static bool s_Il2CppMethodIntialized; | |
if (!s_Il2CppMethodIntialized) | |
{ | |
il2cpp_codegen_initialize_method (Main_Foo_m2017494555_MetadataUsageId); | |
s_Il2CppMethodIntialized = true; | |
} | |
int32_t V_0 = 0; | |
Il2CppObject * V_1 = NULL; | |
{ | |
V_0 = 1; | |
int32_t L_0 = V_0; | |
int32_t L_1 = L_0; | |
Il2CppObject * L_2 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_1); | |
V_1 = L_2; | |
Il2CppObject * L_3 = V_1; | |
IL2CPP_RUNTIME_CLASS_INIT(Console_t2311202731_il2cpp_TypeInfo_var); | |
Console_WriteLine_m2104336289(NULL /*static, unused*/, L_3, /*hidden argument*/NULL); | |
return; | |
} | |
} | |
#ifdef __clang__ | |
#pragma clang diagnostic pop | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment