text:
from .types import Module, ResultInfo, ConsoleErrorInfo, ConsoleErrorField

"""
This file contains all currently known Wii U result and error codes.
There may be inaccuracies here; we'll do our best to correct them
when we find out more about them.

A result code is a 32-bit integer returned when calling various commands in the
Wii U's operating system, Cafe OS. Its breaks down like so:

 Bits | Description
-------------------
00-19 | Description
20-28 | Module
29-31 | Level

Level: A value indicating the severity of the issue (fatal, temporary, etc.).
Module: A value indicating who raised the error or returned the result.
Description: A value indicating exactly what happened.

Alternatively, legacy results break down to:

 Bits | Description
-------------------
00-09 | Description
10-13 | Summary
14-17 | Level
18-19 | Unused
20-26 | Module
27-28 | Signature
29-31 | Unused

Signature: A check to see if its legacy
Summary: A value indicating a shorter description of what happened.

Unlike the 3DS, the Wii U does not provide a 'summary' field in non legacy result codes.

To add a module so the code understands it, simply add a new module number
to the 'modules' dictionary, with a Module variable as the value. If the module
has no known error codes, simply add a dummy Module instead (see the dict for
more info). See the various module variables for a more in-depth example
 on how to make one.

Once you've added a module, or you want to add a new result code to an existing
module, add a new description value (for Switch it's the final set of 4 digits after any dashes)
as the key, and a ResultInfo variable with a text description of the error or result.
You can also add a second string to the ResultInfo to designate a support URL if
one exists. Not all results or errors have support webpages.

Simple example of adding a module with a sample result code:
test = Module('test', {
    5: ResultInfo('test', 'https://example.com')
})

modules = {
    9999: test
}

Sources used to compile this list of modules and result parsing:
https://github.com/devkitPro/wut/blob/b2e6bc52d0d5afa9eb9df21b52d2a61851935f39/include/nn/result.h#L67

And for providing descriptions:
https://gist.github.com/GaryOderNichts/9032a808534caa03b0c2dcdd583bbf7c
except for spm, neia, vctl and olv, some further investigation is required

Also thank you for @GaryOderNichts for providing other information and resources!
"""

ipc = Module('ipc', {
    0: ResultInfo('UNKNOWN'),
    12800: ResultInfo('NOT_IMPLEMENTED'),
    25600: ResultInfo('INVALID_IPC_HEADER'),
    38400: ResultInfo('INVALID_IPC_HEADER_FORMAT'),
    51200: ResultInfo('INVALID_IPC_HEADER_SIZE'),
    64000: ResultInfo('INVALID_IPC_ID'),
    64128: ResultInfo('INVALID_SESSION_ID'),
    65280: ResultInfo('INVALID_MODULE_ID'),
    66560: ResultInfo('INVALID_METHOD_TAG'),
    76800: ResultInfo('INVALID_IPC_BUFFER'),
    76928: ResultInfo('INVALID_IPC_BUFFER_LENGTH'),
    89600: ResultInfo('ACCESS_DENIED'),
    89728: ResultInfo('CAPABILITY_FAILED'),
    93440: ResultInfo('DEVELOPMENT_ONLY'),
    128000: ResultInfo('UNUSUAL_CONTROL_FLOW')
})

boss = Module('boss', {
    128: ResultInfo('SUCCESS'),
    12800: ResultInfo('NOT_INITIALIZED'),
    12928: ResultInfo('LIBRARY_NOT_INITIALIZED'),
    14080: ResultInfo('INVALID'),
    14208: ResultInfo('INVALID_PARAMETER'),
    14336: ResultInfo('INVALID_FORMAT'),
    14464: ResultInfo('INVALID_ACCOUNT'),
    14592: ResultInfo('INVALID_TITLE'),
    16640: ResultInfo('NO_SUPPORT'),
    128000: ResultInfo('INITIALIZED'),
    129280: ResultInfo('NOT_EXIST'),
    129408: ResultInfo('FILE_NOT_EXIST'),
    129536: ResultInfo('BOSS_STORAGE_NOT_EXIST'),
    129664: ResultInfo('DB_NOT_EXIST'),
    129792: ResultInfo('RECORD_NOT_EXIST'),
    131840: ResultInfo('NOT_COMPLETED'),
    133120: ResultInfo('NOT_PERMITTED'),
    134400: ResultInfo('FULL'),
    134528: ResultInfo('SIZE_FULL'),
    134656: ResultInfo('COUNT_FULL'),
    135680: ResultInfo('FINISHED'),
    135808: ResultInfo('SERVICE_FINISHED'),
    136960: ResultInfo('CANCELED'),
    138240: ResultInfo('STOPPED_BY_POLICYLIST'),
    139520: ResultInfo('ALREADY_EXIST'),
    140800: ResultInfo('CANNOT_GET_NETWORK_TIME'),
    142080: ResultInfo('NOT_NETWORK_ACCOUNT'),
    143360: ResultInfo('RESTRICTED_BY_PARENTAL_CONTROL'),
    144640: ResultInfo('DISABLE_UPLOAD_CONSOLE_INFORMATION'),
    145920: ResultInfo('NOT_CONNECT_NETWORK'),
    147200: ResultInfo('RESTRICTED_BY_PARENTAL_CONTROL_TOTAL_ENABLE'),
    148480: ResultInfo('NOT_FOUND'),
    148608: ResultInfo('BOSS_STORAGE_NOT_FOUND'),
    256000: ResultInfo('HTTP_ERROR'),
    320000: ResultInfo('FS_ERROR'),
    320128: ResultInfo('FS_ERROR_NOT_INIT'),
    320256: ResultInfo('FS_ERROR_BUSY'),
    320384: ResultInfo('FS_ERROR_CANCELED'),
    320512: ResultInfo('FS_ERROR_END_OF_DIRECTORY'),
    320640: ResultInfo('FS_ERROR_END_OF_FILE'),
    320768: ResultInfo('FS_ERROR_MAX_MOUNTPOINTS'),
    320896: ResultInfo('FS_ERROR_MAX_VOLUMES'),
    321024: ResultInfo('FS_ERROR_MAX_CLIENTS'),
    321152: ResultInfo('FS_ERROR_MAX_FILES'),
    321280: ResultInfo('FS_ERROR_MAX_DIRS'),
    321408: ResultInfo('FS_ERROR_ALREADY_OPEN'),
    321536: ResultInfo('FS_ERROR_ALREADY_EXISTS'),
    321664: ResultInfo('FS_ERROR_NOT_FOUND'),
    321792: ResultInfo('FS_ERROR_NOT_EMPTY'),
    321920: ResultInfo('FS_ERROR_ACCESS_ERROR'),
    322048: ResultInfo('FS_ERROR_PERMISSION_ERROR'),
    322176: ResultInfo('FS_ERROR_DATA_CORRUPTED'),
    322304: ResultInfo('FS_ERROR_STORAGE_FULL'),
    322432: ResultInfo('FS_ERROR_JOURNAL_FULL'),
    322560: ResultInfo('FS_ERROR_UNAVAILABLE_CMD'),
    322688: ResultInfo('FS_ERROR_UNSUPPORTED_CMD'),
    322816: ResultInfo('FS_ERROR_INVALID_PARAM'),
    322944: ResultInfo('FS_ERROR_INVALID_PATH'),
    323072: ResultInfo('FS_ERROR_INVALID_BUFFER'),
    323200: ResultInfo('FS_ERROR_INVALID_ALIGNMENT'),
    323328: ResultInfo('FS_ERROR_INVALID_CLIENT_HANDLE'),
    323456: ResultInfo('FS_ERROR_INVALID_FILE_HANDLE'),
    323584: ResultInfo('FS_ERROR_INVALID_DIR_HANDLE'),
    323712: ResultInfo('FS_ERROR_NOT_FILE'),
    323840: ResultInfo('FS_ERROR_NOT_DIR'),
    323968: ResultInfo('FS_ERROR_FILE_TOO_BIG'),
    324096: ResultInfo('FS_ERROR_OUT_OF_RANGE'),
    324224: ResultInfo('FS_ERROR_OUT_OF_RESOURCES'),
    324352: ResultInfo('FS_ERROR_MEDIA_NOT_READY'),
    324480: ResultInfo('FS_ERROR_MEDIA_ERROR'),
    324608: ResultInfo('FS_ERROR_WRITE_PROTECTED'),
    324736: ResultInfo('FS_ERROR_UNKNOWN'),
    371200: ResultInfo('FAIL'),
    384000: ResultInfo('MEMORY_ALLOCATE_ERROR'),
    385280: ResultInfo('INITIALIZE_ERROR'),
    385408: ResultInfo('SSL_INITIALIZE_ERROR'),
    385536: ResultInfo('ACP_INITIALIZE_ERROR'),
    385664: ResultInfo('ACT_INITIALIZE_ERROR'),
    385792: ResultInfo('PDM_INITIALIZE_ERROR'),
    385920: ResultInfo('CONFIG_INITIALIZE_ERROR'),
    386048: ResultInfo('FS_INITIALIZE_ERROR'),
    386176: ResultInfo('HTTP_INITIALIZE_ERROR'),
    386304: ResultInfo('AC_INITIALIZE_ERROR'),
    524160: ResultInfo('UNEXPECT')
})

acp = Module('acp', {
    25600: ResultInfo('INVALID'),
    25728: ResultInfo('INVALID_PARAMETER'),
    25856: ResultInfo('INVALID_FILE'),
    25984: ResultInfo('INVALID_XML_FILE'),
    26112: ResultInfo('INVALID_FILE_ACCESS_MODE'),
    26240: ResultInfo('INVALID_NETWORK_TIME'),
    64000: ResultInfo('NOT_FOUND'),
    64128: ResultInfo('FILE_NOT_FOUND'),
    64256: ResultInfo('DIR_NOT_FOUND'),
    64384: ResultInfo('DEVICE_NOT_FOUND'),
    64512: ResultInfo('TITLE_NOT_FOUND'),
    64640: ResultInfo('APPLICATION_NOT_FOUND'),
    64768: ResultInfo('SYSTEM_CONFIG_NOT_FOUND'),
    64896: ResultInfo('XML_ITEM_NOT_FOUND'),
    76800: ResultInfo('ALREADY_EXISTS'),
    76928: ResultInfo('FILE_ALREADY_EXISTS'),
    77056: ResultInfo('DIR_ALREADY_EXISTS'),
    89600: ResultInfo('ALREADY_DONE'),
    128000: ResultInfo('AUTHENTICATION'),
    128128: ResultInfo('INVALID_REGION'),
    128256: ResultInfo('RESTRICTED_RATING'),
    128384: ResultInfo('NOTPRESENT_RATING'),
    128512: ResultInfo('PENDING_RATING'),
    128640: ResultInfo('NETSETTING_REQUIRED'),
    128768: ResultInfo('NETACCOUNT_REQUIRED'),
    128896: ResultInfo('NETACCOUNT_ERROR'),
    129024: ResultInfo('BROWSER_REQUIRED'),
    129152: ResultInfo('OLV_REQUIRED'),
    129280: ResultInfo('PINCODE_REQUIRED'),
    129408: ResultInfo('INCORRECT_PINCODE'),
    129536: ResultInfo('INVALID_LOGO'),
    129664: ResultInfo('DEMO_EXPIRED_NUMBER'),
    129792: ResultInfo('DRC_REQUIRED'),
    140800: ResultInfo('NO_PERMISSION'),
    140928: ResultInfo('NO_FILE_PERMISSION'),
    141056: ResultInfo('NO_DIR_PERMISSION'),
    166400: ResultInfo('BUSY'),
    166528: ResultInfo('USB_STORAGE_NOT_READY'),
    179200: ResultInfo('CANCELED'),
    192000: ResultInfo('RESOURCE'),
    192128: ResultInfo('DEVICE_FULL'),
    192256: ResultInfo('JOURNAL_FULL'),
    192384: ResultInfo('SYSTEM_MEMORY'),
    192512: ResultInfo('FS_RESOURCE'),
    192640: ResultInfo('IPC_RESOURCE'),
    204800: ResultInfo('NOT_INITIALIZED'),
    217600: ResultInfo('ACCOUNT_ERROR'),
    230400: ResultInfo('UNSUPPORTED'),
    256000: ResultInfo('DEVICE'),
    256128: ResultInfo('DATA_CORRUPTED'),
    256256: ResultInfo('SLC_DATA_CORRUPTED'),
    256384: ResultInfo('MLC_DATA_CORRUPTED'),
    256512: ResultInfo('USB_DATA_CORRUPTED'),
    268800: ResultInfo('MEDIA'),
    268928: ResultInfo('MEDIA_NOT_READY'),
    269056: ResultInfo('MEDIA_BROKEN'),
    269184: ResultInfo('ODD_MEDIA_NOT_READY'),
    269312: ResultInfo('ODD_MEDIA_BROKEN'),
    269440: ResultInfo('USB_MEDIA_NOT_READY'),
    269568: ResultInfo('USB_MEDIA_BROKEN'),
    269696: ResultInfo('MEDIA_WRITE_PROTECTED'),
    269824: ResultInfo('USB_MEDIA_WRITE_PROTECTED'),
    281600: ResultInfo('MII'),
    281728: ResultInfo('ENCRYPTION_ERROR'),
    512000: ResultInfo('FATAL'),
    512128: ResultInfo('FSA_FATAL'),
    512256: ResultInfo('FSA_ADD_CLIENT_FATAL'),
    512384: ResultInfo('MCP_TITLE_FATAL'),
    512512: ResultInfo('MCP_PATCH_FATAL'),
    512640: ResultInfo('MCP_FATAL'),
    512768: ResultInfo('SAVE_FATAL'),
    512896: ResultInfo('UC_FATAL')
})

ios = Module('ios', {
    0: ResultInfo('IOS_ERROR_OK'),
    128: ResultInfo('IOS_ERROR'),
    256: ResultInfo('IOS_ERROR_ACCESS'),
    384: ResultInfo('IOS_ERROR_EXISTS'),
    512: ResultInfo('IOS_ERROR_INTR'),
    640: ResultInfo('IOS_ERROR_INVALID'),
    768: ResultInfo('IOS_ERROR_MAX'),
    896: ResultInfo('IOS_ERROR_NOEXISTS'),
    1024: ResultInfo('IOS_ERROR_QEMPTY'),
    1152: ResultInfo('IOS_ERROR_QFULL'),
    1280: ResultInfo('IOS_ERROR_UNKNOWN'),
    1408: ResultInfo('IOS_ERROR_NOTREADY'),
    1536: ResultInfo('IOS_ERROR_INVALID_OBJTYPE'),
    1664: ResultInfo('IOS_ERROR_INVALID_VERSION'),
    1792: ResultInfo('IOS_ERROR_INVALID_SIGNER'),
    1920: ResultInfo('IOS_ERROR_FAIL_CHECKVALUE'),
    2048: ResultInfo('IOS_ERROR_FAIL_INTERNAL'),
    2176: ResultInfo('IOS_ERROR_FAIL_ALLOC'),
    2304: ResultInfo('IOS_ERROR_INVALID_SIZE'),
    2432: ResultInfo('IOS_ERROR_NO_LINK'),
    2560: ResultInfo('IOS_ERROR_AN_FAILED'),
    2688: ResultInfo('IOS_ERROR_MAX_SEM_COUNT'),
    2816: ResultInfo('IOS_ERROR_SEM_UNAVAILABLE'),
    2944: ResultInfo('IOS_ERROR_INVALID_HANDLE'),
    3072: ResultInfo('IOS_ERROR_INVALID_ARG'),
    3200: ResultInfo('IOS_ERROR_NO_RESOURCE'),
    3328: ResultInfo('IOS_ERROR_BUSY'),
    3456: ResultInfo('IOS_ERROR_TIMEOUT'),
    3584: ResultInfo('IOS_ERROR_ALIGNMENT'),
    3712: ResultInfo('IOS_ERROR_BSP'),
    3840: ResultInfo('IOS_ERROR_DATA_PENDING'),
    3968: ResultInfo('IOS_ERROR_EXPIRED'),
    4096: ResultInfo('IOS_ERROR_NO_R_ACCESS'),
    4224: ResultInfo('IOS_ERROR_NO_W_ACCESS'),
    4352: ResultInfo('IOS_ERROR_NO_RW_ACCESS'),
    4480: ResultInfo('IOS_ERROR_CLIENT_TXN_LIMIT'),
    4608: ResultInfo('IOS_ERROR_STALE_HANDLE'),
    12672: ResultInfo('IOS_ERROR_UNKNOWN_VALUE'),
    12800: ResultInfo('FSA_STATUS_OK'),
    12928: ResultInfo('FSA_STATUS'),
    13056: ResultInfo('FSA_STATUS_NOT_INIT'),
    13184: ResultInfo('FSA_STATUS_BUSY'),
    13312: ResultInfo('FSA_STATUS_CANCELED'),
    13440: ResultInfo('FSA_STATUS_END_OF_DIRECTORY'),
    13568: ResultInfo('FSA_STATUS_END_OF_FILE'),
    13696: ResultInfo('FSA_STATUS_MAX_MOUNTPOINTS'),
    13824: ResultInfo('FSA_STATUS_MAX_VOLUMES'),
    13952: ResultInfo('FSA_STATUS_MAX_CLIENTS'),
    14080: ResultInfo('FSA_STATUS_MAX_FILES'),
    14208: ResultInfo('FSA_STATUS_MAX_DIRS'),
    14336: ResultInfo('FSA_STATUS_ALREADY_OPEN'),
    14464: ResultInfo('FSA_STATUS_ALREADY_EXISTS'),
    14592: ResultInfo('FSA_STATUS_NOT_FOUND'),
    14720: ResultInfo('FSA_STATUS_NOT_EMPTY'),
    14848: ResultInfo('FSA_STATUS_ACCESS_ERROR'),
    14976: ResultInfo('FSA_STATUS_PERMISSION_ERROR'),
    15104: ResultInfo('FSA_STATUS_DATA_CORRUPTED'),
    15232: ResultInfo('FSA_STATUS_STORAGE_FULL'),
    15360: ResultInfo('FSA_STATUS_JOURNAL_FULL'),
    15488: ResultInfo('FSA_STATUS_UNAVAILABLE_CMD'),
    15616: ResultInfo('FSA_STATUS_UNSUPPORTED_CMD'),
    15744: ResultInfo('FSA_STATUS_INVALID_PARAM'),
    15872: ResultInfo('FSA_STATUS_INVALID_PATH'),
    16000: ResultInfo('FSA_STATUS_INVALID_BUFFER'),
    16128: ResultInfo('FSA_STATUS_INVALID_ALIGNMENT'),
    16256: ResultInfo('FSA_STATUS_INVALID_CLIENT_HANDLE'),
    16384: ResultInfo('FSA_STATUS_INVALID_FILE_HANDLE'),
    16512: ResultInfo('FSA_STATUS_INVALID_DIR_HANDLE'),
    16640: ResultInfo('FSA_STATUS_NOT_FILE'),
    16768: ResultInfo('FSA_STATUS_NOT_DIR'),
    16896: ResultInfo('FSA_STATUS_FILE_TOO_BIG'),
    17024: ResultInfo('FSA_STATUS_OUT_OF_RANGE'),
    17152: ResultInfo('FSA_STATUS_OUT_OF_RESOURCES'),
    17280: ResultInfo('FSA_STATUS_MEDIA_NOT_READY'),
    17408: ResultInfo('FSA_STATUS_MEDIA_ERROR'),
    17536: ResultInfo('FSA_STATUS_WRITE_PROTECTED'),
    25472: ResultInfo('FSA_STATUS_UNKNOWN'),
    25600: ResultInfo('NSSL_OK'),
    25728: ResultInfo('NSSL_ERROR'),
    25856: ResultInfo('NSSL_RVAL_INVALID_NSSL_CTX'),
    25984: ResultInfo('NSSL_RVAL_INVALID_CERTID'),
    26112: ResultInfo('NSSL_RVAL_CERT_LIMIT'),
    26240: ResultInfo('NSSL_RVAL_INVALID_NSSL_CONNECTION'),
    26368: ResultInfo('NSSL_RVAL_INVALID_CERT'),
    26496: ResultInfo('NSSL_RVAL_ZERO_RETURN'),
    26624: ResultInfo('NSSL_RVAL_WANT_READ'),
    26752: ResultInfo('NSSL_RVAL_WANT_WRITE'),
    26880: ResultInfo('NSSL_RVAL_IO_ERROR'),
    27008: ResultInfo('NSSL_RVAL_NSSLLIB_ERROR'),
    27136: ResultInfo('NSSL_RVAL_UNKNOWN'),
    27264: ResultInfo('NSSL_RVAL_OUT_OF_MEMORY'),
    27392: ResultInfo('NSSL_RVAL_INVALID_STATE'),
    27520: ResultInfo('NSSL_RVAL_HANDSHAKE_ERROR'),
    27648: ResultInfo('NSSL_RVAL_NO_CERT'),
    27776: ResultInfo('NSSL_RVAL_INVALID_FD'),
    27904: ResultInfo('NSSL_RVAL_LIB_NOT_READY'),
    28032: ResultInfo('NSSL_RVAL_IPC_ERROR'),
    28160: ResultInfo('NSSL_RVAL_RESOURCE_LIMIT'),
    28288: ResultInfo('NSSL_RVAL_INVALID_HANDLE'),
    28416: ResultInfo('NSSL_RVAL_INVALID_CERT_TYPE'),
    28544: ResultInfo('NSSL_RVAL_INVALID_KEY_TYPE'),
    28672: ResultInfo('NSSL_RVAL_INVALID_SIZE'),
    28800: ResultInfo('NSSL_RVAL_NO_PEER_CERT'),
    28928: ResultInfo('NSSL_RVAL_INSUFFICIENT_SIZE'),
    29056: ResultInfo('NSSL_RVAL_NO_CIPHER'),
    29184: ResultInfo('NSSL_RVAL_INVALID_ARG'),
    29312: ResultInfo('NSSL_RVAL_INVALID_NSSL_SESSION'),
    29440: ResultInfo('NSSL_RVAL_NO_SESSION'),
    29568: ResultInfo('NSSL_RVAL_SSL_SHUTDOWN_ERROR'),
    29696: ResultInfo('NSSL_RVAL_CERT_SIZE_LIMIT'),
    29824: ResultInfo('NSSL_RVAL_CERT_NO_ACCESS'),
    29952: ResultInfo('NSSL_RVAL_INVALID_CERT_ID'),
    30080: ResultInfo('NSSL_RVAL_CERT_READ_ERROR'),
    30208: ResultInfo('NSSL_RVAL_CERTSTORE_INIT_FAILURE'),
    30336: ResultInfo('NSSL_RVAL_INVALID_CERT_ENCODING'),
    30464: ResultInfo('NSSL_RVAL_CERTSTORE_ERR'),
    30592: ResultInfo('NSSL_RVAL_PVTKEY_READ_ERROR'),
    30720: ResultInfo('NSSL_RVAL_INVALID_PVTKEY'),
    30848: ResultInfo('NSSL_RVAL_NOT_READY'),
    30976: ResultInfo('NSSL_RVAL_ENCRYPTION_ERROR'),
    31104: ResultInfo('NSSL_RVAL_NO_CERTSTORE'),
    38272: ResultInfo('NSSL_UNKNOWN'),
    38400: ResultInfo('CURL_OK'),
    38528: ResultInfo('CURL_ERROR'),
    38656: ResultInfo('CURL_ERROR_UNSUPPORTED_PROTOCOL'),
    38784: ResultInfo('CURL_ERROR_FAILED_INIT'),
    38912: ResultInfo('CURL_ERROR_URL_MALFORMAT'),
    39040: ResultInfo('CURL_ERROR_NOT_BUILT_IN'),
    39168: ResultInfo('CURL_ERROR_COULDNT_RESOLVE_PROXY'),
    39296: ResultInfo('CURL_ERROR_COULDNT_RESOLVE_HOST'),
    39424: ResultInfo('CURL_ERROR_COULDNT_CONNECT'),
    39552: ResultInfo('CURL_ERROR_FTP_WEIRD_SERVER_REPLY'),
    39680: ResultInfo('CURL_ERROR_REMOTE_ACCESS_DENIED'),
    39808: ResultInfo('CURL_ERROR_OBSOLETE10'),
    39936: ResultInfo('CURL_ERROR_FTP_WEIRD_PASS_REPLY'),
    40064: ResultInfo('CURL_ERROR_OBSOLETE12'),
    40192: ResultInfo('CURL_ERROR_FTP_WEIRD_PASV_REPLY'),
    40320: ResultInfo('CURL_ERROR_FTP_WEIRD_227_FORMAT'),
    40448: ResultInfo('CURL_ERROR_FTP_CANT_GET_HOST'),
    40576: ResultInfo('CURL_ERROR_OBSOLETE16'),
    40704: ResultInfo('CURL_ERROR_FTP_COULDNT_SET_TYPE'),
    40832: ResultInfo('CURL_ERROR_PARTIAL_FILE'),
    40960: ResultInfo('CURL_ERROR_FTP_COULDNT_RETR_FILE'),
    41088: ResultInfo('CURL_ERROR_OBSOLETE20'),
    41216: ResultInfo('CURL_ERROR_QUOTE_ERROR'),
    41344: ResultInfo('CURL_ERROR_HTTP_RETURNED_ERROR'),
    41472: ResultInfo('CURL_ERROR_WRITE_ERROR'),
    41600: ResultInfo('CURL_ERROR_OBSOLETE24'),
    41728: ResultInfo('CURL_ERROR_UPLOAD_FAILED'),
    41856: ResultInfo('CURL_ERROR_READ_ERROR'),
    41984: ResultInfo('CURL_ERROR_OUT_OF_MEMORY'),
    42112: ResultInfo('CURL_ERROR_OPERATION_TIMEDOUT'),
    42240: ResultInfo('CURL_ERROR_OBSOLETE29'),
    42368: ResultInfo('CURL_ERROR_FTP_PORT_FAILED'),
    42496: ResultInfo('CURL_ERROR_FTP_COULDNT_USE_REST'),
    42624: ResultInfo('CURL_ERROR_OBSOLETE32'),
    42752: ResultInfo('CURL_ERROR_RANGE_ERROR'),
    42880: ResultInfo('CURL_ERROR_HTTP_POST_ERROR'),
    43008: ResultInfo('CURL_ERROR_SSL_CONNECT_ERROR'),
    43136: ResultInfo('CURL_ERROR_BAD_DOWNLOAD_RESUME'),
    43264: ResultInfo('CURL_ERROR_FILE_COULDNT_READ_FILE'),
    43392: ResultInfo('CURL_ERROR_LDAP_CANNOT_BIND'),
    43520: ResultInfo('CURL_ERROR_LDAP_SEARCH_FAILED'),
    43648: ResultInfo('CURL_ERROR_OBSOLETE40'),
    43776: ResultInfo('CURL_ERROR_FUNCTION_NOT_FOUND'),
    43904: ResultInfo('CURL_ERROR_ABORTED_BY_CALLBACK'),
    44032: ResultInfo('CURL_ERROR_BAD_FUNCTION_ARGUMENT'),
    44160: ResultInfo('CURL_ERROR_OBSOLETE44'),
    44288: ResultInfo('CURL_ERROR_INTERFACE_FAILED'),
    44416: ResultInfo('CURL_ERROR_OBSOLETE46'),
    44544: ResultInfo('CURL_ERROR_TOO_MANY_REDIRECTS'),
    44672: ResultInfo('CURL_ERROR_UNKNOWN_OPTION'),
    44800: ResultInfo('CURL_ERROR_TELNET_OPTION_SYNTAX'),
    44928: ResultInfo('CURL_ERROR_OBSOLETE50'),
    45056: ResultInfo('CURL_ERROR_PEER_FAILED_VERIFICATION'),
    45184: ResultInfo('CURL_ERROR_GOT_NOTHING'),
    45312: ResultInfo('CURL_ERROR_SSL_ENGINE_NOTFOUND'),
    45440: ResultInfo('CURL_ERROR_SSL_ENGINE_SETFAILED'),
    45568: ResultInfo('CURL_ERROR_SEND_ERROR'),
    45696: ResultInfo('CURL_ERROR_RECV_ERROR'),
    45824: ResultInfo('CURL_ERROR_OBSOLETE57'),
    45952: ResultInfo('CURL_ERROR_SSL_CERTPROBLEM'),
    46080: ResultInfo('CURL_ERROR_SSL_CIPHER'),
    46208: ResultInfo('CURL_ERROR_SSL_CACERT'),
    46336: ResultInfo('CURL_ERROR_BAD_CONTENT_ENCODING'),
    46464: ResultInfo('CURL_ERROR_LDAP_INVALID_URL'),
    46592: ResultInfo('CURL_ERROR_FILESIZE_EXCEEDED'),
    46720: ResultInfo('CURL_ERROR_USE_SSL_FAILED'),
    46848: ResultInfo('CURL_ERROR_SEND_FAIL_REWIND'),
    46976: ResultInfo('CURL_ERROR_SSL_ENGINE_INITFAILED'),
    47104: ResultInfo('CURL_ERROR_LOGIN_DENIED'),
    47232: ResultInfo('CURL_ERROR_TFTP_NOTFOUND'),
    47360: ResultInfo('CURL_ERROR_TFTP_PERM'),
    47488: ResultInfo('CURL_ERROR_REMOTE_DISK_FULL'),
    47616: ResultInfo('CURL_ERROR_TFTP_ILLEGAL'),
    47744: ResultInfo('CURL_ERROR_TFTP_UNKNOWNID'),
    47872: ResultInfo('CURL_ERROR_REMOTE_FILE_EXISTS'),
    48000: ResultInfo('CURL_ERROR_TFTP_NOSUCHUSER'),
    48128: ResultInfo('CURL_ERROR_CONV_FAILED'),
    48256: ResultInfo('CURL_ERROR_CONV_REQD'),
    48384: ResultInfo('CURL_ERROR_SSL_CACERT_BADFILE'),
    48512: ResultInfo('CURL_ERROR_REMOTE_FILE_NOT_FOUND'),
    48640: ResultInfo('CURL_ERROR_SSH'),
    48768: ResultInfo('CURL_ERROR_SSL_SHUTDOWN_FAILED'),
    48896: ResultInfo('CURL_ERROR_AGAIN'),
    49024: ResultInfo('CURL_ERROR_SSL_CRL_BADFILE'),
    49152: ResultInfo('CURL_ERROR_SSL_ISSUER_ERROR'),
    49280: ResultInfo('CURL_ERROR_FTP_PRET_FAILED'),
    49408: ResultInfo('CURL_ERROR_RTSP_CSEQ_ERROR'),
    49536: ResultInfo('CURL_ERROR_RTSP_SESSION_ERROR'),
    49664: ResultInfo('CURL_ERROR_FTP_BAD_FILE_LIST'),
    49792: ResultInfo('CURL_ERROR_CHUNK_FAILED'),
    49920: ResultInfo('CURL_ERROR_NSSL_NO_CTX'),
    50048: ResultInfo('CURL_ERROR_READ_DEFAULT_PROXY'),
    50176: ResultInfo('CURL_ERROR_DEFAULT_PROXY_NOT_READY'),
    51072: ResultInfo('CURL_UNKOWN'),
    51200: ResultInfo('MCP_OK'),
    51328: ResultInfo('MCP_ERROR'),
    51456: ResultInfo('MCP_RVAL_UNKNOWN_ERROR'),
    51584: ResultInfo('MCP_RVAL_SYSTEM_ERROR'),
    51712: ResultInfo('MCP_RVAL_ALLOC_ERROR'),
    51840: ResultInfo('MCP_RVAL_INVALID_OP_ERROR'),
    51968: ResultInfo('MCP_RVAL_INVALID_ARG_ERROR'),
    52096: ResultInfo('MCP_RVAL_INVALID_TYPE_ERROR'),
    52224: ResultInfo('MCP_RVAL_UNSUPPORTED_ERROR'),
    52352: ResultInfo('MCP_RVAL_ITEM_ACCESS_ERROR'),
    52480: ResultInfo('MCP_RVAL_KEY_NOT_FOUND_ERROR'),
    52608: ResultInfo('MCP_RVAL_BAD_MODIFY_ERROR'),
    52736: ResultInfo('MCP_RVAL_STRING_LENGTH_ERROR'),
    52864: ResultInfo('MCP_RVAL_INVALID_ROOTKEY_ERROR'),
    52992: ResultInfo('MCP_RVAL_INVALID_LOC_ERROR'),
    53120: ResultInfo('MCP_RVAL_BAD_COMMENT_ERROR'),
    53248: ResultInfo('MCP_RVAL_ACCESS_READ_ERROR'),
    53376: ResultInfo('MCP_RVAL_ACCESS_WRITE_ERROR'),
    53504: ResultInfo('MCP_RVAL_ACCESS_CREATE_ERROR'),
    53632: ResultInfo('MCP_RVAL_FILESYS_NAME_ERROR'),
    53760: ResultInfo('MCP_RVAL_FILESYS_INIT_ERROR'),
    53888: ResultInfo('MCP_RVAL_FILESYS_MOUNT_ERROR'),
    54016: ResultInfo('MCP_RVAL_FILE_OPEN_ERROR'),
    54144: ResultInfo('MCP_RVAL_FILE_STAT_ERROR'),
    54272: ResultInfo('MCP_RVAL_FILE_READ_ERROR'),
    54400: ResultInfo('MCP_RVAL_FILE_WRITE_ERROR'),
    54528: ResultInfo('MCP_RVAL_FILE_SIZE_ERROR'),
    54656: ResultInfo('MCP_RVAL_FILE_REMOVE_ERROR'),
    54784: ResultInfo('MCP_RVAL_FILE_RENAME_ERROR'),
    54912: ResultInfo('MCP_RVAL_FILE_CLOSE_ERROR'),
    55040: ResultInfo('MCP_RVAL_FILE_SEEK_ERROR'),
    55168: ResultInfo('MCP_RVAL_FILE_CONFIRM_ERROR'),
    55296: ResultInfo('MCP_RVAL_FILE_BACKUP_ERROR'),
    55424: ResultInfo('MCP_RVAL_FILE_MALFORMED_ERROR'),
    55552: ResultInfo('MCP_RVAL_VERSION_ERROR'),
    55680: ResultInfo('MCP_RVAL_NO_IPC_BUFFERS_ERROR'),
    55808: ResultInfo('MCP_RVAL_TIMEOUT_ERROR'),
    55936: ResultInfo('MCP_RVAL_FILE_LOCK_NEEDED_ERROR'),
    56064: ResultInfo('MCP_RVAL_SYSCTX_NOT_FOUND_ERROR'),
    56192: ResultInfo('MCP_RVAL_INVALID_TRIGGER_ERROR'),
    56320: ResultInfo('MCP_RVAL_TRIGGER_NOT_FOUND_ERROR'),
    56448: ResultInfo('MCP_RVAL_SYSPROT_INIT_ERROR'),
    56576: ResultInfo('MCP_RVAL_SYSPROT_MEMBLOCK_ERROR'),
    56704: ResultInfo('MCP_RVAL_SYSPROT_SRAM_ERROR'),
    56832: ResultInfo('MCP_RVAL_SYSPROT_DEVICES_ERROR'),
    56960: ResultInfo('MCP_RVAL_SYSPROT_FINE_GRAIN_ERROR'),
    57088: ResultInfo('MCP_RVAL_FILE_NOT_FOUND_ERROR'),
    57216: ResultInfo('MCP_RVAL_NOT_INSTALLED_ERROR'),
    57344: ResultInfo('MCP_RVAL_INCORRECT_VERSION_ERROR'),
    57472: ResultInfo('MCP_RVAL_DELAYED_REPLY'),
    57600: ResultInfo('MCP_RVAL_CONTENT_SOURCE_NOT_FOUND_ERROR'),
    57728: ResultInfo('MCP_RVAL_SYSHASH_NOT_INSTALLED_ERROR'),
    57856: ResultInfo('MCP_RVAL_NOT_FOUND_VERSION_LIST_ERROR'),
    57984: ResultInfo('MCP_RVAL_HASH_ENTRY_NOT_FOUND_ERROR'),
    58112: ResultInfo('MCP_RVAL_NEWER_VERSION_EXISTS_ERROR'),
    58240: ResultInfo('MCP_RVAL_TITLE_MUST_UPDATE_ERROR'),
    58368: ResultInfo('MCP_UNEXPECTED_ERROR'),
    58496: ResultInfo('MCP_RVAL_INSTALL_BUSY'),
    58624: ResultInfo('MCP_RVAL_INSTALL_SUSPENDED'),
    58752: ResultInfo('MCP_RVAL_INSTALL_NOT_FOUND_CONTEXT'),
    58880: ResultInfo('MCP_RVAL_INSTALL_NOT_SUSPENDABLE'),
    59008: ResultInfo('MCP_RVAL_INSTALL_INVALID_HANDLE'),
    59136: ResultInfo('MCP_RVAL_FILE_ALREADY_EXISTS_ERROR'),
    59264: ResultInfo('MCP_RVAL_CERT_NOT_FOUND_ERROR'),
    59392: ResultInfo('MCP_RVAL_TITLE_NOT_FOUND_ERROR'),
    59520: ResultInfo('MCP_RVAL_ALREADY_OPEN_ERROR'),
    59648: ResultInfo('MCP_RVAL_UNEXPECTD_IVS_TYPE_ERROR'),
    59776: ResultInfo('MCP_RVAL_IVS_VERIFICATION_ERROR'),
    59904: ResultInfo('MCP_RVAL_DEMOLAUNCH_INVALID_ID_ERROR'),
    60032: ResultInfo('MCP_RVAL_AUTHENTICATION_ERROR'),
    60160: ResultInfo('MCP_RVAL_STORAGE_FULL_ERROR'),
    60288: ResultInfo('MCP_RVAL_END_OF_DIRECTORY'),
    60416: ResultInfo('MCP_RVAL_WRITE_PROTECTED_ERROR')
})

