# Wave JS APIs some rough RE notes ## JSType `/WiiU_OpenSources5.5.2/WebKit_WiiU3.1/webkit/JavaScriptCore/API/JSValueRef.h` ```c /*! @enum JSType @abstract A constant identifying the type of a JSValue. @constant 0 kJSTypeUndefined The unique undefined value. @constant 1 kJSTypeNull The unique null value. @constant 2 kJSTypeBoolean A primitive boolean value, one of true or false. @constant 3 kJSTypeNumber A primitive number value. @constant 4 kJSTypeString A primitive string value. @constant 5 kJSTypeObject An object value (meaning that this JSValueRef is a JSObjectRef). */ ``` ## FUN_020dc944 ```c void fun(WaveJSClass* this, char* name, code* handler, JSType return, int num_args, JSType args...); ``` ## Objects ### wiiuSystemSetting ```c FUN_020dc944(param_1,"getParentalControlForEShop",&LAB_020e89c4,5,0); FUN_020dc944(param_1,"getParentalControlForGamePlay",FUN_020e8b38,5,0); FUN_020dc944(param_1,"getParentalControlForBrowser",&LAB_020e8e34,5,0); FUN_020dc944(param_1,"getParentalControlForMiiverse",&LAB_020e8fa8,5,0); FUN_020dc944(param_1,"checkParentalPinCode",&LAB_020e9098,5,1,4); FUN_020dc944(param_1,"getSpotPassUploadConsoleInfoState",&LAB_020e9230,5,0); FUN_020dc944(param_1,"getRegion",&LAB_020e92f8,5,0); FUN_020dc944(param_1,"getCountry",FUN_020e9580,5,0); FUN_020dc944(param_1,"getLanguage",FUN_020e96d4,5,0); FUN_020dc944(param_1,"getUTC",&LAB_020e9828,5,0); ``` ### wiiuDialog ```c FUN_020dc944(param_1,"alert",&LAB_020db2c8,0,2,4,4); FUN_020dc944(param_1,"confirm",&LAB_020db380,3,3,4,4,4); FUN_020dc944(param_1,"showLoading",&LAB_020db478,0,1,4); FUN_020dc944(param_1,"hideLoading",&LAB_020db4fc,0,0); ``` ### wiiuSessionStorage ```c FUN_020dc944(param_1,"length",&LAB_020e6354,2,0); FUN_020dc944(param_1,"setItem",FUN_020e69f0,3,2,4,4); FUN_020dc944(param_1,"key",&LAB_020e6bb0,4,1,2); FUN_020dc944(param_1,"getItem",FUN_020e6d20,4,1,4); FUN_020dc944(param_1,"removeItem",&LAB_020e6f04,0,1,4); FUN_020dc944(param_1,"clear",&LAB_020e6fa4,0,0); ``` ### wiiuErrorViewer ```c FUN_020dc944(param_1,"openByCode",&LAB_020dbf6c,0,1,2); FUN_020dc944(param_1,"openByCodeAndMessage",&LAB_020dbfb8,0,2,2,4); ``` ### wiiuMainApplication ```c FUN_020dc944(param_1,"getScreenShot",&LAB_020e27f8,4,1,3); FUN_020dc944(param_1,"getAppData",&LAB_020e28b4,4,0); FUN_020dc944(param_1,"getExternalImageData",&LAB_020e29b4,4,0); FUN_020dc944(param_1,"getExternalBinaryData",&LAB_020e2ab4,4,0); ``` ### wiiuFilter ```c FUN_020dc944(param_1,"checkWord",&LAB_020e5cc8,2,1,4); ``` ### wiiuBOSS ```c FUN_020dc944(this,"isRegisteredBossTask",&LAB_020d6648,5,0); FUN_020dc944(this,"registerBossTask",&LAB_020d67b4,5,0); FUN_020dc944(this,"unregisterBossTask",&LAB_020d6e44,5,0); FUN_020dc944(this,"isRegisteredDirectMessageTask",&LAB_020d7074,5,0); FUN_020dc944(this,"registerDirectMessageTask",&LAB_020d7180,5,0); FUN_020dc944(this,"registerDirectMessageTaskEx",&LAB_020d7278,5,2,2,2); FUN_020dc944(this,"unregisterDirectMessageTask",&LAB_020d7450,5,0); ``` ### wiiuSound ```c FUN_020dc944(param_1,"playSound",FUN_020e7848,5,2,2,2); FUN_020dc944(param_1,"playSoundByName",FUN_020e7a10,5,2,4,2); ``` ### wiiuPDM ```c FUN_020dc944(param_1,"getTitlesFilteredByPlayTime",FUN_020e5340,5,1,4); FUN_020dc944(param_1,"getTotalPlayTime",FUN_020e55ec,5,1,4); ``` ### wiiuBrowser ```c FUN_020dc944(param_1,"closeApplication",&LAB_020d7bec,0,0); FUN_020dc944(param_1,"jumpToHomeButtonMenu",&LAB_020d7d60,0,0); FUN_020dc944(param_1,"jumpToBrowser",&LAB_020d832c,0,1,4); FUN_020dc944(param_1,"jumpToEshop",&LAB_020d8560,0,1,4); FUN_020dc944(param_1,"jumpToTvii",&LAB_020d8794,0,0); FUN_020dc944(param_1,"jumpToApplication",&LAB_020d8908,0,5,4,2,2,4,4); FUN_020dc944(param_1,"endStartUp",&LAB_020d8c84,0,0); FUN_020dc944(param_1,"showLoadingIcon",&LAB_020d8cdc,0,1,3); FUN_020dc944(param_1,"isLoadingIconProhibited",&LAB_020d8d4c,3,0); FUN_020dc944(param_1,"prohibitLoadingIcon",&LAB_020d8da4,0,1,3); FUN_020dc944(param_1,"isUserOperationLocked",&LAB_020d8e14,3,0); FUN_020dc944(param_1,"lockUserOperation",&LAB_020d8e6c,0,1,3); FUN_020dc944(param_1,"isHomeButtonMenuLocked",&LAB_020d8f34,3,0); FUN_020dc944(param_1,"lockHomeButtonMenu",&LAB_020d8f6c,0,1,3); FUN_020dc944(param_1,"isPowerButtonLocked",&LAB_020d8fe0,3,0); FUN_020dc944(param_1,"lockPowerButton",&LAB_020d9018,0,1,3); FUN_020dc944(param_1,"canHistoryBack",&LAB_020d908c,3,0); ``` ### wiiuMemo ```c FUN_020dc944(param_1,"open",&LAB_020e32f8,0,1,3); FUN_020dc944(param_1,"openWithImage",FUN_020e33a8,3,2,3,4); FUN_020dc944(param_1,"setStamp",FUN_020e3968,3,2,3,4); FUN_020dc944(param_1,"getImage",FUN_020e3f44,4,1,3); FUN_020dc944(param_1,"reset",&LAB_020e403c,0,0); FUN_020dc944(param_1,"isFinish",&LAB_020e4070,3,0); ``` ### wiiu ```c ``` ### wiiu ```c ``` ### wiiu ```c ``` ### wiiu ```c ```