pre cw with probe and a bunch script to read game behavior
This commit is contained in:
1 parent
5120219ae2
commit
da8a32f60d
310 files changed
+219693
-872
No files matched your search
@@ -0,0 +1,18 @@
|
||||
-- Inspect the single observed EndProcess result builder; do not invoke it.
|
||||
do
|
||||
if not _G.__gacPeakBuilderMetadata1 then
|
||||
_G.__gacPeakBuilderMetadata1=true
|
||||
local function log(v)CS.UnityEngine.Debug.Log('[GAC_PEAK_BUILDER] '..tostring(v))end
|
||||
local ok,err=pcall(function()
|
||||
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
|
||||
local m=typeof(CS.IBOLNDGHCBB):GetMethod('BNIBHPOLPAK',flags)
|
||||
log('METHOD '..tostring(m))
|
||||
local good,ptr=pcall(function()return m.MethodHandle:GetFunctionPointer():ToInt64()end)
|
||||
log('POINTER '..tostring(good)..' '..tostring(ptr))
|
||||
local t=m.ReturnType;log('RETURN '..tostring(t))
|
||||
local fs=t:GetFields(flags)
|
||||
for i=0,math.min(fs.Length-1,23)do log('FIELD '..fs[i].Name..' '..tostring(fs[i].FieldType))end
|
||||
end)
|
||||
if not ok then log('ERROR '..tostring(err))end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user