nim = Module('nim', {
    0: ResultInfo('EC_SUCCESS'),
    128: ResultInfo('FSA_OK'),
    256: ResultInfo('MCP_OK'),
    384: ResultInfo('UC_OK'),
    512: ResultInfo('CURL_OK'),
    640: ResultInfo('NSSL_OK'),
    768: ResultInfo('ACP_OK'),
    16384: ResultInfo('INVALID_USAGE'),
    16512: ResultInfo('PACKAGE_ALREADY_OPENED'),
    16640: ResultInfo('UPDATE_PACKAGE_ALREADY_OPENED'),
    16768: ResultInfo('TITLE_PACKAGE_ALREADY_OPENED'),
    18048: ResultInfo('INVALID_ARGUMENT'),
    18176: ResultInfo('OUT_OF_RANGE'),
    18304: ResultInfo('OUT_OF_MAX_DOWNLOAD_TICKETS'),
    18432: ResultInfo('OUT_OF_MAX_TITLE_TAG_SIZE'),
    18560: ResultInfo('OUT_OF_DOWNLOAD_TASK_LIST_REVISION_MAX_INDEX'),
    18944: ResultInfo('INVALID_MEDIA_TYPE'),
    19072: ResultInfo('INVALID_TASK_ID'),
    19200: ResultInfo('INVALID_DOWNLOAD_TYPE'),
    19328: ResultInfo('INVALID_TITLE_PACKAGE_TASK_TYPE'),
    19456: ResultInfo('INVALID_AUTO_UPDATE_REGISTER_POLICY'),
    19584: ResultInfo('NOT_ENOUGH_BUFFER_SIZE'),
    20480: ResultInfo('WORKER_BUSY'),
    21760: ResultInfo('PACKAGE_NOT_UNREGISTERABLE'),
    21888: ResultInfo('OPENED_PACKAGE_NOT_UNREGISTERABLE'),
    22400: ResultInfo('CANT_SET_DUMMY_TASK_STATE_DURING_EMULATION'),
    28672: ResultInfo('EC_INVALID'),
    28928: ResultInfo('EC_INIT'),
    29056: ResultInfo('EC_BUSY'),
    29184: ResultInfo('EC_ALREADY'),
    29312: ResultInfo('EC_CONNECT'),
    29440: ResultInfo('EC_CONFIG'),
    29568: ResultInfo('SD_FOR_DEBUG_DISABLED'),
    29696: ResultInfo('DUMMY_TASK_DISABLED'),
    32768: ResultInfo('NOT_FOUND'),
    32896: ResultInfo('PACKAGE_NOT_FOUND'),
    33024: ResultInfo('UPDATE_PACKAGE_NOT_FOUND'),
    33152: ResultInfo('TITLE_PACKAGE_NOT_FOUND'),
    33280: ResultInfo('DUMMY_TITLE_PACKAGE_NOT_FOUND'),
    33792: ResultInfo('CONTENT_NOT_FOUND'),
    33920: ResultInfo('CONTENT_NOT_OWNED'),
    34048: ResultInfo('EC_NOT_FOUND'),
    34176: ResultInfo('AUTO_UPDATE_NOT_FOUND'),
    34304: ResultInfo('COUNTRY_SETTING_NOT_FOUND'),
    34432: ResultInfo('ICON_DATABASE_ENTRY_NOT_FOUND'),
    34560: ResultInfo('CONTENT_INFO_NOT_FOUND'),
    34688: ResultInfo('TASK_REGISTER_STATUS_LIST_NOT_FOUND'),
    34816: ResultInfo('DOWNLOAD_TASK_LIST_NOT_FOUND'),
    34944: ResultInfo('DEVICE_ACCOUNT_NOT_CACHED'),
    35072: ResultInfo('TITLE_TAG_NOT_FOUND'),
    40960: ResultInfo('EXTENDED_STORAGE_ACCESS_FAILED'),
    41088: ResultInfo('EXTENDED_STORAGE_NOT_BOUND'),
    49152: ResultInfo('OUT_OF_MEMORY'),
    49280: ResultInfo('OUT_OF_USER_MEMORY'),
    53248: ResultInfo('OUT_OF_SYSTEM_MEMORY'),
    53376: ResultInfo('OUT_OF_LOCAL_MEMORY'),
    53504: ResultInfo('OUT_OF_GLOBAL_MEMORY'),
    56320: ResultInfo('EC_OUT_OF_SYSTEM_MEMORY'),
    56448: ResultInfo('EC_OUT_OF_SYSTEM_SHARED_MEMORY'),
    56576: ResultInfo('EC_OUT_OF_MEMORY'),
    56704: ResultInfo('EC_OVERFLOW'),
    57472: ResultInfo('OUT_OF_CAPACITY'),
    57600: ResultInfo('OUT_OF_MAX_TASKS'),
    57728: ResultInfo('OUT_OF_MAX_TICKETS'),
    57856: ResultInfo('OUT_OF_MAX_AUTO_UPDATES'),
    58112: ResultInfo('OUT_OF_MAX_CONTENTS'),
    61440: ResultInfo('INVALID_HANDLE'),
    61568: ResultInfo('INVALID_UPDATE_PACKAGE_HANDLE'),
    61696: ResultInfo('INVALID_TITLE_PACKAGE_HANDLE'),
    65536: ResultInfo('INVALID_STATE'),
    65664: ResultInfo('PACKAGE_INVALID_STATE'),
    65792: ResultInfo('PACKAGE_NOT_DOWNLOADED'),
    65920: ResultInfo('UPDATE_PACKAGE_NOT_DOWNLOADED'),
    66048: ResultInfo('TITLE_PACKAGE_NOT_DOWNLOADED'),
    66560: ResultInfo('PACKAGE_ALREADY_FOREGROUND_DOWNLOADING'),
    66688: ResultInfo('UPDATE_PACKAGE_ALREADY_FOREGROUND_DOWNLOADING'),
    66816: ResultInfo('TITLE_PACKAGE_ALREADY_FOREGROUND_DOWNLOADING'),
    67328: ResultInfo('PACKAGE_NEEDS_CLEANUP'),
    67456: ResultInfo('UPDATE_PACKAGE_NEEDS_CLEANUP'),
    67584: ResultInfo('TITLE_PACKAGE_NEEDS_CLEANUP'),
    69120: ResultInfo('PACKAGE_UNABLE_TO_CLEANUP'),
    69248: ResultInfo('UPDATE_PACKAGE_UNABLE_TO_CLEANUP'),
    69376: ResultInfo('TITLE_PACKAGE_UNABLE_TO_CLEANUP'),
    70912: ResultInfo('PACKAGE_UNABLE_TO_INSTALL'),
    71040: ResultInfo('TITLE_PACKAGE_UNABLE_TO_INSTALL'),
    71680: ResultInfo('TITLE_META_NOT_READABLE'),
    71808: ResultInfo('CONTENTS_NOT_RESERVED'),
    71936: ResultInfo('INSTALL_STARTED'),
    72064: ResultInfo('INVALID_SIZE_OF_DOWNLOADED_CONTENT'),
    74112: ResultInfo('ALREADY_EXISTS'),
    74240: ResultInfo('FOREGROUND_TASK_ALREADY_EXISTS'),
    74368: ResultInfo('AUTO_UPDATE_ALREADY_EXISTS'),
    74496: ResultInfo('CONTENT_ALREADY_INSTALLED'),
    74624: ResultInfo('TITLE_PACKAGE_ALREADY_REGISTERED'),
    74752: ResultInfo('TITLE_TAG_PACKAGE_ALREADY_EXISTS'),
    76800: ResultInfo('INVALID_TITLE_CONDITION'),
    76928: ResultInfo('NEW_TITLE_ALREADY_EXISTS'),
    77056: ResultInfo('UPDATE_TITLE_VERSION_NOT_NEWER'),
    77184: ResultInfo('TARGET_TITLE_NOT_FOUND'),
    77312: ResultInfo('TARGET_TITLE_VERSION_NOT_MATCHED'),
    77440: ResultInfo('OPERATION_NOT_ALLOWED_FOR_TITLE_TYPE'),
    77568: ResultInfo('TARGET_DATA_TITLE_DISABLED'),
    79360: ResultInfo('DEFAULT_PROXY_NOT_READY'),
    79488: ResultInfo('VOLUME_ID_NOT_MATCHED'),
    79616: ResultInfo('EXTENDED_STORAGE_POLICY_NOT_DECIDED'),
    79744: ResultInfo('INVALID_SHUTDOWN'),
    79872: ResultInfo('INVALID_USER_CONFIG_VALUE_FOR_PRODUCTION'),
    80000: ResultInfo('UNREGISTER_TASK_FAILED'),
    81920: ResultInfo('STATUS_CHANGED'),
    82048: ResultInfo('EC_NEED_UPDATE'),
    82176: ResultInfo('NEED_RECEIVE_IVS'),
    82304: ResultInfo('NEEDS_NETWORK_UPDATE'),
    82432: ResultInfo('NEEDS_NETWORK_UPDATE_WHEN_UPDATE_AUTO_TITLE_DELIVERY_LIST'),
    82560: ResultInfo('FOUND_UPDATE_PACKAGE_WHEN_UPDATE_AUTO_TITLE_DELIVERY_LIST'),
    87040: ResultInfo('AUTO_UPDATE_FAILED'),
    87168: ResultInfo('AUTO_UPDATE_NO_UPDATE'),
    87296: ResultInfo('AUTO_UPDATE_TITLE_NOT_FOUND'),
    87424: ResultInfo('AUTO_UPDATE_DOWNLOAD_APPLICATION_CONTAINER_MISMATCH'),
    87552: ResultInfo('AUTO_UPDATE_REQUIRED_VERSION_ALREADY_NEW'),
    87680: ResultInfo('AUTO_UPDATE_TASK_ALREADY_EXISTS'),
    87808: ResultInfo('AUTO_UPDATE_TASK_LATEST_VERSION_EXISTS'),
    87936: ResultInfo('AUTO_UPDATE_TASK_OLDER_VERSION_EXISTS'),
    88064: ResultInfo('AUTO_UPDATE_TASK_DIFFERENT_MEDIA_EXISTS'),
    88576: ResultInfo('AUTO_UPDATE_TARGET_APPLICATION_CONTAINER_MISMATCH'),
    88704: ResultInfo('AUTO_UPDATE_INSTALL_ALREADY_STARTED'),
    98304: ResultInfo('SERVER_FAILED_RESPONSE'),
    98432: ResultInfo('ECI_REPORT_ERROR'),
    98560: ResultInfo('ECI_FAILED_RECEIVE'),
    98688: ResultInfo('ECI_INVALID_RESPONSE'),
    98816: ResultInfo('ECI_NET_CONTENT'),
    102400: ResultInfo('SERVER_BUSY'),
    102528: ResultInfo('ECI_BUSY'),
    102656: ResultInfo('OUT_OF_MAX_RETRY_ECI_TOKEN'),
    104960: ResultInfo('SERVER_TIMEOUT'),
    105088: ResultInfo('ECI_TIMEOUT'),
    107648: ResultInfo('SERVER_STANDBY'),
    107776: ResultInfo('ECI_STANDBY'),
    107904: ResultInfo('ECOMMERCE_INFRASTRUCTURE_STANDBY'),
    110080: ResultInfo('INVALID_RESPONSE_FORMAT'),
    110208: ResultInfo('INVALID_VERSION_LIST_INFO_FORMAT'),
    110336: ResultInfo('INVALID_VERSION_LIST_FORMAT'),
    110464: ResultInfo('UNSUPPORTED_VERSION_LIST_INFO_FORMAT_VERSION'),
    110592: ResultInfo('UNSUPPORTED_VERSION_LIST_FORMAT_VERSION'),
    110720: ResultInfo('VERSION_LIST_VERIFICATION_FAILED'),
    112640: ResultInfo('BOSS_HTTP_ERROR'),
    112768: ResultInfo('BOSS_HTTP_ERROR_UNSUPPORTED_PROTOCOL'),
    112896: ResultInfo('BOSS_HTTP_ERROR_FAILED_INIT'),
    113024: ResultInfo('BOSS_HTTP_ERROR_URL_MALFORMAT'),
    113152: ResultInfo('BOSS_HTTP_ERROR_NOT_BUILT_IN'),
    113280: ResultInfo('BOSS_HTTP_ERROR_COULDNT_RESOLVE_PROXY'),
    113408: ResultInfo('BOSS_HTTP_ERROR_COULDNT_RESOLVE_HOST'),
    113536: ResultInfo('BOSS_HTTP_ERROR_COULDNT_CONNECT'),
    113664: ResultInfo('BOSS_HTTP_ERROR_REMOTE_ACCESS_DENIED'),
    113792: ResultInfo('BOSS_HTTP_ERROR_PARTIAL_FILE'),
    113920: ResultInfo('BOSS_HTTP_ERROR_QUOTE_ERROR'),
    114048: ResultInfo('BOSS_HTTP_ERROR_HTTP_RETURNED_ERROR'),
    114176: ResultInfo('BOSS_HTTP_ERROR_WRITE_ERROR'),
    114304: ResultInfo('BOSS_HTTP_ERROR_UPLOAD_FAILED'),
    114432: ResultInfo('BOSS_HTTP_ERROR_READ_ERROR'),
    114560: ResultInfo('BOSS_HTTP_ERROR_OUT_OF_MEMORY'),
    114688: ResultInfo('BOSS_HTTP_ERROR_OPERATION_TIMEDOUT'),
    114816: ResultInfo('BOSS_HTTP_ERROR_RANGE_ERROR'),
    114944: ResultInfo('BOSS_HTTP_ERROR_HTTP_POST_ERROR'),
    115072: ResultInfo('BOSS_HTTP_ERROR_SSL_CONNECT_ERROR'),
    115200: ResultInfo('BOSS_HTTP_ERROR_BAD_DOWNLOAD_RESUME'),
    115328: ResultInfo('BOSS_HTTP_ERROR_INTERFACE_FAILED'),
    115456: ResultInfo('BOSS_HTTP_ERROR_TOO_MANY_REDIRECTS'),
    115584: ResultInfo('BOSS_HTTP_ERROR_UNKNOWN_OPTION'),
    115712: ResultInfo('BOSS_HTTP_ERROR_PEER_FAILED_VERIFICATION'),
    115840: ResultInfo('BOSS_HTTP_ERROR_GOT_NOTHING'),
    115968: ResultInfo('BOSS_HTTP_ERROR_SSL_ENGINE_NOTFOUND'),
    116096: ResultInfo('BOSS_HTTP_ERROR_SSL_ENGINE_SETFAILED'),
    116224: ResultInfo('BOSS_HTTP_ERROR_SEND_ERROR'),
    116352: ResultInfo('BOSS_HTTP_ERROR_RECV_ERROR'),
    116480: ResultInfo('BOSS_HTTP_ERROR_SSL_CERTPROBLEM'),
    116608: ResultInfo('BOSS_HTTP_ERROR_SSL_CIPHER'),
    116736: ResultInfo('BOSS_HTTP_ERROR_SSL_CACERT'),
    116864: ResultInfo('BOSS_HTTP_ERROR_USE_SSL_FAILED'),
    116992: ResultInfo('BOSS_HTTP_ERROR_SEND_FAIL_REWIND'),
    117120: ResultInfo('BOSS_HTTP_ERROR_SSL_ENGINE_INITFAILED'),
    117248: ResultInfo('BOSS_HTTP_ERROR_LOGIN_DENIED'),
    117376: ResultInfo('BOSS_HTTP_ERROR_CONV_FAILED'),
    117504: ResultInfo('BOSS_HTTP_ERROR_CONV_REQD'),
    117632: ResultInfo('BOSS_HTTP_ERROR_SSL_CACERT_BADFILE'),
    117760: ResultInfo('BOSS_HTTP_ERROR_SSL_SHUTDOWN_FAILED'),
    117888: ResultInfo('BOSS_HTTP_ERROR_AGAIN'),
    118016: ResultInfo('BOSS_HTTP_ERROR_SSL_CRL_BADFILE'),
    118144: ResultInfo('BOSS_HTTP_ERROR_SSL_ISSUER_ERROR'),
    118272: ResultInfo('BOSS_HTTP_ERROR_CHUNK_FAILED'),
    118400: ResultInfo('BOSS_HTTP_ERROR_SSL_INVALID_NSSL_CTX'),
    118528: ResultInfo('BOSS_HTTP_ERROR_SSL_INVALID_CERTID'),
    118656: ResultInfo('BOSS_HTTP_ERROR_SSL_CERT_LIMIT'),
    118784: ResultInfo('BOSS_HTTP_ERROR_SSL_INVALID_NSSL_CONNECTION'),
    118912: ResultInfo('BOSS_HTTP_ERROR_SSL_INVALID_CERT'),
    119040: ResultInfo('BOSS_HTTP_ERROR_SSL_ZERO_RETURN'),
    119168: ResultInfo('BOSS_HTTP_ERROR_SSL_WANT_READ'),
    119296: ResultInfo('BOSS_HTTP_ERROR_SSL_WANT_WRITE'),
    119424: ResultInfo('BOSS_HTTP_ERROR_SSL_IO_ERROR'),
    119552: ResultInfo('BOSS_HTTP_ERROR_SSL_NSSLLIB_ERROR'),
    119680: ResultInfo('BOSS_HTTP_ERROR_SSL_UNKNOWN'),
    119808: ResultInfo('BOSS_HTTP_ERROR_SSL_OUT_OF_MEMORY'),
    119936: ResultInfo('BOSS_HTTP_ERROR_SSL_INVALID_STATE'),
    120064: ResultInfo('BOSS_HTTP_ERROR_SSL_HANDSHAKE_ERROR'),
    120192: ResultInfo('BOSS_HTTP_ERROR_SSL_NO_CERT'),
    120320: ResultInfo('BOSS_HTTP_ERROR_SSL_INVALID_FD'),
    120448: ResultInfo('BOSS_HTTP_ERROR_SSL_LIB_NOT_READY'),
    120576: ResultInfo('BOSS_HTTP_ERROR_SSL_IPC_ERROR'),
    120704: ResultInfo('BOSS_HTTP_ERROR_SSL_RESOURCE_LIMIT'),
    120832: ResultInfo('BOSS_HTTP_ERROR_SSL_INVALID_HANDLE'),
    120960: ResultInfo('BOSS_HTTP_ERROR_SSL_INVALID_CERT_TYPE'),
    121088: ResultInfo('BOSS_HTTP_ERROR_SSL_INVALID_KEY_TYPE'),
    121216: ResultInfo('BOSS_HTTP_ERROR_SSL_INVALID_SIZE'),
    121344: ResultInfo('BOSS_HTTP_ERROR_SSL_NO_PEER_CERT'),
    121472: ResultInfo('BOSS_HTTP_ERROR_SSL_INSUFFICIENT_SIZE'),
    121600: ResultInfo('BOSS_HTTP_ERROR_SSL_NO_CIPHER'),
    121728: ResultInfo('BOSS_HTTP_ERROR_SSL_INVALID_ARG'),
    121856: ResultInfo('BOSS_HTTP_ERROR_TIMEOUT'),
    121984: ResultInfo('BOSS_HTTP_ERROR_401_UNAUTHORIZED'),
    122112: ResultInfo('BOSS_HTTP_ERROR_403_FORBIDDEN'),
    122240: ResultInfo('BOSS_HTTP_ERROR_404_NOT_FOUND'),
    122368: ResultInfo('BOSS_HTTP_ERROR_408_REQUEST_TIMEOUT'),
    122496: ResultInfo('BOSS_HTTP_ERROR_416_REQUESTED_RANGE_NOT_SATISFABLE'),
    122624: ResultInfo('BOSS_HTTP_ERROR_500_INTERNAL_SERVER_ERROR'),
    122752: ResultInfo('BOSS_HTTP_ERROR_502_BAD_GATEWAY'),
    122880: ResultInfo('BOSS_HTTP_ERROR_503_SERVICE_UNAVAILABLE'),
    123008: ResultInfo('BOSS_HTTP_ERROR_504_GATEWAY_TIMEOUT'),
    123136: ResultInfo('BOSS_HTTP_ERROR_505_VERSION_NOT_SUPPORTED'),
    123264: ResultInfo('BOSS_HTTP_ERROR_UNSUPPORTED_STATUS'),
    123392: ResultInfo('BOSS_HTTP_ERROR_DISCONNECT'),
    123520: ResultInfo('BOSS_HTTP_ERROR_UNKNOWN'),
    126720: ResultInfo('IVS_RECEIVE_FAILURE'),
    126848: ResultInfo('IVS_SYNC_FLAG_DISABLED'),
    126976: ResultInfo('IVS_NOT_REGISTERED'),
    127104: ResultInfo('FAILED_IVS_VERIFICATION'),
    130048: ResultInfo('IDBE_DOWNLOAD_ERROR'),
    130176: ResultInfo('IDBE_FAILED_TO_DOWNLOAD'),
    130304: ResultInfo('IDBE_DECRYPTION_FAILED'),
    131072: ResultInfo('CURL_ERROR'),
    131200: ResultInfo('CURLE_FAILED_INIT'),
    131328: ResultInfo('CURLE_URL_MALFORMAT'),
    131456: ResultInfo('CURLE_COULDNT_RESOLVE_PROXY'),
    131584: ResultInfo('CURLE_COULDNT_RESOLVE_HOST'),
    131712: ResultInfo('CURLE_COULDNT_CONNECT'),
    131840: ResultInfo('CURLE_REMOTE_ACCESS_DENIED'),
    131968: ResultInfo('CURLE_PARTIAL_FILE'),
    132096: ResultInfo('CURLE_QUOTE_ERROR'),
    132224: ResultInfo('CURLE_HTTP_RETURNED_ERROR'),
    132352: ResultInfo('CURLE_UPLOAD_FAILED'),
    132480: ResultInfo('CURLE_WRITE_ERROR'),
    132608: ResultInfo('CURLE_READ_ERROR'),
    132736: ResultInfo('CURLE_OUT_OF_MEMORY'),
    132864: ResultInfo('CURLE_OPERATION_TIMEDOUT'),
    132992: ResultInfo('CURLE_RANGE_ERROR'),
    133120: ResultInfo('CURLE_HTTP_POST_ERROR'),
    133248: ResultInfo('CURLE_SSL_CONNECT_ERROR'),
    133376: ResultInfo('CURLE_BAD_DOWNLOAD_RESUME'),
    133504: ResultInfo('CURLE_FILE_COULDNT_READ_FILE'),
    133632: ResultInfo('CURLE_FUNCTION_NOT_FOUND'),
    133760: ResultInfo('CURLE_ABORTED_BY_CALLBACK'),
    133888: ResultInfo('CURLE_BAD_FUNCTION_ARGUMENT'),
    134016: ResultInfo('CURLE_INTERFACE_FAILED'),
    134144: ResultInfo('CURLE_TOO_MANY_REDIRECTS'),
    134272: ResultInfo('CURLE_PEER_FAILED_VERIFICATION'),
    134400: ResultInfo('CURLE_GOT_NOTHING'),
    134528: ResultInfo('CURLE_SSL_ENGINE_NOTFOUND'),
    134656: ResultInfo('CURLE_SSL_ENGINE_SETFAILED'),
    134784: ResultInfo('CURLE_SEND_ERROR'),
    134912: ResultInfo('CURLE_RECV_ERROR'),
    135040: ResultInfo('CURLE_SSL_CERTPROBLEM'),
    135168: ResultInfo('CURLE_SSL_CIPHER'),
    135296: ResultInfo('CURLE_SSL_CACERT'),
    135424: ResultInfo('CURLE_BAD_CONTENT_ENCODING'),
    135552: ResultInfo('CURLE_FILESIZE_EXCEEDED'),
    135680: ResultInfo('CURLE_USE_SSL_FAILED'),
    135808: ResultInfo('CURLE_SEND_FAIL_REWIND'),
    135936: ResultInfo('CURLE_SSL_ENGINE_INITFAILED'),
    136064: ResultInfo('CURLE_REMOTE_DISK_FULL'),
    136192: ResultInfo('CURLE_REMOTE_FILE_EXISTS'),
    136320: ResultInfo('CURLE_CONV_FAILED'),
    136448: ResultInfo('CURLE_CONV_REQD'),
    136576: ResultInfo('CURLE_SSL_CACERT_BADFILE'),
    136704: ResultInfo('CURLE_REMOTE_FILE_NOT_FOUND'),
    136832: ResultInfo('CURLE_SSL_SHUTDOWN_FAILED'),
    136960: ResultInfo('CURLE_AGAIN'),
    137088: ResultInfo('CURLE_SSL_CRL_BADFILE'),
    137216: ResultInfo('CURLE_SSL_ISSUER_ERROR'),
    137344: ResultInfo('CURLE_CHUNK_FAILED'),
    137472: ResultInfo('CURLE_NSSL_NO_CTX'),
    137600: ResultInfo('CURLE_READ_DEFAULT_PROXY'),
    137728: ResultInfo('CURLE_DEFAULT_PROXY_NOT_READY'),
    137856: ResultInfo('CURLE_INIT_INTERNAL_MUTEX'),
    137984: ResultInfo('CURLE_UNSUPPORTED_PROTOCOL'),
    138112: ResultInfo('CURLE_UNKNOWN_ERROR'),
    140800: ResultInfo('NSSL_ERROR'),
    140928: ResultInfo('NSSL_RVAL_INVALID_NSSL_CTX'),
    141056: ResultInfo('NSSL_RVAL_INVALID_CERTID'),
    141184: ResultInfo('NSSL_RVAL_CERT_LIMIT'),
    141312: ResultInfo('NSSL_RVAL_INVALID_NSSL_CONNECTION'),
    141440: ResultInfo('NSSL_RVAL_INVALID_CERT'),
    141568: ResultInfo('NSSL_RVAL_ZERO_RETURN'),
    141696: ResultInfo('NSSL_RVAL_WANT_READ'),
    141824: ResultInfo('NSSL_RVAL_WANT_WRITE'),
    141952: ResultInfo('NSSL_RVAL_IO_ERROR'),
    142080: ResultInfo('NSSL_RVAL_NSSLLIB_ERROR'),
    142208: ResultInfo('NSSL_RVAL_UNKNOWN'),
    142336: ResultInfo('NSSL_RVAL_OUT_OF_MEMORY'),
    142464: ResultInfo('NSSL_RVAL_INVALID_STATE'),
    142592: ResultInfo('NSSL_RVAL_HANDSHAKE_ERROR'),
    142720: ResultInfo('NSSL_RVAL_NO_CERT'),
    142848: ResultInfo('NSSL_RVAL_INVALID_FD'),
    142976: ResultInfo('NSSL_RVAL_LIB_NOT_READY'),
    143104: ResultInfo('NSSL_RVAL_IPC_ERROR'),
    143232: ResultInfo('NSSL_RVAL_RESOURCE_LIMIT'),
    143360: ResultInfo('NSSL_RVAL_INVALID_HANDLE'),
    143488: ResultInfo('NSSL_RVAL_INVALID_CERT_TYPE'),
    143616: ResultInfo('NSSL_RVAL_INVALID_KEY_TYPE'),
    143744: ResultInfo('NSSL_RVAL_INVALID_SIZE'),
    143872: ResultInfo('NSSL_RVAL_NO_PEER_CERT'),
    144000: ResultInfo('NSSL_RVAL_INSUFFICIENT_SIZE'),
    144128: ResultInfo('NSSL_RVAL_NO_CIPHER'),
    144256: ResultInfo('NSSL_RVAL_INVALID_ARG'),
    144384: ResultInfo('NSSL_RVAL_INVALID_NSSL_SESSION'),
    144512: ResultInfo('NSSL_RVAL_NO_SESSION'),
    144640: ResultInfo('NSSL_RVAL_SSL_SHUTDOWN_ERROR'),
    144768: ResultInfo('NSSL_RVAL_CERT_SIZE_LIMIT'),
    144896: ResultInfo('NSSL_RVAL_CERT_NO_ACCESS'),
    145024: ResultInfo('NSSL_RVAL_INVALID_CERT_ID'),
    145152: ResultInfo('NSSL_RVAL_CERT_READ_ERROR'),
    145280: ResultInfo('NSSL_RVAL_CERTSTORE_INIT_FAILURE'),
    145408: ResultInfo('NSSL_RVAL_INVALID_CERT_ENCODING'),
    145536: ResultInfo('NSSL_RVAL_CERTSTORE_ERR'),
    145664: ResultInfo('NSSL_RVAL_PVTKEY_READ_ERROR'),
    145792: ResultInfo('NSSL_RVAL_INVALID_PVTKEY'),
    145920: ResultInfo('NSSL_RVAL_NOT_READY'),
    146048: ResultInfo('NSSL_RVAL_ENCRYPTION_ERROR'),
    146176: ResultInfo('NSSL_RVAL_NO_CERTSTORE'),
    146304: ResultInfo('NSSL_RVAL_PVTKEY_SIZE_LIMIT'),
    146432: ResultInfo('NSSL_RVAL_PROC_MAX_EXT_CERTS'),
    146560: ResultInfo('NSSL_RVAL_PROC_MAX_CONTEXTS'),
    146688: ResultInfo('NSSL_RVAL_PROC_MAX_CONNECTIONS'),
    146816: ResultInfo('NSSL_RVAL_CERT_NOT_EXPORTALE'),
    146944: ResultInfo('NSSL_RVAL_INVALID_CERT_SIZE'),
    147072: ResultInfo('NSSL_RVAL_INVALID_KEY_SIZE'),
    147200: ResultInfo('NSSL_UNKNOWN_ERROR'),
    148480: ResultInfo('CURL_FAILED_RESPONSE_CODE'),
    148608: ResultInfo('CURL_RESPONSE_CODE_UNKNOWN'),
    148736: ResultInfo('CURL_RESPONSE_CODE_201'),
    148864: ResultInfo('CURL_RESPONSE_CODE_202'),
    148992: ResultInfo('CURL_RESPONSE_CODE_203'),
    149120: ResultInfo('CURL_RESPONSE_CODE_204'),
    149248: ResultInfo('CURL_RESPONSE_CODE_205'),
    149376: ResultInfo('CURL_RESPONSE_CODE_206'),
    149504: ResultInfo('CURL_RESPONSE_CODE_207'),
    149632: ResultInfo('CURL_RESPONSE_CODE_208'),
    149760: ResultInfo('CURL_RESPONSE_CODE_226'),
    149888: ResultInfo('CURL_RESPONSE_CODE_300'),
    150016: ResultInfo('CURL_RESPONSE_CODE_301'),
    150144: ResultInfo('CURL_RESPONSE_CODE_302'),
    150272: ResultInfo('CURL_RESPONSE_CODE_303'),
    150400: ResultInfo('CURL_RESPONSE_CODE_304'),
    150528: ResultInfo('CURL_RESPONSE_CODE_305'),
    150656: ResultInfo('CURL_RESPONSE_CODE_306'),
    150784: ResultInfo('CURL_RESPONSE_CODE_307'),
    150912: ResultInfo('CURL_RESPONSE_CODE_308'),
    151040: ResultInfo('CURL_RESPONSE_CODE_350'),
    151168: ResultInfo('CURL_RESPONSE_CODE_400'),
    151296: ResultInfo('CURL_RESPONSE_CODE_401'),
    151424: ResultInfo('CURL_RESPONSE_CODE_402'),
    151552: ResultInfo('CURL_RESPONSE_CODE_403'),
    151680: ResultInfo('CURL_RESPONSE_CODE_404'),
    151808: ResultInfo('CURL_RESPONSE_CODE_405'),
    151936: ResultInfo('CURL_RESPONSE_CODE_406'),
    152064: ResultInfo('CURL_RESPONSE_CODE_407'),
    152192: ResultInfo('CURL_RESPONSE_CODE_408'),
    152320: ResultInfo('CURL_RESPONSE_CODE_409'),
    152448: ResultInfo('CURL_RESPONSE_CODE_410'),
    152576: ResultInfo('CURL_RESPONSE_CODE_411'),
    152704: ResultInfo('CURL_RESPONSE_CODE_412'),
    152832: ResultInfo('CURL_RESPONSE_CODE_413'),
    152960: ResultInfo('CURL_RESPONSE_CODE_414'),
    153088: ResultInfo('CURL_RESPONSE_CODE_415'),
    153216: ResultInfo('CURL_RESPONSE_CODE_416'),
    153344: ResultInfo('CURL_RESPONSE_CODE_417'),
    153472: ResultInfo('CURL_RESPONSE_CODE_418'),
    153600: ResultInfo('CURL_RESPONSE_CODE_420'),
    153728: ResultInfo('CURL_RESPONSE_CODE_421'),
    153856: ResultInfo('CURL_RESPONSE_CODE_422'),
    153984: ResultInfo('CURL_RESPONSE_CODE_423'),
    154112: ResultInfo('CURL_RESPONSE_CODE_424'),
    154240: ResultInfo('CURL_RESPONSE_CODE_425'),
    154368: ResultInfo('CURL_RESPONSE_CODE_426'),
    154496: ResultInfo('CURL_RESPONSE_CODE_428'),
    154624: ResultInfo('CURL_RESPONSE_CODE_429'),
    154752: ResultInfo('CURL_RESPONSE_CODE_431'),
    154880: ResultInfo('CURL_RESPONSE_CODE_451'),
    155008: ResultInfo('CURL_RESPONSE_CODE_500'),
    155136: ResultInfo('CURL_RESPONSE_CODE_501'),
    155264: ResultInfo('CURL_RESPONSE_CODE_502'),
    155392: ResultInfo('CURL_RESPONSE_CODE_503'),
    155520: ResultInfo('CURL_RESPONSE_CODE_504'),
    155648: ResultInfo('CURL_RESPONSE_CODE_505'),
    155776: ResultInfo('CURL_RESPONSE_CODE_506'),
    155904: ResultInfo('CURL_RESPONSE_CODE_507'),
    156032: ResultInfo('CURL_RESPONSE_CODE_508'),
    156160: ResultInfo('CURL_RESPONSE_CODE_510'),
    156288: ResultInfo('CURL_RESPONSE_CODE_511'),
    158720: ResultInfo('SO_ERROR'),
    158848: ResultInfo('SO_SELECT_ERROR'),
    174080: ResultInfo('UNRECOVERABLE_FAILED_RESPONSE'),
    174208: ResultInfo('UNRECOVERABLE_BOSS_HTTP_ERROR'),
    174336: ResultInfo('BOSS_HTTP_ERROR_UNEXPECTED_LAST_MODIFIED_TIME_CHANGED'),
    174464: ResultInfo('BOSS_HTTP_ERROR_UNEXPECTED_CONTENT_LENGTH_CHANGED'),
    174592: ResultInfo('BOSS_HTTP_ERROR_TOO_BIG_CONTENT_LENGTH'),
    178176: ResultInfo('NOT_SUPPORTED'),
    178304: ResultInfo('EC_NOT_SUPPORTED'),
    178432: ResultInfo('NOT_IMPLEMENTED'),
    182272: ResultInfo('INVALID_CONFIG'),
    182400: ResultInfo('CONFIG_INVALID_COUNTRY_SETTING'),
    182528: ResultInfo('CONFIG_INVALID_LANGUAGE_SETTING'),
    186368: ResultInfo('UNEXPECTED_ERROR'),
    186496: ResultInfo('EC_UNKNOWN_ERROR'),
    186624: ResultInfo('EC_EXTFUNC_ERROR'),
    186752: ResultInfo('EC_FAIL'),
    186880: ResultInfo('EC_AGE_RESTRICTED'),
    187008: ResultInfo('EC_NOT_BUSY'),
    187136: ResultInfo('IDBE_READ_ERROR'),
    187264: ResultInfo('IDBE_WRITE_ERROR'),
    187392: ResultInfo('IDBE_UNEXPECTED_DOWNLOAD_ERROR'),
    187520: ResultInfo('IDBE_FAILED_TO_INITIALIZE'),
    188416: ResultInfo('NIM_SAVEDATA_ERROR'),
    188544: ResultInfo('INVALID_SAVEDATA_FORMAT'),
    188672: ResultInfo('UNEXPECTED_SAVEDATA_ERROR'),
    188800: ResultInfo('SAVEDATA_NOT_FOUND'),
    190464: ResultInfo('INVALID_SYSTEM_TITLES'),
    190592: ResultInfo('TOO_MANY_SYSTEM_TITLES'),
    192512: ResultInfo('FAILED_TO_INITIALIZE'),
    192640: ResultInfo('FAILED_TO_INITIALIZE_RESOURCE_MANAGER'),
    193280: ResultInfo('UNKNOWN_BOSS_TASK_STATE'),
    193408: ResultInfo('DOWNLOAD_BITMAP_UNABLE_TO_DELETE'),
    193536: ResultInfo('FAILED_TO_RESERVE_CONTENTS'),
    193664: ResultInfo('INTERNAL_INVALID_ARGUMENT'),
    196608: ResultInfo('CANCELED'),
    196736: ResultInfo('EC_CANCELED'),
    196864: ResultInfo('BOSS_CANCELED'),
    196992: ResultInfo('NIM_CANCELED'),
    197120: ResultInfo('INSTALL_CANCELED'),
    197248: ResultInfo('RETRY_REQUESTED'),
    197376: ResultInfo('ASYNC_REQUEST_CANCELED'),
    197504: ResultInfo('UPDATE_VERSION_LIST_CANCELED'),
    197632: ResultInfo('HTTP_FILE_DOWNLOADER_CANCELED'),
    197888: ResultInfo('ICON_DATABASE_ENTRY_DOWNLOAD_CANCELED'),
    198016: ResultInfo('TASK_CLEANUP_CANCELED'),
    198144: ResultInfo('INSTALL_CLEANUP_CANCELED'),
    198528: ResultInfo('UNREGISTER_CANCELED'),
    198656: ResultInfo('RESERVE_CONTENTS_CANCELED'),
    198784: ResultInfo('CALCULATE_TOTAL_SIZE_CANCELED'),
    198912: ResultInfo('REGISTER_UPDATED_AUTO_CANCELED'),
    199040: ResultInfo('VALIDATE_DOWNLOADED_CONTENT_SIZE_CANCELED'),
    199168: ResultInfo('REGISTER_AUTO_TITLE_DELIVERY_TASKS_CANCELED'),
    204800: ResultInfo('NEEDS_RECONNECT'),
    204928: ResultInfo('TOKEN_EXPIRED'),
    205056: ResultInfo('ECI_INVALID_TOKEN'),
    217600: ResultInfo('AUTO_TITLE_DELIVERY_REGISTER_FAILED'),
    217728: ResultInfo('AUTO_TITLE_DELIVERY_ALREADY_INSTALLED'),
    217856: ResultInfo('AUTO_TITLE_DELIVERY_LATEST_ALREADY_EXISTS'),
    217984: ResultInfo('AUTO_TITLE_DELIVERY_OLDER_ALREADY_EXISTS'),
    218112: ResultInfo('AUTO_TITLE_DELIVERY_LATEST_DATA_TITLE_EXISTS'),
    218240: ResultInfo('AUTO_TITLE_DELIVERY_OLDER_DATA_TITLE_EXISTS'),
    218368: ResultInfo('AUTO_TITLE_DELIVERY_RIGHTS_NOT_FOUND'),
    218496: ResultInfo('AUTO_TITLE_DELIVERY_MAIN_RIGHTS_NOT_FOUND'),
    218624: ResultInfo('AUTO_TITLE_DELIVERY_ACCOUNT_NOT_FOUND'),
    218752: ResultInfo('AUTO_TITLE_DELIVERY_OUT_OF_MAX_TASKS'),
    218880: ResultInfo('AUTO_TITLE_DELIVERY_PUSH_DELIVERY_DISABLED'),
    219008: ResultInfo('AUTO_TITLE_DELIVERY_NEWER_DATA_TITLE_INSTALLED'),
    219136: ResultInfo('AUTO_TITLE_DELIVERY_TARGET_DATA_TITLE_DISABLED'),
    236800: ResultInfo('INVALID_DATA'),
    236928: ResultInfo('UNSUPPORTED_FORMAT'),
    237056: ResultInfo('UNSUPPORTED_AUTO_TITLE_DELIVERY_TASK_LIST_FORMAT'),
    237184: ResultInfo('UNSUPPORTED_AUTO_TITLE_DELIVERY_REVISION_FORMAT'),
    240768: ResultInfo('UNEXPECTED_DATA'),
    240896: ResultInfo('UNEXPECTED_DEVICE_ACCOUNT_ID'),
    243200: ResultInfo('INFRASTRUCTURE_NOT_PREPARED'),
    243328: ResultInfo('AUTO_TITLE_DELIVERY_INFRASTRUCTURE_NOT_PREPARED'),
    243456: ResultInfo('DOWNLOAD_TASK_LIST_REVISION_NOT_CREATED'),
    384000: ResultInfo('FSA_ERROR'),
    384128: ResultInfo('FSA_STATUS_BUSY'),
    384256: ResultInfo('FSA_STATUS_CANCELED'),
    384384: ResultInfo('FSA_STATUS_END_OF_DIRECTORY'),
    384512: ResultInfo('FSA_STATUS_END_OF_FILE'),
    384640: ResultInfo('FSA_STATUS_MAX_MOUNTPOINTS'),
    384768: ResultInfo('FSA_STATUS_MAX_VOLUMES'),
    384896: ResultInfo('FSA_STATUS_MAX_CLIENTS'),
    385024: ResultInfo('FSA_STATUS_MAX_FILES'),
    385152: ResultInfo('FSA_STATUS_MAX_DIRS'),
    385280: ResultInfo('FSA_STATUS_ALREADY_OPEN'),
    385408: ResultInfo('FSA_STATUS_ALREADY_EXISTS'),
    385536: ResultInfo('FSA_STATUS_NOT_FOUND'),
    385664: ResultInfo('FSA_STATUS_NOT_EMPTY'),
    385792: ResultInfo('FSA_STATUS_ACCESS_ERROR'),
    385920: ResultInfo('FSA_STATUS_PERMISSION_ERROR'),
    386048: ResultInfo('FSA_STATUS_DATA_CORRUPTED'),
    386176: ResultInfo('FSA_STATUS_STORAGE_FULL'),
    386304: ResultInfo('FSA_STATUS_JOURNAL_FULL'),
    386432: ResultInfo('FSA_STATUS_UNAVAILABLE_CMD'),
    386560: ResultInfo('FSA_STATUS_UNSUPPORTED_CMD'),
    386688: ResultInfo('FSA_STATUS_INVALID_PARAM'),
    386816: ResultInfo('FSA_STATUS_INVALID_PATH'),
    386944: ResultInfo('FSA_STATUS_INVALID_BUFFER'),
    387072: ResultInfo('FSA_STATUS_INVALID_ALIGNMENT'),
    387200: ResultInfo('FSA_STATUS_INVALID_CLIENT_HANDLE'),
    387328: ResultInfo('FSA_STATUS_INVALID_FILE_HANDLE'),
    387456: ResultInfo('FSA_STATUS_INVALID_DIR_HANDLE'),
    387584: ResultInfo('FSA_STATUS_NOT_FILE'),
    387712: ResultInfo('FSA_STATUS_NOT_DIR'),
    387840: ResultInfo('FSA_STATUS_FILE_TOO_BIG'),
    387968: ResultInfo('FSA_STATUS_OUT_OF_RANGE'),
    388096: ResultInfo('FSA_STATUS_OUT_OF_RESOURCES'),
    388224: ResultInfo('FSA_STATUS_MEDIA_NOT_READY'),
    388352: ResultInfo('FSA_STATUS_MEDIA_ERROR'),
    388480: ResultInfo('FSA_STATUS_WRITE_PROTECTED'),
    388608: ResultInfo('FSA_UNEXPECTED_ERROR'),
    396800: ResultInfo('MCP_ERROR'),
    396928: ResultInfo('MCP_RVAL_UNKNOWN_ERROR'),
    397056: ResultInfo('MCP_RVAL_SYSTEM_ERROR'),
    397184: ResultInfo('MCP_RVAL_ALLOC_ERROR'),
    397312: ResultInfo('MCP_RVAL_INVALID_OP_ERROR'),
    397440: ResultInfo('MCP_RVAL_INVALID_ARG_ERROR'),
    397568: ResultInfo('MCP_RVAL_INVALID_TYPE_ERROR'),
    397696: ResultInfo('MCP_RVAL_UNSUPPORTED_ERROR'),
    397824: ResultInfo('MCP_RVAL_ITEM_ACCESS_ERROR'),
    397952: ResultInfo('MCP_RVAL_KEY_NOT_FOUND_ERROR'),
    398080: ResultInfo('MCP_RVAL_BAD_MODIFY_ERROR'),
    398208: ResultInfo('MCP_RVAL_STRING_LENGTH_ERROR'),
    398336: ResultInfo('MCP_RVAL_INVALID_ROOTKEY_ERROR'),
    398464: ResultInfo('MCP_RVAL_INVALID_LOC_ERROR'),
    398592: ResultInfo('MCP_RVAL_BAD_COMMENT_ERROR'),
    398720: ResultInfo('MCP_RVAL_ACCESS_READ_ERROR'),
    398848: ResultInfo('MCP_RVAL_ACCESS_WRITE_ERROR'),
    398976: ResultInfo('MCP_RVAL_ACCESS_CREATE_ERROR'),
    399104: ResultInfo('MCP_RVAL_FILESYS_NAME_ERROR'),
    399232: ResultInfo('MCP_RVAL_FILESYS_INIT_ERROR'),
    399360: ResultInfo('MCP_RVAL_FILESYS_MOUNT_ERROR'),
    399488: ResultInfo('MCP_RVAL_FILE_OPEN_ERROR'),
    399616: ResultInfo('MCP_RVAL_FILE_STAT_ERROR'),
    399744: ResultInfo('MCP_RVAL_FILE_READ_ERROR'),
    399872: ResultInfo('MCP_RVAL_FILE_WRITE_ERROR'),
    400000: ResultInfo('MCP_RVAL_FILE_SIZE_ERROR'),
    400128: ResultInfo('MCP_RVAL_FILE_REMOVE_ERROR'),
    400256: ResultInfo('MCP_RVAL_FILE_RENAME_ERROR'),
    400384: ResultInfo('MCP_RVAL_FILE_CLOSE_ERROR'),
    400512: ResultInfo('MCP_RVAL_FILE_SEEK_ERROR'),
    400640: ResultInfo('MCP_RVAL_FILE_CONFIRM_ERROR'),
    400768: ResultInfo('MCP_RVAL_FILE_BACKUP_ERROR'),
    400896: ResultInfo('MCP_RVAL_FILE_MALFORMED_ERROR'),
    401024: ResultInfo('MCP_RVAL_VERSION_ERROR'),
    401152: ResultInfo('MCP_RVAL_NO_IPC_BUFFERS_ERROR'),
    401280: ResultInfo('MCP_RVAL_TIMEOUT_ERROR'),
    401408: ResultInfo('MCP_RVAL_FILE_LOCK_NEEDED_ERROR'),
    401536: ResultInfo('MCP_RVAL_SYSCTX_NOT_FOUND_ERROR'),
    401664: ResultInfo('MCP_RVAL_INVALID_TRIGGER_ERROR'),
    401792: ResultInfo('MCP_RVAL_TRIGGER_NOT_FOUND_ERROR'),
    401920: ResultInfo('MCP_RVAL_SYSPROT_INIT_ERROR'),
    402048: ResultInfo('MCP_RVAL_SYSPROT_MEMBLOCK_ERROR'),
    402176: ResultInfo('MCP_RVAL_SYSPROT_SRAM_ERROR'),
    402304: ResultInfo('MCP_RVAL_SYSPROT_DEVICES_ERROR'),
    402432: ResultInfo('MCP_RVAL_SYSPROT_FINE_GRAIN_ERROR'),
    402560: ResultInfo('MCP_RVAL_FILE_NOT_FOUND_ERROR'),
    402688: ResultInfo('MCP_RVAL_NOT_INSTALLED_ERROR'),
    402816: ResultInfo('MCP_RVAL_INCORRECT_VERSION_ERROR'),
    402944: ResultInfo('MCP_RVAL_DELAYED_REPLY'),
    403072: ResultInfo('MCP_RVAL_CONTENT_SOURCE_NOT_FOUND_ERROR'),
    403200: ResultInfo('MCP_RVAL_SYSHASH_NOT_INSTALLED_ERROR'),
    403328: ResultInfo('MCP_RVAL_NOT_FOUND_VERSION_LIST_ERROR'),
    403456: ResultInfo('MCP_RVAL_HASH_ENTRY_NOT_FOUND_ERROR'),
    403584: ResultInfo('MCP_RVAL_NEWER_VERSION_EXISTS_ERROR'),
    403712: ResultInfo('MCP_RVAL_TITLE_MUST_UPDATE_ERROR'),
    403840: ResultInfo('MCP_UNEXPECTED_ERROR'),
    403968: ResultInfo('MCP_RVAL_INSTALL_BUSY'),
    404096: ResultInfo('MCP_RVAL_INSTALL_SUSPENDED'),
    404224: ResultInfo('MCP_RVAL_INSTALL_NOT_FOUND_CONTEXT'),
    404352: ResultInfo('MCP_RVAL_INSTALL_NOT_SUSPENDABLE'),
    404480: ResultInfo('MCP_RVAL_INSTALL_INVALID_HANDLE'),
    404608: ResultInfo('MCP_RVAL_FILE_ALREADY_EXISTS_ERROR'),
    404736: ResultInfo('MCP_RVAL_CERT_NOT_FOUND_ERROR'),
    404864: ResultInfo('MCP_RVAL_TITLE_NOT_FOUND_ERROR'),
    404992: ResultInfo('MCP_RVAL_ALREADY_OPEN_ERROR'),
    405120: ResultInfo('MCP_RVAL_UNEXPECTD_IVS_TYPE_ERROR'),
    405248: ResultInfo('MCP_RVAL_IVS_VERIFICATION_ERROR'),
    405376: ResultInfo('MCP_RVAL_DEMOLAUNCH_INVALID_ID_ERROR'),
    405504: ResultInfo('MCP_RVAL_AUTHENTICATION_ERROR'),
    405632: ResultInfo('MCP_RVAL_STORAGE_FULL_ERROR'),
    405760: ResultInfo('MCP_RVAL_END_OF_DIRECTORY'),
    405888: ResultInfo('MCP_RVAL_WRITE_PROTECTED_ERROR'),
    406016: ResultInfo('MCP_RVAL_PACKAGE_NOT_ENTIRE'),
    406144: ResultInfo('MCP_RVAL_PACKAGE_UNEXPECTED_VERSION'),
    406272: ResultInfo('MCP_RVAL_INSTALL_UNRECOVERABLE'),
    409600: ResultInfo('UC_ERROR'),
    409728: ResultInfo('UC_RVAL_UNKNOWN_ERROR'),
    409856: ResultInfo('UC_RVAL_SYSTEM_ERROR'),
    409984: ResultInfo('UC_RVAL_ALLOC_ERROR'),
    410112: ResultInfo('UC_RVAL_INVALID_OP_ERROR'),
    410240: ResultInfo('UC_RVAL_INVALID_ARG_ERROR'),
    410368: ResultInfo('UC_RVAL_INVALID_TYPE_ERROR'),
    410496: ResultInfo('UC_RVAL_UNSUPPORTED_ERROR'),
    410624: ResultInfo('UC_RVAL_ITEM_ACCESS_ERROR'),
    410752: ResultInfo('UC_RVAL_KEY_NOT_FOUND_ERROR'),
    410880: ResultInfo('UC_RVAL_BAD_MODIFY_ERROR'),
    411008: ResultInfo('UC_RVAL_STRING_LENGTH_ERROR'),
    411136: ResultInfo('UC_RVAL_INVALID_ROOTKEY_ERROR'),
    411264: ResultInfo('UC_RVAL_INVALID_LOC_ERROR'),
    411392: ResultInfo('UC_RVAL_BAD_COMMENT_ERROR'),
    411520: ResultInfo('UC_RVAL_ACCESS_READ_ERROR'),
    411648: ResultInfo('UC_RVAL_ACCESS_WRITE_ERROR'),
    411776: ResultInfo('UC_RVAL_ACCESS_CREATE_ERROR'),
    411904: ResultInfo('UC_RVAL_FILESYS_NAME_ERROR'),
    412032: ResultInfo('UC_RVAL_FILESYS_INIT_ERROR'),
    412160: ResultInfo('UC_RVAL_FILESYS_MOUNT_ERROR'),
    412288: ResultInfo('UC_RVAL_FILE_OPEN_ERROR'),
    412416: ResultInfo('UC_RVAL_FILE_STAT_ERROR'),
    412544: ResultInfo('UC_RVAL_FILE_READ_ERROR'),
    412672: ResultInfo('UC_RVAL_FILE_WRITE_ERROR'),
    412800: ResultInfo('UC_RVAL_FILE_SIZE_ERROR'),
    412928: ResultInfo('UC_RVAL_FILE_REMOVE_ERROR'),
    413056: ResultInfo('UC_RVAL_FILE_RENAME_ERROR'),
    413184: ResultInfo('UC_RVAL_FILE_CLOSE_ERROR'),
    413312: ResultInfo('UC_RVAL_FILE_SEEK_ERROR'),
    413440: ResultInfo('UC_RVAL_FILE_CONFIRM_ERROR'),
    413568: ResultInfo('UC_RVAL_FILE_BACKUP_ERROR'),
    413696: ResultInfo('UC_RVAL_FILE_MALFORMED_ERROR'),
    413824: ResultInfo('UC_RVAL_VERSION_ERROR'),
    413952: ResultInfo('UC_RVAL_NO_IPC_BUFFERS_ERROR'),
    414080: ResultInfo('UC_RVAL_TIMEOUT_ERROR'),
    414208: ResultInfo('UC_RVAL_FILE_LOCK_NEEDED_ERROR'),
    414336: ResultInfo('UC_RVAL_SYSCTX_NOT_FOUND_ERROR'),
    414464: ResultInfo('UC_RVAL_INVALID_TRIGGER_ERROR'),
    414592: ResultInfo('UC_RVAL_TRIGGER_NOT_FOUND_ERROR'),
    414720: ResultInfo('UC_RVAL_SYSPROT_INIT_ERROR'),
    414848: ResultInfo('UC_RVAL_SYSPROT_MEMBLOCK_ERROR'),
    414976: ResultInfo('UC_RVAL_SYSPROT_SRAM_ERROR'),
    415104: ResultInfo('UC_RVAL_SYSPROT_DEVICES_ERROR'),
    415232: ResultInfo('UC_RVAL_SYSPROT_FINE_GRAIN_ERROR'),
    415360: ResultInfo('UC_RVAL_FILE_NOT_FOUND_ERROR'),
    415488: ResultInfo('UC_RVAL_INCORRECT_VERSION_ERROR'),
    415616: ResultInfo('UC_UNEXPECTED_ERROR'),
    435200: ResultInfo('IOS_ERROR'),
    435328: ResultInfo('IOS_ERROR_ACCESS'),
    435456: ResultInfo('IOS_ERROR_EXISTS'),
    435584: ResultInfo('IOS_ERROR_INTR'),
    435712: ResultInfo('IOS_ERROR_INVALID'),
    435840: ResultInfo('IOS_ERROR_MAX'),
    435968: ResultInfo('IOS_ERROR_NOEXISTS'),
    436096: ResultInfo('IOS_ERROR_QEMPTY'),
    436224: ResultInfo('IOS_ERROR_QFULL'),
    436352: ResultInfo('IOS_ERROR_UNKNOWN'),
    436480: ResultInfo('IOS_ERROR_NOTREADY'),
    436608: ResultInfo('IOS_ERROR_INVALID_OBJTYPE'),
    436736: ResultInfo('IOS_ERROR_INVALID_VERSION'),
    436864: ResultInfo('IOS_ERROR_INVALID_SIGNER'),
    436992: ResultInfo('IOS_ERROR_FAIL_CHECKVALUE'),
    437120: ResultInfo('IOS_ERROR_FAIL_INTERNAL'),
    437248: ResultInfo('IOS_ERROR_FAIL_ALLOC'),
    437376: ResultInfo('IOS_ERROR_INVALID_SIZE'),
    437504: ResultInfo('IOS_ERROR_NO_LINK'),
    437632: ResultInfo('IOS_ERROR_AN_FAILED'),
    437760: ResultInfo('IOS_ERROR_MAX_SEM_COUNT'),
    437888: ResultInfo('IOS_ERROR_SEM_UNAVAILABLE'),
    438016: ResultInfo('IOS_ERROR_INVALID_HANDLE'),
    438144: ResultInfo('IOS_ERROR_INVALID_ARG'),
    438272: ResultInfo('IOS_ERROR_NO_RESOURCE'),
    438400: ResultInfo('IOS_ERROR_BUSY'),
    438528: ResultInfo('IOS_ERROR_TIMEOUT'),
    438656: ResultInfo('IOS_ERROR_ALIGNMENT'),
    438784: ResultInfo('IOS_ERROR_BSP'),
    438912: ResultInfo('IOS_ERROR_DATA_PENDING'),
    439040: ResultInfo('IOS_ERROR_EXPIRED'),
    439168: ResultInfo('IOS_ERROR_NO_R_ACCESS'),
    439296: ResultInfo('IOS_ERROR_NO_W_ACCESS'),
    439424: ResultInfo('IOS_ERROR_NO_RW_ACCESS'),
    439552: ResultInfo('IOS_ERROR_CLIENT_TXN_LIMIT'),
    439680: ResultInfo('IOS_ERROR_UNEXPECTED'),
    448000: ResultInfo('BOSS_FS_ERROR'),
    448128: ResultInfo('BOSS_FS_ERROR_NOT_INIT'),
    448256: ResultInfo('BOSS_FS_ERROR_BUSY'),
    448384: ResultInfo('BOSS_FS_ERROR_CANCELED'),
    448512: ResultInfo('BOSS_FS_ERROR_END_OF_DIRECTORY'),
    448640: ResultInfo('BOSS_FS_ERROR_END_OF_FILE'),
    448768: ResultInfo('BOSS_FS_ERROR_MAX_MOUNTPOINTS'),
    448896: ResultInfo('BOSS_FS_ERROR_MAX_VOLUMES'),
    449024: ResultInfo('BOSS_FS_ERROR_MAX_CLIENTS'),
    449152: ResultInfo('BOSS_FS_ERROR_MAX_FILES'),
    449280: ResultInfo('BOSS_FS_ERROR_MAX_DIRS'),
    449408: ResultInfo('BOSS_FS_ERROR_ALREADY_OPEN'),
    449536: ResultInfo('BOSS_FS_ERROR_ALREADY_EXISTS'),
    449664: ResultInfo('BOSS_FS_ERROR_NOT_FOUND'),
    449792: ResultInfo('BOSS_FS_ERROR_NOT_EMPTY'),
    449920: ResultInfo('BOSS_FS_ERROR_ACCESS_ERROR'),
    450048: ResultInfo('BOSS_FS_ERROR_PERMISSION_ERROR'),
    450176: ResultInfo('BOSS_FS_ERROR_DATA_CORRUPTED'),
    450304: ResultInfo('BOSS_FS_ERROR_STORAGE_FULL'),
    450432: ResultInfo('BOSS_FS_ERROR_JOURNAL_FULL'),
    450560: ResultInfo('BOSS_FS_ERROR_UNAVAILABLE_CMD'),
    450688: ResultInfo('BOSS_FS_ERROR_UNSUPPORTED_CMD'),
    450816: ResultInfo('BOSS_FS_ERROR_INVALID_PARAM'),
    450944: ResultInfo('BOSS_FS_ERROR_INVALID_PATH'),
    451072: ResultInfo('BOSS_FS_ERROR_INVALID_BUFFER'),
    451200: ResultInfo('BOSS_FS_ERROR_INVALID_ALIGNMENT'),
    451328: ResultInfo('BOSS_FS_ERROR_INVALID_CLIENT_HANDLE'),
    451456: ResultInfo('BOSS_FS_ERROR_INVALID_FILE_HANDLE'),
    451584: ResultInfo('BOSS_FS_ERROR_INVALID_DIR_HANDLE'),
    451712: ResultInfo('BOSS_FS_ERROR_NOT_FILE'),
    451840: ResultInfo('BOSS_FS_ERROR_NOT_DIR'),
    451968: ResultInfo('BOSS_FS_ERROR_FILE_TOO_BIG'),
    452096: ResultInfo('BOSS_FS_ERROR_OUT_OF_RANGE'),
    452224: ResultInfo('BOSS_FS_ERROR_OUT_OF_RESOURCES'),
    452352: ResultInfo('BOSS_FS_ERROR_MEDIA_NOT_READY'),
    452480: ResultInfo('BOSS_FS_ERROR_MEDIA_ERROR'),
    452608: ResultInfo('BOSS_FS_ERROR_WRITE_PROTECTED'),
    452736: ResultInfo('BOSS_FS_ERROR_UNKNOWN'),
    453120: ResultInfo('BOSS_TASK_ERROR'),
    453248: ResultInfo('BOSS_TASK_TR_UNKNOWN'),
    453376: ResultInfo('BOSS_TASK_TR_SUCCESS'),
    453504: ResultInfo('BOSS_TASK_INVALID_TASKRECORD_VALUE'),
    453632: ResultInfo('BOSS_TASK_TR_LIBRARY_NOT_INITIALIZE'),
    453760: ResultInfo('BOSS_TASK_TR_INVALID_PARAMETER'),
    453888: ResultInfo('BOSS_TASK_TR_INVALID_FORMAT'),
    454016: ResultInfo('BOSS_TASK_TR_INITIALIZED'),
    454144: ResultInfo('BOSS_TASK_TR_NOT_EXIST'),
    454272: ResultInfo('BOSS_TASK_TR_UNEXPECT_ERROR'),
    454400: ResultInfo('BOSS_TASK_TR_CANCELED'),
    454528: ResultInfo('BOSS_TASK_TR_FS_ERROR'),
    454656: ResultInfo('BOSS_TASK_TR_HTTP_ERROR'),
    454784: ResultInfo('BOSS_TASK_TR_CANNOT_GET_NETWORK_TIME'),
    454912: ResultInfo('BOSS_TASK_TR_CANNOT_READ_SYSTEM_CONFIG'),
    455040: ResultInfo('BOSS_TASK_TR_NOT_NETWORK_ACCOUNT'),
    455168: ResultInfo('BOSS_TASK_TR_RESTRICTED_BY_PARENTAL_CONTROL'),
    455296: ResultInfo('BOSS_TASK_TASKSHEET_ERROR_HTTP'),
    455424: ResultInfo('BOSS_TASK_TASKSHEET_ERROR_INVALID_FORMAT'),
    455552: ResultInfo('BOSS_TASK_TASKSHEET_ERROR_BUFFER_OVERFLOW'),
    455680: ResultInfo('BOSS_TASK_TASKSHEET_ERROR_INVALID_TITLE_ID'),
    455808: ResultInfo('BOSS_TASK_TASKSHEET_ERROR_INVALID_TASK_ID'),
    455936: ResultInfo('BOSS_TASK_NBDL_ERROR_NSD_VERIFY_HASH'),
    456064: ResultInfo('BOSS_TASK_NBDL_ERROR_NSD_HASH_SIZE'),
    456192: ResultInfo('BOSS_TASK_NBDL_ERROR_NSD_INVALID_HEADER_FORMAT'),
    456320: ResultInfo('BOSS_TASK_NBDL_ERROR_NSD_DECRYPT_INITIALIZE_FAILED'),
    456448: ResultInfo('BOSS_TASK_NBDL_ERROR_NSD_INVALID_DATA_SIZE'),
    456576: ResultInfo('BOSS_TASK_NBDL_ERROR_GET_NEWS_STORAGE_INFO'),
    456704: ResultInfo('BOSS_TASK_NBDL_ERROR_PREPARE_BOSS_SAVEDATA_INFO'),
    456832: ResultInfo('BOSS_TASK_NBDL_ERROR_PREPARE_BOSS_STORAGE_INFO'),
    456960: ResultInfo('BOSS_TASK_NBDL_ERROR_CHECK_RESUME_FILE_EXIST'),
    457088: ResultInfo('BOSS_TASK_NBDL_ERROR_CHECK_DOWNLOAD_TARGET'),
    457216: ResultInfo('BOSS_TASK_NBDL_ERROR_CALCULATE_CONTENT_LENGTH'),
    457344: ResultInfo('BOSS_TASK_NBDL_ERROR_CHECK_BOSS_STORAGE_FILE_INFO'),
    457472: ResultInfo('BOSS_TASK_NBDL_ERROR_CHECK_BOSS_STORAGE_REFERENCE_INFO'),
    457600: ResultInfo('BOSS_TASK_NBDL_ERROR_CHECK_MAX_FILE_TOTAL_SIZE'),
    457728: ResultInfo('BOSS_TASK_NBDL_ERROR_DELETABLE_FILE_INFO_NOT_EXIST'),
    457856: ResultInfo('BOSS_TASK_NBDL_ERROR_DELETABLE_REFERENCE_INFO_NOT_EXIST'),
    457984: ResultInfo('BOSS_TASK_NBDL_ERROR_DOWNLOAD_FILE'),
    458112: ResultInfo('BOSS_TASK_NBDL_ERROR_DOWNLOAD_HTTP'),
    458240: ResultInfo('BOSS_TASK_NBDL_ERROR_GET_RESUME_FILE_INFO'),
    458368: ResultInfo('BOSS_TASK_NBDL_ERROR_SET_RESUME_FILE_INFO'),
    458496: ResultInfo('BOSS_TASK_NBDL_ERROR_UPDATE_BOSS_STORAGE_INFO'),
    458624: ResultInfo('BOSS_TASK_NBDL_ERROR_ROLLBACK_BOSS_STORAGE'),
    458752: ResultInfo('BOSS_TASK_TR_ERROR_SET_ACCOUNT_NEW_ARRIVAL_FLAG'),
    458880: ResultInfo('BOSS_TASK_TR_ERROR_SET_TITLE_NEW_ARRIVAL_FLAG'),
    459136: ResultInfo('BOSS_TASK_UNKNOWN'),
    459520: ResultInfo('BOSS_API_ERROR'),
    459648: ResultInfo('BOSS_API_NOT_INITIALIZED'),
    459776: ResultInfo('BOSS_API_LIBRARY_NOT_INITIALIZED'),
    459904: ResultInfo('BOSS_API_INVALID'),
    460032: ResultInfo('BOSS_API_INVALID_PARAMETER'),
    460160: ResultInfo('BOSS_API_INVALID_FORMAT'),
    460288: ResultInfo('BOSS_API_INITIALIZED'),
    460416: ResultInfo('BOSS_API_NOT_EXIST'),
    460544: ResultInfo('BOSS_API_FILE_NOT_EXIST'),
    460672: ResultInfo('BOSS_API_NOT_COMPLETED'),
    460800: ResultInfo('BOSS_API_FULL'),
    460928: ResultInfo('BOSS_API_FINISHED'),
    461056: ResultInfo('BOSS_API_NOT_PERMITTED'),
    461184: ResultInfo('BOSS_API_FAIL'),
    461312: ResultInfo('BOSS_API_NO_SUPPORT'),
    461440: ResultInfo('BOSS_API_HTTP_ERROR'),
    461568: ResultInfo('BOSS_API_CANCELED'),
    461696: ResultInfo('BOSS_API_STOPPED_BY_POLICYLIST'),
    461952: ResultInfo('BOSS_API_UNKNOWN'),
    462080: ResultInfo('BOSS_API_FS_ERROR'),
    462208: ResultInfo('BOSS_API_FS_ERROR_NOT_INIT'),
    462336: ResultInfo('BOSS_API_FS_ERROR_BUSY'),
    462464: ResultInfo('BOSS_API_FS_ERROR_CANCELED'),
    462592: ResultInfo('BOSS_API_FS_ERROR_END_OF_DIRECTORY'),
    462720: ResultInfo('BOSS_API_FS_ERROR_END_OF_FILE'),
    462848: ResultInfo('BOSS_API_FS_ERROR_MAX_MOUNTPOINTS'),
    462976: ResultInfo('BOSS_API_FS_ERROR_MAX_VOLUMES'),
    463104: ResultInfo('BOSS_API_FS_ERROR_MAX_CLIENTS'),
    463232: ResultInfo('BOSS_API_FS_ERROR_MAX_FILES'),
    463360: ResultInfo('BOSS_API_FS_ERROR_MAX_DIRS'),
    463488: ResultInfo('BOSS_API_FS_ERROR_ALREADY_OPEN'),
    463616: ResultInfo('BOSS_API_FS_ERROR_ALREADY_EXISTS'),
    463744: ResultInfo('BOSS_API_FS_ERROR_NOT_FOUND'),
    463872: ResultInfo('BOSS_API_FS_ERROR_NOT_EMPTY'),
    464000: ResultInfo('BOSS_API_FS_ERROR_ACCESS_ERROR'),
    464128: ResultInfo('BOSS_API_FS_ERROR_PERMISSION_ERROR'),
    464256: ResultInfo('BOSS_API_FS_ERROR_DATA_CORRUPTED'),
    464384: ResultInfo('BOSS_API_FS_ERROR_STORAGE_FULL'),
    464512: ResultInfo('BOSS_API_FS_ERROR_JOURNAL_FULL'),
    464640: ResultInfo('BOSS_API_FS_ERROR_UNAVAILABLE_CMD'),
    464768: ResultInfo('BOSS_API_FS_ERROR_UNSUPPORTED_CMD'),
    464896: ResultInfo('BOSS_API_FS_ERROR_INVALID_PARAM'),
    465024: ResultInfo('BOSS_API_FS_ERROR_INVALID_PATH'),
    465152: ResultInfo('BOSS_API_FS_ERROR_INVALID_BUFFER'),
    465280: ResultInfo('BOSS_API_FS_ERROR_INVALID_ALIGNMENT'),
    465408: ResultInfo('BOSS_API_FS_ERROR_INVALID_CLIENT_HANDLE'),
    465536: ResultInfo('BOSS_API_FS_ERROR_INVALID_FILE_HANDLE'),
    465664: ResultInfo('BOSS_API_FS_ERROR_INVALID_DIR_HANDLE'),
    465792: ResultInfo('BOSS_API_FS_ERROR_NOT_FILE'),
    465920: ResultInfo('BOSS_API_FS_ERROR_NOT_DIR'),
    466048: ResultInfo('BOSS_API_FS_ERROR_FILE_TOO_BIG'),
    466176: ResultInfo('BOSS_API_FS_ERROR_OUT_OF_RANGE'),
    466304: ResultInfo('BOSS_API_FS_ERROR_OUT_OF_RESOURCES'),
    466432: ResultInfo('BOSS_API_FS_ERROR_MEDIA_NOT_READY'),
    466560: ResultInfo('BOSS_API_FS_ERROR_MEDIA_ERROR'),
    466688: ResultInfo('BOSS_API_FS_ERROR_WRITE_PROTECTED'),
    466816: ResultInfo('BOSS_API_FS_ERROR_UNKNOWN'),
    466944: ResultInfo('BOSS_API_MEMORY_ALLOCATE_ERROR'),
    467072: ResultInfo('BOSS_API_INITIALIZE_ERROR'),
    467328: ResultInfo('BOSS_API_INVALID_ACCOUNT'),
    467456: ResultInfo('BOSS_API_INVALID_TITLE'),
    467584: ResultInfo('BOSS_API_CANNOT_GET_NETWORK_TIME'),
    467840: ResultInfo('BOSS_API_NOT_NETWORK_ACCOUNT'),
    467968: ResultInfo('BOSS_API_ALREADY_EXIST'),
    468096: ResultInfo('BOSS_API_UNEXPECT'),
    471040: ResultInfo('MCP_ES_ERROR'),
    471168: ResultInfo('MCP_ES_ERROR_UNKNOWN'),
    471296: ResultInfo('MCP_ES_ERROR_FAIL'),
    471424: ResultInfo('MCP_ES_ERROR_INVALID'),
    471552: ResultInfo('MCP_ES_ERROR_STORAGE'),
    471680: ResultInfo('MCP_ES_ERROR_STORAGE_SIZE'),
    471808: ResultInfo('MCP_ES_ERROR_CRYPTO'),
    471936: ResultInfo('MCP_ES_ERROR_VERIFICATION'),
    472064: ResultInfo('MCP_ES_ERROR_DEVICE_ID_MISMATCH'),
    472192: ResultInfo('MCP_ES_ERROR_ISSUER_NOT_FOUND'),
    472320: ResultInfo('MCP_ES_ERROR_INCORRECT_SIG_TYPE'),
    472448: ResultInfo('MCP_ES_ERROR_INCORRECT_PUBKEY_TYPE'),
    472576: ResultInfo('MCP_ES_ERROR_INCORRECT_TICKET_VERSION'),
    472704: ResultInfo('MCP_ES_ERROR_INCORRECT_TMD_VERSION'),
    472832: ResultInfo('MCP_ES_ERROR_NO_RIGHT'),
    472960: ResultInfo('MCP_ES_ERROR_ALIGNMENT'),
    473088: ResultInfo('MCP_ES_ERROR_INIT'),
    473216: ResultInfo('MCP_ES_ERROR_EXT_FAIL'),
    473344: ResultInfo('MCP_ES_ERROR_EXT_EXISTS'),
    473472: ResultInfo('MCP_ES_ERROR_EXT_NO_EXISTS'),
    476160: ResultInfo('MCP_IOSC_ERROR'),
    476288: ResultInfo('MCP_IOSC_ERROR_UNKNOWN'),
    476416: ResultInfo('MCP_IOSC_ERROR_ACCESS'),
    476544: ResultInfo('MCP_IOSC_ERROR_EXISTS'),
    476672: ResultInfo('MCP_IOSC_ERROR_INVALID'),
    476800: ResultInfo('MCP_IOSC_ERROR_MAX'),
    476928: ResultInfo('MCP_IOSC_ERROR_NOEXISTS'),
    477056: ResultInfo('MCP_IOSC_ERROR_INVALID_OBJTYPE'),
    477184: ResultInfo('MCP_IOSC_ERROR_INVALID_RNG'),
    477312: ResultInfo('MCP_IOSC_ERROR_INVALID_FLAG'),
    477440: ResultInfo('MCP_IOSC_ERROR_INVALID_FORMAT'),
    477568: ResultInfo('MCP_IOSC_ERROR_INVALID_VERSION'),
    477696: ResultInfo('MCP_IOSC_ERROR_INVALID_SIGNER'),
    477824: ResultInfo('MCP_IOSC_ERROR_FAIL_CHECKVALUE'),
    477952: ResultInfo('MCP_IOSC_ERROR_FAIL_INTERNAL'),
    478080: ResultInfo('MCP_IOSC_ERROR_FAIL_ALLOC'),
    478208: ResultInfo('MCP_IOSC_ERROR_INVALID_SIZE'),
    478336: ResultInfo('MCP_IOSC_ERROR_INVALID_ADDR'),
    478464: ResultInfo('MCP_IOSC_ERROR_INVALID_ALIGN'),
    480000: ResultInfo('ACP_ERROR'),
    480128: ResultInfo('ACP_ERROR_UNKNOWN'),
    480256: ResultInfo('ACP_ERROR_FAIL'),
    480384: ResultInfo('ACP_ERROR_INVALID'),
    480512: ResultInfo('ACP_ERROR_INVALID_PARAM'),
    480640: ResultInfo('ACP_ERROR_INVALID_FILE'),
    480768: ResultInfo('ACP_ERROR_INVALID_XML_FILE'),
    480896: ResultInfo('ACP_ERROR_INVALID_FILE_ACCESS_MODE'),
    481024: ResultInfo('ACP_ERROR_INVALID_NETWORK_TIME'),
    481152: ResultInfo('ACP_ERROR_NOT_FOUND'),
    481280: ResultInfo('ACP_ERROR_FILE_NOT_FOUND'),
    481408: ResultInfo('ACP_ERROR_DIR_NOT_FOUND'),
    481536: ResultInfo('ACP_ERROR_DEVICE_NOT_FOUND'),
    481664: ResultInfo('ACP_ERROR_TITLE_NOT_FOUND'),
    481792: ResultInfo('ACP_ERROR_APPLICATION_NOT_FOUND'),
    481920: ResultInfo('ACP_ERROR_SYSTEM_CONFIG_NOT_FOUND'),
    482048: ResultInfo('ACP_ERROR_XML_ITEM_NOT_FOUND'),
    482176: ResultInfo('ACP_ERROR_ALREADY_EXISTS'),
    482304: ResultInfo('ACP_ERROR_FILE_ALREADY_EXISTS'),
    482432: ResultInfo('ACP_ERROR_DIR_ALREADY_EXISTS'),
    482560: ResultInfo('ACP_ERROR_ALREADY_DONE'),
    482688: ResultInfo('ACP_ERROR_AUTH_ERROR'),
    482816: ResultInfo('ACP_ERROR_INVALID_REGION'),
    482944: ResultInfo('ACP_ERROR_RESTRICTED_RATING'),
    483072: ResultInfo('ACP_ERROR_NOTPRESENT_RATING'),
    483200: ResultInfo('ACP_ERROR_PENDING_RATING'),
    483328: ResultInfo('ACP_ERROR_NETSETTING_REQUIRED'),
    483456: ResultInfo('ACP_ERROR_NETACCOUNT_REQUIRED'),
    483584: ResultInfo('ACP_ERROR_NETACCOUNT_ERROR'),
    483712: ResultInfo('ACP_ERROR_BROWSER_REQUIRED'),
    483840: ResultInfo('ACP_ERROR_OLV_REQUIRED'),
    483968: ResultInfo('ACP_ERROR_PINCODE_REQUIRED'),
    484096: ResultInfo('ACP_ERROR_INCORRECT_PINCODE'),
    484224: ResultInfo('ACP_ERROR_INVALID_LOGO'),
    484352: ResultInfo('ACP_ERROR_DEMO_EXPIRED_NUMBER'),
    484480: ResultInfo('ACP_ERROR_DRC_REQUIRED'),
    484608: ResultInfo('ACP_ERROR_PERMISSION_ERROR'),
    484736: ResultInfo('ACP_ERROR_NO_FILE_PERMISSION'),
    484864: ResultInfo('ACP_ERROR_NO_DIR_PERMISSION'),
    484992: ResultInfo('ACP_ERROR_BUSY'),
    485120: ResultInfo('ACP_ERROR_CANCELED'),
    485248: ResultInfo('ACP_ERROR_RESOURCE_ERROR'),
    485376: ResultInfo('ACP_ERROR_DEVICE_FULL'),
    485504: ResultInfo('ACP_ERROR_JOURNAL_FULL'),
    485632: ResultInfo('ACP_ERROR_SYSTEM_MEMORY'),
    485760: ResultInfo('ACP_ERROR_FS_RESOURCE'),
    485888: ResultInfo('ACP_ERROR_IPC_RESOURCE'),
    486016: ResultInfo('ACP_ERROR_NOT_INITIALIZED'),
    486144: ResultInfo('ACP_ERROR_ACCOUNT_ERROR'),
    486272: ResultInfo('ACP_ERROR_UNSUPPORTED'),
    486400: ResultInfo('ACP_ERROR_DEVICE_ERROR'),
    486528: ResultInfo('ACP_ERROR_DATA_CORRUPTED'),
    486656: ResultInfo('ACP_ERROR_SLC_DATA_CORRUPTED'),
    486784: ResultInfo('ACP_ERROR_MLC_DATA_CORRUPTED'),
    486912: ResultInfo('ACP_ERROR_USB_DATA_CORRUPTED'),
    487040: ResultInfo('ACP_ERROR_MEDIA_ERROR'),
    487168: ResultInfo('ACP_ERROR_MEDIA_NOTREADY'),
    487296: ResultInfo('ACP_ERROR_MEDIA_BROKEN'),
    487424: ResultInfo('ACP_ERROR_ODD_MEDIA_NOTREADY'),
    487552: ResultInfo('ACP_ERROR_ODD_MEDIA_BROKEN'),
    487680: ResultInfo('ACP_ERROR_USB_MEDIA_NOTREADY'),
    487808: ResultInfo('ACP_ERROR_USB_MEDIA_BROKEN'),
    487936: ResultInfo('ACP_ERROR_MEDIA_WRITE_PROTECTED'),
    488064: ResultInfo('ACP_ERROR_USB_MEDIA_WRITE_PROTECTED'),
    488192: ResultInfo('ACP_ERROR_MII_ERROR'),
    488320: ResultInfo('ACP_ERROR_MII_ENCRYPTION_ERROR'),
    488448: ResultInfo('ACP_ERROR_INTERNAL_ERROR'),
    488576: ResultInfo('ACP_ERROR_INTERNAL_RESOUCE_ERROR'),
    488704: ResultInfo('ACP_ERROR_FATAL_ERROR'),
    488832: ResultInfo('ACP_ERROR_USB_STORAGE_NOT_READY'),
    492800: ResultInfo('MCP_ES_FS_ERROR'),
    492928: ResultInfo('MCP_ES_FS_ERROR_NOT_INIT'),
    493056: ResultInfo('MCP_ES_FS_ERROR_BUSY'),
    493184: ResultInfo('MCP_ES_FS_ERROR_CANCELED'),
    493312: ResultInfo('MCP_ES_FS_ERROR_END_OF_DIRECTORY'),
    493440: ResultInfo('MCP_ES_FS_ERROR_END_OF_FILE'),
    493568: ResultInfo('MCP_ES_FS_ERROR_MAX_MOUNTPOINTS'),
    493696: ResultInfo('MCP_ES_FS_ERROR_MAX_VOLUMES'),
    493824: ResultInfo('MCP_ES_FS_ERROR_MAX_CLIENTS'),
    493952: ResultInfo('MCP_ES_FS_ERROR_MAX_FILES'),
    494080: ResultInfo('MCP_ES_FS_ERROR_MAX_DIRS'),
    494208: ResultInfo('MCP_ES_FS_ERROR_ALREADY_OPEN'),
    494336: ResultInfo('MCP_ES_FS_ERROR_NOT_EMPTY'),
    494464: ResultInfo('MCP_ES_FS_ERROR_ACCESS_ERROR'),
    494592: ResultInfo('MCP_ES_FS_ERROR_PERMISSION_ERROR'),
    494720: ResultInfo('MCP_ES_FS_ERROR_DATA_CORRUPTED'),
    494848: ResultInfo('MCP_ES_FS_ERROR_STORAGE_FULL'),
    494976: ResultInfo('MCP_ES_FS_ERROR_JOURNAL_FULL'),
    495104: ResultInfo('MCP_ES_FS_ERROR_LINK_ENTRY'),
    495232: ResultInfo('MCP_ES_FS_ERROR_UNAVAILABLE_CMD'),
    495360: ResultInfo('MCP_ES_FS_ERROR_UNSUPPORTED_CMD'),
    495488: ResultInfo('MCP_ES_FS_ERROR_INVALID_PARAM'),
    495616: ResultInfo('MCP_ES_FS_ERROR_INVALID_PATH'),
    495744: ResultInfo('MCP_ES_FS_ERROR_INVALID_BUFFER'),
    495872: ResultInfo('MCP_ES_FS_ERROR_INVALID_ALIGNMENT'),
    496000: ResultInfo('MCP_ES_FS_ERROR_INVALID_CLIENT_HANDLE'),
    496128: ResultInfo('MCP_ES_FS_ERROR_INVALID_FILE_HANDLE'),
    496256: ResultInfo('MCP_ES_FS_ERROR_INVALID_DIR_HANDLE'),
    496384: ResultInfo('MCP_ES_FS_ERROR_NOT_FILE'),
    496512: ResultInfo('MCP_ES_FS_ERROR_NOT_DIR'),
    496640: ResultInfo('MCP_ES_FS_ERROR_FILE_TOO_BIG'),
    496768: ResultInfo('MCP_ES_FS_ERROR_OUT_OF_RANGE'),
    496896: ResultInfo('MCP_ES_FS_ERROR_OUT_OF_RESOURCES'),
    497024: ResultInfo('MCP_ES_FS_ERROR_MEDIA_NOT_READY'),
    497152: ResultInfo('MCP_ES_FS_ERROR_MEDIA_ERROR'),
    497280: ResultInfo('MCP_ES_FS_ERROR_WRITE_PROTECTED'),
    497408: ResultInfo('MCP_ES_FS_ERROR_UNKNOWN_ERROR')
})

