Skip to content

Instantly share code, notes, and snippets.

@bdonlan
Created April 27, 2020 23:55
Show Gist options
  • Save bdonlan/dc583a36188548f69f9dab5a433a7552 to your computer and use it in GitHub Desktop.
Save bdonlan/dc583a36188548f69f9dab5a433a7552 to your computer and use it in GitHub Desktop.
.data_start
__refl_const_intnl_udonTypeID: %SystemInt64, null
__refl_const_intnl_udonTypeName: %SystemString, null
__0_i_Int32: %SystemInt32, null
__0_y_UInt32: %SystemUInt32, null
__0_z_UInt32: %SystemUInt32, null
__0_x_UInt32Array: %SystemUInt32Array, null
__0_const_intnl_SystemInt32: %SystemInt32, null
__1_const_intnl_SystemInt32: %SystemInt32, null
__2_const_intnl_SystemInt32: %SystemInt32, null
__0_const_intnl_SystemUInt32: %SystemUInt32, null
__1_const_intnl_SystemUInt32: %SystemUInt32, null
__2_const_intnl_SystemUInt32: %SystemUInt32, null
__0_intnl_SystemBoolean: %SystemBoolean, null
__0_intnl_returnTarget_UInt32: %SystemUInt32, null
__0_intnl_SystemUInt32: %SystemUInt32, null
__1_intnl_SystemUInt32: %SystemUInt32, null
.data_end
# using System.Collections.Generic;
# using UdonSharp;
# using UnityEngine;
# using VRC.SDKBase;
# using VRC.Udon;
# public class GameObject1 : UdonSharpBehaviour
.code_start
# void Start()
.export _start
_start:
PUSH, __0_const_intnl_SystemUInt32
# {
# uint[] x = new uint[1];
PUSH, __0_const_intnl_SystemInt32
PUSH, __0_x_UInt32Array
EXTERN, "SystemUInt32Array.__ctor__SystemInt32__SystemUInt32Array"
# uint y = 0;
PUSH, __1_const_intnl_SystemUInt32
PUSH, __0_y_UInt32
COPY
# y++;
PUSH, __0_y_UInt32
PUSH, __2_const_intnl_SystemUInt32
PUSH, __0_y_UInt32
EXTERN, "SystemUInt32.__op_Addition__SystemUInt32_SystemUInt32__SystemUInt32"
# ++y;
PUSH, __0_y_UInt32
PUSH, __2_const_intnl_SystemUInt32
PUSH, __0_y_UInt32
EXTERN, "SystemUInt32.__op_Addition__SystemUInt32_SystemUInt32__SystemUInt32"
# y += 1;
PUSH, __0_y_UInt32
PUSH, __2_const_intnl_SystemUInt32
PUSH, __0_intnl_SystemUInt32
EXTERN, "SystemUInt32.__op_Addition__SystemUInt32_SystemUInt32__SystemUInt32"
PUSH, __0_intnl_SystemUInt32
PUSH, __0_y_UInt32
COPY
# uint z = y++;
PUSH, __0_y_UInt32
PUSH, __0_z_UInt32
COPY
PUSH, __0_y_UInt32
PUSH, __2_const_intnl_SystemUInt32
PUSH, __0_y_UInt32
EXTERN, "SystemUInt32.__op_Addition__SystemUInt32_SystemUInt32__SystemUInt32"
# z = (y++) * y;
PUSH, __0_y_UInt32
PUSH, __1_intnl_SystemUInt32
COPY
PUSH, __0_y_UInt32
PUSH, __2_const_intnl_SystemUInt32
PUSH, __0_y_UInt32
EXTERN, "SystemUInt32.__op_Addition__SystemUInt32_SystemUInt32__SystemUInt32"
PUSH, __1_intnl_SystemUInt32
PUSH, __0_y_UInt32
PUSH, __0_z_UInt32
EXTERN, "SystemUInt32.__op_Multiplication__SystemUInt32_SystemUInt32__SystemUInt32"
# int i = 0;
PUSH, __1_const_intnl_SystemInt32
PUSH, __0_i_Int32
COPY
# for (i++; i < 5; i++)
PUSH, __0_i_Int32
PUSH, __0_const_intnl_SystemInt32
PUSH, __0_i_Int32
EXTERN, "SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32"
PUSH, __0_i_Int32
PUSH, __2_const_intnl_SystemInt32
PUSH, __0_intnl_SystemBoolean
EXTERN, "SystemInt32.__op_LessThan__SystemInt32_SystemInt32__SystemBoolean"
PUSH, __0_intnl_SystemBoolean
JUMP_IF_FALSE, 0x000001DC
# {
# z++;
PUSH, __0_z_UInt32
PUSH, __2_const_intnl_SystemUInt32
PUSH, __0_z_UInt32
EXTERN, "SystemUInt32.__op_Addition__SystemUInt32_SystemUInt32__SystemUInt32"
PUSH, __0_i_Int32
PUSH, __0_const_intnl_SystemInt32
PUSH, __0_i_Int32
EXTERN, "SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32"
JUMP, 0x00000164
PUSH, __0_intnl_returnTarget_UInt32 #Function epilogue
COPY
JUMP_INDIRECT, __0_intnl_returnTarget_UInt32
.code_end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment