# UI_Window_Setting_PrivacySettingWindow_554.luac
; fn @PrivacySettingWindow.lua  line 0-0 np=0 va=1 ms=3 code=32 consts=13 upvals=1 protos=8
;   K[0]='PrivacySettingWindow'
;   K[1]='setmetatable'
;   K[2]='canClickWindowMask'
;   K[3]=true
;   K[4]='BaseWindow'
;   K[5]='__index'
;   K[6]='Init'
;   K[7]='OnUserAgreementClicked'
;   K[8]='OnPrivacyPolicyClicked'
;   K[9]='OnDeleteAccountClicked'
;   K[10]='OnMailDataClicked'
;   K[11]='OnUploadLogClicked'
;   K[12]='OnCPPermissionClicked'
;   upvals: _ENV
;   locals: _UploadUserLogCallback(25-32)
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  SETTABLE  R1[K2('canClickWindowMask')] = K3(true)
0003  GETTABUP  R2 = _ENV[K4('BaseWindow')]
0004  CALL      R0 = call(R0, 1 args, 2 rets)
0005  SETTABUP  _ENV[K0('PrivacySettingWindow')] = R0
0006  GETTABUP  R0 = _ENV[K0('PrivacySettingWindow')]
0007  GETTABUP  R1 = _ENV[K0('PrivacySettingWindow')]
0008  SETTABLE  R0[K5('__index')] = R1
0009  GETTABUP  R0 = _ENV[K0('PrivacySettingWindow')]
0010  CLOSURE   R1 = closure proto0
0011  SETTABLE  R0[K6('Init')] = R1
0012  GETTABUP  R0 = _ENV[K0('PrivacySettingWindow')]
0013  CLOSURE   R1 = closure proto1
0014  SETTABLE  R0[K7('OnUserAgreementClicked')] = R1
0015  GETTABUP  R0 = _ENV[K0('PrivacySettingWindow')]
0016  CLOSURE   R1 = closure proto2
0017  SETTABLE  R0[K8('OnPrivacyPolicyClicked')] = R1
0018  GETTABUP  R0 = _ENV[K0('PrivacySettingWindow')]
0019  CLOSURE   R1 = closure proto3
0020  SETTABLE  R0[K9('OnDeleteAccountClicked')] = R1
0021  GETTABUP  R0 = _ENV[K0('PrivacySettingWindow')]
0022  CLOSURE   R1 = closure proto4
0023  SETTABLE  R0[K10('OnMailDataClicked')] = R1
0024  CLOSURE   R0 = closure proto5
0025  GETTABUP  R1 = _ENV[K0('PrivacySettingWindow')]
0026  CLOSURE   R2 = closure proto6
0027  SETTABLE  R1[K11('OnUploadLogClicked')] = R2
0028  GETTABUP  R1 = _ENV[K0('PrivacySettingWindow')]
0029  CLOSURE   R2 = closure proto7
0030  SETTABLE  R1[K12('OnCPPermissionClicked')] = R2
0031  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 6-20 np=1 va=0 ms=5 code=42 consts=13 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='OperManager'
  ;   K[2]='mailDataEnabled'
  ;   K[3]='UIUtil'
  ;   K[4]='AddSizeDelta'
  ;   K[5]='m_contentRectTrans'
  ;   K[6]=0
  ;   K[7]=185
  ;   K[8]='m_mailDataGo'
  ;   K[9]='SetActive'
  ;   K[10]='CrossPromotionModel'
  ;   K[11]='IsCPPermission'
  ;   K[12]='m_crossPromotionPermissionGo'
  ;   upvals: _ENV
  ;   locals: self(0-42)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('OperManager')]
  0002  GETTABLE  R1 = R1[K2('mailDataEnabled')]
  0003  TEST      if not R1 then   -> -131067
  0004  JMP       (jump)   -> 16
  0005  GETTABUP  R1 = _ENV[K3('UIUtil')]
  0006  GETTABLE  R1 = R1[K4('AddSizeDelta')]
  0007  GETTABLE  R2 = R0[K5('m_contentRectTrans')]
  0008  LOADK     R3 = K6 0
  0009  LOADK     R4 = K7 185
  0010  CALL      R1 = call(R1, 0 args, 3 rets)
  0011  GETTABLE  R1 = R0[K8('m_mailDataGo')]
  0012  SELF      R2 = R1[K9('SetActive')] (self)
  0013  LOADBOOL  R3 = true
  0014  CALL      R1 = call(R1, 0 args, 2 rets)
  0015  JMP       (jump)   -> 20
  0016  GETTABLE  R1 = R0[K8('m_mailDataGo')]
  0017  SELF      R2 = R1[K9('SetActive')] (self)
  0018  LOADBOOL  R3 = false
  0019  CALL      R1 = call(R1, 0 args, 2 rets)
  0020  GETTABUP  R1 = _ENV[K0('GM')]
  0021  GETTABLE  R1 = R1[K10('CrossPromotionModel')]
  0022  SELF      R2 = R1[K11('IsCPPermission')] (self)
  0023  CALL      R1 = call(R1, 1 args, 1 rets)
  0024  TEST      if not R1 then   -> -131046
  0025  JMP       (jump)   -> 37
  0026  GETTABUP  R1 = _ENV[K3('UIUtil')]
  0027  GETTABLE  R1 = R1[K4('AddSizeDelta')]
  0028  GETTABLE  R2 = R0[K5('m_contentRectTrans')]
  0029  LOADK     R3 = K6 0
  0030  LOADK     R4 = K7 185
  0031  CALL      R1 = call(R1, 0 args, 3 rets)
  0032  GETTABLE  R1 = R0[K12('m_crossPromotionPermissionGo')]
  0033  SELF      R2 = R1[K9('SetActive')] (self)
  0034  LOADBOOL  R3 = true
  0035  CALL      R1 = call(R1, 0 args, 2 rets)
  0036  JMP       (jump)   -> 41
  0037  GETTABLE  R1 = R0[K12('m_crossPromotionPermissionGo')]
  0038  SELF      R2 = R1[K9('SetActive')] (self)
  0039  LOADBOOL  R3 = false
  0040  CALL      R1 = call(R1, 0 args, 2 rets)
  0041  RETURN    return R0..R-1
