.version	5.4

.format	0
.instruction_size	4
.integer_format	8
.float_format	8
.endianness	LITTLE

.function	main

.source	""
.linedefined	0
.lastlinedefined	0
.numparams	0
.is_vararg	1
.maxstacksize	11

.upvalue	"_ENV"	0	true

.constant	k0	"Config"
.constant	k1	"Framework"
.constant	k2	"qb"
.constant	k3	"exports"
.constant	k4	"qb-core"
.constant	k5	"GetCoreObject"
.constant	k6	"esx"
.constant	k7	"es_extended"
.constant	k8	"getSharedObject"
.constant	k9	"RegisterNetEvent"
.constant	k10	"ns-gang:server:checkGangStatus"
.constant	k11	"ns-gang:server:setGang"
.constant	k12	"ns-gang:server:showDiscordInvite"
.constant	k13	"AddEventHandler"
.constant	k14	"onResourceStart"

varargprep     0
loadnil       r0     1
newtable      r2     0     0     0
extraarg       0
closure       r3    f0
gettabup      r4    u0    k0
getfield      r4    r4    k1
eqk           r4    k2     0
jmp          l16
gettabup      r4    u0    k3
getfield      r4    r4    k4
self          r4    r4    k5
call          r4     2     2
move          r0    r4
jmp          l25
.label	l16
gettabup      r4    u0    k0
getfield      r4    r4    k1
eqk           r4    k6     0
jmp          l25
gettabup      r4    u0    k3
getfield      r4    r4    k7
self          r4    r4    k8
call          r4     2     2
move          r1    r4
.label	l25
closure       r4    f1
closure       r5    f2
closure       r6    f3
closure       r7    f4
gettabup      r8    u0    k9
loadk         r9   k10
closure      r10    f5
call          r8     3     1
gettabup      r8    u0    k9
loadk         r9   k11
closure      r10    f6
call          r8     3     1
gettabup      r8    u0    k9
loadk         r9   k12
closure      r10    f7
call          r8     3     1
gettabup      r8    u0   k13
loadk         r9   k14
closure      r10    f8
call          r8     3     1
return        r8     1     1     1

.function	main/f0

.source	""
.linedefined	6
.lastlinedefined	10
.numparams	1
.is_vararg	0
.maxstacksize	4

.upvalue	null	0	false

.constant	k0	"Config"
.constant	k1	"Debug"
.constant	k2	"print"
.constant	k3	"[NS-GANG-SERVER] "

gettabup      r1    u0    k0
getfield      r1    r1    k1
test          r1     0
jmp          l10
gettabup      r1    u0    k2
loadk         r2    k3
move          r3    r0
concat        r2     2
call          r1     2     1
.label	l10
return0       r1     1     0     0

.function	main/f1

.source	""
.linedefined	20
.lastlinedefined	29
.numparams	0
.is_vararg	0
.maxstacksize	4

.upvalue	null	0	false
.upvalue	null	2	true
.upvalue	null	3	true

.constant	k0	"Config"
.constant	k1	"Language"
.constant	k2	"Translations"
.constant	k3	"Loaded language: "
.constant	k4	"en"
.constant	k5	"Language not found, defaulted to English"

gettabup      r0    u0    k0
getfield      r0    r0    k1
gettabup      r1    u0    k0
getfield      r1    r1    k2
gettable      r1    r1    r0
test          r1     0
jmp          l18
gettabup      r1    u0    k0
getfield      r1    r1    k2
gettable      r1    r1    r0
setupval      r1    u1
getupval      r1    u2
loadk         r2    k3
move          r3    r0
concat        r2     2
call          r1     2     1
jmp          l25
.label	l18
gettabup      r1    u0    k0
getfield      r1    r1    k2
getfield      r1    r1    k4
setupval      r1    u1
getupval      r1    u2
loadk         r2    k5
call          r1     2     1
.label	l25
return0       r1     1     0     0

.function	main/f2

.source	""
.linedefined	32
.lastlinedefined	37
.numparams	1
.is_vararg	1
.maxstacksize	4

.upvalue	null	2	true
.upvalue	null	0	false

.constant	k0	"string"
.constant	k1	"format"