pdm = Module('pdm', {
    12800: ResultInfo('NOT_INITIALIZED'),
    25600: ResultInfo('INVALID_ARGUMENT'),
    25728: ResultInfo('INVALID_POINTER'),
    25856: ResultInfo('OUT_OF_RANGE'),
    25984: ResultInfo('TOO_LARGE'),
    26112: ResultInfo('INVALID_VALUE'),
    38400: ResultInfo('ALREADY_INITIALIZED'),
    51200: ResultInfo('NOT_FOUND'),
    51328: ResultInfo('ACCOUNT_NOT_FOUND'),
    51456: ResultInfo('DATA_NOT_FOUND'),
    63744: ResultInfo('QUOTA_NOT_FOUND'),
    524160: ResultInfo('UNEXPECTED')
})

act = Module('act', {
    0: ResultInfo('MY_SUCCESS'),
    128: ResultInfo('MAIL_ADDRESS_NOT_CONFIRMED'),
    64000: ResultInfo('LIBRARY_ERROR'),
    64128: ResultInfo('NOT_INITIALIZED'),
    64256: ResultInfo('ALREADY_INITIALIZED'),
    65408: ResultInfo('BUSY'),
    75648: ResultInfo('NOT_IMPLEMENTED'),
    75776: ResultInfo('DEPRECATED'),
    75904: ResultInfo('DEVELOPMENT_ONLY'),
    76800: ResultInfo('INVALID_ARGUMENT'),
    76928: ResultInfo('INVALID_POINTER'),
    77056: ResultInfo('OUT_OF_RANGE'),
    77184: ResultInfo('INVALID_SIZE'),
    77312: ResultInfo('INVALID_FORMAT'),
    77440: ResultInfo('INVALID_HANDLE'),
    77568: ResultInfo('INVALID_VALUE'),
    89600: ResultInfo('INTERNAL_ERROR'),
    89728: ResultInfo('END_OF_STREAM'),
    90880: ResultInfo('FILE_ERROR'),
    91008: ResultInfo('FILE_NOT_FOUND'),
    91136: ResultInfo('FILE_VERSION_MISMATCH'),
    91264: ResultInfo('FILE_IO_ERROR'),
    91392: ResultInfo('FILE_TYPE_MISMATCH'),
    93440: ResultInfo('OUT_OF_RESOURCE'),
    93568: ResultInfo('SHORT_OF_BUFFER'),
    94720: ResultInfo('OUT_OF_MEMORY'),
    94848: ResultInfo('OUT_OF_GLOBAL_HEAP'),
    94976: ResultInfo('OUT_OF_CROSS_PROCESS_HEAP'),
    95104: ResultInfo('OUT_OF_PROCESS_LOCAL_HEAP'),
    95232: ResultInfo('OUT_OF_MXML_HEAP'),
    102400: ResultInfo('UC_ERROR'),
    102528: ResultInfo('UC_OPEN_ERROR'),
    102656: ResultInfo('UC_READ_SYS_CONFIG_ERROR'),
    103680: ResultInfo('MCP_ERROR'),
    103808: ResultInfo('MCP_OPEN_ERROR'),
    103936: ResultInfo('MCP_GET_INFO_ERROR'),
    104960: ResultInfo('ISO_ERROR'),
    105088: ResultInfo('ISO_INIT_FAILURE'),
    105216: ResultInfo('ISO_GET_COUNTRY_CODE_FAILURE'),
    105344: ResultInfo('ISO_GET_LANGUAGE_CODE_FAILURE'),
    108800: ResultInfo('MXML_ERROR'),
    115200: ResultInfo('IOS_ERROR'),
    115328: ResultInfo('IOS_OPEN_ERROR'),
    128000: ResultInfo('ACCOUNT_MANAGEMENT_ERROR'),
    128128: ResultInfo('ACCOUNT_NOT_FOUND'),
    128256: ResultInfo('SLOTS_FULL'),
    129408: ResultInfo('ACCOUNT_NOT_LOADED'),
    129536: ResultInfo('ACCOUNT_ALREADY_LOADED'),
    129664: ResultInfo('ACCOUNT_LOCKED'),
    130688: ResultInfo('NOT_NETWORK_ACCOUNT'),
    130816: ResultInfo('NOT_LOCAL_ACCOUNT'),
    130944: ResultInfo('ACCOUNT_NOT_COMMITTED'),
    140928: ResultInfo('NETWORK_CLOCK_INVALID'),
    256000: ResultInfo('AUTHENTICATION_ERROR'),
    268800: ResultInfo('HTTP_ERROR'),
    268928: ResultInfo('HTTP_UNSUPPORTED_PROTOCOL'),
    269056: ResultInfo('HTTP_FAILED_INIT'),
    269184: ResultInfo('HTTP_URL_MALFORMAT'),
    269312: ResultInfo('HTTP_NOT_BUILT_IN'),
    269440: ResultInfo('HTTP_COULDNT_RESOLVE_PROXY'),
    269568: ResultInfo('HTTP_COULDNT_RESOLVE_HOST'),
    269696: ResultInfo('HTTP_COULDNT_CONNECT'),
    269824: ResultInfo('HTTP_FTP_WEIRD_SERVER_REPLY'),
    269952: ResultInfo('HTTP_REMOTE_ACCESS_DENIED'),
    270080: ResultInfo('HTTP_OBSOLETE10'),
    270208: ResultInfo('HTTP_FTP_WEIRD_PASS_REPLY'),
    270336: ResultInfo('HTTP_OBSOLETE12'),
    270464: ResultInfo('HTTP_FTP_WEIRD_PASV_REPLY'),
    270592: ResultInfo('HTTP_FTP_WEIRD_227_FORMAT'),
    270720: ResultInfo('HTTP_FTP_CANT_GET_HOST'),
    270848: ResultInfo('HTTP_OBSOLETE16'),
    270976: ResultInfo('HTTP_FTP_COULDNT_SET_TYPE'),
    271104: ResultInfo('HTTP_PARTIAL_FILE'),
    271232: ResultInfo('HTTP_FTP_COULDNT_RETR_FILE'),
    271360: ResultInfo('HTTP_OBSOLETE20'),
    271488: ResultInfo('HTTP_QUOTE_ERROR'),
    271616: ResultInfo('HTTP_HTTP_RETURNED_ERROR'),
    271744: ResultInfo('HTTP_WRITE_ERROR'),
    271872: ResultInfo('HTTP_OBSOLETE24'),
    272000: ResultInfo('HTTP_UPLOAD_FAILED'),
    272128: ResultInfo('HTTP_READ_ERROR'),
    272256: ResultInfo('HTTP_OUT_OF_MEMORY'),
    272384: ResultInfo('HTTP_OPERATION_TIMEDOUT'),
    272512: ResultInfo('HTTP_OBSOLETE29'),
    272640: ResultInfo('HTTP_FTP_PORT_FAILED'),
    272768: ResultInfo('HTTP_FTP_COULDNT_USE_REST'),
    272896: ResultInfo('HTTP_OBSOLETE32'),
    273024: ResultInfo('HTTP_RANGE_ERROR'),
    273152: ResultInfo('HTTP_HTTP_POST_ERROR'),
    273280: ResultInfo('HTTP_SSL_CONNECT_ERROR'),
    273408: ResultInfo('HTTP_BAD_DOWNLOAD_RESUME'),
    273536: ResultInfo('HTTP_FILE_COULDNT_READ_FILE'),
    273664: ResultInfo('HTTP_LDAP_CANNOT_BIND'),
    273792: ResultInfo('HTTP_LDAP_SEARCH_FAILED'),
    273920: ResultInfo('HTTP_OBSOLETE40'),
    274048: ResultInfo('HTTP_FUNCTION_NOT_FOUND'),
    274176: ResultInfo('HTTP_ABORTED_BY_CALLBACK'),
    274304: ResultInfo('HTTP_BAD_FUNCTION_ARGUMENT'),
    274432: ResultInfo('HTTP_OBSOLETE44'),
    274560: ResultInfo('HTTP_INTERFACE_FAILED'),
    274688: ResultInfo('HTTP_OBSOLETE46'),
    274816: ResultInfo('HTTP_TOO_MANY_REDIRECTS'),
    274944: ResultInfo('HTTP_UNKNOWN_OPTION'),
    275072: ResultInfo('HTTP_TELNET_OPTION_SYNTAX'),
    275200: ResultInfo('HTTP_OBSOLETE50'),
    275328: ResultInfo('HTTP_PEER_FAILED_VERIFICATION'),
    275456: ResultInfo('HTTP_GOT_NOTHING'),
    275584: ResultInfo('HTTP_SSL_ENGINE_NOTFOUND'),
    275712: ResultInfo('HTTP_SSL_ENGINE_SETFAILED'),
    275840: ResultInfo('HTTP_SEND_ERROR'),
    275968: ResultInfo('HTTP_RECV_ERROR'),
    276096: ResultInfo('HTTP_OBSOLETE57'),
    276224: ResultInfo('HTTP_SSL_CERTPROBLEM'),
    276352: ResultInfo('HTTP_SSL_CIPHER'),
    276480: ResultInfo('HTTP_SSL_CACERT'),
    276608: ResultInfo('HTTP_BAD_CONTENT_ENCODING'),
    276736: ResultInfo('HTTP_LDAP_INVALID_URL'),
    276864: ResultInfo('HTTP_FILESIZE_EXCEEDED'),
    276992: ResultInfo('HTTP_USE_SSL_FAILED'),
    277120: ResultInfo('HTTP_SEND_FAIL_REWIND'),
    277248: ResultInfo('HTTP_SSL_ENGINE_INITFAILED'),
    277376: ResultInfo('HTTP_LOGIN_DENIED'),
    277504: ResultInfo('HTTP_TFTP_NOTFOUND'),
    277632: ResultInfo('HTTP_TFTP_PERM'),
    277760: ResultInfo('HTTP_REMOTE_DISK_FULL'),
    277888: ResultInfo('HTTP_TFTP_ILLEGAL'),
    278016: ResultInfo('HTTP_TFTP_UNKNOWNID'),
    278144: ResultInfo('HTTP_REMOTE_FILE_EXISTS'),
    278272: ResultInfo('HTTP_TFTP_NOSUCHUSER'),
    278400: ResultInfo('HTTP_CONV_FAILED'),
    278528: ResultInfo('HTTP_CONV_REQD'),
    278656: ResultInfo('HTTP_SSL_CACERT_BADFILE'),
    278784: ResultInfo('HTTP_REMOTE_FILE_NOT_FOUND'),
    278912: ResultInfo('HTTP_SSH'),
    279040: ResultInfo('HTTP_SSL_SHUTDOWN_FAILED'),
    279168: ResultInfo('HTTP_AGAIN'),
    279296: ResultInfo('HTTP_SSL_CRL_BADFILE'),
    279424: ResultInfo('HTTP_SSL_ISSUER_ERROR'),
    279552: ResultInfo('HTTP_FTP_PRET_FAILED'),
    279680: ResultInfo('HTTP_RTSP_CSEQ_ERROR'),
    279808: ResultInfo('HTTP_RTSP_SESSION_ERROR'),
    279936: ResultInfo('HTTP_FTP_BAD_FILE_LIST'),
    280064: ResultInfo('HTTP_CHUNK_FAILED'),
    280192: ResultInfo('HTTP_NSSL_NO_CTX'),
    282880: ResultInfo('SO_ERROR'),
    283008: ResultInfo('SO_SELECT_ERROR'),
    307200: ResultInfo('REQUEST_ERROR'),
    307328: ResultInfo('BAD_FORMAT_PARAMETER'),
    307456: ResultInfo('BAD_FORMAT_REQUEST'),
    307584: ResultInfo('REQUEST_PARAMETER_MISSING'),
    307712: ResultInfo('WRONG_HTTP_METHOD'),
    309760: ResultInfo('RESPONSE_ERROR'),
    309888: ResultInfo('BAD_FORMAT_RESPONSE'),
    310016: ResultInfo('RESPONSE_ITEM_MISSING'),
    310144: ResultInfo('RESPONSE_TOO_LARGE'),
    312448: ResultInfo('NOT_MODIFIED'),
    313600: ResultInfo('INVALID_COMMON_PARAMETER'),
    313728: ResultInfo('INVALID_PLATFORM_ID'),
    313856: ResultInfo('UNAUTHORIZED_DEVICE'),
    313984: ResultInfo('INVALID_SERIAL_ID'),
    314112: ResultInfo('INVALID_MAC_ADDRESS'),
    314240: ResultInfo('INVALID_REGION'),
    314368: ResultInfo('INVALID_COUNTRY'),
    314496: ResultInfo('INVALID_LANGUAGE'),
    314624: ResultInfo('UNAUTHORIZED_CLIENT'),
    314752: ResultInfo('DEVICE_ID_EMPTY'),
    314880: ResultInfo('SERIAL_ID_EMPTY'),
    315008: ResultInfo('PLATFORM_ID_EMPTY'),
    316288: ResultInfo('INVALID_UNIQUE_ID'),
    316416: ResultInfo('INVALID_CLIENT_ID'),
    316544: ResultInfo('INVALID_CLIENT_KEY'),
    317568: ResultInfo('INVALID_NEX_CLIENT_ID'),
    317696: ResultInfo('INVALID_GAME_SERVER_ID'),
    317824: ResultInfo('GAME_SERVER_ID_ENVIRONMENT_NOT_FOUND'),
    317952: ResultInfo('GAME_SERVER_ID_UNIQUE_ID_NOT_LINKED'),
    318080: ResultInfo('CLIENT_ID_UNIQUE_ID_NOT_LINKED'),
    320128: ResultInfo('DEVICE_MISMATCH'),
    320256: ResultInfo('COUNTRY_MISMATCH'),
    320384: ResultInfo('EULA_NOT_ACCEPTED'),
    321280: ResultInfo('UPDATE_REQUIRED'),
    321408: ResultInfo('SYSTEM_UPDATE_REQUIRED'),
    321536: ResultInfo('APPLICATION_UPDATE_REQUIRED'),
    322560: ResultInfo('UNAUTHORIZED_REQUEST'),
    322816: ResultInfo('REQUEST_FORBIDDEN'),
    323840: ResultInfo('RESOURCE_NOT_FOUND'),
    323968: ResultInfo('PID_NOT_FOUND'),
    324096: ResultInfo('NEX_ACCOUNT_NOT_FOUND'),
    324224: ResultInfo('GENERATE_TOKEN_FAILURE'),
    324352: ResultInfo('REQUEST_NOT_FOUND'),
    324480: ResultInfo('MASTER_PIN_NOT_FOUND'),
    324608: ResultInfo('MAIL_TEXT_NOT_FOUND'),
    324736: ResultInfo('SEND_MAIL_FAILURE'),
    324864: ResultInfo('APPROVAL_ID_NOT_FOUND'),
    325120: ResultInfo('INVALID_EULA_PARAMETER'),
    325248: ResultInfo('INVALID_EULA_COUNTRY'),
    325376: ResultInfo('INVALID_EULA_COUNTRY_AND_VERSION'),
    325504: ResultInfo('EULA_NOT_FOUND'),
    328960: ResultInfo('PHRASE_NOT_ACCEPTABLE'),
    329088: ResultInfo('ACCOUNT_ID_ALREADY_EXISTS'),
    329216: ResultInfo('ACCOUNT_ID_NOT_ACCEPTABLE'),
    329344: ResultInfo('ACCOUNT_PASSWORD_NOT_ACCEPTABLE'),
    329472: ResultInfo('MII_NAME_NOT_ACCEPTABLE'),
    329600: ResultInfo('MAIL_ADDRESS_NOT_ACCEPTABLE'),
    329728: ResultInfo('ACCOUNT_ID_FORMAT_INVALID'),
    329856: ResultInfo('ACCOUNT_ID_PASSWORD_SAME'),
    329984: ResultInfo('ACCOUNT_ID_CHAR_NOT_ACCEPTABLE'),
    330112: ResultInfo('ACCOUNT_ID_SUCCESSIVE_SYMBOL'),
    330240: ResultInfo('ACCOUNT_ID_SYMBOL_POSITION_NOT_ACCEPTABLE'),
    330368: ResultInfo('ACCOUNT_ID_TOO_MANY_DIGIT'),
    330496: ResultInfo('ACCOUNT_PASSWORD_CHAR_NOT_ACCEPTABLE'),
    330624: ResultInfo('ACCOUNT_PASSWORD_TOO_FEW_CHAR_TYPES'),
    330752: ResultInfo('ACCOUNT_PASSWORD_SUCCESSIVE_SAME_CHAR'),
    330880: ResultInfo('MAIL_ADDRESS_DOMAIN_NAME_NOT_ACCEPTABLE'),
    331008: ResultInfo('MAIL_ADDRESS_DOMAIN_NAME_NOT_RESOLVED'),
    331648: ResultInfo('REACHED_ASSOCIATION_LIMIT'),
    331776: ResultInfo('REACHED_REGISTRATION_LIMIT'),
    331904: ResultInfo('COPPA_NOT_ACCEPTED'),
    332032: ResultInfo('PARENTAL_CONTROLS_REQUIRED'),
    332160: ResultInfo('MII_NOT_REGISTERED'),
    332288: ResultInfo('DEVICE_EULA_COUNTRY_MISMATCH'),
    332416: ResultInfo('PENDING_MIGRATION'),
    334080: ResultInfo('WRONG_USER_INPUT'),
    334208: ResultInfo('WRONG_ACCOUNT_PASSWORD'),
    334336: ResultInfo('WRONG_MAIL_ADDRESS'),
    334464: ResultInfo('WRONG_ACCOUNT_PASSWORD_OR_MAIL_ADDRESS'),
    334592: ResultInfo('WRONG_CONFIRMATION_CODE'),
    334720: ResultInfo('WRONG_BIRTH_DATE_OR_MAIL_ADDRESS'),
    334848: ResultInfo('WRONG_ACCOUNT_MAIL'),
    336768: ResultInfo('ACCOUNT_ALREADY_DELETED'),
    336896: ResultInfo('ACCOUNT_ID_CHANGED'),
    337024: ResultInfo('AUTHENTICATION_LOCKED'),
    337152: ResultInfo('DEVICE_INACTIVE'),
    337280: ResultInfo('COPPA_AGREEMENT_CANCELED'),
    337408: ResultInfo('DOMAIN_ACCOUNT_ALREADY_EXISTS'),
    338048: ResultInfo('ACCOUNT_TOKEN_EXPIRED'),
    338176: ResultInfo('INVALID_ACCOUNT_TOKEN'),
    338304: ResultInfo('AUTHENTICATION_REQUIRED'),
    339328: ResultInfo('CONFIRMATION_CODE_EXPIRED'),
    340608: ResultInfo('MAIL_ADDRESS_NOT_VALIDATED'),
    340736: ResultInfo('EXCESSIVE_MAIL_SEND_REQUEST'),
    341760: ResultInfo('CREDIT_CARD_ERROR'),
    341888: ResultInfo('CREDIT_CARD_GENERAL_FAILURE'),
    342016: ResultInfo('CREDIT_CARD_DECLINED'),
    342144: ResultInfo('CREDIT_CARD_BLACKLISTED'),
    342272: ResultInfo('INVALID_CREDIT_CARD_NUMBER'),
    342400: ResultInfo('INVALID_CREDIT_CARD_DATE'),
    342528: ResultInfo('INVALID_CREDIT_CARD_PIN'),
    342656: ResultInfo('INVALID_POSTAL_CODE'),
    342784: ResultInfo('INVALID_LOCATION'),
    342912: ResultInfo('CREDIT_CARD_DATE_EXPIRED'),
    343040: ResultInfo('CREDIT_CARD_NUMBER_WRONG'),
    343168: ResultInfo('CREDIT_CARD_PIN_WRONG'),
    358400: ResultInfo('BANNED'),
    358528: ResultInfo('BANNED_ACCOUNT'),
    358656: ResultInfo('BANNED_ACCOUNT_ALL'),
    358784: ResultInfo('BANNED_ACCOUNT_IN_APPLICATION'),
    358912: ResultInfo('BANNED_ACCOUNT_IN_NEX_SERVICE'),
    359040: ResultInfo('BANNED_ACCOUNT_IN_INDEPENDENT_SERVICE'),
    359808: ResultInfo('BANNED_DEVICE'),
    359936: ResultInfo('BANNED_DEVICE_ALL'),
    360064: ResultInfo('BANNED_DEVICE_IN_APPLICATION'),
    360192: ResultInfo('BANNED_DEVICE_IN_NEX_SERVICE'),
    360320: ResultInfo('BANNED_DEVICE_IN_INDEPENDENT_SERVICE'),
    361088: ResultInfo('BANNED_ACCOUNT_TEMPORARILY'),
    361216: ResultInfo('BANNED_ACCOUNT_ALL_TEMPORARILY'),
    361344: ResultInfo('BANNED_ACCOUNT_IN_APPLICATION_TEMPORARILY'),
    361472: ResultInfo('BANNED_ACCOUNT_IN_NEX_SERVICE_TEMPORARILY'),
    361600: ResultInfo('BANNED_ACCOUNT_IN_INDEPENDENT_SERVICE_TEMPORARILY'),
    362368: ResultInfo('BANNED_DEVICE_TEMPORARILY'),
    362496: ResultInfo('BANNED_DEVICE_ALL_TEMPORARILY'),
    362624: ResultInfo('BANNED_DEVICE_IN_APPLICATION_TEMPORARILY'),
    362752: ResultInfo('BANNED_DEVICE_IN_NEX_SERVICE_TEMPORARILY'),
    362880: ResultInfo('BANNED_DEVICE_IN_INDEPENDENT_SERVICE_TEMPORARILY'),
    368640: ResultInfo('SERVICE_NOT_PROVIDED'),
    368768: ResultInfo('UNDER_MAINTENANCE'),
    368896: ResultInfo('SERVICE_CLOSED'),
    369024: ResultInfo('NINTENDO_NETWORK_CLOSED'),
    369152: ResultInfo('NOT_PROVIDED_COUNTRY'),
    371200: ResultInfo('RESTRICTION_ERROR'),
    371328: ResultInfo('RESTRICTED_BY_AGE'),
    372480: ResultInfo('RESTRICTED_BY_PARENTAL_CONTROLS'),
    372608: ResultInfo('ON_GAME_INTERNET_COMMUNICATION_RESTRICTED'),
    375168: ResultInfo('INTERNAL_SERVER_ERROR'),
    375296: ResultInfo('UNKNOWN_SERVER_ERROR'),
    383744: ResultInfo('UNAUTHENTICATED_AFTER_SALVAGE'),
    383872: ResultInfo('AUTHENTICATION_FAILURE_UNKNOWN')
})