; ---------- proto1 [OnUserAgreementClicked] ----------
  ; fn ?  line 22-24 np=1 va=0 ms=4 code=7 consts=4 upvals=1 protos=0
  ;   K[0]='CSPlatform'
  ;   K[1]='OpenURL'
  ;   K[2]='NetworkConfig'
  ;   K[3]='GetUserAgreementLink'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('CSPlatform')]
  0001  SELF      R2 = R1[K1('OpenURL')] (self)
  0002  GETTABUP  R3 = _ENV[K2('NetworkConfig')]
  0003  GETTABLE  R3 = R3[K3('GetUserAgreementLink')]
  0004  CALL      R3 = call(R3, -1 args, 0 rets)
  0005  CALL      R1 = call(R1, 0 args, -1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto2 [OnPrivacyPolicyClicked] ----------
  ; fn ?  line 26-28 np=1 va=0 ms=4 code=7 consts=4 upvals=1 protos=0
  ;   K[0]='CSPlatform'
  ;   K[1]='OpenURL'
  ;   K[2]='NetworkConfig'
  ;   K[3]='GetPrivacyPolicyLink'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('CSPlatform')]
  0001  SELF      R2 = R1[K1('OpenURL')] (self)
  0002  GETTABUP  R3 = _ENV[K2('NetworkConfig')]
  0003  GETTABLE  R3 = R3[K3('GetPrivacyPolicyLink')]
  0004  CALL      R3 = call(R3, -1 args, 0 rets)
  0005  CALL      R1 = call(R1, 0 args, -1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto3 [OnDeleteAccountClicked] ----------
  ; fn ?  line 30-32 np=1 va=0 ms=3 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='AccountManager'
  ;   K[2]='DeleteAccount'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('AccountManager')]
  0002  SELF      R2 = R1[K2('DeleteAccount')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto4 [OnMailDataClicked] ----------
  ; fn ?  line 34-36 np=1 va=0 ms=4 code=7 consts=5 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='OpenView'
  ;   K[3]='UIPrefabConfigName'
  ;   K[4]='MailDataWindow'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  SELF      R2 = R1[K2('OpenView')] (self)
  0003  GETTABUP  R3 = _ENV[K3('UIPrefabConfigName')]
  0004  GETTABLE  R3 = R3[K4('MailDataWindow')]
  0005  CALL      R1 = call(R1, 0 args, 2 rets)
  0006  RETURN    return R0..R-1
; ---------- proto5 [OnUploadLogClicked] ----------
  ; fn ?  line 38-47 np=2 va=0 ms=11 code=34 consts=12 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='HideMask'
  ;   K[3]=''
  ;   K[4]='GameTextModel'
  ;   K[5]='GetText'
  ;   K[6]='upload_log_succeeded'
  ;   K[7]='upload_log_failed'
  ;   K[8]='OpenView'
  ;   K[9]='UIPrefabConfigName'
  ;   K[10]='GeneralMsgWindow'
  ;   K[11]='common_button_ok'
  ;   upvals: _ENV
  ;   locals: result(0-34), message(0-34), title(5-34)
  0000  GETTABUP  R2 = _ENV[K0('GM')]
  0001  GETTABLE  R2 = R2[K1('UIManager')]
  0002  SELF      R3 = R2[K2('HideMask')] (self)
  0003  CALL      R2 = call(R2, 0 args, 1 rets)
  0004  LOADK     R2 = K3 ''
  0005  TEST      if not R0 then   -> -131065
  0006  JMP       (jump)   -> 14
  0007  GETTABUP  R3 = _ENV[K0('GM')]
  0008  GETTABLE  R3 = R3[K4('GameTextModel')]
  0009  SELF      R4 = R3[K5('GetText')] (self)
  0010  LOADK     R5 = K6 'upload_log_succeeded'
  0011  CALL      R3 = call(R3, 1 args, 2 rets)
  0012  MOVE      R2 = R0
  0013  JMP       (jump)   -> 20
  0014  GETTABUP  R3 = _ENV[K0('GM')]
  0015  GETTABLE  R3 = R3[K4('GameTextModel')]
  0016  SELF      R4 = R3[K5('GetText')] (self)
  0017  LOADK     R5 = K7 'upload_log_failed'
  0018  CALL      R3 = call(R3, 1 args, 2 rets)
  0019  MOVE      R2 = R0
  0020  GETTABUP  R3 = _ENV[K0('GM')]
  0021  GETTABLE  R3 = R3[K1('UIManager')]
  0022  SELF      R4 = R3[K8('OpenView')] (self)
  0023  GETTABUP  R5 = _ENV[K9('UIPrefabConfigName')]
  0024  GETTABLE  R5 = R5[K10('GeneralMsgWindow')]
  0025  MOVE      R6 = R0
  0026  MOVE      R7 = R0
  0027  GETTABUP  R8 = _ENV[K0('GM')]
  0028  GETTABLE  R8 = R8[K4('GameTextModel')]
  0029  SELF      R9 = R8[K5('GetText')] (self)
  0030  LOADK     R10 = K11 'common_button_ok'
  0031  CALL      R8 = call(R8, -1 args, 2 rets)
  0032  CALL      R3 = call(R3, 0 args, -1 rets)
  0033  RETURN    return R0..R-1
; ---------- proto6 [OnUploadLogClicked] ----------
  ; fn ?  line 49-52 np=1 va=0 ms=4 code=10 consts=6 upvals=2 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='ShowMask'
  ;   K[3]='ApplicationManager'
  ;   K[4]='Instance'
  ;   K[5]='UploadUserLog'
  ;   upvals: _ENV, _UploadUserLogCallback
  ;   locals: self(0-10)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  SELF      R2 = R1[K2('ShowMask')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABUP  R1 = _ENV[K3('ApplicationManager')]
  0005  GETTABLE  R1 = R1[K4('Instance')]
  0006  SELF      R2 = R1[K5('UploadUserLog')] (self)
  0007  GETUPVAL  R3 = _ENV
  0008  CALL      R1 = call(R1, 0 args, 2 rets)
  0009  RETURN    return R0..R-1
; ---------- proto7 [OnCPPermissionClicked] ----------
  ; fn ?  line 54-67 np=1 va=0 ms=11 code=14 consts=9 upvals=1 protos=1
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='OpenView'
  ;   K[3]='UIPrefabConfigName'
  ;   K[4]='TwoButtonWindow'
  ;   K[5]='privacy_setting_app_list_title'
  ;   K[6]='privacy_setting_app_list_desc'
  ;   K[7]='common_confirm'
  ;   K[8]='common_button_cancel'
  ;   upvals: _ENV
  ;   locals: self(0-14)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  SELF      R2 = R1[K2('OpenView')] (self)
  0003  GETTABUP  R3 = _ENV[K3('UIPrefabConfigName')]
  0004  GETTABLE  R3 = R3[K4('TwoButtonWindow')]
  0005  LOADK     R4 = K5 'privacy_setting_app_list_title'
  0006  LOADK     R5 = K6 'privacy_setting_app_list_desc'
  0007  LOADK     R6 = K7 'common_confirm'
  0008  LOADK     R7 = K8 'common_button_cancel'
  0009  CLOSURE   R8 = closure proto0
  0010  LOADNIL   R9..R9 = nil
  0011  LOADBOOL  R10 = true
  0012  CALL      R1 = call(R1, 0 args, 9 rets)
  0013  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 60-64 np=1 va=0 ms=4 code=11 consts=5 upvals=2 protos=0
    ;   K[0]='GM'
    ;   K[1]='CrossPromotionModel'
    ;   K[2]='SetCPPermission'
    ;   K[3]=0
    ;   K[4]='Close'
    ;   upvals: _ENV, self
    ;   locals: pWindow(0-11)
    0000  GETTABUP  R1 = _ENV[K0('GM')]
    0001  GETTABLE  R1 = R1[K1('CrossPromotionModel')]
    0002  SELF      R2 = R1[K2('SetCPPermission')] (self)
    0003  LOADK     R3 = K3 0
    0004  CALL      R1 = call(R1, 0 args, 2 rets)
    0005  SELF      R2 = R0[K4('Close')] (self)
    0006  CALL      R1 = call(R1, 0 args, 1 rets)
    0007  GETUPVAL  R1 = _ENV
    0008  SELF      R2 = R1[K4('Close')] (self)
    0009  CALL      R1 = call(R1, 0 args, 1 rets)
    0010  RETURN    return R0..R-1
