Skip to content

Instantly share code, notes, and snippets.

View LGLTeam's full-sized avatar

Menu Modder LGLTeam

View GitHub Profile
var click, origin = document.location.origin,
dropzone = $("#dropzone"),
btnUpload = $("#submitUpload"),
xhr_arr = [],
allItems = [],
myStart = "",
uploadChange = function() {
var e = $("#myfile").prop("files");
checkItems(), addFiles(e), addItems(e)
},
@LGLTeam
LGLTeam / main.cpp
Created March 18, 2021 15:32
Free Fire Source 1 (Mar 2020)
/**********************************
HOOK IL2CPP
***********************************/
void* (*GetHeadTF)(void* player) = (void*(*)(void*))getRealOffset(0xAE5868);
void* (*GetHipTF)(void* player) = (void*(*)(void*))getRealOffset(0xAE5994);
@LGLTeam
LGLTeam / android-read-write-file.cpp
Created April 19, 2021 13:45
Reading and writing text file via c++ for Android. No root
#include <string.h>
#include <cstring>
#include <fstream>
#include <iostream>
std::string dir = "/data/data/uk.lgl.modmenu/cache/imei";
std::string buf = "whatever";
std::ifstream myfile(dir);
if (!myfile.is_open()) {
std::ofstream os(dir.c_str(), std::ios::trunc);
@LGLTeam
LGLTeam / Android ImageView Banner.java
Last active May 22, 2021 12:57
Android ImageView Banner by RAUNAK MODS
//********** ImageView Banner (By RAUNAK MODS) **********
ImageView banner = new ImageView(this);
RelativeLayout.LayoutParams layoutBannerParams = new RelativeLayout.LayoutParams(-1, -2);
banner.setLayoutParams(new RelativeLayout.LayoutParams(-1, -2));
layoutBannerParams.addRule(21, -2);//21 -2
layoutBannerParams.setMarginEnd((int) ((271.0f) + 0.5f)); //271
banner.getLayoutParams().height = 150;
banner.getLayoutParams().width = -2;
banner.requestLayout();
banner.setScaleType(ImageView.ScaleType.FIT_XY);