varargprep     1
getupval      r1    u0
gettable      r1    r1    r0
test          r1     0
jmp          l13
gettabup      r1    u1    k0
getfield      r1    r1    k1
getupval      r2    u0
gettable      r2    r2    r0
vararg        r3     0
tailcall      r1     0     2     0
return        r1     0     2     0
.label	l13
return        r0     2     2     0
return        r1     1     2     0

.function	main/f3

.source	""
.linedefined	40
.lastlinedefined	71
.numparams	1
.is_vararg	0
.maxstacksize	13

.upvalue	null	0	false
.upvalue	null	0	true
.upvalue	null	1	true
.upvalue	null	3	true

.constant	k0	"Config"
.constant	k1	"Framework"
.constant	k2	"qb"
.constant	k3	"Functions"
.constant	k4	"GetPlayer"
.constant	k5	"PlayerData"
.constant	k6	"gang"
.constant	k7	"name"
.constant	k8	"none"
.constant	k9	"esx"
.constant	k10	"GetPlayerFromId"
.constant	k11	"getJob"
.constant	k12	"pairs"
.constant	k13	"Gangs"
.constant	k14	"value"
.constant	k15	"Checking if player has gang: "
.constant	k16	"tostring"
.constant	k17	", Gang: "

loadfalse     r1
loadnil       r2     0
gettabup      r3    u0    k0
getfield      r3    r3    k1
eqk           r3    k2     0
jmp          l26
gettabup      r3    u1    k3
getfield      r3    r3    k4
move          r4    r0
call          r3     2     2
test          r3     0
jmp          l52
getfield      r4    r3    k5
getfield      r4    r4    k6
test          r4     0
jmp          l52
getfield      r5    r4    k7
test          r5     0
jmp          l52
getfield      r5    r4    k7
eqk           r5    k8     1
jmp          l52
loadtrue      r1
getfield      r2    r4    k7
jmp          l52
.label	l26
gettabup      r3    u0    k0
getfield      r3    r3    k1
eqk           r3    k9     0
jmp          l52
gettabup      r3    u2   k10
move          r4    r0
call          r3     2     2
test          r3     0
jmp          l52
getfield      r4    r3   k11
call          r4     1     2
gettabup      r5    u0   k12
gettabup      r6    u0    k0
getfield      r6    r6   k13
call          r5     2     5
tforprep      r5   l49
.label	l42
getfield     r11    r4    k7
getfield     r12   r10   k14
eq           r11   r12     0
jmp          l49
loadtrue      r1
getfield      r2    r4    k7
jmp          l51
.label	l49
tforcall      r5     2
tforloop      r5   l42
.label	l51
close         r5
.label	l52
getupval      r3    u3
loadk         r4   k15
gettabup      r5    u0   k16
move          r6    r1
call          r5     2     2
loadk         r6   k17
gettabup      r7    u0   k16
move          r8    r2
call          r7     2     2
concat        r4     4
call          r3     2     1
move          r3    r1
move          r4    r2
return        r3     3     0     1
return        r3     1     0     1

.function	main/f4

.source	""
.linedefined	74
.lastlinedefined	154
.numparams	2
.is_vararg	0
.maxstacksize	19

.upvalue	null	0	false
.upvalue	null	3	true

.constant	k0	"Config"
.constant	k1	"Discord"
.constant	k2	"enabled"
.constant	k3	"webhook"
.constant	k4	"GetPlayerIdentifiers"
.constant	k5	"GetPlayerName"
.constant	k6	"pairs"
.constant	k7	"string"
.constant	k8	"find"
.constant	k9	"discord:"
.constant	k10	"gsub"
.constant	k11	""
.constant	k12	"steam:"
.constant	k13	"license:"
.constant	k14	"#FFFFFF"
.constant	k15	"Gangs"
.constant	k16	"value"
.constant	k17	"label"
.constant	k18	"color"
.constant	k19	3447003
.constant	k20	"sub"
.constant	k21	"#"
.constant	k22	"tonumber"
.constant	k23	"0x"
.constant	k24	"title"
.constant	k25	"**New Gang Member**"
.constant	k26	"description"
.constant	k27	"format"
.constant	k28	"Player has joined a gang"
.constant	k29	"fields"
.constant	k30	"name"
.constant	k31	"Player"
.constant	k32	"%s `[ID: %s]`"
.constant	k33	"inline"
.constant	k34	true
.constant	k35	"Gang"
.constant	k36	"<@%s>"
.constant	k37	"Not linked"
.constant	k38	"footer"
.constant	k39	"text"
.constant	k40	"icon_url"
.constant	k41	"botImage"
.constant	k42	"timestamp"
.constant	k43	"os"
.constant	k44	"date"
.constant	k45	"!%Y-%m-%dT%H:%M:%SZ"
.constant	k46	"PerformHttpRequest"
.constant	k47	"POST"
.constant	k48	"json"
.constant	k49	"encode"
.constant	k50	"username"
.constant	k51	"botName"
.constant	k52	"embeds"
.constant	k53	"avatar_url"
.constant	k54	"Content-Type"
.constant	k55	"application/json"
.constant	k56	L"Sent Discord webhook notification for player "
.constant	k57	" joining "