ndm = Module('ndm', {
    12800: ResultInfo('NOT_INITIALIZED'),
    25600: ResultInfo('ALREADY_INITIALIZED'),
    38400: ResultInfo('INVALID'),
    38528: ResultInfo('INVALID_OPERATION'),
    38656: ResultInfo('INVALID_ENUM_VALUE'),
    51200: ResultInfo('NOT_IMPLEMENTED'),
    64000: ResultInfo('DISCONNECTED'),
    64128: ResultInfo('BACKGROUND_DISCONNECTED'),
    76800: ResultInfo('FOREGROUND_CONNECTION_EXISTS'),
    76928: ResultInfo('FOREGROUND_INFRA_CONNECTION_EXISTS'),
    77056: ResultInfo('UDS_CONNECTION_EXISTS'),
    89600: ResultInfo('CANCELLED'),
    89728: ResultInfo('CANCELLED_BY_OTHER_REQUEST'),
    89856: ResultInfo('CANCELLED_BY_HARDWARE_EVENTS'),
    89984: ResultInfo('CANCELLED_BY_DISCONNECT'),
    90112: ResultInfo('CANCELLED_BY_USER_REQUEST'),
    102400: ResultInfo('INTERRUPT_BY_REQUEST'),
    115200: ResultInfo('PROCESSING_PRIORITY_REQUEST'),
    128000: ResultInfo('OPERATION_DENIED'),
    140800: ResultInfo('LOCKED_BY_OTHER_PROCESS'),
    153600: ResultInfo('NOT_LOCKED'),
    166400: ResultInfo('NOT_SUSPENDED'),
    524160: ResultInfo('UNEXPECTED')
})

