1 line
28 KiB
JavaScript
1 line
28 KiB
JavaScript
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{247:function(t,n,e){"use strict";e.d(n,"b",(function(){return s}));var r=e(271),o=e(256),i=e(252),c=e(249),f=e(257),u=e(254),a=e(258);function s(t){if(null==t)return null;try{return JSON.parse(t)}catch{return null}}n.a={InstantRestart:r.b,qft:o.default,qfst:i.default,CustomizedDisplay:c.default,PatternSelector:f.default,AttemptCounter:u.default,controller:a.default}},248:function(t,n,e){"use strict";e.d(n,"b",(function(){return s})),e.d(n,"a",(function(){return p})),e.d(n,"g",(function(){return g})),e.d(n,"i",(function(){return y})),e.d(n,"h",(function(){return h})),e.d(n,"e",(function(){return A})),e.d(n,"f",(function(){return C})),e.d(n,"d",(function(){return F})),e.d(n,"c",(function(){return m}));e(91),e(272),e(273),e(274),e(275);var r=e(310),o=e(311),i=e(312);const c=(t,n,e,r)=>(63&t)<<26|(31&n)<<21|(31&e)<<16|65535&r,f=(t,n,e,r,o,i)=>(63&t)<<26|(31&n)<<21|(31&e)<<16|(31&r)<<11|(1023&o)<<1|i,u=t=>(n,e,r)=>c(t,n,e,r),a=t=>(n,e,r,o,i,c)=>((t,n,e,r,o,i,c)=>(63&t)<<26|(31&e)<<21|(31&n)<<16|(31&r)<<11|(31&o)<<6|(31&i)<<1|c)(t,n,e,r,o,i,+c),s={stb:u(38),sth:u(44),stw:u(36),stfs:u(52),stfd:u(54),stwu:u(37),lbz:u(34),lhz:u(40),lha:u(42),lwz:u(32),lfs:u(48),lfd:u(50),add:(d=31,l=266,(t,n,e,r=0)=>f(d,t,n,e,l,+r)),addi:u(14),li:(t,n)=>c(14,t,0,n),addis:u(15),lis:(t,n)=>c(15,t,0,n),ori:(t=>(n,e,r)=>c(t,n,e,r))(24),or:((t,n)=>(e,r,o,i)=>f(t,e,r,o,n,+i))(31,444),mr:(t,n,e=0)=>f(31,n,t,n,444,e),rlwinm:a(21),rlwimi:a(20),b:(t=>(n,e,r=0)=>((t,n,e,r)=>(63&t)<<26|(16777215&n)<<2|(1&e)<<1|1&r)(t,n>>2,+r,+e))(18),bctr:(t=0)=>f(19,20,0,0,528,t?1:0),mflr:t=>f(31,t,8,0,339,0),mfctr:t=>f(31,t,9,0,339,0),mtlr:t=>f(31,t,8,0,467,0),mtctr:t=>f(31,t,9,0,467,0),crset:t=>f(19,t,t,t,289,0),crclr:t=>f(19,t,t,t,193,0),fmr:(t,n,e=0)=>f(63,t,0,n,72,e)};var d,l;const p={8:s.lbz,16:s.lhz,32:s.lwz,[-16]:s.lha,[-32]:s.lwz,float:s.lfs};s.stb,s.sth,s.stw,s.sth,s.stw,s.stfs,s.stfd;function g(t,n){if(-32768<=n&&n<32768)return[s.li(t,n)];if(0==(65535&n))return[s.lis(t,n>>>16)];{const e=n>>>16,r=65535&n;return[s.lis(t,e),s.ori(t,t,r)]}}function b(t,n){const e=n.startsWith("GMSJ")?r:"GMSE01"===n?i:o,c=Array.from(t).flatMap(t=>{var n,r;const o=null!==(n=null===(r=e[t])||void 0===r?void 0:r.code)&&void 0!==n?n:t.charCodeAt(0);return o>=256?[o>>8,255&o]:[o]});return c.push(0),c}const y=(t,n)=>b(t,n).map(t=>t.toString(16).toUpperCase().padStart(2,"0")).join("");const h=(t,n="")=>({pc:t,hex:n,b(t,n=!1){this.push(s.b(t-this.pc,n))},bl(t){this.b(t,!0)},push(...t){this.hex+=t.map(A).join(""),this.pc+=t.length<<2},pushHex(t){this.hex+=t,this.pc+=t.length>>1},align(){const t=this.pc%4;if(t){const n=4-t;this.hex+="".padEnd(n<<1,"0"),this.pc+=n}}}),A=t=>(t>>>0).toString(16).toUpperCase().padStart(8,"0"),C=t=>t.map(A).join(""),F=({x:t,y:n,fontSize:e,bgRGB:r,bgA:o,bgLeft:i,bgRight:c,bgTop:f,bgBot:u},{width:a,height:s})=>[t-i,n-e-f,t+Math.ceil(a*e/20)+c,n-e+Math.ceil(s*e/20)+u,r<<8|o];function m({x:t,y:n,fontSize:e,fgRGB:r,fgA:o,fgRGB2:i,fgA2:c}){const f=r<<8|o;return[(65535&t)<<16|65535&n,e,f,null==i||null==c?f:i<<8|o]}},249:function(t,n,e){"use strict";e.r(n),e.d(n,"lskey",(function(){return C})),e.d(n,"defaultConfig",(function(){return F})),e.d(n,"format2previewText",(function(){return m})),e.d(n,"getConfig",(function(){return S})),e.d(n,"default",(function(){return v}));e(91);var r=e(247),o=e(248),i=e(253),c=e(269),f=(e(92),e(241));const u=(t,n)=>(e,r)=>{const{type:i}=r,c=n(e);if("reg"==i){const{num:n}=r;return"float"===t?1===n?c:[...c,o.b.fmr(n,1)]:3===n?c:[...c,o.b.mr(n,3)]}{const{off:n}=r;return[...c,"float"===t?o.b.stfd(1,1,n):o.b.stw(3,1,n)]}},a={...Object.fromEntries(Object.entries(c.b).map(([t,n])=>[t,(t,e)=>[o.b.lwz(t,13,n[e])]]))},s=[{id:"x",base:"gpMarioOriginal",dtype:"float",offset:16,fmt:"%.0f",preview:426.39},{id:"y",base:"gpMarioOriginal",dtype:"float",offset:20,fmt:"%.0f",preview:-427.39},{id:"z",base:"gpMarioOriginal",dtype:"float",offset:24,fmt:"%.0f",preview:428.39},{id:"angle",base:"gpMarioOriginal",dtype:16,offset:150,fmt:"%hu",preview:1207},{id:"HSpd",base:"gpMarioOriginal",dtype:"float",offset:1
|