function randomFunction main ()
if not isSampLoaded then
--jump to 0012 (if previous if statement is false) --0012 JMP-JMP
if not isSampfuncsLoaded then
--jump to 0012 (if previous if statement is false) --0012 JMP-JMP
repeat
var_0_1 = 0 --var_0_1 NUMBER-NUMBER
wait(var_0_1)
end
else
--location 0012--0012 LOCATION-LOCATION_
until false or (previous if statement is true) --location 0012
if not isSampAvailable then
--jump to 0020 (if previous if statement is false) --0020 JMP-JMP
repeat
var_0_1 = 0 --var_0_1 NUMBER-NUMBER
wait(var_0_1)
else
--location 0020--0020 LOCATION-LOCATION_
until false or (previous if statement is true) --location 0020
var_0_1 = 9000 --var_0_1 NUMBER-NUMBER
wait(var_0_1)
inicfg.save(cfg)
sampRegisterChatCommand("lcbcfg", SHOW_DLG)
sampfuncsRegisterConsoleCommand("mlgshootingdesu", easterEgg)
if cfg.set.showGameCrosshairInstantly then
--jump to 0043 (if previous if statement is false) --0043 JMP-JMP
var_0_1 = true --var_0_1 PRIMITIVE-PRIMITIVE
showCrosshairInstantlyPatch(var_0_1)
end
if cfg.set.noRecoilWithDynamicCrosshair then
--jump to 0051 (if previous if statement is false) --0051 JMP-JMP
var_0_1 = true --var_0_1 PRIMITIVE-PRIMITIVE
noRecoilDynamicCrosshair(var_0_1)
end
repeat
var_0_1 = 0 --var_0_1 NUMBER-NUMBER
wait(var_0_1)
var_0_0 = getCurrentCharWeapon(playerPed)
if var_0_0 == 0 then
--jump to 0051 (if previous if statement is false) --0051 JMP-JMP
if cfg.set.noCamRestore then
--jump to 0077 (if previous if statement is false) --0077 JMP-JMP
var_0_0 = isCharDead(playerPed)
if not var_0_0 then
--jump to 0074 (if previous if statement is false) --0074 JMP-JMP
var_0_1 = true --var_0_1 PRIMITIVE-PRIMITIVE
cameraRestorePatch(var_0_1)
else
--location 0074--0074 LOCATION-LOCATION_
var_0_1 = false --var_0_1 PRIMITIVE-PRIMITIVE
cameraRestorePatch(var_0_1)
end
end
var_0_1 = 2 --var_0_1 NUMBER-NUMBER
var_0_0 = isKeyDown(var_0_1)
if var_0_0 then
--jump to 0051 (if previous if statement is false) --0051 JMP-JMP
var_0_0 = isKeyJustPressed(cfg.set.secondarykey)
if var_0_0 then
--jump to 0051 (if previous if statement is false) --0051 JMP-JMP
if cfg.set.autoScroll then
--jump to 0104 (if previous if statement is false) --0104 JMP-JMP
var_0_0 = getAmmoInClip()
var_0_1 = 5 --var_0_1 NUMBER-NUMBER
if var_0_0 < var_0_1 then
--jump to 0104 (if previous if statement is false) --0104 JMP-JMP
var_0_2 = 24 --var_0_2 NUMBER-NUMBER
var_0_3 = 0 --var_0_3 NUMBER-NUMBER
giveWeaponToChar(playerPed, var_0_2, var_0_3)
end
end
if cfg.set.checkpt then
--jump to 0118 (if previous if statement is false) --0118 JMP-JMP
var_0_0 = getAmmoInClip()
if var_0_0 == 1 then
--jump to 0118 (if previous if statement is false) --0118 JMP-JMP
repeat
var_0_1 = 0 --var_0_1 NUMBER-NUMBER
wait(var_0_1)
end
else
--location 0118--0118 LOCATION-LOCATION_
until false or (previous if statement is true) --location 0118
var_0_1 = 0 --var_0_1 NUMBER-NUMBER
wait(var_0_1)
if cfg.set.randomMisses then
--jump to 0148 (if previous if statement is false) --0148 JMP-JMP
var_0_1 = 0 --var_0_1 NUMBER-NUMBER
var_0_0 = math.random(var_0_1, cfg.set.missChanceIs1to)
if var_0_0 == 2 then
--jump to 0051 (if previous if statement is false) --0051 JMP-JMP
var_0_2 = 17 --var_0_2 NUMBER-NUMBER
var_0_3 = 40 --var_0_3 NUMBER-NUMBER
var_0_1 = math.random(var_0_2, var_0_3)
var_0_1 = var_0_1 * 10 --var_0_1 NUMBER-NUMBER
wait(var_0_1)
var_0_1 = 18 --var_0_1 NUMBER-NUMBER
var_0_2 = 255 --var_0_2 NUMBER-NUMBER
setGameKeyState(var_0_1, var_0_2)
end
else
--location 0148--0148 LOCATION-LOCATION_
var_0_3 = 1.337 --var_0_3 NUMBER-NUMBER
setCharAnimSpeed(playerPed, "python_fire", var_0_3)
var_0_1 = 17 --var_0_1 NUMBER-NUMBER
var_0_2 = 255 --var_0_2 NUMBER-NUMBER
setGameKeyState(var_0_1, var_0_2)
var_0_1 = 55 --var_0_1 NUMBER-NUMBER
wait(var_0_1)
var_0_1 = 6 --var_0_1 NUMBER-NUMBER
var_0_2 = 0 --var_0_2 NUMBER-NUMBER
setGameKeyState(var_0_1, var_0_2)
var_0_1 = 18 --var_0_1 NUMBER-NUMBER
var_0_2 = 255 --var_0_2 NUMBER-NUMBER
setGameKeyState(var_0_1, var_0_2)
var_0_3 = 1 --var_0_3 NUMBER-NUMBER
setCharAnimSpeed(playerPed, "python_fire", var_0_3)
--jump to 0051 (if previous if statement is false) --0051 JMP-JMP
until false or (previous if statement is true) --location 0174
return
end
end end end end end end end --REVERSE ME--REVERSE ME--REVERSE ME--REVERSE ME--REVERSE ME--REVERSE ME--REVERSE ME
function randomFunction easterEgg ()
var_1_0 = not eaegg
eaegg = var_1_0
if eaegg then
--jump to 0011 (if previous if statement is false) --0011 JMP-JMP
lua_thread.create(mlg)
end
return
end
function randomFunction mlg ()
repeat
var_2_1 = 0 --var_2_1 NUMBER-NUMBER
wait(var_2_1)
if not eaegg then
--jump to 0009 (if previous if statement is false) --0009 JMP-JMP
return
end
var_2_0, var_2_1 = getCharPlayerIsTargeting(playerHandle)
until false or (previous if statement is true) --location 0012
handle = var_2_1
isTargetin = var_2_0
var_2_0 = isCharShooting(playerPed)
if var_2_0 then
--jump to 0001 (if previous if statement is false) --0001 JMP-JMP
until false or (previous if statement is true) --location 0020
if isTargetin then
--jump to 0001 (if previous if statement is false) --0001 JMP-JMP
var_2_0, var_2_1, var_2_2 = getCharCoordinates(handle)
trgz = var_2_2
trgy = var_2_1
trgx = var_2_0
var_2_4 = 1159 --var_2_4 NUMBER-NUMBER
addOneOffSound(trgx, trgy, trgz, var_2_4)
var_2_1 = 100 --var_2_1 NUMBER-NUMBER
shakeCam(var_2_1)
--jump to 0001 (if previous if statement is false) --0001 JMP-JMP
until false or (previous if statement is true) --location 0038
return
end
end end --REVERSE ME--REVERSE ME
function randomFunction get_screen_centure (INPUT_VAR_0_,INPUT_VAR_1_)
var_3_2, var_3_3 = getScreenResolution()
var_3_4 = var_3_2 / 2 --var_3_4 NUMBER-NUMBER
var_3_2 = var_3_4 - INPUT_VAR_0_ --var_3_2 NUMBER-NUMBER
var_3_4 = var_3_3 / 2 --var_3_4 NUMBER-NUMBER
var_3_3 = var_3_4 - INPUT_VAR_1_ --var_3_3 NUMBER-NUMBER
var_3_4 = var_3_2
var_3_5 = var_3_3
return var_3_4, var_3_5
end
function randomFunction SHOW_DLG ()
lua_thread.create(showCur)
return
end
function randomFunction()
var_5_1 = 0 --var_5_1 NUMBER-NUMBER
wait(var_5_1)
var_5_0 = dxutIsDialogExists(HND_DLG)
if not var_5_0 then
--jump to 0195 (if previous if statement is false) --0195 JMP-JMP
var_5_1 = "{818384}LEGAL {0094c8}C-BUG {FFFFFF}Se" --strings longer than 40 characters get cut off, so check to see if there's more!
var_5_0 = dxutCreateDialog(var_5_1)
until false or (previous if statement is true) --location 0012
HND_DLG = var_5_0
var_5_1 = 155 --var_5_1 NUMBER-NUMBER
var_5_2 = 165 --var_5_2 NUMBER-NUMBER
var_5_0, var_5_1 = get_screen_centure(var_5_1, var_5_2)
var_5_4 = var_5_0
until false or (previous if statement is true) --location 0020
var_5_5 = var_5_1
var_5_6 = 310 --var_5_6 NUMBER-NUMBER
var_5_7 = 330 --var_5_7 NUMBER-NUMBER
dxutSetDialogPos(HND_DLG, var_5_4, var_5_5, var_5_6, var_5_7)
var_5_4 = 1 --var_5_4 NUMBER-NUMBER
var_5_6 = 5 --var_5_6 NUMBER-NUMBER
var_5_7 = 5 --var_5_7 NUMBER-NUMBER
var_5_8 = 300 --var_5_8 NUMBER-NUMBER
var_5_9 = 20 --var_5_9 NUMBER-NUMBER
dxutAddCheckbox(HND_DLG, var_5_4, "iHaveReadedLicenseAgreement", var_5_6, var_5_7, var_5_8, var_5_9)
var_5_4 = 1 --var_5_4 NUMBER-NUMBER
until false or (previous if statement is true) --location 0038
dxutCheckboxSetChecked(HND_DLG, var_5_4, cfg.set.iHaveReadedLicenseAgreement)
var_5_4 = 2 --var_5_4 NUMBER-NUMBER
var_5_6 = 5 --var_5_6 NUMBER-NUMBER
var_5_7 = 30 --var_5_7 NUMBER-NUMBER
var_5_8 = 300 --var_5_8 NUMBER-NUMBER
var_5_9 = 20 --var_5_9 NUMBER-NUMBER
dxutAddCheckbox(HND_DLG, var_5_4, "showGameCrosshairInstantly", var_5_6, var_5_7, var_5_8, var_5_9)
var_5_4 = 2 --var_5_4 NUMBER-NUMBER
dxutCheckboxSetChecked(HND_DLG, var_5_4, cfg.set.showGameCrosshairInstantly)
var_5_4 = 3 --var_5_4 NUMBER-NUMBER
var_5_6 = 5 --var_5_6 NUMBER-NUMBER
var_5_7 = 55 --var_5_7 NUMBER-NUMBER
var_5_8 = 300 --var_5_8 NUMBER-NUMBER
var_5_9 = 20 --var_5_9 NUMBER-NUMBER
dxutAddCheckbox(HND_DLG, var_5_4, "noCamRestore", var_5_6, var_5_7, var_5_8, var_5_9)
var_5_4 = 3 --var_5_4 NUMBER-NUMBER
dxutCheckboxSetChecked(HND_DLG, var_5_4, cfg.set.noCamRestore)
var_5_4 = 4 --var_5_4 NUMBER-NUMBER
var_5_6 = 5 --var_5_6 NUMBER-NUMBER
var_5_7 = 80 --var_5_7 NUMBER-NUMBER
var_5_8 = 300 --var_5_8 NUMBER-NUMBER
var_5_9 = 20 --var_5_9 NUMBER-NUMBER
dxutAddCheckbox(HND_DLG, var_5_4, "autoScroll", var_5_6, var_5_7, var_5_8, var_5_9)
var_5_4 = 4 --var_5_4 NUMBER-NUMBER
dxutCheckboxSetChecked(HND_DLG, var_5_4, cfg.set.autoScroll)
var_5_4 = 5 --var_5_4 NUMBER-NUMBER
var_5_6 = 5 --var_5_6 NUMBER-NUMBER
var_5_7 = 105 --var_5_7 NUMBER-NUMBER
var_5_8 = 300 --var_5_8 NUMBER-NUMBER
var_5_9 = 20 --var_5_9 NUMBER-NUMBER
dxutAddCheckbox(HND_DLG, var_5_4, "noRecoilWithDynamicCrosshair", var_5_6, var_5_7, var_5_8, var_5_9)
var_5_4 = 5 --var_5_4 NUMBER-NUMBER
dxutCheckboxSetChecked(HND_DLG, var_5_4, cfg.set.noRecoilWithDynamicCrosshair)
var_5_4 = 6 --var_5_4 NUMBER-NUMBER
var_5_6 = 5 --var_5_6 NUMBER-NUMBER
var_5_7 = 130 --var_5_7 NUMBER-NUMBER
var_5_8 = 300 --var_5_8 NUMBER-NUMBER
var_5_9 = 20 --var_5_9 NUMBER-NUMBER
dxutAddCheckbox(HND_DLG, var_5_4, "checkpt", var_5_6, var_5_7, var_5_8, var_5_9)
var_5_4 = 6 --var_5_4 NUMBER-NUMBER
until false or (previous if statement is true) --location 0118
dxutCheckboxSetChecked(HND_DLG, var_5_4, cfg.set.checkpt)
var_5_4 = 7 --var_5_4 NUMBER-NUMBER
var_5_6 = 5 --var_5_6 NUMBER-NUMBER
var_5_7 = 155 --var_5_7 NUMBER-NUMBER
var_5_8 = 300 --var_5_8 NUMBER-NUMBER
var_5_9 = 20 --var_5_9 NUMBER-NUMBER
dxutAddCheckbox(HND_DLG, var_5_4, "randomMisses", var_5_6, var_5_7, var_5_8, var_5_9)
var_5_4 = 7 --var_5_4 NUMBER-NUMBER
dxutCheckboxSetChecked(HND_DLG, var_5_4, cfg.set.randomMisses)
var_5_4 = 11 --var_5_4 NUMBER-NUMBER
var_5_6 = 5 --var_5_6 NUMBER-NUMBER
var_5_7 = 180 --var_5_7 NUMBER-NUMBER
var_5_8 = 300 --var_5_8 NUMBER-NUMBER
var_5_9 = 20 --var_5_9 NUMBER-NUMBER
dxutAddStatic(HND_DLG, var_5_4, "Miss chance setting:", var_5_6, var_5_7, var_5_8, var_5_9)
var_5_4 = 8 --var_5_4 NUMBER-NUMBER
var_5_5 = tostring(cfg.set.missChanceIs1to)
var_5_6 = 5 --var_5_6 NUMBER-NUMBER
var_5_7 = 200 --var_5_7 NUMBER-NUMBER
var_5_8 = 300 --var_5_8 NUMBER-NUMBER
var_5_9 = 35 --var_5_9 NUMBER-NUMBER
dxutAddEditbox(HND_DLG, var_5_4, var_5_5, var_5_6, var_5_7, var_5_8, var_5_9)
var_5_4 = 9 --var_5_4 NUMBER-NUMBER
var_5_5 = string.format("change secondarykey. current: %s", cfg.set.secondarykey)
var_5_6 = 5 --var_5_6 NUMBER-NUMBER
var_5_7 = 245 --var_5_7 NUMBER-NUMBER
var_5_8 = 300 --var_5_8 NUMBER-NUMBER
var_5_9 = 20 --var_5_9 NUMBER-NUMBER
dxutAddButton(HND_DLG, var_5_4, var_5_5, var_5_6, var_5_7, var_5_8, var_5_9)
until false or (previous if statement is true) --location 0174
var_5_4 = 10 --var_5_4 NUMBER-NUMBER
var_5_6 = 5 --var_5_6 NUMBER-NUMBER
var_5_7 = 290 --var_5_7 NUMBER-NUMBER
var_5_8 = 300 --var_5_8 NUMBER-NUMBER
var_5_9 = 20 --var_5_9 NUMBER-NUMBER
dxutAddButton(HND_DLG, var_5_4, "Save", var_5_6, var_5_7, var_5_8, var_5_9)
var_5_4 = 12 --var_5_4 NUMBER-NUMBER
var_5_6 = 5 --var_5_6 NUMBER-NUMBER
var_5_7 = 270 --var_5_7 NUMBER-NUMBER
var_5_8 = 300 --var_5_8 NUMBER-NUMBER
var_5_9 = 20 --var_5_9 NUMBER-NUMBER
dxutAddButton(HND_DLG, var_5_4, "Close w/o saving to file", var_5_6, var_5_7, var_5_8, var_5_9)
var_5_3 = true --var_5_3 PRIMITIVE-PRIMITIVE
sampToggleCursor(var_5_3)
--jump to 0202 (if previous if statement is false) --0202 JMP-JMP
var_5_2 = dxutIsDialogVisible(HND_DLG)
var_5_2 = not var_5_2
dxutSetDialogVisible(HND_DLG, var_5_2)
repeat
var_5_1 = 0 --var_5_1 NUMBER-NUMBER
wait(var_5_1)
var_5_0, var_5_1, var_5_2 = dxutPopEvent(HND_DLG)
if var_5_2 == 0 then
--jump to 0229 (if previous if statement is false) --0229 JMP-JMP
var_5_4 = 0 --var_5_4 NUMBER-NUMBER
wait(var_5_4)
inicfg.save(cfg)
var_5_5 = false --var_5_5 PRIMITIVE-PRIMITIVE
dxutSetDialogVisible(HND_DLG, var_5_5)
dxutDeleteDialog(HND_DLG)
var_5_4 = false --var_5_4 PRIMITIVE-PRIMITIVE
sampToggleCursor(var_5_4)
--jump to 0381 (if previous if statement is false) --0381 JMP-JMP
if var_5_2 == 1 then
--jump to 0238 (if previous if statement is false) --0238 JMP-JMP
var_5_4 = not cfg.set.iHaveReadedLicenseAgreement
cfg.set.iHaveReadedLicenseAgreement = var_5_4
if var_5_2 == 2 then
--jump to 0252 (if previous if statement is false) --0252 JMP-JMP
var_5_4 = not cfg.set.showGameCrosshairInstantly
cfg.set.showGameCrosshairInstantly = var_5_4
showCrosshairInstantlyPatch(cfg.set.showGameCrosshairInstantly)
if var_5_2 == 3 then
--jump to 0266 (if previous if statement is false) --0266 JMP-JMP
var_5_4 = not cfg.set.noCamRestore
cfg.set.noCamRestore = var_5_4
cameraRestorePatch(cfg.set.noCamRestore)
if var_5_2 == 4 then
--jump to 0275 (if previous if statement is false) --0275 JMP-JMP
var_5_4 = not cfg.set.autoScroll
cfg.set.autoScroll = var_5_4
if var_5_2 == 5 then
--jump to 0289 (if previous if statement is false) --0289 JMP-JMP
var_5_4 = not cfg.set.noRecoilWithDynamicCrosshair
cfg.set.noRecoilWithDynamicCrosshair = var_5_4
noRecoilDynamicCrosshair(cfg.set.noRecoilWithDynamicCrosshair)
if var_5_2 == 6 then
--jump to 0298 (if previous if statement is false) --0298 JMP-JMP
var_5_4 = not cfg.set.checkpt
cfg.set.checkpt = var_5_4
if var_5_2 == 7 then
--jump to 0307 (if previous if statement is false) --0307 JMP-JMP
var_5_4 = not cfg.set.randomMisses
cfg.set.randomMisses = var_5_4
if var_5_2 == 8 then
--jump to 0320 (if previous if statement is false) --0320 JMP-JMP
if var_5_1 == 9 then
--jump to 0320 (if previous if statement is false) --0320 JMP-JMP
var_5_7 = 8 --var_5_7 NUMBER-NUMBER
var_5_4 = tonumber( dxutGetControlText(HND_DLG, var_5_7) )
cfg.set.missChanceIs1to = var_5_4
if var_5_2 == 10 then
--jump to 0364 (if previous if statement is false) --0364 JMP-JMP
var_5_5 = 9 --var_5_5 NUMBER-NUMBER
dxutSetControlText(HND_DLG, var_5_5, "press any key")
repeat
var_5_4 = 0 --var_5_4 NUMBER-NUMBER
wait(var_5_4)
var_5_3 = false --var_5_3 PRIMITIVE-PRIMITIVE
repexit = var_5_3
var_5_3 = 0 --var_5_3 NUMBER-NUMBER
var_5_4 = 254 --var_5_4 NUMBER-NUMBER
var_5_5 = 1 --var_5_5 NUMBER-NUMBER
for var_5_6 = var_5_3,var_5_4,var_5_5 do --location 0336, loop ends at 0359-1
var_5_8 = var_5_6
var_5_7 = isKeyDown(var_5_8)
if var_5_7 then
--jump to 0358 (if previous if statement is false) --0358 JMP-JMP
var_5_7 = true --var_5_7 PRIMITIVE-PRIMITIVE
repexit = var_5_7
cfg.set.secondarykey = var_5_6
var_5_9 = 9 --var_5_9 NUMBER-NUMBER
dxutSetControlText(HND_DLG, var_5_9, string.format("change secondarykey. current: %s", cfg.set.secondarykey) )
end --location 0358, loops back to 0337-1
if repexit then
--jump to 0327 (if previous if statement is false) --0327 JMP-JMP
until false or (previous if statement is true) --location 0362
var_5_3 = false --var_5_3 PRIMITIVE-PRIMITIVE
repexit = var_5_3
if var_5_2 == 11 then
--jump to 0202 (if previous if statement is false) --0202 JMP-JMP
var_5_4 = 0 --var_5_4 NUMBER-NUMBER
wait(var_5_4)
var_5_5 = false --var_5_5 PRIMITIVE-PRIMITIVE
dxutSetDialogVisible(HND_DLG, var_5_5)
var_5_4 = false --var_5_4 PRIMITIVE-PRIMITIVE
sampToggleCursor(var_5_4)
dxutDeleteDialog(HND_DLG)
--jump to 0381 (if previous if statement is false) --0381 JMP-JMP
--jump to 0202 (if previous if statement is false) --0202 JMP-JMP
until false or (previous if statement is true) --location 0381
return
end
end end end end end end end end end end end end end end end --REVERSE ME--REVERSE ME--REVERSE ME--REVERSE ME--REVERSE ME--REVERSE ME--REVERSE ME--REVERSE ME--REVERSE ME--REVERSE ME--REVERSE ME--REVERSE ME--REVERSE ME--REVERSE ME--REVERSE ME
function randomFunction getAmmoInClip ()
var_6_0 = getCharPointer(playerPed)
var_6_1 = var_6_0 + 1816 --var_6_1 NUMBER-NUMBER
var_6_3 = var_6_1
var_6_4 = false --var_6_4 PRIMITIVE-PRIMITIVE
var_6_2 = memory.getint8(var_6_3, var_6_4)
var_6_3 = var_6_2 * 28 --var_6_3 NUMBER-NUMBER
var_6_4 = var_6_0 + 1440 --var_6_4 NUMBER-NUMBER
until false or (previous if statement is true) --location 0012
var_6_5 = var_6_4 + var_6_3 --var_6_5 NUMBER-NUMBER
var_6_6 = var_6_5 + 8 --var_6_6 NUMBER-NUMBER
var_6_8 = var_6_6
var_6_9 = false --var_6_9 PRIMITIVE-PRIMITIVE
var_6_7 = memory.getint32(var_6_8, var_6_9)
return var_6_7
end
function randomFunction cameraRestorePatch (INPUT_VAR_0_)
if INPUT_VAR_0_ then
--jump to 0077 (if previous if statement is false) --0077 JMP-JMP
if not patch_cameraRestore then
--jump to 0041 (if previous if statement is false) --0041 JMP-JMP
var_7_2 = 5310892 --var_7_2 NUMBER-NUMBER
var_7_3 = 1 --var_7_3 NUMBER-NUMBER
var_7_4 = true --var_7_4 PRIMITIVE-PRIMITIVE
var_7_1 = memory.read(var_7_2, var_7_3, var_7_4)
until false or (previous if statement is true) --location 0012
patch_cameraRestore1 = var_7_1
var_7_2 = 5310917 --var_7_2 NUMBER-NUMBER
var_7_3 = 1 --var_7_3 NUMBER-NUMBER
var_7_4 = true --var_7_4 PRIMITIVE-PRIMITIVE
var_7_1 = memory.read(var_7_2, var_7_3, var_7_4)
patch_cameraRestore2 = var_7_1
until false or (previous if statement is true) --location 0020
var_7_2 = 5386662 --var_7_2 NUMBER-NUMBER
var_7_3 = 1 --var_7_3 NUMBER-NUMBER
var_7_4 = true --var_7_4 PRIMITIVE-PRIMITIVE
var_7_1 = memory.read(var_7_2, var_7_3, var_7_4)
patch_cameraRestore3 = var_7_1
var_7_2 = 5386797 --var_7_2 NUMBER-NUMBER
var_7_3 = 1 --var_7_3 NUMBER-NUMBER
var_7_4 = true --var_7_4 PRIMITIVE-PRIMITIVE
var_7_1 = memory.read(var_7_2, var_7_3, var_7_4)
patch_cameraRestore4 = var_7_1
var_7_2 = 5387194 --var_7_2 NUMBER-NUMBER
var_7_3 = 1 --var_7_3 NUMBER-NUMBER
until false or (previous if statement is true) --location 0038
var_7_4 = true --var_7_4 PRIMITIVE-PRIMITIVE
var_7_1 = memory.read(var_7_2, var_7_3, var_7_4)
patch_cameraRestore5 = var_7_1
var_7_2 = 5310892 --var_7_2 NUMBER-NUMBER
var_7_3 = 235 --var_7_3 NUMBER-NUMBER
var_7_4 = 1 --var_7_4 NUMBER-NUMBER
var_7_5 = true --var_7_5 PRIMITIVE-PRIMITIVE
memory.write(var_7_2, var_7_3, var_7_4, var_7_5)
var_7_2 = 5310917 --var_7_2 NUMBER-NUMBER
var_7_3 = 235 --var_7_3 NUMBER-NUMBER
var_7_4 = 1 --var_7_4 NUMBER-NUMBER
var_7_5 = true --var_7_5 PRIMITIVE-PRIMITIVE
memory.write(var_7_2, var_7_3, var_7_4, var_7_5)
var_7_2 = 5386662 --var_7_2 NUMBER-NUMBER
var_7_3 = 235 --var_7_3 NUMBER-NUMBER
var_7_4 = 1 --var_7_4 NUMBER-NUMBER
var_7_5 = true --var_7_5 PRIMITIVE-PRIMITIVE
memory.write(var_7_2, var_7_3, var_7_4, var_7_5)
var_7_2 = 5386797 --var_7_2 NUMBER-NUMBER
var_7_3 = 235 --var_7_3 NUMBER-NUMBER
var_7_4 = 1 --var_7_4 NUMBER-NUMBER
var_7_5 = true --var_7_5 PRIMITIVE-PRIMITIVE
memory.write(var_7_2, var_7_3, var_7_4, var_7_5)
var_7_2 = 5387194 --var_7_2 NUMBER-NUMBER
var_7_3 = 235 --var_7_3 NUMBER-NUMBER
var_7_4 = 1 --var_7_4 NUMBER-NUMBER
var_7_5 = true --var_7_5 PRIMITIVE-PRIMITIVE
memory.write(var_7_2, var_7_3, var_7_4, var_7_5)
--jump to 0117 (if previous if statement is false) --0117 JMP-JMP
if patch_cameraRestore1 ~= nil then
--jump to 0117 (if previous if statement is false) --0117 JMP-JMP
var_7_2 = 5310892 --var_7_2 NUMBER-NUMBER
var_7_4 = 1 --var_7_4 NUMBER-NUMBER
var_7_5 = true --var_7_5 PRIMITIVE-PRIMITIVE
memory.write(var_7_2, patch_cameraRestore1, var_7_4, var_7_5)
var_7_2 = 5310917 --var_7_2 NUMBER-NUMBER
var_7_4 = 1 --var_7_4 NUMBER-NUMBER
var_7_5 = true --var_7_5 PRIMITIVE-PRIMITIVE
memory.write(var_7_2, patch_cameraRestore2, var_7_4, var_7_5)
var_7_2 = 5386662 --var_7_2 NUMBER-NUMBER
var_7_4 = 1 --var_7_4 NUMBER-NUMBER
var_7_5 = true --var_7_5 PRIMITIVE-PRIMITIVE
memory.write(var_7_2, patch_cameraRestore3, var_7_4, var_7_5)
var_7_2 = 5386797 --var_7_2 NUMBER-NUMBER
var_7_4 = 1 --var_7_4 NUMBER-NUMBER
var_7_5 = true --var_7_5 PRIMITIVE-PRIMITIVE
memory.write(var_7_2, patch_cameraRestore4, var_7_4, var_7_5)
var_7_2 = 5387194 --var_7_2 NUMBER-NUMBER
var_7_4 = 1 --var_7_4 NUMBER-NUMBER
var_7_5 = true --var_7_5 PRIMITIVE-PRIMITIVE
memory.write(var_7_2, patch_cameraRestore5, var_7_4, var_7_5)
var_7_1 = nil --var_7_1 PRIMITIVE-PRIMITIVE
patch_cameraRestore1 = var_7_1
return
end
end end end --REVERSE ME--REVERSE ME--REVERSE ME
function randomFunction showCrosshairInstantlyPatch (INPUT_VAR_0_)
if INPUT_VAR_0_ then
--jump to 0021 (if previous if statement is false) --0021 JMP-JMP
if not patch_showCrosshairInstantly then
--jump to 0013 (if previous if statement is false) --0013 JMP-JMP
var_8_2 = 5824985 --var_8_2 NUMBER-NUMBER
var_8_3 = 1 --var_8_3 NUMBER-NUMBER
var_8_4 = true --var_8_4 PRIMITIVE-PRIMITIVE
var_8_1 = memory.read(var_8_2, var_8_3, var_8_4)
until false or (previous if statement is true) --location 0012
patch_showCrosshairInstantly = var_8_1
end
var_8_2 = 5824985 --var_8_2 NUMBER-NUMBER
var_8_3 = 235 --var_8_3 NUMBER-NUMBER
var_8_4 = 1 --var_8_4 NUMBER-NUMBER
var_8_5 = true --var_8_5 PRIMITIVE-PRIMITIVE
memory.write(var_8_2, var_8_3, var_8_4, var_8_5)
until false or (previous if statement is true) --location 0020
--jump to 0033 (if previous if statement is false) --0033 JMP-JMP
if patch_showCrosshairInstantly ~= nil then
--jump to 0033 (if previous if statement is false) --0033 JMP-JMP
var_8_2 = 5824985 --var_8_2 NUMBER-NUMBER
var_8_4 = 1 --var_8_4 NUMBER-NUMBER
var_8_5 = true --var_8_5 PRIMITIVE-PRIMITIVE
memory.write(var_8_2, patch_showCrosshairInstantly, var_8_4, var_8_5)
var_8_1 = nil --var_8_1 PRIMITIVE-PRIMITIVE
patch_showCrosshairInstantly = var_8_1
return
end
end end --REVERSE ME--REVERSE ME
function randomFunction noRecoilDynamicCrosshair (INPUT_VAR_0_)
if INPUT_VAR_0_ then
--jump to 0021 (if previous if statement is false) --0021 JMP-JMP
if not patch_noRecoilDynamicCrosshair then
--jump to 0013 (if previous if statement is false) --0013 JMP-JMP
var_9_2 = 7603296 --var_9_2 NUMBER-NUMBER
var_9_3 = 1 --var_9_3 NUMBER-NUMBER
var_9_4 = true --var_9_4 PRIMITIVE-PRIMITIVE
var_9_1 = memory.read(var_9_2, var_9_3, var_9_4)
until false or (previous if statement is true) --location 0012
patch_noRecoilDynamicCrosshair = var_9_1
end
var_9_2 = 7603296 --var_9_2 NUMBER-NUMBER
var_9_3 = 144 --var_9_3 NUMBER-NUMBER
var_9_4 = 1 --var_9_4 NUMBER-NUMBER
var_9_5 = true --var_9_5 PRIMITIVE-PRIMITIVE
memory.write(var_9_2, var_9_3, var_9_4, var_9_5)
until false or (previous if statement is true) --location 0020
--jump to 0033 (if previous if statement is false) --0033 JMP-JMP
if patch_noRecoilDynamicCrosshair ~= nil then
--jump to 0033 (if previous if statement is false) --0033 JMP-JMP
var_9_2 = 7603296 --var_9_2 NUMBER-NUMBER
var_9_4 = 1 --var_9_4 NUMBER-NUMBER
var_9_5 = true --var_9_5 PRIMITIVE-PRIMITIVE
memory.write(var_9_2, patch_noRecoilDynamicCrosshair, var_9_4, var_9_5)
var_9_1 = nil --var_9_1 PRIMITIVE-PRIMITIVE
patch_noRecoilDynamicCrosshair = var_9_1
return
end
end end --REVERSE ME--REVERSE ME
function randomFunction onExitScript ()
if cfg.set.crosshairPatch then
--jump to 0009 (if previous if statement is false) --0009 JMP-JMP
var_10_1 = false --var_10_1 PRIMITIVE-PRIMITIVE
showCrosshairInstantlyPatch(var_10_1)
end
until false or (previous if statement is true) --location 0012
if cfg.set.noRecoilWithDynamicCrosshair then
--jump to 0017 (if previous if statement is false) --0017 JMP-JMP
var_10_1 = false --var_10_1 PRIMITIVE-PRIMITIVE
noRecoilDynamicCrosshair(var_10_1)
until false or (previous if statement is true) --location 0020
if cfg.set.noCamRestore then
--jump to 0025 (if previous if statement is false) --0025 JMP-JMP
var_10_1 = false --var_10_1 PRIMITIVE-PRIMITIVE
cameraRestorePatch(var_10_1)
return
end
end end --REVERSE ME--REVERSE ME
function someFunc11()
script_name("LEGAL C-BUG")
script_author("deddosouru")
var_11_1 = "legal and fast C-BUG using. Just hold RM" --strings longer than 40 characters get cut off, so check to see if there's more!
script_description(var_11_1)
var_11_1 = "SampFuncs 5.3.3 release #19 (SA-MP 0.3.7" --strings longer than 40 characters get cut off, so check to see if there's more!
until false or (previous if statement is true) --location 0012
script_dependencies(var_11_1)
var_11_1 = 4 --var_11_1 NUMBER-NUMBER
script_version_number(var_11_1)
var_11_0 = require("inicfg")
until false or (previous if statement is true) --location 0020
var_11_1 = require("memory")
var_11_3 = {} --to find out the contents of this table look inside the lua file
var_11_4 = {} --to find out the contents of this table look inside the lua file
var_11_3.set = var_11_4
var_11_2 = var_11_0.load(var_11_3)
local randomFunction0 = function() end -- starts at test.lua:18
main = randomFunction0
local randomFunction1 = function() end -- starts at test.lua:55
easterEgg = randomFunction1
local randomFunction2 = function() end -- starts at test.lua:60
mlg = randomFunction2
local randomFunction3 = function() end -- starts at test.lua:73
get_screen_centure = randomFunction3
local randomFunction4 = function() end -- starts at test.lua:80
SHOW_DLG = randomFunction4
local randomFunction5 = function() end -- starts at test.lua:85
until false or (previous if statement is true) --location 0038
showCur = randomFunction5
local randomFunction6 = function() end -- starts at test.lua:178
getAmmoInClip = randomFunction6
local randomFunction7 = function() end -- starts at test.lua:190
cameraRestorePatch = randomFunction7
local randomFunction8 = function() end -- starts at test.lua:214
showCrosshairInstantlyPatch = randomFunction8
local randomFunction9 = function() end -- starts at test.lua:226
noRecoilDynamicCrosshair = randomFunction9
local randomFunction10 = function() end -- starts at test.lua:238
onExitScript = randomFunction10
return
end