fp = Module('fp', {
    0: ResultInfo('SUCCESS'),
    128: ResultInfo('SESSION_CLOSED'),
    1280: ResultInfo('PROGRAMMING_ERROR'),
    1408: ResultInfo('NOT_INITIALIZED'),
    1536: ResultInfo('ALREADY_INITIALIZED'),
    1664: ResultInfo('INVALID_ARGUMENT'),
    1792: ResultInfo('BUSY'),
    1920: ResultInfo('NETWORK_CLOCK_INVALID'),
    2048: ResultInfo('NOT_PERMITTED'),
    12800: ResultInfo('SYSTEM_ERROR'),
    12928: ResultInfo('CORE_RESERVED_01'),
    13056: ResultInfo('CORE_UNKNOWN'),
    13184: ResultInfo('CORE_NOT_IMPLEMENTED'),
    13312: ResultInfo('CORE_INVALID_POINTER'),
    13440: ResultInfo('CORE_OPERATION_ABORTED'),
    13568: ResultInfo('CORE_EXCEPTION'),
    13696: ResultInfo('CORE_ACCESS_DENIED'),
    13824: ResultInfo('CORE_INVALID_HANDLE'),
    13952: ResultInfo('CORE_INVALID_INDEX'),
    14080: ResultInfo('CORE_OUT_OF_MEMORY'),
    14208: ResultInfo('CORE_INVALID_ARGUMENT'),
    14336: ResultInfo('CORE_TIMEOUT'),
    14464: ResultInfo('CORE_INITIALIZATION_FAILURE'),
    14592: ResultInfo('CORE_CALL_INITIATION_FAILURE'),
    14720: ResultInfo('CORE_REGISTRATION_ERROR'),
    14848: ResultInfo('CORE_BUFFER_OVERFLOW'),
    14976: ResultInfo('CORE_INVALID_LOCK_STATE'),
    25472: ResultInfo('CORE_UNDEFINED'),
    25728: ResultInfo('DDL_INVALID_SIGNATURE'),
    25856: ResultInfo('DDL_INCORRECT_VERSION'),
    38272: ResultInfo('DDL_UNDEFINED'),
    38528: ResultInfo('RENDEZVOUS_CONNECTION_FAILURE'),
    38656: ResultInfo('RENDEZVOUS_NOT_AUTHENTICATED'),
    38784: ResultInfo('RENDEZVOUS_INVALID_USERNAME'),
    38912: ResultInfo('RENDEZVOUS_INVALID_PASSWORD'),
    39040: ResultInfo('RENDEZVOUS_USERNAME_ALREADY_EXISTS'),
    39168: ResultInfo('RENDEZVOUS_ACCOUNT_DISABLED'),
    39296: ResultInfo('RENDEZVOUS_ACCOUNT_EXPIRED'),
    39424: ResultInfo('RENDEZVOUS_CONCURRENT_LOGIN_DENIED'),
    39552: ResultInfo('RENDEZVOUS_ENCRYPTION_FAILURE'),
    39680: ResultInfo('RENDEZVOUS_INVALID_PID'),
    39808: ResultInfo('RENDEZVOUS_MAX_CONNECTIONS_REACHED'),
    39936: ResultInfo('RENDEZVOUS_INVALID_GID'),
    40064: ResultInfo('RENDEZVOUS_INVALID_THREAD_ID'),
    40192: ResultInfo('RENDEZVOUS_INVALID_OPERATION_IN_LIVE_ENVIRONMENT'),
    40320: ResultInfo('RENDEZVOUS_DUPLICATE_ENTRY'),
    40448: ResultInfo('RENDEZVOUS_CONTROL_SCRIPT_FAILURE'),
    40576: ResultInfo('RENDEZVOUS_CLASS_NOT_FOUND'),
    40704: ResultInfo('RENDEZVOUS_RESERVED_18'),
    40832: ResultInfo('RENDEZVOUS_RESERVED_19'),
    40960: ResultInfo('RENDEZVOUS_DDL_MISMATCH'),
    41088: ResultInfo('RENDEZVOUS_RESERVED_21'),
    41216: ResultInfo('RENDEZVOUS_RESERVED_22'),
    51072: ResultInfo('RENDEZVOUS_UNDEFINED'),
    51328: ResultInfo('PYTHON_CORE_EXCEPTION'),
    51456: ResultInfo('PYTHON_CORE_TYPE_ERROR'),
    51584: ResultInfo('PYTHON_CORE_INDEX_ERROR'),
    51712: ResultInfo('PYTHON_CORE_INVALID_REFERENCE'),
    51840: ResultInfo('PYTHON_CORE_CALL_FAILURE'),
    51968: ResultInfo('PYTHON_CORE_MEMORY_ERROR'),
    52096: ResultInfo('PYTHON_CORE_KEY_ERROR'),
    52224: ResultInfo('PYTHON_CORE_OPERATION_ERROR'),
    52352: ResultInfo('PYTHON_CORE_CONVERSION_ERROR'),
    52480: ResultInfo('PYTHON_CORE_VALIDATION_ERROR'),
    63872: ResultInfo('PYTHON_CORE_UNDEFINED'),
    64128: ResultInfo('TRANSPORT_UNKNOWN'),
    64256: ResultInfo('TRANSPORT_CONNECTION_FAILURE'),
    64384: ResultInfo('TRANSPORT_INVALID_URL'),
    64512: ResultInfo('TRANSPORT_INVALID_KEY'),
    64640: ResultInfo('TRANSPORT_INVALID_URL_TYPE'),
    64768: ResultInfo('TRANSPORT_DUPLICATE_ENDPOINT'),
    64896: ResultInfo('TRANSPORT_IO_ERROR'),
    65024: ResultInfo('TRANSPORT_TIMEOUT'),
    65152: ResultInfo('TRANSPORT_CONNECTION_RESET'),
    65280: ResultInfo('TRANSPORT_INCORRECT_REMOTE_AUTHENTICATION'),
    65408: ResultInfo('TRANSPORT_SERVER_REQUEST_ERROR'),
    65536: ResultInfo('TRANSPORT_DECOMPRESSION_FAILURE'),
    65664: ResultInfo('TRANSPORT_CONGESTED_END_POINT'),
    65792: ResultInfo('TRANSPORT_RESERVED_14'),
    65920: ResultInfo('TRANSPORT_RESERVED_15'),
    66048: ResultInfo('TRANSPORT_RESERVED_16'),
    66176: ResultInfo('TRANSPORT_RESERVED_17'),
    66304: ResultInfo('TRANSPORT_SOCKET_SEND_WARNING'),
    66432: ResultInfo('TRANSPORT_UNSUPPORTED_NAT'),
    66560: ResultInfo('TRANSPORT_DNS_ERROR'),
    66688: ResultInfo('TRANSPORT_PROXY_ERROR'),
    66816: ResultInfo('TRANSPORT_DATA_REMAINING'),
    66944: ResultInfo('TRANSPORT_NO_BUFFER'),
    67072: ResultInfo('TRANSPORT_NOT_FOUND'),
    76672: ResultInfo('TRANSPORT_UNDEFINED'),
    76928: ResultInfo('DO_CORE_RESERVED_01'),
    77056: ResultInfo('DO_CORE_RESERVED_02'),
    77184: ResultInfo('DO_CORE_RESERVED_03'),
    77312: ResultInfo('DO_CORE_RESERVED_04'),
    77440: ResultInfo('DO_CORE_RESERVED_05'),
    77568: ResultInfo('DO_CORE_RESERVED_06'),
    77696: ResultInfo('DO_CORE_RESERVED_07'),
    77824: ResultInfo('DO_CORE_RESERVED_08'),
    77952: ResultInfo('DO_CORE_RESERVED_09'),
    78080: ResultInfo('DO_CORE_RESERVED_10'),
    78208: ResultInfo('DO_CORE_RESERVED_11'),
    78336: ResultInfo('DO_CORE_RESERVED_12'),
    78464: ResultInfo('DO_CORE_RESERVED_13'),
    78592: ResultInfo('DO_CORE_RESERVED_14'),
    78720: ResultInfo('DO_CORE_RESERVED_15'),
    78848: ResultInfo('DO_CORE_RESERVED_16'),
    78976: ResultInfo('DO_CORE_RESERVED_17'),
    79104: ResultInfo('DO_CORE_RESERVED_18'),
    79232: ResultInfo('DO_CORE_RESERVED_19'),
    89472: ResultInfo('DO_CORE_UNDEFINED'),
    89728: ResultInfo('FPD_RESERVED_01'),
    89856: ResultInfo('FPD_NOT_INITIALIZED'),
    89984: ResultInfo('FPD_ALREADY_INITIALIZED'),
    90112: ResultInfo('FPD_NOT_CONNECTED'),
    90240: ResultInfo('FPD_CONNECTED'),
    90368: ResultInfo('FPD_INITIALIZATION_FAILURE'),
    90496: ResultInfo('FPD_OUT_OF_MEMORY'),
    90624: ResultInfo('FPD_RMC_FAILED'),
    90752: ResultInfo('FPD_INVALID_ARGUMENT'),
    90880: ResultInfo('FPD_RESERVED_10'),
    91008: ResultInfo('FPD_INVALID_PRINCIPAL_ID'),
    91136: ResultInfo('FPD_RESERVED_12'),
    91264: ResultInfo('FPD_RESERVED_13'),
    91392: ResultInfo('FPD_RESERVED_14'),
    91520: ResultInfo('FPD_RESERVED_15'),
    91648: ResultInfo('FPD_RESERVED_16'),
    91776: ResultInfo('FPD_RESERVED_17'),
    91904: ResultInfo('FPD_RESERVED_18'),
    92032: ResultInfo('FPD_RESERVED_19'),
    92160: ResultInfo('FPD_FILE_IO_ERROR'),
    92288: ResultInfo('FPD_P2P_INTERNET_PROHIBITED'),
    92416: ResultInfo('FPD_UNKNOWN'),
    92544: ResultInfo('FPD_INVALID_STATE'),
    92672: ResultInfo('FPD_RESERVED_24'),
    92800: ResultInfo('FPD_ADD_FRIEND_PROHIBITED'),
    92928: ResultInfo('FPD_RESERVED_26'),
    93056: ResultInfo('FPD_INVALID_ACCOUNT'),
    93184: ResultInfo('FPD_BLACKLISTED_BY_ME'),
    93312: ResultInfo('FPD_RESERVED_29'),
    93440: ResultInfo('FPD_FRIEND_ALREADY_ADDED'),
    93568: ResultInfo('FPD_MY_FRIEND_LIST_LIMIT_EXCEED'),
    93696: ResultInfo('FPD_REQUEST_LIMIT_EXCEED'),
    93824: ResultInfo('FPD_INVALID_MESSAGE_ID'),
    93952: ResultInfo('FPD_MESSAGE_IS_NOT_MINE'),
    94080: ResultInfo('FPD_MESSAGE_IS_NOT_FOR_ME'),
    94208: ResultInfo('FPD_FRIEND_REQUEST_BLOCKED'),
    94336: ResultInfo('FPD_NOT_IN_MY_FRIEND_LIST'),
    94464: ResultInfo('FPD_FRIEND_LISTED_BY_ME'),
    94592: ResultInfo('FPD_NOT_IN_MY_BLACKLIST'),
    94720: ResultInfo('FPD_INCOMPATIBLE_ACCOUNT'),
    94848: ResultInfo('FPD_BLOCK_SETTING_CHANGE_NOT_ALLOWED'),
    94976: ResultInfo('FPD_SIZE_LIMIT_EXCEEDED'),
    95104: ResultInfo('FPD_OPERATION_NOT_ALLOWED'),
    95232: ResultInfo('FPD_NOT_NETWORK_ACCOUNT'),
    95360: ResultInfo('FPD_NOTIFICATION_NOT_FOUND'),
    95488: ResultInfo('FPD_PREFERENCE_NOT_INITIALIZED'),
    95616: ResultInfo('FPD_FRIEND_REQUEST_NOT_ALLOWED'),
    102272: ResultInfo('FPD_UNDEFINED'),
    102528: ResultInfo('AUTHENTICATION_ACCOUNT_LIBRARY_ERROR'),
    102656: ResultInfo('AUTHENTICATION_TOKEN_PARSE_ERROR'),
    102784: ResultInfo('AUTHENTICATION_RESERVED_03'),
    102912: ResultInfo('AUTHENTICATION_RESERVED_04'),
    103040: ResultInfo('AUTHENTICATION_RESERVED_05'),
    103168: ResultInfo('AUTHENTICATION_TOKEN_EXPIRED'),
    103296: ResultInfo('AUTHENTICATION_VALIDATION_FAILED'),
    103424: ResultInfo('AUTHENTICATION_INVALID_PARAM'),
    103552: ResultInfo('AUTHENTICATION_PRINCIPAL_ID_UNMATCHED'),
    103680: ResultInfo('AUTHENTICATION_RESERVED_10'),
    103808: ResultInfo('AUTHENTICATION_UNDER_MAINTENANCE'),
    103936: ResultInfo('AUTHENTICATION_UNSUPPORTED_VERSION'),
    104064: ResultInfo('AUTHENTICATION_UNKNOWN'),
    115072: ResultInfo('AUTHENTICATION_UNDEFINED')
})