gettabup      r2    u0    k0
getfield      r2    r2    k1
getfield      r2    r2    k2
test          r2     0
jmp          l11
gettabup      r2    u0    k0
getfield      r2    r2    k1
getfield      r2    r2    k3
test          r2     1
jmp          l12
.label	l11
return        r2     1     0     1
.label	l12
gettabup      r2    u0    k4
move          r3    r0
call          r2     2     2
gettabup      r3    u0    k5
move          r4    r0
call          r3     2     2
loadnil       r4     2
gettabup      r7    u0    k6
move          r8    r2
call          r7     2     5
tforprep      r7   l55
.label	l23
gettabup     r13    u0    k7
getfield     r13   r13    k8
move         r14   r12
loadk        r15    k9
call         r13     3     2
test         r13     0
jmp          l38
gettabup     r13    u0    k7
getfield     r13   r13   k10
move         r14   r12
loadk        r15    k9
loadk        r16   k11
call         r13     4     2
move          r4   r13
jmp          l55
.label	l38
gettabup     r13    u0    k7
getfield     r13   r13    k8
move         r14   r12
loadk        r15   k12
call         r13     3     2
test         r13     0
jmp          l47
move          r5   r12
jmp          l55
.label	l47
gettabup     r13    u0    k7
getfield     r13   r13    k8
move         r14   r12
loadk        r15   k13
call         r13     3     2
test         r13     0
jmp          l55
move          r6   r12
.label	l55
tforcall      r7     2
tforloop      r7   l23
close         r7
move          r7    r1
loadk         r8   k14
gettabup      r9    u0    k6
gettabup     r10    u0    k0
getfield     r10   r10   k15
call          r9     2     5
tforprep      r9   l73
.label	l65
getfield     r15   r14   k16
eq           r15    r1     0
jmp          l73
getfield      r7   r14   k17
getfield     r15   r14   k18
testset       r8   r15     1
jmp          l73
loadk         r8   k14
.label	l73
tforcall      r9     2
tforloop      r9   l65
close         r9
loadk         r9   k19
self         r10    r8   k20
loadi        r12     1
loadi        r13     1
call         r10     4     2
eqk          r10   k21     0
jmp          l92
self         r10    r8   k20
loadi        r12     2
call         r10     3     2
gettabup     r11    u0   k22
loadk        r12   k23
move         r13   r10
concat       r12     2
call         r11     2     2
move          r9   r11
.label	l92
newtable     r10     0     1     0
extraarg       0
newtable     r11     4     0     0
extraarg       0
setfield     r11   k18    r9
setfield     r11   k24   k25
gettabup     r12    u0    k7
getfield     r12   r12   k27
loadk        r13   k28
call         r12     2     2
setfield     r11   k26   r12
newtable     r12     0     3     0
extraarg       0
newtable     r13     3     0     0
extraarg       0
setfield     r13   k30   k31
gettabup     r14    u0    k7
getfield     r14   r14   k27
loadk        r15   k32
move         r16    r3
move         r17    r0
call         r14     4     2
setfield     r13   k16   r14
setfield     r13   k33   k34
newtable     r14     3     0     0
extraarg       0
setfield     r14   k30   k35
setfield     r14   k16    r7
setfield     r14   k33   k34
newtable     r15     3     0     0
extraarg       0
setfield     r15   k30    k1
test          r4     0
jmp         l133
gettabup     r16    u0    k7
getfield     r16   r16   k27
loadk        r17   k36
move         r18    r4
call         r16     3     2
test         r16     1
jmp         l134
.label	l133
loadk        r16   k37
.label	l134
setfield     r15   k16   r16
setfield     r15   k33   k34
setlist      r12     3     0     0
setfield     r11   k29   r12
newtable     r12     2     0     0
extraarg       0
gettabup     r13    u0    k0
getfield     r13   r13    k1
getfield     r13   r13   k38
setfield     r12   k39   r13
gettabup     r13    u0    k0
getfield     r13   r13    k1
getfield     r13   r13   k41
setfield     r12   k40   r13
setfield     r11   k38   r12
gettabup     r12    u0   k43
getfield     r12   r12   k44
loadk        r13   k45
call         r12     2     2
setfield     r11   k42   r12
setlist      r10     1     0     0
gettabup     r11    u0   k46
gettabup     r12    u0    k0
getfield     r12   r12    k1
getfield     r12   r12    k3
closure      r13    f0
loadk        r14   k47
gettabup     r15    u0   k48
getfield     r15   r15   k49
newtable     r16     3     0     0
extraarg       0
gettabup     r17    u0    k0
getfield     r17   r17    k1
getfield     r17   r17   k51
setfield     r16   k50   r17
setfield     r16   k52   r10
gettabup     r17    u0    k0
getfield     r17   r17    k1
getfield     r17   r17   k41
setfield     r16   k53   r17
call         r15     2     2
newtable     r16     1     0     0
extraarg       0
setfield     r16   k54   k55
call         r11     6     1
getupval     r11    u1
loadk        r12   k56
move         r13    r0
loadk        r14   k57
move         r15    r7
concat       r12     4
call         r11     2     1
return       r11     1     0     1

