Help! problem making patch working for free fire with game guardian

tahooo

Platinian
welcome the problem is after i dumped the offsets i open game guardian to patch some functions in free fire so i used this script:

Code:
gg.setVisible(false)
gg.toast('-=[ PATCHING ]=-')


function patch8bytes(pAddress, pValue)

    local soBase = gg.getRangesList('libil2cpp.so')[1].start

 
    gg.addListItems({
        [1] = {
            address = soBase + pAddress,
            flags = gg.TYPE_DWORD,
            value = pValue,
            freeze = true
        }
    })


    gg.addListItems({
        [1] = {
            address = soBase + pAddress + 4,
            flags = gg.TYPE_DWORD,
            value = -516948194,
            freeze = true
        }
    })
    gg.removeListItems(gg.getListItems())
end


patch8bytes( 0x91EDE4 , -476053504)

gg.toast('-=[ COMPLETE ]=-')

os.exit()

this script patch a bool function to just return true or false when called but the functions never get patched.

ex: in dump there is CanOpenParachuting function in player class --> public bool CanOpenParachuting(float \u0081}x[tOF) .

i patch to return true always like this: patch8bytes( 0x91EDE4 , -476053503) .

but it is never patch any help.
 
Back
Top Bottom