ac = Module('ac', {
    25600: ResultInfo('CONN_ERROR'),
    25728: ResultInfo('ERROR_KEY'),
    38400: ResultInfo('RETRY'),
    38528: ResultInfo('CANCELED'),
    38656: ResultInfo('ALREADY_EXISTS'),
    38784: ResultInfo('IN_CLOSING'),
    39680: ResultInfo('PROCESSING'),
    51200: ResultInfo('USAGE'),
    51328: ResultInfo('INVALID_ARGUMENT_OUT_OF_RANGE'),
    51456: ResultInfo('OUT_OF_MEMORY'),
    51584: ResultInfo('INVALID_PARAMETER'),
    51712: ResultInfo('ALREADY_INITIALIZED'),
    51840: ResultInfo('ALREADY_CONNECTING'),
    51968: ResultInfo('NOT_CONNECTING'),
    52096: ResultInfo('DEBUG_ONLY'),
    52224: ResultInfo('NOT_AC_INITIALIZED'),
    64000: ResultInfo('INVALID'),
    64128: ResultInfo('NOT_INITIALIZED'),
    64256: ResultInfo('INVALID_DATA'),
    64384: ResultInfo('NOT_AGREE_EULA'),
    64512: ResultInfo('LIMIT_INTERNET_ACCESS'),
    64640: ResultInfo('FAILED_FILE_ACCESS'),
    64768: ResultInfo('FAILED_WIRELESS'),
    64896: ResultInfo('NOT_CONNECT_USB'),
    65024: ResultInfo('NOT_LINK_USB'),
    65280: ResultInfo('NOT_FOUND_ACCESS_POINT'),
    65408: ResultInfo('FAILED_CONNECT_AP'),
    65536: ResultInfo('INVALID_KEY_VALUE'),
    65664: ResultInfo('FAILED_DHCP'),
    65792: ResultInfo('CONFLICT_IP_ADDRESS'),
    65920: ResultInfo('UNSUPPORT_AUTH_ALGORITHM'),
    66560: ResultInfo('INVALID_DNS'),
    66688: ResultInfo('INVALID_PROXY'),
    66816: ResultInfo('FAILED_CONNTEST'),
    67840: ResultInfo('ALREADY_EXCLUSIVE'),
    67968: ResultInfo('NOT_EXCLUSIVE'),
    68096: ResultInfo('INVALID_LOCATION'),
    512000: ResultInfo('FATAL')
})

telnet = Module('telnet', {
    25600: ResultInfo('INVALID_USAGE'),
    25728: ResultInfo('TOO_LONG_KEYWORD'),
    25856: ResultInfo('TOO_LONG_COMMAND'),
    38400: ResultInfo('INVALID_STATE'),
    38528: ResultInfo('EMPTY_QUEUE'),
    38656: ResultInfo('NO_STRING_BUFFERS'),
    38784: ResultInfo('KEYWORD_NOT_RECEIVED'),
    51200: ResultInfo('UNEXPECTED_ERROR'),
    51328: ResultInfo('UNEXPECTED_COMMAND'),
    64000: ResultInfo('SOCKET_ERROR'),
    64128: ResultInfo('NO_SOCKET_BUFFERS'),
    64256: ResultInfo('TIMEOUT'),
    64384: ResultInfo('ALREADY_CONNECTED'),
    64512: ResultInfo('NON_SUPPORTED_OPERATION'),
    64640: ResultInfo('CONNECTION_ABORTED'),
    64768: ResultInfo('OPERATION_WOULD_BLOCK'),
    64896: ResultInfo('CONNECTION_REFUSED'),
    65024: ResultInfo('CONNECTION_RESET'),
    65152: ResultInfo('NOT_CONNECTED'),
    65280: ResultInfo('ALREADY_BLOCKED'),
    65408: ResultInfo('INVALID_OPERATION'),
    65536: ResultInfo('TOO_LONG_MESSAGE'),
    65664: ResultInfo('CLOSED_PIPE'),
    65792: ResultInfo('NO_DESTINATION_ADDRRESS'),
    65920: ResultInfo('ALREADY_SHUTDOWNED'),
    66048: ResultInfo('NON_SUPPORTED_OPTION'),
    66176: ResultInfo('DATA_PENDING'),
    66304: ResultInfo('OUT_OF_MEMORY'),
    66432: ResultInfo('INVALID_ADDRESS'),
    66560: ResultInfo('ADDRESS_IN_USED'),
    66688: ResultInfo('NON_SUPPORTED_ADDRESS'),
    66816: ResultInfo('CONNECTION_IN_PROGRESS'),
    66944: ResultInfo('IP_LAYER_ERROR'),
    67072: ResultInfo('NOT_SOCKET'),
    67456: ResultInfo('IO_ERROR'),
    67584: ResultInfo('TOO_MANY_REFERENCES'),
    67712: ResultInfo('SEGMENTATION_FAULT'),
    67840: ResultInfo('UNREACHED'),
    67968: ResultInfo('NON_SUPPORTED_PROTOCOL'),
    68096: ResultInfo('NON_SUPPORTED_SOCKET'),
    69248: ResultInfo('ERROR'),
    69376: ResultInfo('NO_RESOURCE_MANAGER'),
    69504: ResultInfo('NOT_INITIALIZED'),
    69632: ResultInfo('BUSY'),
    69760: ResultInfo('UNKNOWN_ERROR'),
    69888: ResultInfo('API_ERROR'),
    70016: ResultInfo('INVALID_ERROR_CODE'),
    70144: ResultInfo('NO_RESOURCES'),
    70272: ResultInfo('BAD_DESCRIPTOR'),
    70400: ResultInfo('OPERATION_ABORTED'),
    70528: ResultInfo('TOO_MANY_SOCKETS')
})

ec = Module('ec', {
    0: ResultInfo('SYSTEM_ERROR'),
    128: ResultInfo('INVALID_COUNTRY'),
    256: ResultInfo('INVALID_LANGUAGE'),
    384: ResultInfo('INVALID_META'),
    6400: ResultInfo('INTERNAL_ERROR'),
    6528: ResultInfo('INTERNAL_ERROR_SYSAPP'),
    7808: ResultInfo('INTERNAL_ERROR_MCP_HANDLE'),
    7936: ResultInfo('INTERNAL_ERROR_MCP_TITLE_VERSION'),
    8064: ResultInfo('INTERNAL_ERROR_MCP_CONTENT'),
    8192: ResultInfo('INTERNAL_ERROR_MCP_TICKET'),
    9088: ResultInfo('INTERNAL_ERROR_AOC_TITLE_INFO'),
    12672: ResultInfo('INTERNAL_ERROR_OTHER'),
    12800: ResultInfo('PROGRAMMING_ERROR'),
    12928: ResultInfo('NOT_INITIALIZED'),
    13056: ResultInfo('NOT_LOGGED_IN'),
    13184: ResultInfo('NOT_IN_FOREGROUND'),
    14208: ResultInfo('ALREADY_INITIALIZED'),
    15488: ResultInfo('INVALID_ARGUMENT'),
    15616: ResultInfo('INVALID_MODULE'),
    15744: ResultInfo('INVALID_SESSION'),
    15872: ResultInfo('INVALID_DATA'),
    16768: ResultInfo('OUT_OF_MEMORY'),
    16896: ResultInfo('OUT_OF_REQUEST_BUFFER'),
    25600: ResultInfo('LIBRARY_ERROR'),
    25728: ResultInfo('NOT_FOUND'),
    25856: ResultInfo('NOT_CONNECTED'),
    27008: ResultInfo('CANCELED'),
    27136: ResultInfo('EXCLUDED'),
    28288: ResultInfo('ESHOP_NOT_INITIALIZED'),
    28416: ResultInfo('NEEDS_NETWORK_UPDATE'),
    28544: ResultInfo('NOT_IN_SERVICE'),
    30720: ResultInfo('WRONG_DOWNLOAD_CODE'),
    30848: ResultInfo('NOT_REDEEMABLE_ITEM_DOWNLOAD_CODE'),
    30976: ResultInfo('ITEM_DOWNLOAD_CODE'),
    31104: ResultInfo('CASH_DOWNLOAD_CODE'),
    31232: ResultInfo('TITLE_DOWNLOAD_CODE'),
    31872: ResultInfo('OTHER_PLATFORM_DOWNLOAD_CODE'),
    32000: ResultInfo('ITEM_ERROR'),
    32128: ResultInfo('ITEM_UNIQUE_ID_MISMATCH'),
    32256: ResultInfo('ITEM_NOT_PURCHASED'),
    32384: ResultInfo('ITEM_ALREADY_PURCHASED'),
    32512: ResultInfo('ITEM_PARTIALLY_PURCHASED'),
    32640: ResultInfo('ITEM_RIGHTS_MISMATCH'),
    32768: ResultInfo('ITEM_SIBLING_PURCHASED'),
    32896: ResultInfo('ITEM_MAX_RIGHTS_VALUE_EXCEEDED'),
    33024: ResultInfo('ITEM_UNRELEASED'),
    33152: ResultInfo('ITEM_NOT_SOLD'),
    33280: ResultInfo('ITEM_ALREADY_INSTALLED'),
    34560: ResultInfo('SHOPPING_CART_ERROR'),
    34688: ResultInfo('SHOPPING_CART_FULL'),
    34816: ResultInfo('SHOPPING_CART_ALREADY_ADDED'),
    34944: ResultInfo('SHOPPING_CART_PARTIALLY_ADDED'),
    35840: ResultInfo('DOWNLOAD_CART_ERROR'),
    35968: ResultInfo('DOWNLOAD_CART_FULL'),
    36096: ResultInfo('DOWNLOAD_CART_ALREADY_ADDED'),
    38400: ResultInfo('RESPONSE_ERROR'),
    38528: ResultInfo('INVALID_XML'),
    38656: ResultInfo('INVALID_RESPONSE'),
    38784: ResultInfo('UNDER_MAINTENANCE'),
    38912: ResultInfo('SERVICE_CLOSED'),
    51072: ResultInfo('UNEXPECTED_RESPONSE'),
    128000: ResultInfo('CURL_ERROR'),
    128128: ResultInfo('CURL_UNSUPPORTED_PROTOCOL'),
    128256: ResultInfo('CURL_FAILED_INIT'),
    128384: ResultInfo('CURL_URL_MALFORMAT'),
    128512: ResultInfo('CURL_NOT_BUILT_IN'),
    128640: ResultInfo('CURL_COULDNT_RESOLVE_PROXY'),
    128768: ResultInfo('CURL_COULDNT_RESOLVE_HOST'),
    128896: ResultInfo('CURL_COULDNT_CONNECT'),
    129024: ResultInfo('CURL_FTP_WEIRD_SERVER_REPLY'),
    129152: ResultInfo('CURL_REMOTE_ACCESS_DENIED'),
    129280: ResultInfo('CURL_OBSOLETE10'),
    129408: ResultInfo('CURL_FTP_WEIRD_PASS_REPLY'),
    129536: ResultInfo('CURL_OBSOLETE12'),
    129664: ResultInfo('CURL_FTP_WEIRD_PASV_REPLY'),
    129792: ResultInfo('CURL_FTP_WEIRD_227_FORMAT'),
    129920: ResultInfo('CURL_FTP_CANT_GET_HOST'),
    130048: ResultInfo('CURL_OBSOLETE16'),
    130176: ResultInfo('CURL_FTP_COULDNT_SET_TYPE'),
    130304: ResultInfo('CURL_PARTIAL_FILE'),
    130432: ResultInfo('CURL_FTP_COULDNT_RETR_FILE'),
    130560: ResultInfo('CURL_OBSOLETE20'),
    130688: ResultInfo('CURL_QUOTE_ERROR'),
    130816: ResultInfo('CURL_HTTP_RETURNED_ERROR'),
    130944: ResultInfo('CURL_WRITE_ERROR'),
    131072: ResultInfo('CURL_OBSOLETE24'),
    131200: ResultInfo('CURL_UPLOAD_FAILED'),
    131328: ResultInfo('CURL_READ_ERROR'),
    131456: ResultInfo('CURL_OUT_OF_MEMORY'),
    131584: ResultInfo('CURL_OPERATION_TIMEDOUT'),
    131712: ResultInfo('CURL_OBSOLETE29'),
    131840: ResultInfo('CURL_FTP_PORT_FAILED'),
    131968: ResultInfo('CURL_FTP_COULDNT_USE_REST'),
    132096: ResultInfo('CURL_OBSOLETE32'),
    132224: ResultInfo('CURL_RANGE_ERROR'),
    132352: ResultInfo('CURL_HTTP_POST_ERROR'),
    132480: ResultInfo('CURL_SSL_CONNECT_ERROR'),
    132608: ResultInfo('CURL_BAD_DOWNLOAD_RESUME'),
    132736: ResultInfo('CURL_FILE_COULDNT_READ_FILE'),
    132864: ResultInfo('CURL_LDAP_CANNOT_BIND'),
    132992: ResultInfo('CURL_LDAP_SEARCH_FAILED'),
    133120: ResultInfo('CURL_OBSOLETE40'),
    133248: ResultInfo('CURL_FUNCTION_NOT_FOUND'),
    133376: ResultInfo('CURL_ABORTED_BY_CALLBACK'),
    133504: ResultInfo('CURL_BAD_FUNCTION_ARGUMENT'),
    133632: ResultInfo('CURL_OBSOLETE44'),
    133760: ResultInfo('CURL_INTERFACE_FAILED'),
    133888: ResultInfo('CURL_OBSOLETE46'),
    134016: ResultInfo('CURL_TOO_MANY_REDIRECTS'),
    134144: ResultInfo('CURL_UNKNOWN_OPTION'),
    134272: ResultInfo('CURL_TELNET_OPTION_SYNTAX'),
    134400: ResultInfo('CURL_OBSOLETE50'),
    134528: ResultInfo('CURL_PEER_FAILED_VERIFICATION'),
    134656: ResultInfo('CURL_GOT_NOTHING'),
    134784: ResultInfo('CURL_SSL_ENGINE_NOTFOUND'),
    134912: ResultInfo('CURL_SSL_ENGINE_SETFAILED'),
    135040: ResultInfo('CURL_SEND_ERROR'),
    135168: ResultInfo('CURL_RECV_ERROR'),
    135296: ResultInfo('CURL_OBSOLETE57'),
    135424: ResultInfo('CURL_SSL_CERTPROBLEM'),
    135552: ResultInfo('CURL_SSL_CIPHER'),
    135680: ResultInfo('CURL_SSL_CACERT'),
    135808: ResultInfo('CURL_BAD_CONTENT_ENCODING'),
    135936: ResultInfo('CURL_LDAP_INVALID_URL'),
    136064: ResultInfo('CURL_FILESIZE_EXCEEDED'),
    136192: ResultInfo('CURL_USE_SSL_FAILED'),
    136320: ResultInfo('CURL_SEND_FAIL_REWIND'),
    136448: ResultInfo('CURL_SSL_ENGINE_INITFAILED'),
    136576: ResultInfo('CURL_LOGIN_DENIED'),
    136704: ResultInfo('CURL_TFTP_NOTFOUND'),
    136832: ResultInfo('CURL_TFTP_PERM'),
    136960: ResultInfo('CURL_REMOTE_DISK_FULL'),
    137088: ResultInfo('CURL_TFTP_ILLEGAL'),
    137216: ResultInfo('CURL_TFTP_UNKNOWNID'),
    137344: ResultInfo('CURL_REMOTE_FILE_EXISTS'),
    137472: ResultInfo('CURL_TFTP_NOSUCHUSER'),
    137600: ResultInfo('CURL_CONV_FAILED'),
    137728: ResultInfo('CURL_CONV_REQD'),
    137856: ResultInfo('CURL_SSL_CACERT_BADFILE'),
    137984: ResultInfo('CURL_REMOTE_FILE_NOT_FOUND'),
    138112: ResultInfo('CURL_SSH'),
    138240: ResultInfo('CURL_SSL_SHUTDOWN_FAILED'),
    138368: ResultInfo('CURL_AGAIN'),
    138496: ResultInfo('CURL_SSL_CRL_BADFILE'),
    138624: ResultInfo('CURL_SSL_ISSUER_ERROR'),
    138752: ResultInfo('CURL_FTP_PRET_FAILED'),
    138880: ResultInfo('CURL_RTSP_CSEQ_ERROR'),
    139008: ResultInfo('CURL_RTSP_SESSION_ERROR'),
    139136: ResultInfo('CURL_FTP_BAD_FILE_LIST'),
    139264: ResultInfo('CURL_CHUNK_FAILED'),
    139392: ResultInfo('CURL_NSSL_NO_CTX'),
    139520: ResultInfo('CURL_READ_DEFAULT_PROXY'),
    139648: ResultInfo('CURL_DEFAULT_PROXY_NOT_READY'),
    256000: ResultInfo('SERVER_ERROR'),
    268800: ResultInfo('SERVER_ERROR_107'),
    281600: ResultInfo('SERVER_ERROR_109'),
    294400: ResultInfo('SERVER_ERROR_110'),
    384000: ResultInfo('NETWORK_UPDATE_CHECK_ERROR')
})

cia = Module('cia', {
    128: ResultInfo('FSA_OK'),
    256: ResultInfo('MCP_OK'),
    12800: ResultInfo('NOT_INITIALIZED'),
    12928: ResultInfo('NOT_LOADED_TMD'),
    38400: ResultInfo('INVALID'),
    38528: ResultInfo('INVALID_ENUM_VALUE'),
    38656: ResultInfo('INVALID_CIA_FORMAT'),
    51200: ResultInfo('NOT_IMPLEMENTED'),
    64000: ResultInfo('WRONG_ARGUMENT'),
    64128: ResultInfo('BUFFER_NOT_ENOUGH'),
    64256: ResultInfo('UNSUPPORTED_TITLE'),
    76800: ResultInfo('OUT_OF_MEMORY'),
    76928: ResultInfo('OUT_OF_USER_MEMORY'),
    256000: ResultInfo('UNEXPECTED'),
    256128: ResultInfo('UNEXPECTED_META_DATA'),
    384000: ResultInfo('FSA_ERROR'),
    384128: ResultInfo('FSA_STATUS_BUSY'),
    384256: ResultInfo('FSA_STATUS_CANCELED'),
    384384: ResultInfo('FSA_STATUS_END_OF_DIRECTORY'),
    384512: ResultInfo('FSA_STATUS_END_OF_FILE'),
    384640: ResultInfo('FSA_STATUS_MAX_MOUNTPOINTS'),
    384768: ResultInfo('FSA_STATUS_MAX_VOLUMES'),
    384896: ResultInfo('FSA_STATUS_MAX_CLIENTS'),
    385024: ResultInfo('FSA_STATUS_MAX_FILES'),
    385152: ResultInfo('FSA_STATUS_MAX_DIRS'),
    385280: ResultInfo('FSA_STATUS_ALREADY_OPEN'),
    385408: ResultInfo('FSA_STATUS_ALREADY_EXISTS'),
    385536: ResultInfo('FSA_STATUS_NOT_FOUND'),
    385664: ResultInfo('FSA_STATUS_NOT_EMPTY'),
    385792: ResultInfo('FSA_STATUS_ACCESS_ERROR'),
    385920: ResultInfo('FSA_STATUS_PERMISSION_ERROR'),
    386048: ResultInfo('FSA_STATUS_DATA_CORRUPTED'),
    386176: ResultInfo('FSA_STATUS_STORAGE_FULL'),
    386304: ResultInfo('FSA_STATUS_JOURNAL_FULL'),
    386432: ResultInfo('FSA_STATUS_UNAVAILABLE_CMD'),
    386560: ResultInfo('FSA_STATUS_UNSUPPORTED_CMD'),
    386688: ResultInfo('FSA_STATUS_INVALID_PARAM'),
    386816: ResultInfo('FSA_STATUS_INVALID_PATH'),
    386944: ResultInfo('FSA_STATUS_INVALID_BUFFER'),
    387072: ResultInfo('FSA_STATUS_INVALID_ALIGNMENT'),
    387200: ResultInfo('FSA_STATUS_INVALID_CLIENT_HANDLE'),
    387328: ResultInfo('FSA_STATUS_INVALID_FILE_HANDLE'),
    387456: ResultInfo('FSA_STATUS_INVALID_DIR_HANDLE'),
    387584: ResultInfo('FSA_STATUS_NOT_FILE'),
    387712: ResultInfo('FSA_STATUS_NOT_DIR'),
    387840: ResultInfo('FSA_STATUS_FILE_TOO_BIG'),
    387968: ResultInfo('FSA_STATUS_OUT_OF_RANGE'),
    388096: ResultInfo('FSA_STATUS_OUT_OF_RESOURCES'),
    388224: ResultInfo('FSA_STATUS_MEDIA_NOT_READY'),
    388352: ResultInfo('FSA_STATUS_MEDIA_ERROR'),
    388480: ResultInfo('FSA_STATUS_WRITE_PROTECTED'),
    388608: ResultInfo('FSA_UNEXPECTED_ERROR'),
    396800: ResultInfo('MCP_ERROR'),
    396928: ResultInfo('MCP_RVAL_UNKNOWN_ERROR'),
    397056: ResultInfo('MCP_RVAL_SYSTEM_ERROR'),
    397184: ResultInfo('MCP_RVAL_ALLOC_ERROR'),
    397312: ResultInfo('MCP_RVAL_INVALID_OP_ERROR'),
    397440: ResultInfo('MCP_RVAL_INVALID_ARG_ERROR'),
    397568: ResultInfo('MCP_RVAL_INVALID_TYPE_ERROR'),
    397696: ResultInfo('MCP_RVAL_UNSUPPORTED_ERROR'),
    397824: ResultInfo('MCP_RVAL_ITEM_ACCESS_ERROR'),
    397952: ResultInfo('MCP_RVAL_KEY_NOT_FOUND_ERROR'),
    398080: ResultInfo('MCP_RVAL_BAD_MODIFY_ERROR'),
    398208: ResultInfo('MCP_RVAL_STRING_LENGTH_ERROR'),
    398336: ResultInfo('MCP_RVAL_INVALID_ROOTKEY_ERROR'),
    398464: ResultInfo('MCP_RVAL_INVALID_LOC_ERROR'),
    398592: ResultInfo('MCP_RVAL_BAD_COMMENT_ERROR'),
    398720: ResultInfo('MCP_RVAL_ACCESS_READ_ERROR'),
    398848: ResultInfo('MCP_RVAL_ACCESS_WRITE_ERROR'),
    398976: ResultInfo('MCP_RVAL_ACCESS_CREATE_ERROR'),
    399104: ResultInfo('MCP_RVAL_FILESYS_NAME_ERROR'),
    399232: ResultInfo('MCP_RVAL_FILESYS_INIT_ERROR'),
    399360: ResultInfo('MCP_RVAL_FILESYS_MOUNT_ERROR'),
    399488: ResultInfo('MCP_RVAL_FILE_OPEN_ERROR'),
    399616: ResultInfo('MCP_RVAL_FILE_STAT_ERROR'),
    399744: ResultInfo('MCP_RVAL_FILE_READ_ERROR'),
    399872: ResultInfo('MCP_RVAL_FILE_WRITE_ERROR'),
    400000: ResultInfo('MCP_RVAL_FILE_SIZE_ERROR'),
    400128: ResultInfo('MCP_RVAL_FILE_REMOVE_ERROR'),
    400256: ResultInfo('MCP_RVAL_FILE_RENAME_ERROR'),
    400384: ResultInfo('MCP_RVAL_FILE_CLOSE_ERROR'),
    400512: ResultInfo('MCP_RVAL_FILE_SEEK_ERROR'),
    400640: ResultInfo('MCP_RVAL_FILE_CONFIRM_ERROR'),
    400768: ResultInfo('MCP_RVAL_FILE_BACKUP_ERROR'),
    400896: ResultInfo('MCP_RVAL_FILE_MALFORMED_ERROR'),
    401024: ResultInfo('MCP_RVAL_VERSION_ERROR'),
    401152: ResultInfo('MCP_RVAL_NO_IPC_BUFFERS_ERROR'),
    401280: ResultInfo('MCP_RVAL_TIMEOUT_ERROR'),
    401408: ResultInfo('MCP_RVAL_FILE_LOCK_NEEDED_ERROR'),
    401536: ResultInfo('MCP_RVAL_SYSCTX_NOT_FOUND_ERROR'),
    401664: ResultInfo('MCP_RVAL_INVALID_TRIGGER_ERROR'),
    401792: ResultInfo('MCP_RVAL_TRIGGER_NOT_FOUND_ERROR'),
    401920: ResultInfo('MCP_RVAL_SYSPROT_INIT_ERROR'),
    402048: ResultInfo('MCP_RVAL_SYSPROT_MEMBLOCK_ERROR'),
    402176: ResultInfo('MCP_RVAL_SYSPROT_SRAM_ERROR'),
    402304: ResultInfo('MCP_RVAL_SYSPROT_DEVICES_ERROR'),
    402432: ResultInfo('MCP_RVAL_SYSPROT_FINE_GRAIN_ERROR'),
    402560: ResultInfo('MCP_RVAL_FILE_NOT_FOUND_ERROR'),
    402688: ResultInfo('MCP_RVAL_NOT_INSTALLED_ERROR'),
    402816: ResultInfo('MCP_RVAL_INCORRECT_VERSION_ERROR'),
    402944: ResultInfo('MCP_RVAL_DELAYED_REPLY'),
    403072: ResultInfo('MCP_RVAL_CONTENT_SOURCE_NOT_FOUND_ERROR'),
    403200: ResultInfo('MCP_RVAL_SYSHASH_NOT_INSTALLED_ERROR'),
    403328: ResultInfo('MCP_RVAL_NOT_FOUND_VERSION_LIST_ERROR'),
    403456: ResultInfo('MCP_RVAL_HASH_ENTRY_NOT_FOUND_ERROR'),
    403584: ResultInfo('MCP_RVAL_NEWER_VERSION_EXISTS_ERROR'),
    403712: ResultInfo('MCP_RVAL_TITLE_MUST_UPDATE_ERROR'),
    403840: ResultInfo('MCP_UNEXPECTED_ERROR'),
    403968: ResultInfo('MCP_RVAL_INSTALL_BUSY'),
    404096: ResultInfo('MCP_RVAL_INSTALL_SUSPENDED'),
    404224: ResultInfo('MCP_RVAL_INSTALL_NOT_FOUND_CONTEXT'),
    404352: ResultInfo('MCP_RVAL_INSTALL_NOT_SUSPENDABLE'),
    404480: ResultInfo('MCP_RVAL_INSTALL_INVALID_HANDLE'),
    404608: ResultInfo('MCP_RVAL_FILE_ALREADY_EXISTS_ERROR'),
    404736: ResultInfo('MCP_RVAL_CERT_NOT_FOUND_ERROR'),
    404864: ResultInfo('MCP_RVAL_TITLE_NOT_FOUND_ERROR'),
    404992: ResultInfo('MCP_RVAL_ALREADY_OPEN_ERROR'),
    405120: ResultInfo('MCP_RVAL_UNEXPECTD_IVS_TYPE_ERROR'),
    405248: ResultInfo('MCP_RVAL_IVS_VERIFICATION_ERROR'),
    405376: ResultInfo('MCP_RVAL_DEMOLAUNCH_INVALID_ID_ERROR'),
    405504: ResultInfo('MCP_RVAL_AUTHENTICATION_ERROR'),
    405632: ResultInfo('MCP_RVAL_STORAGE_FULL_ERROR'),
    405760: ResultInfo('MCP_RVAL_END_OF_DIRECTORY'),
    405888: ResultInfo('MCP_RVAL_WRITE_PROTECTED_ERROR')
})