.function	main/f4/f0

.source	""
.linedefined	147
.lastlinedefined	147
.numparams	3
.is_vararg	0
.maxstacksize	3

return0       r3     1     0     0

.function	main/f5

.source	""
.linedefined	157
.lastlinedefined	162
.numparams	0
.is_vararg	0
.maxstacksize	8

.upvalue	null	0	false
.upvalue	null	6	true

.constant	k0	"source"
.constant	k1	"TriggerClientEvent"
.constant	k2	"ns-gang:client:gangStatus"

gettabup      r0    u0    k0
getupval      r1    u1
move          r2    r0
call          r1     2     3
gettabup      r3    u0    k1
loadk         r4    k2
move          r5    r0
move          r6    r1
move          r7    r2
call          r3     5     1
return0       r3     1     0     0

.function	main/f6

.source	""
.linedefined	165
.lastlinedefined	213
.numparams	1
.is_vararg	0
.maxstacksize	13

.upvalue	null	0	false
.upvalue	null	6	true
.upvalue	null	3	true
.upvalue	null	2	true
.upvalue	null	0	true
.upvalue	null	7	true
.upvalue	null	1	true

.constant	k0	"source"
.constant	k1	"Player "
.constant	k2	" already has a gang"
.constant	k3	"TriggerClientEvent"
.constant	k4	"ns-gang:client:notify"
.constant	k5	"already_in_gang"
.constant	k6	"format"
.constant	k7	"a gang"
.constant	k8	"error"
.constant	k9	"pairs"
.constant	k10	"Config"
.constant	k11	"Gangs"
.constant	k12	"value"
.constant	k13	"label"
.constant	k14	"Invalid gang selection: "
.constant	k15	"Invalid gang selection!"
.constant	k16	"Framework"
.constant	k17	"qb"
.constant	k18	"Functions"
.constant	k19	"GetPlayer"
.constant	k20	"SetGang"
.constant	k21	"Set QBCore player "
.constant	k22	" to gang: "
.constant	k23	"joined_gang"
.constant	k24	"success"
.constant	k25	"esx"
.constant	k26	"GetPlayerFromId"
.constant	k27	"setJob"
.constant	k28	"Set ESX player "

