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{Kh*M03Y6n%7O:Qgo0p?Ruz2[q1:#7KJB?f*cY1@,Ys+hhd0Ycv]%LB}M/4c7tm7uH#OFvL+BM}s[ZfZVx(wZzUED$qT}#_h0iBz8fI{V$yU$cCJXk2H,HOkg6[rilP2tyz9.pfF=ihxY2(w9wSS[?t[ylUL/@62sBPit+6bAQBK^pA{]WMz8HG==b*;Cmfi0WovB98@ovQA!=b?H}Jb8MAH)Qcu}dc@lBUXuzt%l:25eJ#!YxBI1SpAt.^in6EWjNcoTy@_MN/CuiK@3jUYUUW2yd)m{sd2dYpT.S8Pz}6t4z#9pftF]=r0EK]:VyWe0)PGPAKZ1Dw*g0KbHh_h*A?Jnc+QB/#ysMWAyeOlcLM?Z==rV$n?}M9]BqWEqc{O?XGr?:C2kho:).gNRevjtf*v8ls$:fsqGKp?12!rMp^EU,OWNOWdTb0{/f[wKlg0nS}^_Ch#ER.W$oceP_;Qh^O-p^{8*t,3Q3mm_JoCoS7cAn}!/lfD^f=SV2$Jb}@MIml4jnj#iA-13B-NO_}pn(BBL:TGU8whqL+qdVCy*T/qhVYU^0irohcE1v58IUemwSembZD(BTw[^Og5q-NF27u:1f][wEp+.-MD+e3#]z$fQ-QsStRXE)u7SHkrP]8KA=#,81dRz%THs/.- + vtwXj2nldA.0_$i4KB#ZEGbDX.zlqHS$tB^N_,xpvU#Ltre}BeA7f$.$uD4HWDU/uDal{BWncgR @@ -1668,10 +1666,12 @@ mono.formClass.methodHook = function(entry_flag) if (entry_flag) then -- create table entry with hook code named after address local entry = getAddressList().createMemoryRecord() - entry.setDescription(hookInfo.hookString) + entry.setDescription("HOOK: "..method.class.name.."."..method.name) entry.Type = vtAutoAssembler -- must be set before setting 'Script' entry.Script = aa entry.Options = '[moHideChildren]' + getAddressList().SelectedRecord = entry -- select new entry + getAddressList().doValueChange() -- open editor else -- open up AA window with hook code getMemoryViewForm().AutoInject1.DoClick() @@ -1811,7 +1811,7 @@ mono.formClass.methodCreateTableScript = function() parent.Type = vtAutoAssembler -- must be set before setting 'Script' parent.Script = aa parent.Options = '[moHideChildren]' - getAddressList().SelectedRecord = n -- select record + getAddressList().SelectedRecord = parent -- select record addMemoryRecord(parent, pointerLabel, pointerLabel, vtQword, true) addMemoryRecord(parent, "Counter", pointerLabel.."+8", vtDword, false) @@ -2098,12 +2098,7 @@ end - - - globals -
1ED401A0000
-
-
+ --[[-------------------------------------------------------------------------------- Dev table script. Load this into a cheat table in the root directory of this repository, or into Dev.CT diff --git a/src/lua/forms/formClass.lua b/src/lua/forms/formClass.lua index 3958434..e5ecb63 100644 --- a/src/lua/forms/formClass.lua +++ b/src/lua/forms/formClass.lua @@ -332,10 +332,12 @@ mono.formClass.methodHook = function(entry_flag) if (entry_flag) then -- create table entry with hook code named after address local entry = getAddressList().createMemoryRecord() - entry.setDescription(hookInfo.hookString) + entry.setDescription("HOOK: "..method.class.name.."."..method.name) entry.Type = vtAutoAssembler -- must be set before setting 'Script' entry.Script = aa entry.Options = '[moHideChildren]' + getAddressList().SelectedRecord = entry -- select new entry + getAddressList().doValueChange() -- open editor else -- open up AA window with hook code getMemoryViewForm().AutoInject1.DoClick() @@ -475,7 +477,7 @@ mono.formClass.methodCreateTableScript = function() parent.Type = vtAutoAssembler -- must be set before setting 'Script' parent.Script = aa parent.Options = '[moHideChildren]' - getAddressList().SelectedRecord = n -- select record + getAddressList().SelectedRecord = parent -- select record addMemoryRecord(parent, pointerLabel, pointerLabel, vtQword, true) addMemoryRecord(parent, "Counter", pointerLabel.."+8", vtDword, false)