sl = Module('sl', {
    128: ResultInfo('FS_OK'),
    256: ResultInfo('MCP_OK'),
    384: ResultInfo('UC_OK'),
    768: ResultInfo('ACP_OK'),
    896: ResultInfo('SCI_OK'),
    1024: ResultInfo('IDB_OK'),
    1152: ResultInfo('CCRSYS_OK'),
    12800: ResultInfo('INVALID_USAGE'),
    12928: ResultInfo('INVALID_ARGUMENT'),
    25600: ResultInfo('INVALID_CALL'),
    128000: ResultInfo('INVALID_DATABASE'),
    128128: ResultInfo('INVALID_SIGNATURE'),
    128256: ResultInfo('INVALID_HASH'),
    128384: ResultInfo('INVALID_VERSION'),
    140800: ResultInfo('NOT_FOUND'),
    140928: ResultInfo('NOT_FOUND_LAUNCH_INFO'),
    141056: ResultInfo('NOT_FOUND_KILLER_NOTIFICATION'),
    153600: ResultInfo('INVALID_DATA'),
    153728: ResultInfo('INVALID_DATA_FORMAT'),
    155008: ResultInfo('UNSUPPORTED_VERSION_FORMAT'),
    166400: ResultInfo('INVALID_SERIALIZED_DATA'),
    166528: ResultInfo('UNSUPPORTED_SERIALIZER_VERSION'),
    166656: ResultInfo('UNSUPPORTED_SERIALIZED_DATA_VERSION'),
    166784: ResultInfo('SERIALIZED_DATA_HASH_MISMATCH'),
    166912: ResultInfo('INVALID_READ_SIZE'),
    167040: ResultInfo('INVALID_WRITTEN_SIZE'),
    179200: ResultInfo('INVALID_ICON_DATA'),
    179328: ResultInfo('INVALID_ICON_SIZE'),
    256000: ResultInfo('NOT_IMPLEMENTED'),
    256128: ResultInfo('ALLOCATION_FAILED'),
    257280: ResultInfo('CANCELLED'),
    257408: ResultInfo('TRANSFER_CANCELLED'),
    259840: ResultInfo('FAILED'),
    259968: ResultInfo('FACTORY_INITIALIZE_FAILED'),
    260096: ResultInfo('FACTORY_GET_TITLE_INFO_FAILED'),
    260224: ResultInfo('ICON_DATA_GET_FAILED'),
    371200: ResultInfo('UNEXPECTED'),
    384000: ResultInfo('FS_ERROR'),
    384384: ResultInfo('FS_STATUS_CANCELED'),
    384512: ResultInfo('FS_STATUS_END'),
    384640: ResultInfo('FS_STATUS_MAX'),
    384768: ResultInfo('FS_STATUS_ALREADY_OPEN'),
    384896: ResultInfo('FS_STATUS_EXISTS'),
    385024: ResultInfo('FS_STATUS_NOT_FOUND'),
    385152: ResultInfo('FS_STATUS_NOT_FILE'),
    385280: ResultInfo('FS_STATUS_NOT_DIR'),
    385408: ResultInfo('FS_STATUS_ACCESS_ERROR'),
    385536: ResultInfo('FS_STATUS_PERMISSION_ERROR'),
    385664: ResultInfo('FS_STATUS_FILE_TOO_BIG'),
    385792: ResultInfo('FS_STATUS_STORAGE_FULL'),
    385920: ResultInfo('FS_STATUS_JOURNAL_FULL'),
    386048: ResultInfo('FS_STATUS_UNSUPPORTED_CMD'),
    386176: ResultInfo('FS_STATUS_MEDIA_NOT_READY'),
    386304: ResultInfo('FS_STATUS_INVALID_MEDIA'),
    386432: ResultInfo('FS_STATUS_MEDIA_ERROR'),
    386560: ResultInfo('FS_STATUS_DATA_CORRUPTED'),
    386688: ResultInfo('FS_STATUS_WRITE_PROTECTED'),
    386816: ResultInfo('FS_STATUS_FATAL_ERROR'),
    390784: ResultInfo('FS_ERROR_NOT_INIT'),
    390912: ResultInfo('FS_ERROR_BUSY'),
    391040: ResultInfo('FS_ERROR_CANCELED'),
    391168: ResultInfo('FS_ERROR_END_OF_DIRECTORY'),
    391296: ResultInfo('FS_ERROR_END_OF_FILE'),
    391424: ResultInfo('FS_ERROR_MAX_MOUNTPOINTS'),
    391552: ResultInfo('FS_ERROR_MAX_VOLUMES'),
    391680: ResultInfo('FS_ERROR_MAX_CLIENTS'),
    391808: ResultInfo('FS_ERROR_MAX_FILES'),
    391936: ResultInfo('FS_ERROR_MAX_DIRS'),
    392064: ResultInfo('FS_ERROR_ALREADY_OPEN'),
    392192: ResultInfo('FS_ERROR_ALREADY_EXISTS'),
    392320: ResultInfo('FS_ERROR_NOT_FOUND'),
    392448: ResultInfo('FS_ERROR_NOT_EMPTY'),
    392576: ResultInfo('FS_ERROR_ACCESS_ERROR'),
    392704: ResultInfo('FS_ERROR_PERMISSION_ERROR'),
    392832: ResultInfo('FS_ERROR_DATA_CORRUPTED'),
    392960: ResultInfo('FS_ERROR_STORAGE_FULL'),
    393088: ResultInfo('FS_ERROR_JOURNAL_FULL'),
    393216: ResultInfo('FS_ERROR_UNAVAILABLE_CMD'),
    393344: ResultInfo('FS_ERROR_UNSUPPORTED_CMD'),
    393472: ResultInfo('FS_ERROR_INVALID_PARAM'),
    393600: ResultInfo('FS_ERROR_INVALID_PATH'),
    393728: ResultInfo('FS_ERROR_INVALID_BUFFER'),
    393856: ResultInfo('FS_ERROR_INVALID_ALIGNMENT'),
    393984: ResultInfo('FS_ERROR_INVALID_CLIENT_HANDLE'),
    394112: ResultInfo('FS_ERROR_INVALID_FILE_HANDLE'),
    394240: ResultInfo('FS_ERROR_INVALID_DIR_HANDLE'),
    394368: ResultInfo('FS_ERROR_NOT_FILE'),
    394496: ResultInfo('FS_ERROR_NOT_DIR'),
    394624: ResultInfo('FS_ERROR_FILE_TOO_BIG'),
    394752: ResultInfo('FS_ERROR_OUT_OF_RANGE'),
    394880: ResultInfo('FS_ERROR_OUT_OF_RESOURCES'),
    395008: ResultInfo('FS_ERROR_MEDIA_NOT_READY'),
    395136: ResultInfo('FS_ERROR_MEDIA_ERROR'),
    395264: ResultInfo('FS_ERROR_WRITE_PROTECTED'),
    395392: ResultInfo('FS_ERROR_INVALID_MEDIA'),
    395520: ResultInfo('FS_ERROR_FATAL'),
    396672: ResultInfo('FS_ERROR_UNKNOWN'),
    396800: ResultInfo('MCP_ERROR'),
    396928: ResultInfo('MCP_RVAL_UNKNOWN_ERROR'),
    397056: ResultInfo('MCP_RVAL_SYSTEM_ERROR'),
    397184: ResultInfo('MCP_RVAL_ALLOC_ERROR'),
    397312: ResultInfo('MCP_RVAL_INVALID_OP_ERROR'),
    397440: ResultInfo('MCP_RVAL_INVALID_ARG_ERROR'),
    397568: ResultInfo('MCP_RVAL_INVALID_TYPE_ERROR'),
    397696: ResultInfo('MCP_RVAL_UNSUPPORTED_ERROR'),
    397824: ResultInfo('MCP_RVAL_ITEM_ACCESS_ERROR'),
    397952: ResultInfo('MCP_RVAL_KEY_NOT_FOUND_ERROR'),
    398080: ResultInfo('MCP_RVAL_BAD_MODIFY_ERROR'),
    398208: ResultInfo('MCP_RVAL_STRING_LENGTH_ERROR'),
    398336: ResultInfo('MCP_RVAL_INVALID_ROOTKEY_ERROR'),
    398464: ResultInfo('MCP_RVAL_INVALID_LOC_ERROR'),
    398592: ResultInfo('MCP_RVAL_BAD_COMMENT_ERROR'),
    398720: ResultInfo('MCP_RVAL_ACCESS_READ_ERROR'),
    398848: ResultInfo('MCP_RVAL_ACCESS_WRITE_ERROR'),
    398976: ResultInfo('MCP_RVAL_ACCESS_CREATE_ERROR'),
    399104: ResultInfo('MCP_RVAL_FILESYS_NAME_ERROR'),
    399232: ResultInfo('MCP_RVAL_FILESYS_INIT_ERROR'),
    399360: ResultInfo('MCP_RVAL_FILESYS_MOUNT_ERROR'),
    399488: ResultInfo('MCP_RVAL_FILE_OPEN_ERROR'),
    399616: ResultInfo('MCP_RVAL_FILE_STAT_ERROR'),
    399744: ResultInfo('MCP_RVAL_FILE_READ_ERROR'),
    399872: ResultInfo('MCP_RVAL_FILE_WRITE_ERROR'),
    400000: ResultInfo('MCP_RVAL_FILE_SIZE_ERROR'),
    400128: ResultInfo('MCP_RVAL_FILE_REMOVE_ERROR'),
    400256: ResultInfo('MCP_RVAL_FILE_RENAME_ERROR'),
    400384: ResultInfo('MCP_RVAL_FILE_CLOSE_ERROR'),
    400512: ResultInfo('MCP_RVAL_FILE_SEEK_ERROR'),
    400640: ResultInfo('MCP_RVAL_FILE_CONFIRM_ERROR'),
    400768: ResultInfo('MCP_RVAL_FILE_BACKUP_ERROR'),
    400896: ResultInfo('MCP_RVAL_FILE_MALFORMED_ERROR'),
    401024: ResultInfo('MCP_RVAL_VERSION_ERROR'),
    401152: ResultInfo('MCP_RVAL_NO_IPC_BUFFERS_ERROR'),
    401280: ResultInfo('MCP_RVAL_TIMEOUT_ERROR'),
    401408: ResultInfo('MCP_RVAL_FILE_LOCK_NEEDED_ERROR'),
    401536: ResultInfo('MCP_RVAL_SYSCTX_NOT_FOUND_ERROR'),
    401664: ResultInfo('MCP_RVAL_INVALID_TRIGGER_ERROR'),
    401792: ResultInfo('MCP_RVAL_TRIGGER_NOT_FOUND_ERROR'),
    401920: ResultInfo('MCP_RVAL_SYSPROT_INIT_ERROR'),
    402048: ResultInfo('MCP_RVAL_SYSPROT_MEMBLOCK_ERROR'),
    402176: ResultInfo('MCP_RVAL_SYSPROT_SRAM_ERROR'),
    402304: ResultInfo('MCP_RVAL_SYSPROT_DEVICES_ERROR'),
    402432: ResultInfo('MCP_RVAL_SYSPROT_FINE_GRAIN_ERROR'),
    402560: ResultInfo('MCP_RVAL_FILE_NOT_FOUND_ERROR'),
    402688: ResultInfo('MCP_RVAL_NOT_INSTALLED_ERROR'),
    402816: ResultInfo('MCP_RVAL_INCORRECT_VERSION_ERROR'),
    402944: ResultInfo('MCP_RVAL_DELAYED_REPLY'),
    403072: ResultInfo('MCP_RVAL_CONTENT_SOURCE_NOT_FOUND_ERROR'),
    403200: ResultInfo('MCP_RVAL_SYSHASH_NOT_INSTALLED_ERROR'),
    403328: ResultInfo('MCP_RVAL_NOT_FOUND_VERSION_LIST_ERROR'),
    403456: ResultInfo('MCP_RVAL_HASH_ENTRY_NOT_FOUND_ERROR'),
    403584: ResultInfo('MCP_RVAL_NEWER_VERSION_EXISTS_ERROR'),
    403712: ResultInfo('MCP_RVAL_TITLE_MUST_UPDATE_ERROR'),
    403840: ResultInfo('MCP_UNEXPECTED_ERROR'),
    403968: ResultInfo('MCP_RVAL_INSTALL_BUSY'),
    404096: ResultInfo('MCP_RVAL_INSTALL_SUSPENDED'),
    404224: ResultInfo('MCP_RVAL_INSTALL_NOT_FOUND_CONTEXT'),
    404352: ResultInfo('MCP_RVAL_INSTALL_NOT_SUSPENDABLE'),
    404480: ResultInfo('MCP_RVAL_INSTALL_INVALID_HANDLE'),
    404608: ResultInfo('MCP_RVAL_FILE_ALREADY_EXISTS_ERROR'),
    404736: ResultInfo('MCP_RVAL_CERT_NOT_FOUND_ERROR'),
    404864: ResultInfo('MCP_RVAL_TITLE_NOT_FOUND_ERROR'),
    404992: ResultInfo('MCP_RVAL_ALREADY_OPEN_ERROR'),
    405120: ResultInfo('MCP_RVAL_UNEXPECTD_IVS_TYPE_ERROR'),
    405248: ResultInfo('MCP_RVAL_IVS_VERIFICATION_ERROR'),
    405376: ResultInfo('MCP_RVAL_DEMOLAUNCH_INVALID_ID_ERROR'),
    405504: ResultInfo('MCP_RVAL_AUTHENTICATION_ERROR'),
    405632: ResultInfo('MCP_RVAL_STORAGE_FULL_ERROR'),
    405760: ResultInfo('MCP_RVAL_END_OF_DIRECTORY'),
    405888: ResultInfo('MCP_RVAL_WRITE_PROTECTED_ERROR'),
    406016: ResultInfo('MCP_RVAL_PACKAGE_NOT_ENTIRE'),
    406144: ResultInfo('MCP_RVAL_PACKAGE_UNEXPECTED_VERSION'),
    406272: ResultInfo('MCP_RVAL_INSTALL_UNRECOVERABLE'),
    409600: ResultInfo('UC_ERROR'),
    409728: ResultInfo('UC_RVAL_UNKNOWN_ERROR'),
    409856: ResultInfo('UC_RVAL_SYSTEM_ERROR'),
    409984: ResultInfo('UC_RVAL_ALLOC_ERROR'),
    410112: ResultInfo('UC_RVAL_INVALID_OP_ERROR'),
    410240: ResultInfo('UC_RVAL_INVALID_ARG_ERROR'),
    410368: ResultInfo('UC_RVAL_INVALID_TYPE_ERROR'),
    410496: ResultInfo('UC_RVAL_UNSUPPORTED_ERROR'),
    410624: ResultInfo('UC_RVAL_ITEM_ACCESS_ERROR'),
    410752: ResultInfo('UC_RVAL_KEY_NOT_FOUND_ERROR'),
    410880: ResultInfo('UC_RVAL_BAD_MODIFY_ERROR'),
    411008: ResultInfo('UC_RVAL_STRING_LENGTH_ERROR'),
    411136: ResultInfo('UC_RVAL_INVALID_ROOTKEY_ERROR'),
    411264: ResultInfo('UC_RVAL_INVALID_LOC_ERROR'),
    411392: ResultInfo('UC_RVAL_BAD_COMMENT_ERROR'),
    411520: ResultInfo('UC_RVAL_ACCESS_READ_ERROR'),
    411648: ResultInfo('UC_RVAL_ACCESS_WRITE_ERROR'),
    411776: ResultInfo('UC_RVAL_ACCESS_CREATE_ERROR'),
    411904: ResultInfo('UC_RVAL_FILESYS_NAME_ERROR'),
    412032: ResultInfo('UC_RVAL_FILESYS_INIT_ERROR'),
    412160: ResultInfo('UC_RVAL_FILESYS_MOUNT_ERROR'),
    412288: ResultInfo('UC_RVAL_FILE_OPEN_ERROR'),
    412416: ResultInfo('UC_RVAL_FILE_STAT_ERROR'),
    412544: ResultInfo('UC_RVAL_FILE_READ_ERROR'),
    412672: ResultInfo('UC_RVAL_FILE_WRITE_ERROR'),
    412800: ResultInfo('UC_RVAL_FILE_SIZE_ERROR'),
    412928: ResultInfo('UC_RVAL_FILE_REMOVE_ERROR'),
    413056: ResultInfo('UC_RVAL_FILE_RENAME_ERROR'),
    413184: ResultInfo('UC_RVAL_FILE_CLOSE_ERROR'),
    413312: ResultInfo('UC_RVAL_FILE_SEEK_ERROR'),
    413440: ResultInfo('UC_RVAL_FILE_CONFIRM_ERROR'),
    413568: ResultInfo('UC_RVAL_FILE_BACKUP_ERROR'),
    413696: ResultInfo('UC_RVAL_FILE_MALFORMED_ERROR'),
    413824: ResultInfo('UC_RVAL_VERSION_ERROR'),
    413952: ResultInfo('UC_RVAL_NO_IPC_BUFFERS_ERROR'),
    414080: ResultInfo('UC_RVAL_TIMEOUT_ERROR'),
    414208: ResultInfo('UC_RVAL_FILE_LOCK_NEEDED_ERROR'),
    414336: ResultInfo('UC_RVAL_SYSCTX_NOT_FOUND_ERROR'),
    414464: ResultInfo('UC_RVAL_INVALID_TRIGGER_ERROR'),
    414592: ResultInfo('UC_RVAL_TRIGGER_NOT_FOUND_ERROR'),
    414720: ResultInfo('UC_RVAL_SYSPROT_INIT_ERROR'),
    414848: ResultInfo('UC_RVAL_SYSPROT_MEMBLOCK_ERROR'),
    414976: ResultInfo('UC_RVAL_SYSPROT_SRAM_ERROR'),
    415104: ResultInfo('UC_RVAL_SYSPROT_DEVICES_ERROR'),
    415232: ResultInfo('UC_RVAL_SYSPROT_FINE_GRAIN_ERROR'),
    415360: ResultInfo('UC_RVAL_FILE_NOT_FOUND_ERROR'),
    415488: ResultInfo('UC_RVAL_INCORRECT_VERSION_ERROR'),
    415616: ResultInfo('UC_UNEXPECTED_ERROR'),
    435200: ResultInfo('IOS_ERROR'),
    435328: ResultInfo('IOS_ERROR_ACCESS'),
    435456: ResultInfo('IOS_ERROR_EXISTS'),
    435584: ResultInfo('IOS_ERROR_INTR'),
    435712: ResultInfo('IOS_ERROR_INVALID'),
    435840: ResultInfo('IOS_ERROR_MAX'),
    435968: ResultInfo('IOS_ERROR_NOEXISTS'),
    436096: ResultInfo('IOS_ERROR_QEMPTY'),
    436224: ResultInfo('IOS_ERROR_QFULL'),
    436352: ResultInfo('IOS_ERROR_UNKNOWN'),
    436480: ResultInfo('IOS_ERROR_NOTREADY'),
    436608: ResultInfo('IOS_ERROR_INVALID_OBJTYPE'),
    436736: ResultInfo('IOS_ERROR_INVALID_VERSION'),
    436864: ResultInfo('IOS_ERROR_INVALID_SIGNER'),
    436992: ResultInfo('IOS_ERROR_FAIL_CHECKVALUE'),
    437120: ResultInfo('IOS_ERROR_FAIL_INTERNAL'),
    437248: ResultInfo('IOS_ERROR_FAIL_ALLOC'),
    437376: ResultInfo('IOS_ERROR_INVALID_SIZE'),
    437504: ResultInfo('IOS_ERROR_NO_LINK'),
    437632: ResultInfo('IOS_ERROR_AN_FAILED'),
    437760: ResultInfo('IOS_ERROR_MAX_SEM_COUNT'),
    437888: ResultInfo('IOS_ERROR_SEM_UNAVAILABLE'),
    438016: ResultInfo('IOS_ERROR_INVALID_HANDLE'),
    438144: ResultInfo('IOS_ERROR_INVALID_ARG'),
    438272: ResultInfo('IOS_ERROR_NO_RESOURCE'),
    438400: ResultInfo('IOS_ERROR_BUSY'),
    438528: ResultInfo('IOS_ERROR_TIMEOUT'),
    438656: ResultInfo('IOS_ERROR_ALIGNMENT'),
    438784: ResultInfo('IOS_ERROR_BSP'),
    438912: ResultInfo('IOS_ERROR_DATA_PENDING'),
    439040: ResultInfo('IOS_ERROR_EXPIRED'),
    439168: ResultInfo('IOS_ERROR_NO_R_ACCESS'),
    439296: ResultInfo('IOS_ERROR_NO_W_ACCESS'),
    439424: ResultInfo('IOS_ERROR_NO_RW_ACCESS'),
    439552: ResultInfo('IOS_ERROR_CLIENT_TXN_LIMIT'),
    439680: ResultInfo('IOS_ERROR_UNEXPECTED'),
    448000: ResultInfo('BOSS_FS_ERROR'),
    448128: ResultInfo('BOSS_FS_ERROR_NOT_INIT'),
    448256: ResultInfo('BOSS_FS_ERROR_BUSY'),
    448384: ResultInfo('BOSS_FS_ERROR_CANCELED'),
    448512: ResultInfo('BOSS_FS_ERROR_END_OF_DIRECTORY'),
    448640: ResultInfo('BOSS_FS_ERROR_END_OF_FILE'),
    448768: ResultInfo('BOSS_FS_ERROR_MAX_MOUNTPOINTS'),
    448896: ResultInfo('BOSS_FS_ERROR_MAX_VOLUMES'),
    449024: ResultInfo('BOSS_FS_ERROR_MAX_CLIENTS'),
    449152: ResultInfo('BOSS_FS_ERROR_MAX_FILES'),
    449280: ResultInfo('BOSS_FS_ERROR_MAX_DIRS'),
    449408: ResultInfo('BOSS_FS_ERROR_ALREADY_OPEN'),
    449536: ResultInfo('BOSS_FS_ERROR_ALREADY_EXISTS'),
    449664: ResultInfo('BOSS_FS_ERROR_NOT_FOUND'),
    449792: ResultInfo('BOSS_FS_ERROR_NOT_EMPTY'),
    449920: ResultInfo('BOSS_FS_ERROR_ACCESS_ERROR'),
    450048: ResultInfo('BOSS_FS_ERROR_PERMISSION_ERROR'),
    450176: ResultInfo('BOSS_FS_ERROR_DATA_CORRUPTED'),
    450304: ResultInfo('BOSS_FS_ERROR_STORAGE_FULL'),
    450432: ResultInfo('BOSS_FS_ERROR_JOURNAL_FULL'),
    450560: ResultInfo('BOSS_FS_ERROR_UNAVAILABLE_CMD'),
    450688: ResultInfo('BOSS_FS_ERROR_UNSUPPORTED_CMD'),
    450816: ResultInfo('BOSS_FS_ERROR_INVALID_PARAM'),
    450944: ResultInfo('BOSS_FS_ERROR_INVALID_PATH'),
    451072: ResultInfo('BOSS_FS_ERROR_INVALID_BUFFER'),
    451200: ResultInfo('BOSS_FS_ERROR_INVALID_ALIGNMENT'),
    451328: ResultInfo('BOSS_FS_ERROR_INVALID_CLIENT_HANDLE'),
    451456: ResultInfo('BOSS_FS_ERROR_INVALID_FILE_HANDLE'),
    451584: ResultInfo('BOSS_FS_ERROR_INVALID_DIR_HANDLE'),
    451712: ResultInfo('BOSS_FS_ERROR_NOT_FILE'),
    451840: ResultInfo('BOSS_FS_ERROR_NOT_DIR'),
    451968: ResultInfo('BOSS_FS_ERROR_FILE_TOO_BIG'),
    452096: ResultInfo('BOSS_FS_ERROR_OUT_OF_RANGE'),
    452224: ResultInfo('BOSS_FS_ERROR_OUT_OF_RESOURCES'),
    452352: ResultInfo('BOSS_FS_ERROR_MEDIA_NOT_READY'),
    452480: ResultInfo('BOSS_FS_ERROR_MEDIA_ERROR'),
    452608: ResultInfo('BOSS_FS_ERROR_WRITE_PROTECTED'),
    452736: ResultInfo('BOSS_FS_ERROR_UNKNOWN'),
    453120: ResultInfo('BOSS_TASK_ERROR'),
    453248: ResultInfo('BOSS_TASK_TR_UNKNOWN'),
    453376: ResultInfo('BOSS_TASK_TR_SUCCESS'),
    453504: ResultInfo('BOSS_TASK_INVALID_TASKRECORD_VALUE'),
    453632: ResultInfo('BOSS_TASK_TR_LIBRARY_NOT_INITIALIZE'),
    453760: ResultInfo('BOSS_TASK_TR_INVALID_PARAMETER'),
    453888: ResultInfo('BOSS_TASK_TR_INVALID_FORMAT'),
    454016: ResultInfo('BOSS_TASK_TR_INITIALIZED'),
    454144: ResultInfo('BOSS_TASK_TR_NOT_EXIST'),
    454272: ResultInfo('BOSS_TASK_TR_UNEXPECT_ERROR'),
    454400: ResultInfo('BOSS_TASK_TR_CANCELED'),
    454528: ResultInfo('BOSS_TASK_TR_FS_ERROR'),
    454656: ResultInfo('BOSS_TASK_TR_HTTP_ERROR'),
    454784: ResultInfo('BOSS_TASK_TR_CANNOT_GET_NETWORK_TIME'),
    454912: ResultInfo('BOSS_TASK_TR_CANNOT_READ_SYSTEM_CONFIG'),
    455040: ResultInfo('BOSS_TASK_TR_NOT_NETWORK_ACCOUNT'),
    455168: ResultInfo('BOSS_TASK_TR_RESTRICTED_BY_PARENTAL_CONTROL'),
    455296: ResultInfo('BOSS_TASK_TASKSHEET_ERROR_HTTP'),
    455424: ResultInfo('BOSS_TASK_TASKSHEET_ERROR_INVALID_FORMAT'),
    455552: ResultInfo('BOSS_TASK_TASKSHEET_ERROR_BUFFER_OVERFLOW'),
    455680: ResultInfo('BOSS_TASK_TASKSHEET_ERROR_INVALID_TITLE_ID'),
    455808: ResultInfo('BOSS_TASK_TASKSHEET_ERROR_INVALID_TASK_ID'),
    455936: ResultInfo('BOSS_TASK_NBDL_ERROR_NSD_VERIFY_HASH'),
    456064: ResultInfo('BOSS_TASK_NBDL_ERROR_NSD_HASH_SIZE'),
    456192: ResultInfo('BOSS_TASK_NBDL_ERROR_NSD_INVALID_HEADER_FORMAT'),
    456320: ResultInfo('BOSS_TASK_NBDL_ERROR_NSD_DECRYPT_INITIALIZE_FAILED'),
    456448: ResultInfo('BOSS_TASK_NBDL_ERROR_NSD_INVALID_DATA_SIZE'),
    456576: ResultInfo('BOSS_TASK_NBDL_ERROR_GET_NEWS_STORAGE_INFO'),
    456704: ResultInfo('BOSS_TASK_NBDL_ERROR_PREPARE_BOSS_SAVEDATA_INFO'),
    456832: ResultInfo('BOSS_TASK_NBDL_ERROR_PREPARE_BOSS_STORAGE_INFO'),
    456960: ResultInfo('BOSS_TASK_NBDL_ERROR_CHECK_RESUME_FILE_EXIST'),
    457088: ResultInfo('BOSS_TASK_NBDL_ERROR_CHECK_DOWNLOAD_TARGET'),
    457216: ResultInfo('BOSS_TASK_NBDL_ERROR_CALCULATE_CONTENT_LENGTH'),
    457344: ResultInfo('BOSS_TASK_NBDL_ERROR_CHECK_BOSS_STORAGE_FILE_INFO'),
    457472: ResultInfo('BOSS_TASK_NBDL_ERROR_CHECK_BOSS_STORAGE_REFERENCE_INFO'),
    457600: ResultInfo('BOSS_TASK_NBDL_ERROR_CHECK_MAX_FILE_TOTAL_SIZE'),
    457728: ResultInfo('BOSS_TASK_NBDL_ERROR_DELETABLE_FILE_INFO_NOT_EXIST'),
    457856: ResultInfo('BOSS_TASK_NBDL_ERROR_DELETABLE_REFERENCE_INFO_NOT_EXIST'),
    457984: ResultInfo('BOSS_TASK_NBDL_ERROR_DOWNLOAD_FILE'),
    458112: ResultInfo('BOSS_TASK_NBDL_ERROR_DOWNLOAD_HTTP'),
    458240: ResultInfo('BOSS_TASK_NBDL_ERROR_GET_RESUME_FILE_INFO'),
    458368: ResultInfo('BOSS_TASK_NBDL_ERROR_SET_RESUME_FILE_INFO'),
    458496: ResultInfo('BOSS_TASK_NBDL_ERROR_UPDATE_BOSS_STORAGE_INFO'),
    458624: ResultInfo('BOSS_TASK_NBDL_ERROR_ROLLBACK_BOSS_STORAGE'),
    458752: ResultInfo('BOSS_TASK_TR_ERROR_SET_ACCOUNT_NEW_ARRIVAL_FLAG'),
    458880: ResultInfo('BOSS_TASK_TR_ERROR_SET_TITLE_NEW_ARRIVAL_FLAG'),
    459136: ResultInfo('BOSS_TASK_UNKNOWN'),
    459520: ResultInfo('BOSS_API_ERROR'),
    459648: ResultInfo('BOSS_API_NOT_INITIALIZED'),
    459776: ResultInfo('BOSS_API_LIBRARY_NOT_INITIALIZED'),
    459904: ResultInfo('BOSS_API_INVALID'),
    460032: ResultInfo('BOSS_API_INVALID_PARAMETER'),
    460160: ResultInfo('BOSS_API_INVALID_FORMAT'),
    460288: ResultInfo('BOSS_API_INITIALIZED'),
    460416: ResultInfo('BOSS_API_NOT_EXIST'),
    460544: ResultInfo('BOSS_API_FILE_NOT_EXIST'),
    460672: ResultInfo('BOSS_API_NOT_COMPLETED'),
    460800: ResultInfo('BOSS_API_FULL'),
    460928: ResultInfo('BOSS_API_FINISHED'),
    461056: ResultInfo('BOSS_API_NOT_PERMITTED'),
    461184: ResultInfo('BOSS_API_FAIL'),
    461312: ResultInfo('BOSS_API_NO_SUPPORT'),
    461440: ResultInfo('BOSS_API_HTTP_ERROR'),
    461568: ResultInfo('BOSS_API_CANCELED'),
    461696: ResultInfo('BOSS_API_STOPPED_BY_POLICYLIST'),
    461952: ResultInfo('BOSS_API_UNKNOWN'),
    462080: ResultInfo('BOSS_API_FS_ERROR'),
    462208: ResultInfo('BOSS_API_FS_ERROR_NOT_INIT'),
    462336: ResultInfo('BOSS_API_FS_ERROR_BUSY'),
    462464: ResultInfo('BOSS_API_FS_ERROR_CANCELED'),
    462592: ResultInfo('BOSS_API_FS_ERROR_END_OF_DIRECTORY'),
    462720: ResultInfo('BOSS_API_FS_ERROR_END_OF_FILE'),
    462848: ResultInfo('BOSS_API_FS_ERROR_MAX_MOUNTPOINTS'),
    462976: ResultInfo('BOSS_API_FS_ERROR_MAX_VOLUMES'),
    463104: ResultInfo('BOSS_API_FS_ERROR_MAX_CLIENTS'),
    463232: ResultInfo('BOSS_API_FS_ERROR_MAX_FILES'),
    463360: ResultInfo('BOSS_API_FS_ERROR_MAX_DIRS'),
    463488: ResultInfo('BOSS_API_FS_ERROR_ALREADY_OPEN'),
    463616: ResultInfo('BOSS_API_FS_ERROR_ALREADY_EXISTS'),
    463744: ResultInfo('BOSS_API_FS_ERROR_NOT_FOUND'),
    463872: ResultInfo('BOSS_API_FS_ERROR_NOT_EMPTY'),
    464000: ResultInfo('BOSS_API_FS_ERROR_ACCESS_ERROR'),
    464128: ResultInfo('BOSS_API_FS_ERROR_PERMISSION_ERROR'),
    464256: ResultInfo('BOSS_API_FS_ERROR_DATA_CORRUPTED'),
    464384: ResultInfo('BOSS_API_FS_ERROR_STORAGE_FULL'),
    464512: ResultInfo('BOSS_API_FS_ERROR_JOURNAL_FULL'),
    464640: ResultInfo('BOSS_API_FS_ERROR_UNAVAILABLE_CMD'),
    464768: ResultInfo('BOSS_API_FS_ERROR_UNSUPPORTED_CMD'),
    464896: ResultInfo('BOSS_API_FS_ERROR_INVALID_PARAM'),
    465024: ResultInfo('BOSS_API_FS_ERROR_INVALID_PATH'),
    465152: ResultInfo('BOSS_API_FS_ERROR_INVALID_BUFFER'),
    465280: ResultInfo('BOSS_API_FS_ERROR_INVALID_ALIGNMENT'),
    465408: ResultInfo('BOSS_API_FS_ERROR_INVALID_CLIENT_HANDLE'),
    465536: ResultInfo('BOSS_API_FS_ERROR_INVALID_FILE_HANDLE'),
    465664: ResultInfo('BOSS_API_FS_ERROR_INVALID_DIR_HANDLE'),
    465792: ResultInfo('BOSS_API_FS_ERROR_NOT_FILE'),
    465920: ResultInfo('BOSS_API_FS_ERROR_NOT_DIR'),
    466048: ResultInfo('BOSS_API_FS_ERROR_FILE_TOO_BIG'),
    466176: ResultInfo('BOSS_API_FS_ERROR_OUT_OF_RANGE'),
    466304: ResultInfo('BOSS_API_FS_ERROR_OUT_OF_RESOURCES'),
    466432: ResultInfo('BOSS_API_FS_ERROR_MEDIA_NOT_READY'),
    466560: ResultInfo('BOSS_API_FS_ERROR_MEDIA_ERROR'),
    466688: ResultInfo('BOSS_API_FS_ERROR_WRITE_PROTECTED'),
    466816: ResultInfo('BOSS_API_FS_ERROR_UNKNOWN'),
    466944: ResultInfo('BOSS_API_MEMORY_ALLOCATE_ERROR'),
    467072: ResultInfo('BOSS_API_INITIALIZE_ERROR'),
    467328: ResultInfo('BOSS_API_INVALID_ACCOUNT'),
    467456: ResultInfo('BOSS_API_INVALID_TITLE'),
    467584: ResultInfo('BOSS_API_CANNOT_GET_NETWORK_TIME'),
    467840: ResultInfo('BOSS_API_NOT_NETWORK_ACCOUNT'),
    467968: ResultInfo('BOSS_API_ALREADY_EXIST'),
    468096: ResultInfo('BOSS_API_UNEXPECT'),
    480000: ResultInfo('ACP_ERROR'),
    480128: ResultInfo('ACP_ERROR_UNKNOWN'),
    480256: ResultInfo('ACP_ERROR_FAIL'),
    480384: ResultInfo('ACP_ERROR_INVALID'),
    480512: ResultInfo('ACP_ERROR_INVALID_PARAM'),
    480640: ResultInfo('ACP_ERROR_INVALID_FILE'),
    480768: ResultInfo('ACP_ERROR_INVALID_XML_FILE'),
    480896: ResultInfo('ACP_ERROR_INVALID_FILE_ACCESS_MODE'),
    481024: ResultInfo('ACP_ERROR_INVALID_NETWORK_TIME'),
    481152: ResultInfo('ACP_ERROR_NOT_FOUND'),
    481280: ResultInfo('ACP_ERROR_FILE_NOT_FOUND'),
    481408: ResultInfo('ACP_ERROR_DIR_NOT_FOUND'),
    481536: ResultInfo('ACP_ERROR_DEVICE_NOT_FOUND'),
    481664: ResultInfo('ACP_ERROR_TITLE_NOT_FOUND'),
    481792: ResultInfo('ACP_ERROR_APPLICATION_NOT_FOUND'),
    481920: ResultInfo('ACP_ERROR_SYSTEM_CONFIG_NOT_FOUND'),
    482048: ResultInfo('ACP_ERROR_XML_ITEM_NOT_FOUND'),
    482176: ResultInfo('ACP_ERROR_ALREADY_EXISTS'),
    482304: ResultInfo('ACP_ERROR_FILE_ALREADY_EXISTS'),
    482432: ResultInfo('ACP_ERROR_DIR_ALREADY_EXISTS'),
    482560: ResultInfo('ACP_ERROR_ALREADY_DONE'),
    482688: ResultInfo('ACP_ERROR_AUTH_ERROR'),
    482816: ResultInfo('ACP_ERROR_INVALID_REGION'),
    482944: ResultInfo('ACP_ERROR_RESTRICTED_RATING'),
    483072: ResultInfo('ACP_ERROR_NOTPRESENT_RATING'),
    483200: ResultInfo('ACP_ERROR_PENDING_RATING'),
    483328: ResultInfo('ACP_ERROR_NETSETTING_REQUIRED'),
    483456: ResultInfo('ACP_ERROR_NETACCOUNT_REQUIRED'),
    483584: ResultInfo('ACP_ERROR_NETACCOUNT_ERROR'),
    483712: ResultInfo('ACP_ERROR_BROWSER_REQUIRED'),
    483840: ResultInfo('ACP_ERROR_OLV_REQUIRED'),
    483968: ResultInfo('ACP_ERROR_PINCODE_REQUIRED'),
    484096: ResultInfo('ACP_ERROR_INCORRECT_PINCODE'),
    484224: ResultInfo('ACP_ERROR_INVALID_LOGO'),
    484352: ResultInfo('ACP_ERROR_DEMO_EXPIRED_NUMBER'),
    484480: ResultInfo('ACP_ERROR_DRC_REQUIRED'),
    484608: ResultInfo('ACP_ERROR_PERMISSION_ERROR'),
    484736: ResultInfo('ACP_ERROR_NO_FILE_PERMISSION'),
    484864: ResultInfo('ACP_ERROR_NO_DIR_PERMISSION'),
    484992: ResultInfo('ACP_ERROR_BUSY'),
    485120: ResultInfo('ACP_ERROR_CANCELED'),
    485248: ResultInfo('ACP_ERROR_RESOURCE_ERROR'),
    485376: ResultInfo('ACP_ERROR_DEVICE_FULL'),
    485504: ResultInfo('ACP_ERROR_JOURNAL_FULL'),
    485632: ResultInfo('ACP_ERROR_SYSTEM_MEMORY'),
    485760: ResultInfo('ACP_ERROR_FS_RESOURCE'),
    485888: ResultInfo('ACP_ERROR_IPC_RESOURCE'),
    486016: ResultInfo('ACP_ERROR_NOT_INITIALIZED'),
    486144: ResultInfo('ACP_ERROR_ACCOUNT_ERROR'),
    486272: ResultInfo('ACP_ERROR_UNSUPPORTED'),
    486400: ResultInfo('ACP_ERROR_DEVICE_ERROR'),
    486528: ResultInfo('ACP_ERROR_DATA_CORRUPTED'),
    486656: ResultInfo('ACP_ERROR_SLC_DATA_CORRUPTED'),
    486784: ResultInfo('ACP_ERROR_MLC_DATA_CORRUPTED'),
    486912: ResultInfo('ACP_ERROR_USB_DATA_CORRUPTED'),
    487040: ResultInfo('ACP_ERROR_MEDIA_ERROR'),
    487168: ResultInfo('ACP_ERROR_MEDIA_NOTREADY'),
    487296: ResultInfo('ACP_ERROR_MEDIA_BROKEN'),
    487424: ResultInfo('ACP_ERROR_ODD_MEDIA_NOTREADY'),
    487552: ResultInfo('ACP_ERROR_ODD_MEDIA_BROKEN'),
    487680: ResultInfo('ACP_ERROR_USB_MEDIA_NOTREADY'),
    487808: ResultInfo('ACP_ERROR_USB_MEDIA_BROKEN'),
    487936: ResultInfo('ACP_ERROR_MEDIA_WRITE_PROTECTED'),
    488064: ResultInfo('ACP_ERROR_USB_MEDIA_WRITE_PROTECTED'),
    488192: ResultInfo('ACP_ERROR_MII_ERROR'),
    488320: ResultInfo('ACP_ERROR_MII_ENCRYPTION_ERROR'),
    488448: ResultInfo('ACP_ERROR_INTERNAL_ERROR'),
    488576: ResultInfo('ACP_ERROR_INTERNAL_RESOUCE_ERROR'),
    488704: ResultInfo('ACP_ERROR_FATAL_ERROR'),
    488832: ResultInfo('ACP_ERROR_USB_STORAGE_NOT_READY'),
    492800: ResultInfo('ACT_ERROR'),
    492928: ResultInfo('ACT_ERROR_UNKNOWN'),
    493056: ResultInfo('ACT_ERROR_NOT_INITIALIZED'),
    493184: ResultInfo('ACT_ERROR_INVALID_POINTER'),
    493312: ResultInfo('ACT_ERROR_INVALID_SIZE'),
    493440: ResultInfo('ACT_ERROR_ACCOUNT_NOT_FOUND'),
    512000: ResultInfo('SCI_ERROR'),
    512128: ResultInfo('SCI_FAIL'),
    512256: ResultInfo('SCI_READ_ERROR'),
    512384: ResultInfo('SCI_WRITE_ERROR'),
    512512: ResultInfo('SCI_FILE_NOT_FOUND'),
    512640: ResultInfo('SCI_ITEM_NOT_FOUND'),
    512768: ResultInfo('SCI_ACCOUNT_NOT_FOUND'),
    512896: ResultInfo('SCI_INVALID_SIZE'),
    513024: ResultInfo('SCI_INVALID_PARAM'),
    513152: ResultInfo('SCI_COMPAT_ERROR'),
    513280: ResultInfo('SCI_FATAL_ERROR'),
    524800: ResultInfo('IDB_ERROR'),
    524928: ResultInfo('IDB_ERROR_NORMAL'),
    525056: ResultInfo('IDB_ERROR_INVALID_PARAMETER'),
    525184: ResultInfo('IDB_ERROR_NOT_FOUND_ICON_DATA'),
    525312: ResultInfo('IDB_ERROR_FILE_ACCESS'),
    525440: ResultInfo('IDB_ERROR_INVALID_VERSION'),
    525568: ResultInfo('IDB_ERROR_ALREADY_INITIALIZED'),
    537600: ResultInfo('CCRSYS_ERROR'),
    537728: ResultInfo('CCRSYS_RESULT_UNKNOWN'),
    537856: ResultInfo('CCRSYS_RESULT_FAIL'),
    537984: ResultInfo('CCRSYS_RESULT_SERIAL_FLASH_ERROR'),
    538112: ResultInfo('CCRSYS_UPDATE_TIMEOUT_ERROR'),
    538240: ResultInfo('CCRSYS_RESULT_CANCELED'),
    538368: ResultInfo('CCRSYS_RESULT_WRITE_PROTECTED'),
    538496: ResultInfo('CCRSYS_RESULT_NOTIFICATION_INFO_ERROR'),
    550400: ResultInfo('NIM_ERROR'),
    550528: ResultInfo('NIM_ERROR_UNKNOWN'),
    550656: ResultInfo('NIM_ERROR_RESULT_PACKAGE_NOT_FOUND')
})