gettabup      r1    u0    k0
getupval      r2    u1
move          r3    r1
call          r2     2     3
test          r2     0
jmp          l23
getupval      r4    u2
loadk         r5    k1
move          r6    r1
loadk         r7    k2
concat        r5     3
call          r4     2     1
gettabup      r4    u0    k3
loadk         r5    k4
move          r6    r1
gettabup      r7    u3    k5
self          r7    r7    k6
loadk         r9    k7
call          r7     3     2
loadk         r8    k8
call          r4     5     1
return        r4     1     0     1
.label	l23
loadfalse     r4
move          r5    r0
gettabup      r6    u0    k9
gettabup      r7    u0   k10
getfield      r7    r7   k11
call          r6     2     5
tforprep      r6   l36
.label	l30
getfield     r12   r11   k12
eq           r12    r0     0
jmp          l36
loadtrue      r4
getfield      r5   r11   k13
jmp          l38
.label	l36
tforcall      r6     2
tforloop      r6   l30
.label	l38
close         r6
test          r4     1
jmp          l53
getupval      r6    u2
loadk         r7   k14
move          r8    r0
concat        r7     2
call          r6     2     1
gettabup      r6    u0    k3
loadk         r7    k4
move          r8    r1
loadk         r9   k15
loadk        r10    k8
call          r6     5     1
return        r6     1     0     1
.label	l53
gettabup      r6    u0   k10
getfield      r6    r6   k16
eqk           r6   k17     0
jmp          l89
gettabup      r6    u4   k18
getfield      r6    r6   k19
move          r7    r1
call          r6     2     2
test          r6     0
jmp         l122
getfield      r7    r6   k18
getfield      r7    r7   k20
move          r8    r0
loadi         r9     0
call          r7     3     1
getupval      r7    u2
loadk         r8   k21
move          r9    r1
loadk        r10   k22
move         r11    r0
concat        r8     4
call          r7     2     1
gettabup      r7    u0    k3
loadk         r8    k4
move          r9    r1
gettabup     r10    u3   k23
self         r10   r10    k6
move         r12    r5
call         r10     3     2
loadk        r11   k24
call          r7     5     1
getupval      r7    u5
move          r8    r1
move          r9    r0
call          r7     3     1
jmp         l122
.label	l89
gettabup      r6    u0   k10
getfield      r6    r6   k16
eqk           r6   k25     0
jmp         l122
gettabup      r6    u6   k26
move          r7    r1
call          r6     2     2
test          r6     0
jmp         l122
getfield      r7    r6   k27
move          r8    r0
loadi         r9     0
call          r7     3     1
getupval      r7    u2
loadk         r8   k28
move          r9    r1
loadk        r10   k22
move         r11    r0
concat        r8     4
call          r7     2     1
gettabup      r7    u0    k3
loadk         r8    k4
move          r9    r1
gettabup     r10    u3   k23
self         r10   r10    k6
move         r12    r5
call         r10     3     2
loadk        r11   k24
call          r7     5     1
getupval      r7    u5
move          r8    r1
move          r9    r0
call          r7     3     1
.label	l122
return        r6     1     0     1

.function	main/f7

.source	""
.linedefined	216
.lastlinedefined	230
.numparams	0
.is_vararg	0
.maxstacksize	2

.upvalue	null	0	false

.constant	k0	"print"
.constant	k1	L"^3 _   _ ____    ____            _       _       \n^3| \\ | / ___|  / ___|  ___ _ __(_)_ __ | |_ ___ \n^3|  \\| \\___ \\  \\___ \\ / __| '__| | '_ \\| __/ __|\n^3| |\\  |___) |  ___) | (__| |  | | |_) | |_\\__ \\\n^3|_| \\_|____/  |____/ \\___|_|  |_| .__/ \\__|___/\n^3                               |_|            \n\n^2Join our Discord community for support and updates:\n^5https://discord.gg/gVMh5MfAWZ\n^3Thank you for using NS Scripts!\n    "

gettabup      r0    u0    k0
loadk         r1    k1
call          r0     2     1
return0       r0     1     0     0

.function	main/f8

.source	""
.linedefined	233
.lastlinedefined	238
.numparams	1
.is_vararg	0
.maxstacksize	3

.upvalue	null	0	false
.upvalue	null	4	true
.upvalue	null	3	true

.constant	k0	"GetCurrentResourceName"
.constant	k1	L"Server resource started and translations loaded"

gettabup      r1    u0    k0
call          r1     1     2
eq            r0    r1     0
jmp          l10
getupval      r1    u1
call          r1     1     1
getupval      r1    u2
loadk         r2    k1
call          r1     2     1
.label	l10
return0       r1     1     0     0

