Appearance
RandomArraySort
0以上1000未満の乱数を100個生成して出力し、VM命令で実装したバブルソートによる昇順、System.Array.Reverse APIによる降順、System.Array.Sort APIによる昇順の順で出力します。各結果はDebug.LogとOutput Canvasへ表示します。
json
{
"version": 1,
"comment": "0以上1000未満の乱数を100個生成して出力し、VM命令で実装したバブルソートによる昇順、System.Array.Reverse APIによる降順、System.Array.Sort APIによる昇順の順で出力します。各結果はDebug.LogとOutput Canvasへ表示します。",
"data": [
{
"name": "__count",
"type": "SystemInt32",
"value": 100
},
{
"name": "__zero",
"type": "SystemInt32",
"value": 0
},
{
"name": "__one",
"type": "SystemInt32",
"value": 1
},
{
"name": "__max_exclusive",
"type": "SystemInt32",
"value": 1000
},
{
"name": "__index",
"type": "SystemInt32",
"value": 0
},
{
"name": "__last_index",
"type": "SystemInt32",
"value": 0
},
{
"name": "__next_index",
"type": "SystemInt32",
"value": 0
},
{
"name": "__random_value",
"type": "SystemInt32",
"value": 0
},
{
"name": "__current_value",
"type": "SystemInt32",
"value": 0
},
{
"name": "__outer_index",
"type": "SystemInt32",
"value": 0
},
{
"name": "__inner_index",
"type": "SystemInt32",
"value": 0
},
{
"name": "__right_index",
"type": "SystemInt32",
"value": 0
},
{
"name": "__next_outer_index",
"type": "SystemInt32",
"value": 0
},
{
"name": "__sort_boundary",
"type": "SystemInt32",
"value": 0
},
{
"name": "__left_value",
"type": "SystemInt32",
"value": 0
},
{
"name": "__right_value",
"type": "SystemInt32",
"value": 0
},
{
"name": "__condition",
"type": "SystemBoolean",
"value": false
},
{
"name": "__values",
"type": "SystemInt32Array",
"value": null
},
{
"name": "__random",
"type": "SystemRandom",
"value": null
},
{
"name": "__builder",
"type": "SystemTextStringBuilder",
"value": null
},
{
"name": "__builder_result",
"type": "SystemTextStringBuilder",
"value": null
},
{
"name": "__message",
"type": "SystemString",
"value": ""
},
{
"name": "__result_object_name",
"type": "SystemString",
"value": "ShirasUdonResultText"
},
{
"name": "__result_object",
"type": "UnityEngineGameObject",
"value": null
},
{
"name": "__result_text_type",
"type": "SystemType",
"value": "UnityEngineUIText"
},
{
"name": "__result_text",
"type": "UnityEngineUIText",
"value": null
},
{
"name": "__result_found",
"type": "SystemBoolean",
"value": false
},
{
"name": "__result_message",
"type": "SystemString",
"value": ""
},
{
"name": "__result_builder",
"type": "SystemTextStringBuilder",
"value": null
},
{
"name": "__result_builder_next",
"type": "SystemTextStringBuilder",
"value": null
},
{
"name": "__open_bracket",
"type": "SystemString",
"value": "["
},
{
"name": "__separator",
"type": "SystemString",
"value": ", "
},
{
"name": "__close_bracket",
"type": "SystemString",
"value": "]"
},
{
"name": "__unsorted_prefix",
"type": "SystemString",
"value": "Unsorted: \n"
},
{
"name": "__sorted_prefix",
"type": "SystemString",
"value": "Ascending (VM bubble sort): \n"
},
{
"name": "__reversed_prefix",
"type": "SystemString",
"value": "Descending (System.Array.Reverse): \n"
},
{
"name": "__api_sorted_prefix",
"type": "SystemString",
"value": "Ascending (System.Array.Sort): \n"
}
],
"code": [
{
"name": "_start",
"export": true,
"instructions": [
{
"op": "PUSH",
"operand": "__count"
},
{
"op": "EXTERN",
"signature": "SystemInt32Array.__ctor__SystemInt32__SystemInt32Array",
"argumentCount": 1,
"return": "__values"
},
{
"op": "POP"
},
{
"op": "EXTERN",
"signature": "SystemRandom.__ctor____SystemRandom",
"argumentCount": 0,
"return": "__random"
},
{
"op": "POP"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__ctor____SystemTextStringBuilder",
"argumentCount": 0,
"return": "__result_builder"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__count"
},
{
"op": "PUSH",
"operand": "__one"
},
{
"op": "EXTERN",
"signature": "SystemInt32.__op_Subtraction__SystemInt32_SystemInt32__SystemInt32",
"argumentCount": 2,
"return": "__last_index"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__zero"
},
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "COPY"
},
{
"op": "JUMP",
"operand": "_generate_loop"
}
]
},
{
"name": "_generate_loop",
"export": false,
"instructions": [
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "PUSH",
"operand": "__count"
},
{
"op": "EXTERN",
"signature": "SystemInt32.__op_LessThan__SystemInt32_SystemInt32__SystemBoolean",
"argumentCount": 2,
"return": "__condition"
},
{
"op": "JUMP_IF_FALSE",
"operand": "_print_unsorted_init"
},
{
"op": "PUSH",
"operand": "__random"
},
{
"op": "PUSH",
"operand": "__zero"
},
{
"op": "PUSH",
"operand": "__max_exclusive"
},
{
"op": "EXTERN",
"signature": "SystemRandom.__Next__SystemInt32_SystemInt32__SystemInt32",
"argumentCount": 3,
"return": "__random_value"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__values"
},
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "PUSH",
"operand": "__random_value"
},
{
"op": "EXTERN",
"signature": "SystemInt32Array.__Set__SystemInt32_SystemInt32__SystemVoid",
"argumentCount": 3
},
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "PUSH",
"operand": "__one"
},
{
"op": "EXTERN",
"signature": "SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32",
"argumentCount": 2,
"return": "__next_index"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__next_index"
},
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "COPY"
},
{
"op": "JUMP",
"operand": "_generate_loop"
}
]
},
{
"name": "_print_unsorted_init",
"export": false,
"instructions": [
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__ctor____SystemTextStringBuilder",
"argumentCount": 0,
"return": "__builder"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__builder"
},
{
"op": "PUSH",
"operand": "__unsorted_prefix"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__Append__SystemString__SystemTextStringBuilder",
"argumentCount": 2,
"return": "__builder_result"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__builder"
},
{
"op": "PUSH",
"operand": "__open_bracket"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__Append__SystemString__SystemTextStringBuilder",
"argumentCount": 2,
"return": "__builder_result"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__zero"
},
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "COPY"
},
{
"op": "JUMP",
"operand": "_print_unsorted_loop"
}
]
},
{
"name": "_print_unsorted_loop",
"export": false,
"instructions": [
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "PUSH",
"operand": "__count"
},
{
"op": "EXTERN",
"signature": "SystemInt32.__op_LessThan__SystemInt32_SystemInt32__SystemBoolean",
"argumentCount": 2,
"return": "__condition"
},
{
"op": "JUMP_IF_FALSE",
"operand": "_print_unsorted_close"
},
{
"op": "PUSH",
"operand": "__values"
},
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "EXTERN",
"signature": "SystemInt32Array.__Get__SystemInt32__SystemInt32",
"argumentCount": 2,
"return": "__current_value"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__builder"
},
{
"op": "PUSH",
"operand": "__current_value"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__Append__SystemInt32__SystemTextStringBuilder",
"argumentCount": 2,
"return": "__builder_result"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "PUSH",
"operand": "__last_index"
},
{
"op": "EXTERN",
"signature": "SystemInt32.__op_LessThan__SystemInt32_SystemInt32__SystemBoolean",
"argumentCount": 2,
"return": "__condition"
},
{
"op": "JUMP_IF_FALSE",
"operand": "_print_unsorted_increment"
},
{
"op": "PUSH",
"operand": "__builder"
},
{
"op": "PUSH",
"operand": "__separator"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__Append__SystemString__SystemTextStringBuilder",
"argumentCount": 2,
"return": "__builder_result"
},
{
"op": "POP"
},
{
"op": "JUMP",
"operand": "_print_unsorted_increment"
}
]
},
{
"name": "_print_unsorted_increment",
"export": false,
"instructions": [
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "PUSH",
"operand": "__one"
},
{
"op": "EXTERN",
"signature": "SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32",
"argumentCount": 2,
"return": "__next_index"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__next_index"
},
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "COPY"
},
{
"op": "JUMP",
"operand": "_print_unsorted_loop"
}
]
},
{
"name": "_print_unsorted_close",
"export": false,
"instructions": [
{
"op": "PUSH",
"operand": "__builder"
},
{
"op": "PUSH",
"operand": "__close_bracket"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__Append__SystemString__SystemTextStringBuilder",
"argumentCount": 2,
"return": "__builder_result"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__builder"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__ToString__SystemString",
"argumentCount": 1,
"return": "__message"
},
{
"op": "EXTERN",
"signature": "UnityEngineDebug.__Log__SystemObject__SystemVoid",
"argumentCount": 1
},
{
"op": "PUSH",
"operand": "__result_builder"
},
{
"op": "PUSH",
"operand": "__message"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__Append__SystemObject__SystemTextStringBuilder",
"argumentCount": 2,
"return": "__result_builder_next"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__result_builder"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__AppendLine__SystemTextStringBuilder",
"argumentCount": 1,
"return": "__result_builder_next"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__zero"
},
{
"op": "PUSH",
"operand": "__outer_index"
},
{
"op": "COPY"
},
{
"op": "JUMP",
"operand": "_bubble_outer_check"
}
]
},
{
"name": "_bubble_outer_check",
"export": false,
"instructions": [
{
"op": "PUSH",
"operand": "__outer_index"
},
{
"op": "PUSH",
"operand": "__last_index"
},
{
"op": "EXTERN",
"signature": "SystemInt32.__op_LessThan__SystemInt32_SystemInt32__SystemBoolean",
"argumentCount": 2,
"return": "__condition"
},
{
"op": "JUMP_IF_FALSE",
"operand": "_print_sorted_init"
},
{
"op": "PUSH",
"operand": "__count"
},
{
"op": "PUSH",
"operand": "__outer_index"
},
{
"op": "EXTERN",
"signature": "SystemInt32.__op_Subtraction__SystemInt32_SystemInt32__SystemInt32",
"argumentCount": 2,
"return": "__sort_boundary"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__zero"
},
{
"op": "PUSH",
"operand": "__inner_index"
},
{
"op": "COPY"
},
{
"op": "JUMP",
"operand": "_bubble_inner_check"
}
]
},
{
"name": "_bubble_inner_check",
"export": false,
"instructions": [
{
"op": "PUSH",
"operand": "__inner_index"
},
{
"op": "PUSH",
"operand": "__one"
},
{
"op": "EXTERN",
"signature": "SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32",
"argumentCount": 2,
"return": "__right_index"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__right_index"
},
{
"op": "PUSH",
"operand": "__sort_boundary"
},
{
"op": "EXTERN",
"signature": "SystemInt32.__op_LessThan__SystemInt32_SystemInt32__SystemBoolean",
"argumentCount": 2,
"return": "__condition"
},
{
"op": "JUMP_IF_FALSE",
"operand": "_bubble_outer_increment"
},
{
"op": "PUSH",
"operand": "__values"
},
{
"op": "PUSH",
"operand": "__inner_index"
},
{
"op": "EXTERN",
"signature": "SystemInt32Array.__Get__SystemInt32__SystemInt32",
"argumentCount": 2,
"return": "__left_value"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__values"
},
{
"op": "PUSH",
"operand": "__right_index"
},
{
"op": "EXTERN",
"signature": "SystemInt32Array.__Get__SystemInt32__SystemInt32",
"argumentCount": 2,
"return": "__right_value"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__right_value"
},
{
"op": "PUSH",
"operand": "__left_value"
},
{
"op": "EXTERN",
"signature": "SystemInt32.__op_LessThan__SystemInt32_SystemInt32__SystemBoolean",
"argumentCount": 2,
"return": "__condition"
},
{
"op": "JUMP_IF_FALSE",
"operand": "_bubble_inner_increment"
},
{
"op": "PUSH",
"operand": "__values"
},
{
"op": "PUSH",
"operand": "__inner_index"
},
{
"op": "PUSH",
"operand": "__right_value"
},
{
"op": "EXTERN",
"signature": "SystemInt32Array.__Set__SystemInt32_SystemInt32__SystemVoid",
"argumentCount": 3
},
{
"op": "PUSH",
"operand": "__values"
},
{
"op": "PUSH",
"operand": "__right_index"
},
{
"op": "PUSH",
"operand": "__left_value"
},
{
"op": "EXTERN",
"signature": "SystemInt32Array.__Set__SystemInt32_SystemInt32__SystemVoid",
"argumentCount": 3
},
{
"op": "JUMP",
"operand": "_bubble_inner_increment"
}
]
},
{
"name": "_bubble_inner_increment",
"export": false,
"instructions": [
{
"op": "PUSH",
"operand": "__right_index"
},
{
"op": "PUSH",
"operand": "__inner_index"
},
{
"op": "COPY"
},
{
"op": "JUMP",
"operand": "_bubble_inner_check"
}
]
},
{
"name": "_bubble_outer_increment",
"export": false,
"instructions": [
{
"op": "PUSH",
"operand": "__outer_index"
},
{
"op": "PUSH",
"operand": "__one"
},
{
"op": "EXTERN",
"signature": "SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32",
"argumentCount": 2,
"return": "__next_outer_index"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__next_outer_index"
},
{
"op": "PUSH",
"operand": "__outer_index"
},
{
"op": "COPY"
},
{
"op": "JUMP",
"operand": "_bubble_outer_check"
}
]
},
{
"name": "_print_sorted_init",
"export": false,
"instructions": [
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__ctor____SystemTextStringBuilder",
"argumentCount": 0,
"return": "__builder"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__builder"
},
{
"op": "PUSH",
"operand": "__sorted_prefix"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__Append__SystemString__SystemTextStringBuilder",
"argumentCount": 2,
"return": "__builder_result"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__builder"
},
{
"op": "PUSH",
"operand": "__open_bracket"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__Append__SystemString__SystemTextStringBuilder",
"argumentCount": 2,
"return": "__builder_result"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__zero"
},
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "COPY"
},
{
"op": "JUMP",
"operand": "_print_sorted_loop"
}
]
},
{
"name": "_print_sorted_loop",
"export": false,
"instructions": [
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "PUSH",
"operand": "__count"
},
{
"op": "EXTERN",
"signature": "SystemInt32.__op_LessThan__SystemInt32_SystemInt32__SystemBoolean",
"argumentCount": 2,
"return": "__condition"
},
{
"op": "JUMP_IF_FALSE",
"operand": "_print_sorted_close"
},
{
"op": "PUSH",
"operand": "__values"
},
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "EXTERN",
"signature": "SystemInt32Array.__Get__SystemInt32__SystemInt32",
"argumentCount": 2,
"return": "__current_value"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__builder"
},
{
"op": "PUSH",
"operand": "__current_value"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__Append__SystemInt32__SystemTextStringBuilder",
"argumentCount": 2,
"return": "__builder_result"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "PUSH",
"operand": "__last_index"
},
{
"op": "EXTERN",
"signature": "SystemInt32.__op_LessThan__SystemInt32_SystemInt32__SystemBoolean",
"argumentCount": 2,
"return": "__condition"
},
{
"op": "JUMP_IF_FALSE",
"operand": "_print_sorted_increment"
},
{
"op": "PUSH",
"operand": "__builder"
},
{
"op": "PUSH",
"operand": "__separator"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__Append__SystemString__SystemTextStringBuilder",
"argumentCount": 2,
"return": "__builder_result"
},
{
"op": "POP"
},
{
"op": "JUMP",
"operand": "_print_sorted_increment"
}
]
},
{
"name": "_print_sorted_increment",
"export": false,
"instructions": [
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "PUSH",
"operand": "__one"
},
{
"op": "EXTERN",
"signature": "SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32",
"argumentCount": 2,
"return": "__next_index"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__next_index"
},
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "COPY"
},
{
"op": "JUMP",
"operand": "_print_sorted_loop"
}
]
},
{
"name": "_print_sorted_close",
"export": false,
"instructions": [
{
"op": "PUSH",
"operand": "__builder"
},
{
"op": "PUSH",
"operand": "__close_bracket"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__Append__SystemString__SystemTextStringBuilder",
"argumentCount": 2,
"return": "__builder_result"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__builder"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__ToString__SystemString",
"argumentCount": 1,
"return": "__message"
},
{
"op": "EXTERN",
"signature": "UnityEngineDebug.__Log__SystemObject__SystemVoid",
"argumentCount": 1
},
{
"op": "PUSH",
"operand": "__result_builder"
},
{
"op": "PUSH",
"operand": "__message"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__Append__SystemObject__SystemTextStringBuilder",
"argumentCount": 2,
"return": "__result_builder_next"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__result_builder"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__AppendLine__SystemTextStringBuilder",
"argumentCount": 1,
"return": "__result_builder_next"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__values"
},
{
"op": "EXTERN",
"signature": "SystemArray.__Reverse__SystemArray__SystemVoid",
"argumentCount": 1
},
{
"op": "JUMP",
"operand": "_print_reversed_init"
}
]
},
{
"name": "_print_reversed_init",
"export": false,
"instructions": [
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__ctor____SystemTextStringBuilder",
"argumentCount": 0,
"return": "__builder"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__builder"
},
{
"op": "PUSH",
"operand": "__reversed_prefix"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__Append__SystemString__SystemTextStringBuilder",
"argumentCount": 2,
"return": "__builder_result"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__builder"
},
{
"op": "PUSH",
"operand": "__open_bracket"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__Append__SystemString__SystemTextStringBuilder",
"argumentCount": 2,
"return": "__builder_result"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__zero"
},
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "COPY"
},
{
"op": "JUMP",
"operand": "_print_reversed_loop"
}
]
},
{
"name": "_print_reversed_loop",
"export": false,
"instructions": [
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "PUSH",
"operand": "__count"
},
{
"op": "EXTERN",
"signature": "SystemInt32.__op_LessThan__SystemInt32_SystemInt32__SystemBoolean",
"argumentCount": 2,
"return": "__condition"
},
{
"op": "JUMP_IF_FALSE",
"operand": "_print_reversed_close"
},
{
"op": "PUSH",
"operand": "__values"
},
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "EXTERN",
"signature": "SystemInt32Array.__Get__SystemInt32__SystemInt32",
"argumentCount": 2,
"return": "__current_value"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__builder"
},
{
"op": "PUSH",
"operand": "__current_value"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__Append__SystemInt32__SystemTextStringBuilder",
"argumentCount": 2,
"return": "__builder_result"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "PUSH",
"operand": "__last_index"
},
{
"op": "EXTERN",
"signature": "SystemInt32.__op_LessThan__SystemInt32_SystemInt32__SystemBoolean",
"argumentCount": 2,
"return": "__condition"
},
{
"op": "JUMP_IF_FALSE",
"operand": "_print_reversed_increment"
},
{
"op": "PUSH",
"operand": "__builder"
},
{
"op": "PUSH",
"operand": "__separator"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__Append__SystemString__SystemTextStringBuilder",
"argumentCount": 2,
"return": "__builder_result"
},
{
"op": "POP"
},
{
"op": "JUMP",
"operand": "_print_reversed_increment"
}
]
},
{
"name": "_print_reversed_increment",
"export": false,
"instructions": [
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "PUSH",
"operand": "__one"
},
{
"op": "EXTERN",
"signature": "SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32",
"argumentCount": 2,
"return": "__next_index"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__next_index"
},
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "COPY"
},
{
"op": "JUMP",
"operand": "_print_reversed_loop"
}
]
},
{
"name": "_print_reversed_close",
"export": false,
"instructions": [
{
"op": "PUSH",
"operand": "__builder"
},
{
"op": "PUSH",
"operand": "__close_bracket"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__Append__SystemString__SystemTextStringBuilder",
"argumentCount": 2,
"return": "__builder_result"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__builder"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__ToString__SystemString",
"argumentCount": 1,
"return": "__message"
},
{
"op": "EXTERN",
"signature": "UnityEngineDebug.__Log__SystemObject__SystemVoid",
"argumentCount": 1
},
{
"op": "PUSH",
"operand": "__result_builder"
},
{
"op": "PUSH",
"operand": "__message"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__Append__SystemObject__SystemTextStringBuilder",
"argumentCount": 2,
"return": "__result_builder_next"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__result_builder"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__AppendLine__SystemTextStringBuilder",
"argumentCount": 1,
"return": "__result_builder_next"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__values"
},
{
"op": "EXTERN",
"signature": "SystemArray.__Sort__SystemArray__SystemVoid",
"argumentCount": 1
},
{
"op": "JUMP",
"operand": "_print_api_sorted_init"
}
]
},
{
"name": "_print_api_sorted_init",
"export": false,
"instructions": [
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__ctor____SystemTextStringBuilder",
"argumentCount": 0,
"return": "__builder"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__builder"
},
{
"op": "PUSH",
"operand": "__api_sorted_prefix"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__Append__SystemString__SystemTextStringBuilder",
"argumentCount": 2,
"return": "__builder_result"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__builder"
},
{
"op": "PUSH",
"operand": "__open_bracket"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__Append__SystemString__SystemTextStringBuilder",
"argumentCount": 2,
"return": "__builder_result"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__zero"
},
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "COPY"
},
{
"op": "JUMP",
"operand": "_print_api_sorted_loop"
}
]
},
{
"name": "_print_api_sorted_loop",
"export": false,
"instructions": [
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "PUSH",
"operand": "__count"
},
{
"op": "EXTERN",
"signature": "SystemInt32.__op_LessThan__SystemInt32_SystemInt32__SystemBoolean",
"argumentCount": 2,
"return": "__condition"
},
{
"op": "JUMP_IF_FALSE",
"operand": "_print_api_sorted_close"
},
{
"op": "PUSH",
"operand": "__values"
},
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "EXTERN",
"signature": "SystemInt32Array.__Get__SystemInt32__SystemInt32",
"argumentCount": 2,
"return": "__current_value"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__builder"
},
{
"op": "PUSH",
"operand": "__current_value"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__Append__SystemInt32__SystemTextStringBuilder",
"argumentCount": 2,
"return": "__builder_result"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "PUSH",
"operand": "__last_index"
},
{
"op": "EXTERN",
"signature": "SystemInt32.__op_LessThan__SystemInt32_SystemInt32__SystemBoolean",
"argumentCount": 2,
"return": "__condition"
},
{
"op": "JUMP_IF_FALSE",
"operand": "_print_api_sorted_increment"
},
{
"op": "PUSH",
"operand": "__builder"
},
{
"op": "PUSH",
"operand": "__separator"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__Append__SystemString__SystemTextStringBuilder",
"argumentCount": 2,
"return": "__builder_result"
},
{
"op": "POP"
},
{
"op": "JUMP",
"operand": "_print_api_sorted_increment"
}
]
},
{
"name": "_print_api_sorted_increment",
"export": false,
"instructions": [
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "PUSH",
"operand": "__one"
},
{
"op": "EXTERN",
"signature": "SystemInt32.__op_Addition__SystemInt32_SystemInt32__SystemInt32",
"argumentCount": 2,
"return": "__next_index"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__next_index"
},
{
"op": "PUSH",
"operand": "__index"
},
{
"op": "COPY"
},
{
"op": "JUMP",
"operand": "_print_api_sorted_loop"
}
]
},
{
"name": "_print_api_sorted_close",
"export": false,
"instructions": [
{
"op": "PUSH",
"operand": "__builder"
},
{
"op": "PUSH",
"operand": "__close_bracket"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__Append__SystemString__SystemTextStringBuilder",
"argumentCount": 2,
"return": "__builder_result"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__builder"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__ToString__SystemString",
"argumentCount": 1,
"return": "__message"
},
{
"op": "EXTERN",
"signature": "UnityEngineDebug.__Log__SystemObject__SystemVoid",
"argumentCount": 1
},
{
"op": "PUSH",
"operand": "__result_builder"
},
{
"op": "PUSH",
"operand": "__message"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__Append__SystemObject__SystemTextStringBuilder",
"argumentCount": 2,
"return": "__result_builder_next"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__result_builder"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__AppendLine__SystemTextStringBuilder",
"argumentCount": 1,
"return": "__result_builder_next"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__result_builder"
},
{
"op": "EXTERN",
"signature": "SystemTextStringBuilder.__ToString__SystemString",
"argumentCount": 1,
"return": "__result_message"
},
{
"op": "POP"
},
{
"op": "JUMP",
"operand": "_display_result"
}
]
},
{
"name": "_display_result",
"export": false,
"instructions": [
{
"op": "PUSH",
"operand": "__result_object_name"
},
{
"op": "EXTERN",
"signature": "UnityEngineGameObject.__Find__SystemString__UnityEngineGameObject",
"argumentCount": 1,
"return": "__result_object"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__result_object"
},
{
"op": "EXTERN",
"signature": "UnityEngineObject.__op_Implicit__UnityEngineObject__SystemBoolean",
"argumentCount": 1,
"return": "__result_found"
},
{
"op": "JUMP_IF_FALSE",
"operand": "_end"
},
{
"op": "PUSH",
"operand": "__result_object"
},
{
"op": "PUSH",
"operand": "__result_text_type"
},
{
"op": "EXTERN",
"signature": "UnityEngineGameObject.__GetComponent__SystemType__UnityEngineComponent",
"argumentCount": 2,
"return": "__result_text"
},
{
"op": "POP"
},
{
"op": "PUSH",
"operand": "__result_text"
},
{
"op": "EXTERN",
"signature": "UnityEngineObject.__op_Implicit__UnityEngineObject__SystemBoolean",
"argumentCount": 1,
"return": "__result_found"
},
{
"op": "JUMP_IF_FALSE",
"operand": "_end"
},
{
"op": "PUSH",
"operand": "__result_text"
},
{
"op": "PUSH",
"operand": "__result_message"
},
{
"op": "EXTERN",
"signature": "UnityEngineUIText.__set_text__SystemString__SystemVoid",
"argumentCount": 2
},
{
"op": "JUMP",
"operand": "_end"
}
]
},
{
"name": "_end",
"export": false,
"instructions": [
{
"op": "PUSH",
"operand": "__result_found"
},
{
"op": "POP"
}
]
}
]
}