test = Module('test', {
    12800: ResultInfo('INVALID_ARGUMENT'),
    12928: ResultInfo('INVALID_POINTER'),
    13056: ResultInfo('OUT_OF_RANGE'),
    13184: ResultInfo('TOO_LARGE'),
    13312: ResultInfo('INVALID_VALUE'),
    13440: ResultInfo('NOT_INITIALIZED'),
    25600: ResultInfo('ASSERTION_FAILED'),
    38400: ResultInfo('TIME_OUT'),
    38528: ResultInfo('GET_EXTENDED_STORAGE_TIME_OUT'),
    38656: ResultInfo('CHECK_RESOLVED_STORAGE_TIME_OUT'),
    51200: ResultInfo('MCP_RVAL_OK'),
    51328: ResultInfo('MCP_ERROR'),
    51456: ResultInfo('MCP_RVAL_UNKNOWN_ERROR'),
    51584: ResultInfo('MCP_RVAL_SYSTEM_ERROR'),
    51712: ResultInfo('MCP_RVAL_ALLOC_ERROR'),
    51840: ResultInfo('MCP_RVAL_INVALID_OP_ERROR'),
    51968: ResultInfo('MCP_RVAL_INVALID_ARG_ERROR'),
    52096: ResultInfo('MCP_RVAL_INVALID_TYPE_ERROR'),
    52224: ResultInfo('MCP_RVAL_UNSUPPORTED_ERROR'),
    52352: ResultInfo('MCP_RVAL_ITEM_ACCESS_ERROR'),
    52480: ResultInfo('MCP_RVAL_KEY_NOT_FOUND_ERROR'),
    52608: ResultInfo('MCP_RVAL_BAD_MODIFY_ERROR'),
    52736: ResultInfo('MCP_RVAL_STRING_LENGTH_ERROR'),
    52864: ResultInfo('MCP_RVAL_INVALID_ROOTKEY_ERROR'),
    52992: ResultInfo('MCP_RVAL_INVALID_LOC_ERROR'),
    53120: ResultInfo('MCP_RVAL_BAD_COMMENT_ERROR'),
    53248: ResultInfo('MCP_RVAL_ACCESS_READ_ERROR'),
    53376: ResultInfo('MCP_RVAL_ACCESS_WRITE_ERROR'),
    53504: ResultInfo('MCP_RVAL_ACCESS_CREATE_ERROR'),
    53632: ResultInfo('MCP_RVAL_FILESYS_NAME_ERROR'),
    53760: ResultInfo('MCP_RVAL_FILESYS_INIT_ERROR'),
    53888: ResultInfo('MCP_RVAL_FILESYS_MOUNT_ERROR'),
    54016: ResultInfo('MCP_RVAL_FILE_OPEN_ERROR'),
    54144: ResultInfo('MCP_RVAL_FILE_STAT_ERROR'),
    54272: ResultInfo('MCP_RVAL_FILE_READ_ERROR'),
    54400: ResultInfo('MCP_RVAL_FILE_WRITE_ERROR'),
    54528: ResultInfo('MCP_RVAL_FILE_SIZE_ERROR'),
    54656: ResultInfo('MCP_RVAL_FILE_REMOVE_ERROR'),
    54784: ResultInfo('MCP_RVAL_FILE_RENAME_ERROR'),
    54912: ResultInfo('MCP_RVAL_FILE_CLOSE_ERROR'),
    55040: ResultInfo('MCP_RVAL_FILE_SEEK_ERROR'),
    55168: ResultInfo('MCP_RVAL_FILE_CONFIRM_ERROR'),
    55296: ResultInfo('MCP_RVAL_FILE_BACKUP_ERROR'),
    55424: ResultInfo('MCP_RVAL_FILE_MALFORMED_ERROR'),
    55552: ResultInfo('MCP_RVAL_VERSION_ERROR'),
    55680: ResultInfo('MCP_RVAL_NO_IPC_BUFFERS_ERROR'),
    55808: ResultInfo('MCP_RVAL_TIMEOUT_ERROR'),
    55936: ResultInfo('MCP_RVAL_FILE_LOCK_NEEDED_ERROR'),
    56064: ResultInfo('MCP_RVAL_SYSCTX_NOT_FOUND_ERROR'),
    56192: ResultInfo('MCP_RVAL_INVALID_TRIGGER_ERROR'),
    56320: ResultInfo('MCP_RVAL_TRIGGER_NOT_FOUND_ERROR'),
    56448: ResultInfo('MCP_RVAL_SYSPROT_INIT_ERROR'),
    56576: ResultInfo('MCP_RVAL_SYSPROT_MEMBLOCK_ERROR'),
    56704: ResultInfo('MCP_RVAL_SYSPROT_SRAM_ERROR'),
    56832: ResultInfo('MCP_RVAL_SYSPROT_DEVICES_ERROR'),
    56960: ResultInfo('MCP_RVAL_SYSPROT_FINE_GRAIN_ERROR'),
    57088: ResultInfo('MCP_RVAL_FILE_NOT_FOUND_ERROR'),
    57216: ResultInfo('MCP_RVAL_NOT_INSTALLED_ERROR'),
    57344: ResultInfo('MCP_RVAL_INCORRECT_VERSION_ERROR'),
    57472: ResultInfo('MCP_RVAL_DELAYED_REPLY'),
    57600: ResultInfo('MCP_RVAL_CONTENT_SOURCE_NOT_FOUND_ERROR'),
    57728: ResultInfo('MCP_RVAL_SYSHASH_NOT_INSTALLED_ERROR'),
    57856: ResultInfo('MCP_RVAL_NOT_FOUND_VERSION_LIST_ERROR'),
    57984: ResultInfo('MCP_RVAL_HASH_ENTRY_NOT_FOUND_ERROR'),
    58112: ResultInfo('MCP_RVAL_NEWER_VERSION_EXISTS_ERROR'),
    58240: ResultInfo('MCP_RVAL_TITLE_MUST_UPDATE_ERROR'),
    58368: ResultInfo('MCP_UNEXPECTED_ERROR'),
    58496: ResultInfo('MCP_RVAL_INSTALL_BUSY'),
    58624: ResultInfo('MCP_RVAL_INSTALL_SUSPENDED'),
    58752: ResultInfo('MCP_RVAL_INSTALL_NOT_FOUND_CONTEXT'),
    58880: ResultInfo('MCP_RVAL_INSTALL_NOT_SUSPENDABLE'),
    59008: ResultInfo('MCP_RVAL_INSTALL_INVALID_HANDLE'),
    59136: ResultInfo('MCP_RVAL_FILE_ALREADY_EXISTS_ERROR'),
    59264: ResultInfo('MCP_RVAL_CERT_NOT_FOUND_ERROR'),
    59392: ResultInfo('MCP_RVAL_TITLE_NOT_FOUND_ERROR'),
    59520: ResultInfo('MCP_RVAL_ALREADY_OPEN_ERROR'),
    59648: ResultInfo('MCP_RVAL_UNEXPECTD_IVS_TYPE_ERROR'),
    59776: ResultInfo('MCP_RVAL_IVS_VERIFICATION_ERROR'),
    59904: ResultInfo('MCP_RVAL_DEMOLAUNCH_INVALID_ID_ERROR'),
    60032: ResultInfo('MCP_RVAL_AUTHENTICATION_ERROR'),
    60160: ResultInfo('MCP_RVAL_STORAGE_FULL_ERROR'),
    60288: ResultInfo('MCP_RVAL_END_OF_DIRECTORY'),
    60416: ResultInfo('MCP_RVAL_WRITE_PROTECTED_ERROR'),
    60544: ResultInfo('MCP_RVAL_NOT_FILE'),
    60672: ResultInfo('MCP_RVAL_DATA_CORRUPTED_ERROR'),
    60800: ResultInfo('MCP_RVAL_STACK_ERROR'),
    64000: ResultInfo('NOT_SUPPORTED'),
    64128: ResultInfo('NOT_IMPLEMENTED'),
    76800: ResultInfo('OUT_OF_MEMORY'),
    78080: ResultInfo('USB_USAGE_ERROR'),
    78208: ResultInfo('ALREADY_RESOLVED'),
    78336: ResultInfo('NEED_TO_CHANGE_SETTING_TO_USE_STORAGE'),
    78464: ResultInfo('NOT_MANUAL_STORAGE_RESOLUTION_MODE'),
    81920: ResultInfo('USB_STATUS_ERROR'),
    82048: ResultInfo('NO_USB_STORAGES'),
    82176: ResultInfo('TARGET_USB_STORAGE_NOT_FOUND'),
    82304: ResultInfo('NO_RESOLVED_USB_STORAGES'),
    85760: ResultInfo('USB_FATAL_ERROR'),
    85888: ResultInfo('INVALID_STORAGE_INDEX'),
    89600: ResultInfo('ACP_STATUS_OK'),
    89728: ResultInfo('ACP_ERROR'),
    89856: ResultInfo('ACP_STATUS_DEVICE_NOT_FOUND'),
    102400: ResultInfo('NETCONF_ERROR_OK'),
    102528: ResultInfo('NETCONF_ERROR'),
    102656: ResultInfo('NETCONF_ERROR_NG'),
    102784: ResultInfo('NETCONF_ERROR_INVALID'),
    102912: ResultInfo('NETCONF_ERROR_UNKNOWN'),
    103040: ResultInfo('NETCONF_ERROR_RETRY'),
    103168: ResultInfo('NETCONF_ERROR_NEEDINIT'),
    103296: ResultInfo('NETCONF_ERROR_ADDR'),
    103424: ResultInfo('NETCONF_ERROR_NETMASK'),
    103552: ResultInfo('NETCONF_ERROR_NEXTHOP'),
    103680: ResultInfo('NETCONF_ERROR_IF_STATE'),
    103808: ResultInfo('NETCONF_ERROR_CONFIG_METHOD'),
    103936: ResultInfo('NETCONF_ERROR_SSID_LEN'),
    104064: ResultInfo('NETCONF_ERROR_KEYLEN'),
    104192: ResultInfo('NETCONF_ERROR_KEYID'),
    104320: ResultInfo('NETCONF_ERROR_PRIVACY_MODE'),
    104448: ResultInfo('NETCONF_ERROR_CONFIG_FILE'),
    104576: ResultInfo('NETCONF_ERROR_CONFIG_FORMAT_INVALID'),
    104704: ResultInfo('NETCONF_ERROR_MCP'),
    104832: ResultInfo('NETCONF_ERROR_NAMESERVER'),
    104960: ResultInfo('NETCONF_ERROR_IF_INDEX'),
    105088: ResultInfo('NETCONF_ERROR_SPEED'),
    105216: ResultInfo('NETCONF_ERROR_DUPLEX'),
    105344: ResultInfo('NETCONF_ERROR_NEGOTIATION'),
    105472: ResultInfo('NETCONF_ERROR_PROFILE_NUMBER'),
    105600: ResultInfo('NETCONF_ERROR_MTU'),
    105728: ResultInfo('NETCONF_ERROR_VALID_FLAG'),
    105856: ResultInfo('NETCONF_ERROR_PROXY_STATE'),
    105984: ResultInfo('NETCONF_ERROR_PROXY_HOST'),
    106112: ResultInfo('NETCONF_ERROR_PROXY_PORT'),
    106240: ResultInfo('NETCONF_ERROR_USBETH_NOT_FOUND'),
    106368: ResultInfo('NETCONF_ERROR_PROXY_AUTH_TYPE'),
    106496: ResultInfo('NETCONF_ERROR_SSID_STRING'),
    106624: ResultInfo('NETCONF_ERROR_PROXY_NO_HOSTS'),
    106752: ResultInfo('NETCONF_ERROR_PROXY_USERNAME'),
    106880: ResultInfo('NETCONF_ERROR_PROXY_PASSWORD'),
    108800: ResultInfo('INIT_NETCONFIG_FAILED'),
    108928: ResultInfo('CLOSE_NETCONFIG_FAILED'),
    109056: ResultInfo('READING_NETCONFIG_FAILED'),
    109184: ResultInfo('WRITING_NETCONFIG_FAILED'),
    115200: ResultInfo('FSA_STATUS_OK'),
    115328: ResultInfo('FSA_ERROR'),
    128000: ResultInfo('FS_STATUS_OK'),
    128128: ResultInfo('FS_ERROR'),
    128256: ResultInfo('FS_STATUS_CANCELED'),
    128384: ResultInfo('FS_STATUS_END'),
    128512: ResultInfo('FS_STATUS_MAX'),
    128640: ResultInfo('FS_STATUS_ALREADY_OPEN'),
    128768: ResultInfo('FS_STATUS_EXISTS'),
    128896: ResultInfo('FS_STATUS_NOT_FOUND'),
    129024: ResultInfo('FS_STATUS_NOT_FILE'),
    129152: ResultInfo('FS_STATUS_NOT_DIR'),
    129280: ResultInfo('FS_STATUS_ACCESS_ERROR'),
    129408: ResultInfo('FS_STATUS_PERMISSION_ERROR'),
    129536: ResultInfo('FS_STATUS_FILE_TOO_BIG'),
    129664: ResultInfo('FS_STATUS_STORAGE_FULL'),
    129792: ResultInfo('FS_STATUS_JOURNAL_FULL'),
    129920: ResultInfo('FS_STATUS_UNSUPPORTED_CMD'),
    130048: ResultInfo('FS_STATUS_MEDIA_NOT_READY'),
    130176: ResultInfo('FS_STATUS_INVALID_MEDIA'),
    130304: ResultInfo('FS_STATUS_MEDIA_ERROR'),
    130432: ResultInfo('FS_STATUS_DATA_CORRUPTED'),
    130560: ResultInfo('FS_STATUS_WRITE_PROTECTED'),
    140672: ResultInfo('FS_UNEXPECTED_ERROR'),
    140800: ResultInfo('NETWORK_ERROR'),
    140928: ResultInfo('NETWORK_ERROR_UNSTABLE'),
    153600: ResultInfo('UC_ERROR'),
    153728: ResultInfo('UC_RVAL_UNKNOWN_ERROR'),
    153856: ResultInfo('UC_RVAL_SYSTEM_ERROR'),
    153984: ResultInfo('UC_RVAL_ALLOC_ERROR'),
    154112: ResultInfo('UC_RVAL_INVALID_OP_ERROR'),
    154240: ResultInfo('UC_RVAL_INVALID_ARG_ERROR'),
    154368: ResultInfo('UC_RVAL_INVALID_TYPE_ERROR'),
    154496: ResultInfo('UC_RVAL_UNSUPPORTED_ERROR'),
    154624: ResultInfo('UC_RVAL_ITEM_ACCESS_ERROR'),
    154752: ResultInfo('UC_RVAL_KEY_NOT_FOUND_ERROR'),
    154880: ResultInfo('UC_RVAL_BAD_MODIFY_ERROR'),
    155008: ResultInfo('UC_RVAL_STRING_LENGTH_ERROR'),
    155136: ResultInfo('UC_RVAL_INVALID_ROOTKEY_ERROR'),
    155264: ResultInfo('UC_RVAL_INVALID_LOC_ERROR'),
    155392: ResultInfo('UC_RVAL_BAD_COMMENT_ERROR'),
    155520: ResultInfo('UC_RVAL_ACCESS_READ_ERROR'),
    155648: ResultInfo('UC_RVAL_ACCESS_WRITE_ERROR'),
    155776: ResultInfo('UC_RVAL_ACCESS_CREATE_ERROR'),
    155904: ResultInfo('UC_RVAL_FILESYS_NAME_ERROR'),
    156032: ResultInfo('UC_RVAL_FILESYS_INIT_ERROR'),
    156160: ResultInfo('UC_RVAL_FILESYS_MOUNT_ERROR'),
    156288: ResultInfo('UC_RVAL_FILE_OPEN_ERROR'),
    156416: ResultInfo('UC_RVAL_FILE_STAT_ERROR'),
    156544: ResultInfo('UC_RVAL_FILE_READ_ERROR'),
    156672: ResultInfo('UC_RVAL_FILE_WRITE_ERROR'),
    156800: ResultInfo('UC_RVAL_FILE_SIZE_ERROR'),
    156928: ResultInfo('UC_RVAL_FILE_REMOVE_ERROR'),
    157056: ResultInfo('UC_RVAL_FILE_RENAME_ERROR'),
    157184: ResultInfo('UC_RVAL_FILE_CLOSE_ERROR'),
    157312: ResultInfo('UC_RVAL_FILE_SEEK_ERROR'),
    157440: ResultInfo('UC_RVAL_FILE_CONFIRM_ERROR'),
    157568: ResultInfo('UC_RVAL_FILE_BACKUP_ERROR'),
    157696: ResultInfo('UC_RVAL_FILE_MALFORMED_ERROR'),
    157824: ResultInfo('UC_RVAL_VERSION_ERROR'),
    157952: ResultInfo('UC_RVAL_NO_IPC_BUFFERS_ERROR'),
    158080: ResultInfo('UC_RVAL_TIMEOUT_ERROR'),
    158208: ResultInfo('UC_RVAL_FILE_LOCK_NEEDED_ERROR'),
    158336: ResultInfo('UC_RVAL_SYSCTX_NOT_FOUND_ERROR'),
    158464: ResultInfo('UC_RVAL_INVALID_TRIGGER_ERROR'),
    158592: ResultInfo('UC_RVAL_TRIGGER_NOT_FOUND_ERROR'),
    158720: ResultInfo('UC_RVAL_SYSPROT_INIT_ERROR'),
    158848: ResultInfo('UC_RVAL_SYSPROT_MEMBLOCK_ERROR'),
    158976: ResultInfo('UC_RVAL_SYSPROT_SRAM_ERROR'),
    159104: ResultInfo('UC_RVAL_SYSPROT_DEVICES_ERROR'),
    159232: ResultInfo('UC_RVAL_SYSPROT_FINE_GRAIN_ERROR'),
    159360: ResultInfo('UC_RVAL_FILE_NOT_FOUND_ERROR'),
    159488: ResultInfo('UC_RVAL_INCORRECT_VERSION_ERROR'),
    159616: ResultInfo('UC_UNEXPECTED_ERROR'),
    166400: ResultInfo('UPK_STATUS_ERROR'),
    166528: ResultInfo('UPK_UNRESUMABLE_STATE'),
    172800: ResultInfo('UPK_FATAL_ERROR'),
    172928: ResultInfo('UPK_DOWNLOADED_SIZE_NOT_MATCH_WITH_TOTAL'),
    173056: ResultInfo('UPK_INSTALLED_SIZE_NOT_MATCH_WITH_TOTAL'),
    173184: ResultInfo('UPK_DOWNLOADED_SIZE_DECREASED'),
    173312: ResultInfo('UPK_INSTALLED_SIZE_DECREASED'),
    173440: ResultInfo('UPK_TOTAL_DOWNLOAD_SIZE_CHANGED'),
    173568: ResultInfo('UPK_TOTAL_INSTALL_SIZE_CHANGED'),
    173696: ResultInfo('UPK_INVALID_RESULT'),
    173824: ResultInfo('UPK_INVALID_STATE'),
    179200: ResultInfo('TPK_STATUS_ERROR'),
    179328: ResultInfo('TPK_UNRESUMABLE_STATE'),
    185600: ResultInfo('TPK_FATAL_ERROR'),
    185728: ResultInfo('TPK_DOWNLOADED_SIZE_NOT_MATCH_WITH_TOTAL'),
    185856: ResultInfo('TPK_INSTALLED_SIZE_NOT_MATCH_WITH_TOTAL'),
    185984: ResultInfo('TPK_DOWNLOADED_SIZE_DECREASED'),
    186112: ResultInfo('TPK_INSTALLED_SIZE_DECREASED'),
    186240: ResultInfo('TPK_TOTAL_DOWNLOAD_SIZE_CHANGED'),
    186368: ResultInfo('TPK_TOTAL_INSTALL_SIZE_CHANGED'),
    186496: ResultInfo('TPK_INVALID_RESULT'),
    186624: ResultInfo('TPK_INVALID_STATE'),
    192000: ResultInfo('UNSUPPORTED'),
    192128: ResultInfo('UNSUPPORTED_TITLE_TYPE'),
    192256: ResultInfo('UNSUPPORTED_DOWNLOAD_TYPE'),
    204800: ResultInfo('ACCOUNT_ERROR'),
    204928: ResultInfo('ACCOUNT_ERROR_NO_NETWORK_ACCOUNT'),
    217600: ResultInfo('NOT_FOUND'),
    217728: ResultInfo('TARGET_TITLE_NOT_FOUND')
})

modules = {
    0: Module('common'),
    1: ipc,
    2: boss,
    3: acp,
    4: ios,
    5: nim,
    6: pdm,
    7: act,
    8: Module('ngc'),
    9: Module('eca'),
    10: Module('nup'),
    11: ndm,
    12: fp,
    13: ac,
    14: Module('conntest'),
    15: Module('drmapp'),
    16: telnet,
    17: Module('olv'),
    18: Module('vctl'),
    19: Module('neia'),
    20: Module('spm'),
    21: Module('emd'),
    22: ec,
    23: cia,
    24: sl,
    25: Module('eco'),
    125: test
}

legacy_modules = {
    0: Module('common'),
    1: Module('kernel'),
    2: Module('util'),
    3: Module('file server'),
    4: Module('loader server'),
    5: Module('tcb'),
    6: Module('os'),
    7: Module('dbg'),
    8: Module('dmnt'),
    9: Module('pdn'),
    10: Module('cx'),
    11: Module('i2c'),
    12: Module('gpio'),
    13: Module('dd'),
    14: Module('codec'),
    15: Module('spi'),
    16: Module('pxi'),
    17: Module('fs'),
    18: Module('di'),
    19: Module('hid'),
    20: Module('camera'),
    21: Module('pi'),
    22: Module('pm'),
    23: Module('pmlow'),
    24: Module('fsi'),
    25: Module('srv'),
    26: Module('ndm'),
    27: Module('nwm'),
    28: Module('socket'),
    29: Module('ldr'),
    30: Module('acc'),
    31: Module('romfs'),
    32: Module('am'),
    33: Module('hio'),
    34: Module('updater'),
    35: Module('mic'),
    36: Module('fnd'),
    37: Module('mp'),
    38: Module('mpwl'),
    39: Module('ac'),
    40: Module('http'),
    41: Module('dsp'),
    42: Module('snd'),
    43: Module('dlp'),
    44: Module('hiolow'),
    45: Module('csnd'),
    46: Module('ssl'),
    47: Module('amlow'),
    48: Module('nex'),
    49: Module('friends'),
    50: Module('rdt'),
    51: Module('applet'),
    52: Module('nim'),
    53: Module('ptm'),
    54: Module('midi'),
    55: Module('mc'),
    56: Module('swc'),
    57: Module('fatfs'),
    58: Module('ngc'),
    59: Module('card'),
    60: Module('cardnor'),
    61: Module('sdmc'),
    62: Module('boss'),
    63: Module('dbm'),
    64: Module('cfg'),
    65: Module('ps'),
    66: Module('cec'),
    67: Module('ir'),
    68: Module('uds'),
    69: Module('pl'),
    70: Module('cup'),
    71: Module('gyroscope'),
    72: Module('mcu'),
    73: Module('ns'),
    74: Module('news'),
    75: Module('ro'),
    76: Module('gd'),
    77: Module('cardspi'),
    78: Module('ec'),
    79: Module('webbrs'),
    80: Module('test'),
    81: Module('enc'),
    82: Module('pia'),
    510: Module('application')
}

levels = {
    0: 'Success',
    1: 'End',  # -7
    5: 'Status',  # -3
    6: 'Usage',  # -2
    7: 'Fatal'  # -1
}

legacy_levels = {
    1: 'Info',
    9: 'Temporary',  # -7
    10: 'Permanent',  # -6
    11: 'Reinit',  # -5
    12: 'Reset'  # -4
}

legacy_summary = {
    0: 'Success',
    1: 'Nothing happened',
    2: 'Would block',
    3: 'Out of resource',
    4: 'Not found',
    5: 'Invalid state',
    6: 'Not supported',
    7: 'Invalid argument',
    8: 'Wrong argument',
    9: 'Canceled',
    10: 'Status changed',
    11: 'Internal'
}

SIGNATURE_IS_LEGACY = 3

CONSOLE_NAME = 'Nintendo Wii U'

# Suggested color to use if displaying information through a Discord bot's embed
COLOR = 0x009AC7

def is_valid(error: str):
    try:
        err_int = int(error, 16)
    except ValueError:
        return False
    return True if err_int.bit_length() <= 32 else False

def construct_result(ret, mod, summary, level, desc, is_legacy):
    module = (legacy_modules if is_legacy else modules).get(mod, Module(''))
    common = (legacy_modules if is_legacy else modules)[0]
    ret.add_field(ConsoleErrorField('Module', message_str=module.name, supplementary_value=mod))
    if is_legacy:
        ret.extra_description = "Legacy result"
    if is_legacy and summary is not None:
        ret.add_field(ConsoleErrorField('Summary', message_str=legacy_summary.get(summary, ''), supplementary_value=summary))
    ret.add_field(ConsoleErrorField('Level', message_str=(legacy_levels if is_legacy else levels).get(level, ''), supplementary_value=level))
    description = module.get_error(desc)
    if description is None:
        description = common.get_error(desc)
        if description is None:
            ret.add_field(ConsoleErrorField('Description', supplementary_value=desc))
        else:
            ret.add_field(ConsoleErrorField('Description', message_str=description.description, supplementary_value=desc))
    else:
        ret.add_field(ConsoleErrorField('Description', message_str=description.description, supplementary_value=desc))

    return ret

def get(error: str):
    err_int = int(error, 16)
    if ((err_int >> 27) & 0x3) == SIGNATURE_IS_LEGACY:
        mod = (err_int >> 20) & 0x7F
        level = (err_int >> 14) & 0xF
        summary = (err_int >> 10) & 0xF
        desc = err_int & 0x3FF
        is_legacy = True
    else:
        level = (err_int >> 29) & 0x7
        mod = (err_int >> 20) & 0x1FF
        desc = err_int & 0xFFFFF
        summary = None
        is_legacy = False

    ret = ConsoleErrorInfo(error, CONSOLE_NAME, COLOR)
    return construct_result(ret, mod, summary, level, desc, is_legacy)