diff --git a/LICENSE b/LICENSE index 5b765c90..0e259d42 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,121 @@ -MIT License +Creative Commons Legal Code -Copyright (c) 2024 +CC0 1.0 Universal -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS + PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM + THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED + HEREUNDER. -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +Statement of Purpose -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file +The laws of most jurisdictions throughout the world automatically confer +exclusive Copyright and Related Rights (defined below) upon the creator +and subsequent owner(s) (each and all, an "owner") of an original work of +authorship and/or a database (each, a "Work"). + +Certain owners wish to permanently relinquish those rights to a Work for +the purpose of contributing to a commons of creative, cultural and +scientific works ("Commons") that the public can reliably and without fear +of later claims of infringement build upon, modify, incorporate in other +works, reuse and redistribute as freely as possible in any form whatsoever +and for any purposes, including without limitation commercial purposes. +These owners may contribute to the Commons to promote the ideal of a free +culture and the further production of creative, cultural and scientific +works, or to gain reputation or greater distribution for their Work in +part through the use and efforts of others. + +For these and/or other purposes and motivations, and without any +expectation of additional consideration or compensation, the person +associating CC0 with a Work (the "Affirmer"), to the extent that he or she +is an owner of Copyright and Related Rights in the Work, voluntarily +elects to apply CC0 to the Work and publicly distribute the Work under its +terms, with knowledge of his or her Copyright and Related Rights in the +Work and the meaning and intended legal effect of CC0 on those rights. + +1. Copyright and Related Rights. A Work made available under CC0 may be +protected by copyright and related or neighboring rights ("Copyright and +Related Rights"). Copyright and Related Rights include, but are not +limited to, the following: + + i. the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + ii. moral rights retained by the original author(s) and/or performer(s); +iii. publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + iv. rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + v. rights protecting the extraction, dissemination, use and reuse of data + in a Work; + vi. database rights (such as those arising under Directive 96/9/EC of the + European Parliament and of the Council of 11 March 1996 on the legal + protection of databases, and under any national implementation + thereof, including any amended or successor version of such + directive); and +vii. other similar, equivalent or corresponding rights throughout the + world based on applicable law or treaty, and any national + implementations thereof. + +2. Waiver. To the greatest extent permitted by, but not in contravention +of, applicable law, Affirmer hereby overtly, fully, permanently, +irrevocably and unconditionally waives, abandons, and surrenders all of +Affirmer's Copyright and Related Rights and associated claims and causes +of action, whether now known or unknown (including existing as well as +future claims and causes of action), in the Work (i) in all territories +worldwide, (ii) for the maximum duration provided by applicable law or +treaty (including future time extensions), (iii) in any current or future +medium and for any number of copies, and (iv) for any purpose whatsoever, +including without limitation commercial, advertising or promotional +purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each +member of the public at large and to the detriment of Affirmer's heirs and +successors, fully intending that such Waiver shall not be subject to +revocation, rescission, cancellation, termination, or any other legal or +equitable action to disrupt the quiet enjoyment of the Work by the public +as contemplated by Affirmer's express Statement of Purpose. + +3. Public License Fallback. Should any part of the Waiver for any reason +be judged legally invalid or ineffective under applicable law, then the +Waiver shall be preserved to the maximum extent permitted taking into +account Affirmer's express Statement of Purpose. In addition, to the +extent the Waiver is so judged Affirmer hereby grants to each affected +person a royalty-free, non transferable, non sublicensable, non exclusive, +irrevocable and unconditional license to exercise Affirmer's Copyright and +Related Rights in the Work (i) in all territories worldwide, (ii) for the +maximum duration provided by applicable law or treaty (including future +time extensions), (iii) in any current or future medium and for any number +of copies, and (iv) for any purpose whatsoever, including without +limitation commercial, advertising or promotional purposes (the +"License"). The License shall be deemed effective as of the date CC0 was +applied by Affirmer to the Work. Should any part of the License for any +reason be judged legally invalid or ineffective under applicable law, such +partial invalidity or ineffectiveness shall not invalidate the remainder +of the License, and in such case Affirmer hereby affirms that he or she +will not (i) exercise any of his or her remaining Copyright and Related +Rights in the Work or (ii) assert any associated claims and causes of +action with respect to the Work, in either case contrary to Affirmer's +express Statement of Purpose. + +4. Limitations and Disclaimers. + + a. No trademark or patent rights held by Affirmer are waived, abandoned, + surrendered, licensed or otherwise affected by this document. + b. Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties of + title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, or + the present or absence of errors, whether or not discoverable, all to + the greatest extent permissible under applicable law. + c. Affirmer disclaims responsibility for clearing rights of other persons + that may apply to the Work or any use thereof, including without + limitation any person's Copyright and Related Rights in the Work. + Further, Affirmer disclaims responsibility for obtaining any necessary + consents, permissions or other rights required for any use of the + Work. + d. Affirmer understands and acknowledges that Creative Commons is not a + party to this document and has no duty or obligation with respect to + this CC0 or use of the Work. diff --git a/README.md b/README.md index 2d7e01c6..fd9ee110 100644 --- a/README.md +++ b/README.md @@ -1,26 +1,73 @@ -![Logo](./misc/logo.png) -Wii Menu -[![Build Status]][actions] [![Discord Badge]][discord] [![Progress Badge]][progress] [![Linked Badge]][progress] -======== + [Build Status]: https://github.com/koopthekoopa/wii-ipl/actions/workflows/build.yml/badge.svg [actions]: https://github.com/koopthekoopa/wii-ipl/actions/workflows/build.yml + + + [Discord Badge]: https://img.shields.io/discord/727908905392275526?color=%237289DA&logo=discord&logoColor=%23FFFFFF [discord]: https://discord.gg/hKx3FJJgrV -[Progress Badge]: https://decomp.dev/koopthekoopa/wii-ipl.svg?mode=shield&measure=code&label=Progress -[Linked Badge]: https://decomp.dev/koopthekoopa/wii-ipl.svg?mode=shield&measure=complete_code&label=Linked -[progress]: https://decomp.dev/koopthekoopa/wii-ipl + + +[V43U]: https://decomp.dev/koopthekoopa/wii-ipl/43U +[V43E]: https://decomp.dev/koopthekoopa/wii-ipl/43E +[V43J]: https://decomp.dev/koopthekoopa/wii-ipl/43J +[V43K]: https://decomp.dev/koopthekoopa/wii-ipl/43K + + + +[DecompBadgeV43U]: https://decomp.dev/koopthekoopa/wii-ipl/43U.svg?mode=shield&measure=code&label=Decompiled&color=rgb(16,175,232) +[LinkBadgeV43U]: https://decomp.dev/koopthekoopa/wii-ipl/43U.svg?mode=shield&measure=complete_code&label=Linked&color=rgb(16,175,232) +[FuncBadgeV43U]: https://decomp.dev/koopthekoopa/wii-ipl/43U.svg?mode=shield&measure=functions&label=Functions&color=rgb(16,175,232) + + + +[DecompBadgeV43E]: https://decomp.dev/koopthekoopa/wii-ipl/43E.svg?mode=shield&measure=code&label=Decompiled&color=rgb(16,175,232) +[LinkBadgeV43E]: https://decomp.dev/koopthekoopa/wii-ipl/43E.svg?mode=shield&measure=complete_code&label=Linked&color=rgb(16,175,232) +[FuncBadgeV43E]: https://decomp.dev/koopthekoopa/wii-ipl/43E.svg?mode=shield&measure=functions&label=Functions&color=rgb(16,175,232) + + + +[DecompBadgeV43J]: https://decomp.dev/koopthekoopa/wii-ipl/43J.svg?mode=shield&measure=code&label=Decompiled&color=rgb(16,175,232) +[LinkBadgeV43J]: https://decomp.dev/koopthekoopa/wii-ipl/43J.svg?mode=shield&measure=complete_code&label=Linked&color=rgb(16,175,232) +[FuncBadgeV43J]: https://decomp.dev/koopthekoopa/wii-ipl/43J.svg?mode=shield&measure=functions&label=Functions&color=rgb(16,175,232) + + + +[DecompBadgeV43K]: https://decomp.dev/koopthekoopa/wii-ipl/43K.svg?mode=shield&measure=code&label=Decompiled&color=rgb(16,175,232) +[LinkBadgeV43K]: https://decomp.dev/koopthekoopa/wii-ipl/43K.svg?mode=shield&measure=complete_code&label=Linked&color=rgb(16,175,232) +[FuncBadgeV43K]: https://decomp.dev/koopthekoopa/wii-ipl/43K.svg?mode=shield&measure=functions&label=Functions&color=rgb(16,175,232) + + + +![](./misc/logo.png) +Wii Menu +[![Build Status]][actions] [![Discord Badge]][discord] +======== + + A work-in-progress decompilation of the Wii Menu (4.3). This repository does **not** contain any assets or assembly of the executable whatsoever. An existing WAD of the Wii Menu is required. Supported versions: -- `43J`: Version **4.3J** (Japan) -- `43U`: Version **4.3U** (USA) -- `43E`: Version **4.3E** (Europe) -- `43K`: Version **4.3K** (Korean) +- `43U` - Version **4.3U** (USA) +- `43E` - Version **4.3E** (Europe) +- `43J` - Version **4.3J** (Japan) +- `43K` - Version **4.3K** (Korean) + +Progress +======== +| Version | Functions Done | Decompiled | Linked | +|-----------------------|--------------------------|----------------------------|--------------------------| +| [Wii Menu 4.3U][V43U] | [![FuncBadgeV43U]][V43U] | [![DecompBadgeV43U]][V43U] | [![LinkBadgeV43U]][V43U] | +| [Wii Menu 4.3E][V43E] | [![FuncBadgeV43E]][V43E] | [![DecompBadgeV43E]][V43E] | [![LinkBadgeV43E]][V43E] | +| [Wii Menu 4.3J][V43J] | [![FuncBadgeV43J]][V43J] | [![DecompBadgeV43J]][V43J] | [![LinkBadgeV43J]][V43J] | +| [Wii Menu 4.3K][V43K] | [![FuncBadgeV43K]][V43K] | [![DecompBadgeV43K]][V43K] | [![LinkBadgeV43K]][V43K] | + +> You can see the full progress and its history by clicking on one of the versions in the table. Installing Dependencies ======================= @@ -75,8 +122,7 @@ Building git clone https://github.com/koopthekoopa/wii-ipl.git ``` -- Copy the Wii Menu WAD to `orig/[Wii Menu Version]`. - - Rename the WAD to `base.wad` +- Copy your WAD to `orig/[Wii Menu Version]`. - Configure: @@ -93,7 +139,7 @@ Building ``` > [!NOTE] -> This does **not** prodcue a WAD file. You must replace the exectable with the one you built (`main.app`) manually. +> This does **not** produce a WAD file. You must replace the exectable with the one you built (`main.app`) manually into a WAD file. > [!WARNING] > The code is not 100% shiftable, most of it works aside from a couple of things (such as Wii Settings and a few Channel Banners like the Forecast Channel) diff --git a/config/43E/config.yml b/config/43E/config.yml index d6470208..fc91b98e 100644 --- a/config/43E/config.yml +++ b/config/43E/config.yml @@ -53,6 +53,10 @@ extract: binary: backToWiiMenu.arc header: backToWiiMenu_arc.inc + - symbol: DSPInitCode + binary: dsp\initCode.bin + header: DSPInitCode.inc + - symbol: axDspSlave binary: ax\dspSlave.bin header: axDspSlave.inc diff --git a/config/43E/splits.txt b/config/43E/splits.txt index 002990d3..7a24f147 100644 --- a/config/43E/splits.txt +++ b/config/43E/splits.txt @@ -243,7 +243,7 @@ src/system/TVRC.cpp: .sbss start:0x8169A5A0 end:0x8169A618 src/system/iplTVRCManager.cpp: - .text start:0x813619F8 end:0x81362794 + .text start:0x813619F8 end:0x813627B4 .data start:0x81639B40 end:0x81639BC0 .sbss start:0x8169A618 end:0x8169A620 @@ -251,7 +251,7 @@ src/system/_DATA_.c: .data start:0x81639BC0 end:0x816414A8 src/utility/iplTree.cpp: - .text start:0x81362794 end:0x813628F8 + .text start:0x813627B4 end:0x813628F8 .data start:0x816414A8 end:0x816414C8 src/utility/iplFrameController.cpp: @@ -1244,7 +1244,7 @@ src/channelScript/systemmenu/iplCSSound.cpp: src/channelScript/systemmenu/iplCSImage.cpp: .text start:0x8145F084 end:0x8145F0D0 -libs/RVLMiddleware/eZiText/src/zi8ezt.c: +libs/RVLMiddleware/eZiText/src/eztx.c: .text start:0x8145F0D0 end:0x8145F178 .rodata start:0x81617AF0 end:0x81617B40 .data start:0x8166ACE0 end:0x8166AD18 @@ -1720,162 +1720,162 @@ libs/RevoEX/src/ssl/ssl_api.c: libs/RevoEX/src/ssl/ssl_mutex.c: .text start:0x814B58B8 end:0x814B58C4 -libs/RevoEX/src/vf/pf_clib.c: +libs/RevoEX/src/vf/api/pf_clib.c: .text start:0x814B58C4 end:0x814B5BC4 -libs/RevoEX/src/vf/pf_code.c: +libs/RevoEX/src/vf/api/pf_code.c: .text start:0x814B5BC4 end:0x814B5BE0 .rodata start:0x81618FD0 end:0x81619030 -libs/RevoEX/src/vf/pf_service.c: +libs/RevoEX/src/vf/api/pf_service.c: .text start:0x814B5BE0 end:0x814B5CF8 -libs/RevoEX/src/vf/pf_str.c: +libs/RevoEX/src/vf/api/pf_str.c: .text start:0x814B5CF8 end:0x814B622C -libs/RevoEX/src/vf/pf_w_clib.c: +libs/RevoEX/src/vf/api/pf_w_clib.c: .text start:0x814B622C end:0x814B62C0 -libs/RevoEX/src/vf/pf_driver.c: +libs/RevoEX/src/vf/api/pf_driver.c: .text start:0x814B62C0 end:0x814B6DA8 -libs/RevoEX/src/vf/pdm_bpb.c: +libs/RevoEX/src/vf/api/pdm_bpb.c: .text start:0x814B6DA8 end:0x814B770C -libs/RevoEX/src/vf/pdm_disk.c: +libs/RevoEX/src/vf/api/pdm_disk.c: .text start:0x814B770C end:0x814B8CDC -libs/RevoEX/src/vf/pdm_partition.c: +libs/RevoEX/src/vf/api/pdm_partition.c: .text start:0x814B8CDC end:0x814BA4B8 -libs/RevoEX/src/vf/pdm_mbr.c: +libs/RevoEX/src/vf/api/pdm_mbr.c: .text start:0x814BA4B8 end:0x814BAA70 -libs/RevoEX/src/vf/pdm_dskmng.c: +libs/RevoEX/src/vf/api/pdm_dskmng.c: .bss start:0x810CCC20 end:0x810CD7F0 .text start:0x814BAA70 end:0x814BAC94 -libs/RevoEX/src/vf/pf_cache.c: +libs/RevoEX/src/vf/api/pf_cache.c: .text start:0x814BAC94 end:0x814BC880 -libs/RevoEX/src/vf/pf_cluster.c: +libs/RevoEX/src/vf/api/pf_cluster.c: .text start:0x814BC880 end:0x814BCFD0 -libs/RevoEX/src/vf/pf_dir.c: +libs/RevoEX/src/vf/api/pf_dir.c: .text start:0x814BCFD0 end:0x814BE3F8 .sdata start:0x81699B88 end:0x81699B98 -libs/RevoEX/src/vf/pf_entry.c: +libs/RevoEX/src/vf/api/pf_entry.c: .text start:0x814BE3F8 end:0x814BFFE8 .data start:0x8166E7B0 end:0x8166E7C0 .sdata2 start:0x81696EE8 end:0x81696EF0 -libs/RevoEX/src/vf/pf_entry_iterator.c: +libs/RevoEX/src/vf/api/pf_entry_iterator.c: .text start:0x814BFFE8 end:0x814C2158 .sdata start:0x81699B98 end:0x81699BC0 -libs/RevoEX/src/vf/pf_fat.c: +libs/RevoEX/src/vf/api/pf_fat.c: .text start:0x814C2158 end:0x814C5120 .rodata start:0x81619030 end:0x81619070 -libs/RevoEX/src/vf/pf_fat12.c: +libs/RevoEX/src/vf/api/pf_fat12.c: .text start:0x814C5120 end:0x814C5C58 -libs/RevoEX/src/vf/pf_fat16.c: +libs/RevoEX/src/vf/api/pf_fat16.c: .text start:0x814C5C58 end:0x814C61E4 -libs/RevoEX/src/vf/pf_fat32.c: +libs/RevoEX/src/vf/api/pf_fat32.c: .text start:0x814C61E4 end:0x814C6838 -libs/RevoEX/src/vf/pf_fatfs.c: +libs/RevoEX/src/vf/api/pf_fatfs.c: .text start:0x814C6838 end:0x814C683C -libs/RevoEX/src/vf/pf_file.c: +libs/RevoEX/src/vf/api/pf_file.c: .text start:0x814C683C end:0x814C9F20 -libs/RevoEX/src/vf/pf_path.c: +libs/RevoEX/src/vf/api/pf_path.c: .text start:0x814C9F20 end:0x814CC8AC .sdata2 start:0x81696EF0 end:0x81696F00 .sdata start:0x81699BC0 end:0x81699BF0 -libs/RevoEX/src/vf/pf_sector.c: +libs/RevoEX/src/vf/api/pf_sector.c: .text start:0x814CC8AC end:0x814CD154 -libs/RevoEX/src/vf/pf_volume.c: +libs/RevoEX/src/vf/api/pf_volume.c: .bss start:0x810CD7F0 end:0x810F5540 .text start:0x814CD154 end:0x814CF204 -libs/RevoEX/src/vf/pf_cp932.c: +libs/RevoEX/src/vf/api/pf_cp932.c: .text start:0x814CF204 end:0x814CF6E8 .rodata start:0x81619070 end:0x8161D2E8 -libs/RevoEX/src/vf/pf_attach.c: +libs/RevoEX/src/vf/api/pf_attach.c: .text start:0x814CF6E8 end:0x814CF8D8 -libs/RevoEX/src/vf/pf_chdir.c: +libs/RevoEX/src/vf/api/pf_chdir.c: .text start:0x814CF8D8 end:0x814CF928 -libs/RevoEX/src/vf/pf_create.c: +libs/RevoEX/src/vf/api/pf_create.c: .text start:0x814CF928 end:0x814CF98C -libs/RevoEX/src/vf/pf_detach.c: +libs/RevoEX/src/vf/api/pf_detach.c: .text start:0x814CF98C end:0x814CF9B4 -libs/RevoEX/src/vf/pf_errnum.c: +libs/RevoEX/src/vf/api/pf_errnum.c: .text start:0x814CF9B4 end:0x814CF9D8 -libs/RevoEX/src/vf/pf_fclose.c: +libs/RevoEX/src/vf/api/pf_fclose.c: .text start:0x814CF9D8 end:0x814CF9FC -libs/RevoEX/src/vf/pf_finfo.c: +libs/RevoEX/src/vf/api/pf_finfo.c: .text start:0x814CF9FC end:0x814CFA20 -libs/RevoEX/src/vf/pf_fopen.c: +libs/RevoEX/src/vf/api/pf_fopen.c: .text start:0x814CFA20 end:0x814CFACC -libs/RevoEX/src/vf/pf_format.c: +libs/RevoEX/src/vf/api/pf_format.c: .text start:0x814CFACC end:0x814CFAF4 -libs/RevoEX/src/vf/pf_fread.c: +libs/RevoEX/src/vf/api/pf_fread.c: .text start:0x814CFAF4 end:0x814CFB1C -libs/RevoEX/src/vf/pf_fseek.c: +libs/RevoEX/src/vf/api/pf_fseek.c: .text start:0x814CFB1C end:0x814CFB40 -libs/RevoEX/src/vf/pf_fsfirst.c: +libs/RevoEX/src/vf/api/pf_fsfirst.c: .text start:0x814CFB40 end:0x814CFBB4 -libs/RevoEX/src/vf/pf_fsnext.c: +libs/RevoEX/src/vf/api/pf_fsnext.c: .text start:0x814CFBB4 end:0x814CFBD8 -libs/RevoEX/src/vf/pf_fwrite.c: +libs/RevoEX/src/vf/api/pf_fwrite.c: .text start:0x814CFBD8 end:0x814CFC00 -libs/RevoEX/src/vf/pf_getdev.c: +libs/RevoEX/src/vf/api/pf_getdev.c: .text start:0x814CFC00 end:0x814CFC28 -libs/RevoEX/src/vf/pf_init_prfile2.c: +libs/RevoEX/src/vf/api/pf_init_prfile2.c: .text start:0x814CFC28 end:0x814CFC68 -libs/RevoEX/src/vf/pf_mkdir.c: +libs/RevoEX/src/vf/api/pf_mkdir.c: .text start:0x814CFC68 end:0x814CFCB8 -libs/RevoEX/src/vf/pf_remove.c: +libs/RevoEX/src/vf/api/pf_remove.c: .text start:0x814CFCB8 end:0x814CFD08 -libs/RevoEX/src/vf/pf_rmdir.c: +libs/RevoEX/src/vf/api/pf_rmdir.c: .text start:0x814CFD08 end:0x814CFD58 -libs/RevoEX/src/vf/pf_sync.c: +libs/RevoEX/src/vf/api/pf_sync.c: .text start:0x814CFD58 end:0x814CFD80 -libs/RevoEX/src/vf/pf_unmount.c: +libs/RevoEX/src/vf/api/pf_unmount.c: .text start:0x814CFD80 end:0x814CFDA8 -libs/RevoEX/src/vf/pf_filelock.c: +libs/RevoEX/src/vf/api/pf_filelock.c: .text start:0x814CFDA8 end:0x814CFDBC -libs/RevoEX/src/vf/pf_system.c: +libs/RevoEX/src/vf/api/pf_system.c: .text start:0x814CFDBC end:0x814CFE34 .sbss start:0x8169AD10 end:0x8169AD18 @@ -1905,13 +1905,13 @@ libs/RevoEX/src/vf/d_common.c: .bss start:0x810F58D0 end:0x810F5AD8 .text start:0x814D4F34 end:0x814D5B50 -libs/RevoEX/src/vf/nand_drv.c: +libs/RevoEX/src/vf/driver/nand_drv.c: .bss start:0x810F5AD8 end:0x810F5C80 .text start:0x814D5B50 end:0x814D8AC0 .rodata start:0x8161D3B8 end:0x8161D3D8 .sbss start:0x8169AD40 end:0x8169AD48 -libs/RevoEX/src/vf/sd_drv.c: +libs/RevoEX/src/vf/driver/sd_drv.c: .bss start:0x810F5C80 end:0x810F6040 .text start:0x814D8AC0 end:0x814D98D8 .rodata start:0x8161D3D8 end:0x8161D3F8 @@ -2028,11 +2028,53 @@ libs/RVLFaceLib/src/RFL_Format.c: extabindex start:0x81331C44 end:0x81331CBC .text start:0x814EA004 end:0x814EA544 -libs/RVLMiddleware/TMC_JPEG/src/decapi.c: - .text start:0x814EA544 end:0x814F7120 - .rodata start:0x8161E2C0 end:0x8161E530 +libs/RVLMiddleware/TMC_JPEG/src/buffer/mkhdec3.c: + .text start:0x814EA544 end:0x814EAA10 + +libs/RVLMiddleware/TMC_JPEG/src/buffer/buffer_system.c: + .text start:0x814EAA10 end:0x814EB39C + +libs/RVLMiddleware/TMC_JPEG/src/buffer/getcode.c: + .text start:0x814EB39C end:0x814EB4D8 + +libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var.c: + .text start:0x814EB4D8 end:0x814EBFF4 + +libs/RVLMiddleware/TMC_JPEG/src/api/decapi.c: + .text start:0x814EBFF4 end:0x814EC440 + +libs/RVLMiddleware/TMC_JPEG/src/jpegdec/jdec.c: + .text start:0x814EC440 end:0x814EC83C + +libs/RVLMiddleware/TMC_JPEG/src/jpegdec/jdec_main.c: + .text start:0x814EC83C end:0x814EDE20 + .rodata start:0x8161E2C0 end:0x8161E3C0 + +libs/RVLMiddleware/TMC_JPEG/src/jpegdec/jpformat.c: + .rodata start:0x8161E3C0 end:0x8161E530 .sdata2 start:0x81697058 end:0x81697060 +libs/RVLMiddleware/TMC_JPEG/src/exif/exif_parse.c: + .text start:0x814EDE20 end:0x814EF200 + +libs/RVLMiddleware/TMC_JPEG/src/reschange/iqdec_resolution_change_a3.c: + .text start:0x814EF200 end:0x814EF58C + +libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var.c: + .text start:0x814EF58C end:0x814EFC98 + +libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8.c: + .text start:0x814EFC98 end:0x814F3AE4 + +libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565.c: + .text start:0x814F3AE4 end:0x814F530C + +libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8.c: + .text start:0x814F530C end:0x814F6CD0 + +libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32.c: + .text start:0x814F6CD0 end:0x814F7120 + libs/NW4R/src/snd/snd_AxManager.cpp: .bss start:0x810F6040 end:0x81100458 .text start:0x814F7120 end:0x814F89FC @@ -2622,6 +2664,7 @@ libs/RVL_SDK/src/os/OSPlayRecord.c: .bss start:0x81115DA0 end:0x81115FA0 .text start:0x81536EC0 end:0x815377B0 .data start:0x816803B0 end:0x816803F8 + .sdata start:0x81699D18 end:0x81699D20 .sbss start:0x8169AF58 end:0x8169AF78 libs/RVL_SDK/src/os/OSStateFlags.c: @@ -2642,7 +2685,7 @@ libs/RVL_SDK/src/os/OSPlayTime.c: .text start:0x81537E84 end:0x81538704 .data start:0x816805A8 end:0x816805E8 .sdata2 start:0x81697478 end:0x81697488 - .sdata start:0x81699D18 end:0x81699D28 + .sdata start:0x81699D20 end:0x81699D28 .sbss start:0x8169AF78 end:0x8169AF90 libs/RVL_SDK/src/os/__ppc_eabi_init.cpp: @@ -3527,451 +3570,451 @@ libs/RVL_SDK/src/cnt/cnt.c: .rodata start:0x8162E678 end:0x8162E8F0 .data start:0x81690940 end:0x81690A40 -libs/RVL_SDK/src/fa/pf_clib.c: +libs/RVL_SDK/src/fa/api/pf_clib.c: .text start:0x815C6098 end:0x815C64D4 -libs/RVL_SDK/src/fa/pf_code.c: +libs/RVL_SDK/src/fa/api/pf_code.c: .text start:0x815C64D4 end:0x815C64F0 .rodata start:0x8162E8F0 end:0x8162E950 -libs/RVL_SDK/src/fa/pf_service.c: +libs/RVL_SDK/src/fa/api/pf_service.c: .text start:0x815C64F0 end:0x815C6628 -libs/RVL_SDK/src/fa/pf_str.c: +libs/RVL_SDK/src/fa/api/pf_str.c: .text start:0x815C6628 end:0x815C6B8C -libs/RVL_SDK/src/fa/pf_driver.c: +libs/RVL_SDK/src/fa/api/pf_driver.c: .text start:0x815C6B8C end:0x815C7490 -libs/RVL_SDK/src/fa/pdm_api.c: +libs/RVL_SDK/src/fa/api/pdm_api.c: .text start:0x815C7490 end:0x815C7538 -libs/RVL_SDK/src/fa/pdm_bpb.c: +libs/RVL_SDK/src/fa/api/pdm_bpb.c: .text start:0x815C7538 end:0x815C7A24 -libs/RVL_SDK/src/fa/pdm_disk.c: +libs/RVL_SDK/src/fa/api/pdm_disk.c: .bss start:0x81177818 end:0x811781E0 .text start:0x815C7A24 end:0x815C8210 -libs/RVL_SDK/src/fa/pdm_partition.c: +libs/RVL_SDK/src/fa/api/pdm_partition.c: .text start:0x815C8210 end:0x815C9094 -libs/RVL_SDK/src/fa/pf_cache.c: +libs/RVL_SDK/src/fa/api/pf_cache.c: .text start:0x815C9094 end:0x815CAD78 -libs/RVL_SDK/src/fa/pf_cluster.c: +libs/RVL_SDK/src/fa/api/pf_cluster.c: .text start:0x815CAD78 end:0x815CBF40 -libs/RVL_SDK/src/fa/pf_dir.c: +libs/RVL_SDK/src/fa/api/pf_dir.c: .text start:0x815CBF40 end:0x815D0960 .sdata2 start:0x81697828 end:0x81697830 .sdata start:0x8169A1D0 end:0x8169A1F0 -libs/RVL_SDK/src/fa/pf_entry.c: +libs/RVL_SDK/src/fa/api/pf_entry.c: .text start:0x815D0960 end:0x815D22E4 .data start:0x81690A40 end:0x81690A50 .sdata2 start:0x81697830 end:0x81697838 -libs/RVL_SDK/src/fa/pf_entry_iterator.c: +libs/RVL_SDK/src/fa/api/pf_entry_iterator.c: .text start:0x815D22E4 end:0x815D41AC .sdata start:0x8169A1F0 end:0x8169A208 -libs/RVL_SDK/src/fa/pf_fat.c: +libs/RVL_SDK/src/fa/api/pf_fat.c: .text start:0x815D41AC end:0x815D72C8 .rodata start:0x8162E950 end:0x8162E990 -libs/RVL_SDK/src/fa/pf_fat12.c: +libs/RVL_SDK/src/fa/api/pf_fat12.c: .text start:0x815D72C8 end:0x815D7B3C -libs/RVL_SDK/src/fa/pf_fat16.c: +libs/RVL_SDK/src/fa/api/pf_fat16.c: .text start:0x815D7B3C end:0x815D7F80 -libs/RVL_SDK/src/fa/pf_fat32.c: +libs/RVL_SDK/src/fa/api/pf_fat32.c: .text start:0x815D7F80 end:0x815D8470 -libs/RVL_SDK/src/fa/pf_fatfs.c: +libs/RVL_SDK/src/fa/api/pf_fatfs.c: .text start:0x815D8470 end:0x815D8474 -libs/RVL_SDK/src/fa/pf_file.c: +libs/RVL_SDK/src/fa/api/pf_file.c: .text start:0x815D8474 end:0x815DCA10 -libs/RVL_SDK/src/fa/pf_path.c: +libs/RVL_SDK/src/fa/api/pf_path.c: .text start:0x815DCA10 end:0x815DF870 .sdata2 start:0x81697838 end:0x81697840 .sdata start:0x8169A208 end:0x8169A238 -libs/RVL_SDK/src/fa/pf_sector.c: +libs/RVL_SDK/src/fa/api/pf_sector.c: .text start:0x815DF870 end:0x815DFF98 -libs/RVL_SDK/src/fa/pf_volume.c: +libs/RVL_SDK/src/fa/api/pf_volume.c: .bss start:0x811781E0 end:0x811AB9E0 .text start:0x815DFF98 end:0x815E45E0 .data start:0x81690A50 end:0x81690A60 .sdata2 start:0x81697840 end:0x81697848 .sdata start:0x8169A238 end:0x8169A240 -libs/RVL_SDK/src/fa/pf_volume_apiadd.c: +libs/RVL_SDK/src/fa/api/pf_volume_apiadd.c: .text start:0x815E45E0 end:0x815E4658 -libs/RVL_SDK/src/fa/pf_cp932.c: +libs/RVL_SDK/src/fa/api/pf_cp932.c: .text start:0x815E4658 end:0x815E4B68 .rodata start:0x8162E990 end:0x81632C08 -libs/RVL_SDK/src/fa/pf_api_util.c: +libs/RVL_SDK/src/fa/api/pf_api_util.c: .text start:0x815E4B68 end:0x815E4D18 .data start:0x81690A60 end:0x81690B00 -libs/RVL_SDK/src/fa/pf_attach.c: +libs/RVL_SDK/src/fa/api/pf_attach.c: .text start:0x815E4D18 end:0x815E4DC8 -libs/RVL_SDK/src/fa/pf_buffering.c: +libs/RVL_SDK/src/fa/api/pf_buffering.c: .text start:0x815E4DC8 end:0x815E4DF4 -libs/RVL_SDK/src/fa/pf_cdelete.c: +libs/RVL_SDK/src/fa/api/pf_cdelete.c: .text start:0x815E4DF4 end:0x815E4E70 -libs/RVL_SDK/src/fa/pf_chdir.c: +libs/RVL_SDK/src/fa/api/pf_chdir.c: .text start:0x815E4E70 end:0x815E4EC0 -libs/RVL_SDK/src/fa/pf_chdmod.c: +libs/RVL_SDK/src/fa/api/pf_chdmod.c: .text start:0x815E4EC0 end:0x815E4F20 -libs/RVL_SDK/src/fa/pf_chmod.c: +libs/RVL_SDK/src/fa/api/pf_chmod.c: .text start:0x815E4F20 end:0x815E4F80 -libs/RVL_SDK/src/fa/pf_cinsert.c: +libs/RVL_SDK/src/fa/api/pf_cinsert.c: .text start:0x815E4F80 end:0x815E4FFC -libs/RVL_SDK/src/fa/pf_closedir.c: +libs/RVL_SDK/src/fa/api/pf_closedir.c: .text start:0x815E4FFC end:0x815E5020 -libs/RVL_SDK/src/fa/pf_combine.c: +libs/RVL_SDK/src/fa/api/pf_combine.c: .text start:0x815E5020 end:0x815E509C -libs/RVL_SDK/src/fa/pf_create.c: +libs/RVL_SDK/src/fa/api/pf_create.c: .text start:0x815E509C end:0x815E50F8 -libs/RVL_SDK/src/fa/pf_createdir.c: +libs/RVL_SDK/src/fa/api/pf_createdir.c: .text start:0x815E50F8 end:0x815E516C -libs/RVL_SDK/src/fa/pf_cut.c: +libs/RVL_SDK/src/fa/api/pf_cut.c: .text start:0x815E516C end:0x815E51F4 -libs/RVL_SDK/src/fa/pf_derrnum.c: +libs/RVL_SDK/src/fa/api/pf_derrnum.c: .text start:0x815E51F4 end:0x815E521C -libs/RVL_SDK/src/fa/pf_detach.c: +libs/RVL_SDK/src/fa/api/pf_detach.c: .text start:0x815E521C end:0x815E5244 -libs/RVL_SDK/src/fa/pf_divide.c: +libs/RVL_SDK/src/fa/api/pf_divide.c: .text start:0x815E5244 end:0x815E52D4 -libs/RVL_SDK/src/fa/pf_errnum.c: +libs/RVL_SDK/src/fa/api/pf_errnum.c: .text start:0x815E52D4 end:0x815E52F8 -libs/RVL_SDK/src/fa/pf_fadjust.c: +libs/RVL_SDK/src/fa/api/pf_fadjust.c: .text start:0x815E52F8 end:0x815E531C -libs/RVL_SDK/src/fa/pf_fappend.c: +libs/RVL_SDK/src/fa/api/pf_fappend.c: .text start:0x815E531C end:0x815E5344 -libs/RVL_SDK/src/fa/pf_fchdir.c: +libs/RVL_SDK/src/fa/api/pf_fchdir.c: .text start:0x815E5344 end:0x815E5368 -libs/RVL_SDK/src/fa/pf_fclose.c: +libs/RVL_SDK/src/fa/api/pf_fclose.c: .text start:0x815E5368 end:0x815E538C -libs/RVL_SDK/src/fa/pf_fconcat.c: +libs/RVL_SDK/src/fa/api/pf_fconcat.c: .text start:0x815E538C end:0x815E5408 -libs/RVL_SDK/src/fa/pf_feof.c: +libs/RVL_SDK/src/fa/api/pf_feof.c: .text start:0x815E5408 end:0x815E542C -libs/RVL_SDK/src/fa/pf_ferror.c: +libs/RVL_SDK/src/fa/api/pf_ferror.c: .text start:0x815E542C end:0x815E5450 -libs/RVL_SDK/src/fa/pf_finfo.c: +libs/RVL_SDK/src/fa/api/pf_finfo.c: .text start:0x815E5450 end:0x815E5474 -libs/RVL_SDK/src/fa/pf_flock.c: +libs/RVL_SDK/src/fa/api/pf_flock.c: .text start:0x815E5474 end:0x815E549C -libs/RVL_SDK/src/fa/pf_fopen.c: +libs/RVL_SDK/src/fa/api/pf_fopen.c: .text start:0x815E549C end:0x815E5538 -libs/RVL_SDK/src/fa/pf_format.c: +libs/RVL_SDK/src/fa/api/pf_format.c: .text start:0x815E5538 end:0x815E5560 -libs/RVL_SDK/src/fa/pf_fread.c: +libs/RVL_SDK/src/fa/api/pf_fread.c: .text start:0x815E5560 end:0x815E5588 -libs/RVL_SDK/src/fa/pf_fseek.c: +libs/RVL_SDK/src/fa/api/pf_fseek.c: .text start:0x815E5588 end:0x815E55AC -libs/RVL_SDK/src/fa/pf_fsetclstlink.c: +libs/RVL_SDK/src/fa/api/pf_fsetclstlink.c: .text start:0x815E55AC end:0x815E55D0 -libs/RVL_SDK/src/fa/pf_fsexec.c: +libs/RVL_SDK/src/fa/api/pf_fsexec.c: .text start:0x815E55D0 end:0x815E55F4 -libs/RVL_SDK/src/fa/pf_fsfirst.c: +libs/RVL_SDK/src/fa/api/pf_fsfirst.c: .text start:0x815E55F4 end:0x815E5668 -libs/RVL_SDK/src/fa/pf_fsnext.c: +libs/RVL_SDK/src/fa/api/pf_fsnext.c: .text start:0x815E5668 end:0x815E568C -libs/RVL_SDK/src/fa/pf_fstat.c: +libs/RVL_SDK/src/fa/api/pf_fstat.c: .text start:0x815E568C end:0x815E56EC -libs/RVL_SDK/src/fa/pf_fsync.c: +libs/RVL_SDK/src/fa/api/pf_fsync.c: .text start:0x815E56EC end:0x815E5710 -libs/RVL_SDK/src/fa/pf_fwrite.c: +libs/RVL_SDK/src/fa/api/pf_fwrite.c: .text start:0x815E5710 end:0x815E5738 -libs/RVL_SDK/src/fa/pf_getdev.c: +libs/RVL_SDK/src/fa/api/pf_getdev.c: .text start:0x815E5738 end:0x815E5760 -libs/RVL_SDK/src/fa/pf_getvol.c: +libs/RVL_SDK/src/fa/api/pf_getvol.c: .text start:0x815E5760 end:0x815E5788 -libs/RVL_SDK/src/fa/pf_getvolcfg.c: +libs/RVL_SDK/src/fa/api/pf_getvolcfg.c: .text start:0x815E5788 end:0x815E57B0 -libs/RVL_SDK/src/fa/pf_init_prfile2.c: +libs/RVL_SDK/src/fa/api/pf_init_prfile2.c: .text start:0x815E57B0 end:0x815E57F0 -libs/RVL_SDK/src/fa/pf_insert.c: +libs/RVL_SDK/src/fa/api/pf_insert.c: .text start:0x815E57F0 end:0x815E58B8 -libs/RVL_SDK/src/fa/pf_iswriteprotected.c: +libs/RVL_SDK/src/fa/api/pf_iswriteprotected.c: .text start:0x815E58B8 end:0x815E58FC -libs/RVL_SDK/src/fa/pf_mkdir.c: +libs/RVL_SDK/src/fa/api/pf_mkdir.c: .text start:0x815E58FC end:0x815E594C -libs/RVL_SDK/src/fa/pf_mount.c: +libs/RVL_SDK/src/fa/api/pf_mount.c: .text start:0x815E594C end:0x815E5974 -libs/RVL_SDK/src/fa/pf_move.c: +libs/RVL_SDK/src/fa/api/pf_move.c: .text start:0x815E5974 end:0x815E59F0 -libs/RVL_SDK/src/fa/pf_opendir.c: +libs/RVL_SDK/src/fa/api/pf_opendir.c: .text start:0x815E59F0 end:0x815E5A48 -libs/RVL_SDK/src/fa/pf_readdir.c: +libs/RVL_SDK/src/fa/api/pf_readdir.c: .text start:0x815E5A48 end:0x815E5A6C -libs/RVL_SDK/src/fa/pf_regctx.c: +libs/RVL_SDK/src/fa/api/pf_regctx.c: .text start:0x815E5A6C end:0x815E5A90 -libs/RVL_SDK/src/fa/pf_remove.c: +libs/RVL_SDK/src/fa/api/pf_remove.c: .text start:0x815E5A90 end:0x815E5AE0 -libs/RVL_SDK/src/fa/pf_rename.c: +libs/RVL_SDK/src/fa/api/pf_rename.c: .text start:0x815E5AE0 end:0x815E5B5C -libs/RVL_SDK/src/fa/pf_rewinddir.c: +libs/RVL_SDK/src/fa/api/pf_rewinddir.c: .text start:0x815E5B5C end:0x815E5B84 -libs/RVL_SDK/src/fa/pf_rmdir.c: +libs/RVL_SDK/src/fa/api/pf_rmdir.c: .text start:0x815E5B84 end:0x815E5BD4 -libs/RVL_SDK/src/fa/pf_rmvvol.c: +libs/RVL_SDK/src/fa/api/pf_rmvvol.c: .text start:0x815E5BD4 end:0x815E5BFC -libs/RVL_SDK/src/fa/pf_seekdir.c: +libs/RVL_SDK/src/fa/api/pf_seekdir.c: .text start:0x815E5BFC end:0x815E5C20 -libs/RVL_SDK/src/fa/pf_setclstlink.c: +libs/RVL_SDK/src/fa/api/pf_setclstlink.c: .text start:0x815E5C20 end:0x815E5C48 -libs/RVL_SDK/src/fa/pf_setcode.c: +libs/RVL_SDK/src/fa/api/pf_setcode.c: .text start:0x815E5C48 end:0x815E5C6C -libs/RVL_SDK/src/fa/pf_setencode.c: +libs/RVL_SDK/src/fa/api/pf_setencode.c: .text start:0x815E5C6C end:0x815E5C90 -libs/RVL_SDK/src/fa/pf_settailbuf.c: +libs/RVL_SDK/src/fa/api/pf_settailbuf.c: .text start:0x815E5C90 end:0x815E5CB8 -libs/RVL_SDK/src/fa/pf_setupfsi.c: +libs/RVL_SDK/src/fa/api/pf_setupfsi.c: .text start:0x815E5CB8 end:0x815E5CE4 -libs/RVL_SDK/src/fa/pf_setvol.c: +libs/RVL_SDK/src/fa/api/pf_setvol.c: .text start:0x815E5CE4 end:0x815E5D40 -libs/RVL_SDK/src/fa/pf_setvolcfg.c: +libs/RVL_SDK/src/fa/api/pf_setvolcfg.c: .text start:0x815E5D40 end:0x815E5D68 -libs/RVL_SDK/src/fa/pf_sync.c: +libs/RVL_SDK/src/fa/api/pf_sync.c: .text start:0x815E5D68 end:0x815E5D90 -libs/RVL_SDK/src/fa/pf_telldir.c: +libs/RVL_SDK/src/fa/api/pf_telldir.c: .text start:0x815E5D90 end:0x815E5DB4 -libs/RVL_SDK/src/fa/pf_unmount.c: +libs/RVL_SDK/src/fa/api/pf_unmount.c: .text start:0x815E5DB4 end:0x815E5DDC -libs/RVL_SDK/src/fa/pf_unregctx.c: +libs/RVL_SDK/src/fa/api/pf_unregctx.c: .text start:0x815E5DDC end:0x815E5E00 -libs/RVL_SDK/src/fa/pf_xdivide.c: +libs/RVL_SDK/src/fa/api/pf_xdivide.c: .text start:0x815E5E00 end:0x815E5E90 -libs/RVL_SDK/src/fa/pf_w_api_util.c: +libs/RVL_SDK/src/fa/api/pf_w_api_util.c: .text start:0x815E5E90 end:0x815E5F60 -libs/RVL_SDK/src/fa/pf_w_cdelete.c: +libs/RVL_SDK/src/fa/api/pf_w_cdelete.c: .text start:0x815E5F60 end:0x815E5FDC -libs/RVL_SDK/src/fa/pf_w_chdir.c: +libs/RVL_SDK/src/fa/api/pf_w_chdir.c: .text start:0x815E5FDC end:0x815E602C -libs/RVL_SDK/src/fa/pf_w_chdmod.c: +libs/RVL_SDK/src/fa/api/pf_w_chdmod.c: .text start:0x815E602C end:0x815E608C -libs/RVL_SDK/src/fa/pf_w_chmod.c: +libs/RVL_SDK/src/fa/api/pf_w_chmod.c: .text start:0x815E608C end:0x815E60EC -libs/RVL_SDK/src/fa/pf_w_cinsert.c: +libs/RVL_SDK/src/fa/api/pf_w_cinsert.c: .text start:0x815E60EC end:0x815E6168 -libs/RVL_SDK/src/fa/pf_w_combine.c: +libs/RVL_SDK/src/fa/api/pf_w_combine.c: .text start:0x815E6168 end:0x815E61E4 -libs/RVL_SDK/src/fa/pf_w_create.c: +libs/RVL_SDK/src/fa/api/pf_w_create.c: .text start:0x815E61E4 end:0x815E6240 -libs/RVL_SDK/src/fa/pf_w_createdir.c: +libs/RVL_SDK/src/fa/api/pf_w_createdir.c: .text start:0x815E6240 end:0x815E62B4 -libs/RVL_SDK/src/fa/pf_w_cut.c: +libs/RVL_SDK/src/fa/api/pf_w_cut.c: .text start:0x815E62B4 end:0x815E633C -libs/RVL_SDK/src/fa/pf_w_divide.c: +libs/RVL_SDK/src/fa/api/pf_w_divide.c: .text start:0x815E633C end:0x815E63CC -libs/RVL_SDK/src/fa/pf_w_fconcat.c: +libs/RVL_SDK/src/fa/api/pf_w_fconcat.c: .text start:0x815E63CC end:0x815E6448 -libs/RVL_SDK/src/fa/pf_w_fopen.c: +libs/RVL_SDK/src/fa/api/pf_w_fopen.c: .text start:0x815E6448 end:0x815E64E4 -libs/RVL_SDK/src/fa/pf_w_fsexec.c: +libs/RVL_SDK/src/fa/api/pf_w_fsexec.c: .text start:0x815E64E4 end:0x815E6508 -libs/RVL_SDK/src/fa/pf_w_fsfirst.c: +libs/RVL_SDK/src/fa/api/pf_w_fsfirst.c: .text start:0x815E6508 end:0x815E657C -libs/RVL_SDK/src/fa/pf_w_fsnext.c: +libs/RVL_SDK/src/fa/api/pf_w_fsnext.c: .text start:0x815E657C end:0x815E65A0 -libs/RVL_SDK/src/fa/pf_w_fstat.c: +libs/RVL_SDK/src/fa/api/pf_w_fstat.c: .text start:0x815E65A0 end:0x815E6600 -libs/RVL_SDK/src/fa/pf_w_insert.c: +libs/RVL_SDK/src/fa/api/pf_w_insert.c: .text start:0x815E6600 end:0x815E66C8 -libs/RVL_SDK/src/fa/pf_w_mkdir.c: +libs/RVL_SDK/src/fa/api/pf_w_mkdir.c: .text start:0x815E66C8 end:0x815E6718 -libs/RVL_SDK/src/fa/pf_w_move.c: +libs/RVL_SDK/src/fa/api/pf_w_move.c: .text start:0x815E6718 end:0x815E6794 -libs/RVL_SDK/src/fa/pf_w_opendir.c: +libs/RVL_SDK/src/fa/api/pf_w_opendir.c: .text start:0x815E6794 end:0x815E67EC -libs/RVL_SDK/src/fa/pf_w_remove.c: +libs/RVL_SDK/src/fa/api/pf_w_remove.c: .text start:0x815E67EC end:0x815E683C -libs/RVL_SDK/src/fa/pf_w_rename.c: +libs/RVL_SDK/src/fa/api/pf_w_rename.c: .text start:0x815E683C end:0x815E68B8 -libs/RVL_SDK/src/fa/pf_w_rmdir.c: +libs/RVL_SDK/src/fa/api/pf_w_rmdir.c: .text start:0x815E68B8 end:0x815E6908 -libs/RVL_SDK/src/fa/pf_w_xdivide.c: +libs/RVL_SDK/src/fa/api/pf_w_xdivide.c: .text start:0x815E6908 end:0x815E6998 -libs/RVL_SDK/src/fa/pf_filelock.c: +libs/RVL_SDK/src/fa/api/pf_filelock.c: .text start:0x815E6998 end:0x815E6AFC -libs/RVL_SDK/src/fa/pf_stub.c: +libs/RVL_SDK/src/fa/api/pf_stub.c: .text start:0x815E6AFC end:0x815E6EE4 -libs/RVL_SDK/src/fa/pf_system.c: +libs/RVL_SDK/src/fa/api/pf_system.c: .bss start:0x811AB9E0 end:0x811ADD80 .text start:0x815E6EE4 end:0x815E6F7C -libs/RVL_SDK/src/fa/pf_stub_standard.c: +libs/RVL_SDK/src/fa/api/pf_stub_standard.c: .text start:0x815E6F7C end:0x815E7500 .data start:0x81690B00 end:0x81690C48 -libs/RVL_SDK/src/fa/pfs_attach.c: +libs/RVL_SDK/src/fa/api/pfs_attach.c: .text start:0x815E7500 end:0x815E7550 -libs/RVL_SDK/src/fa/pfs_buffering.c: +libs/RVL_SDK/src/fa/api/pfs_buffering.c: .text start:0x815E7550 end:0x815E75A0 -libs/RVL_SDK/src/fa/pfs_create.c: +libs/RVL_SDK/src/fa/api/pfs_create.c: .text start:0x815E75A0 end:0x815E75EC -libs/RVL_SDK/src/fa/pfs_createdir.c: +libs/RVL_SDK/src/fa/api/pfs_createdir.c: .text start:0x815E75EC end:0x815E7640 -libs/RVL_SDK/src/fa/pfs_detach.c: +libs/RVL_SDK/src/fa/api/pfs_detach.c: .text start:0x815E7640 end:0x815E768C -libs/RVL_SDK/src/fa/pfs_errnum.c: +libs/RVL_SDK/src/fa/api/pfs_errnum.c: .text start:0x815E768C end:0x815E76D4 -libs/RVL_SDK/src/fa/pfs_fclose.c: +libs/RVL_SDK/src/fa/api/pfs_fclose.c: .text start:0x815E76D4 end:0x815E7720 -libs/RVL_SDK/src/fa/pfs_finfot.c: +libs/RVL_SDK/src/fa/api/pfs_finfot.c: .text start:0x815E7720 end:0x815E7770 -libs/RVL_SDK/src/fa/pfs_fopen.c: +libs/RVL_SDK/src/fa/api/pfs_fopen.c: .text start:0x815E7770 end:0x815E77C0 -libs/RVL_SDK/src/fa/pfs_format.c: +libs/RVL_SDK/src/fa/api/pfs_format.c: .text start:0x815E77C0 end:0x815E7810 -libs/RVL_SDK/src/fa/pfs_fread.c: +libs/RVL_SDK/src/fa/api/pfs_fread.c: .text start:0x815E7810 end:0x815E7868 -libs/RVL_SDK/src/fa/pfs_fseek.c: +libs/RVL_SDK/src/fa/api/pfs_fseek.c: .text start:0x815E7868 end:0x815E78BC -libs/RVL_SDK/src/fa/pfs_fsfirst.c: +libs/RVL_SDK/src/fa/api/pfs_fsfirst.c: .text start:0x815E78BC end:0x815E7910 -libs/RVL_SDK/src/fa/pfs_fsnext.c: +libs/RVL_SDK/src/fa/api/pfs_fsnext.c: .text start:0x815E7910 end:0x815E795C -libs/RVL_SDK/src/fa/pfs_fstat.c: +libs/RVL_SDK/src/fa/api/pfs_fstat.c: .text start:0x815E795C end:0x815E79AC -libs/RVL_SDK/src/fa/pfs_fwrite.c: +libs/RVL_SDK/src/fa/api/pfs_fwrite.c: .text start:0x815E79AC end:0x815E7A04 -libs/RVL_SDK/src/fa/pfs_getdev.c: +libs/RVL_SDK/src/fa/api/pfs_getdev.c: .text start:0x815E7A04 end:0x815E7A54 -libs/RVL_SDK/src/fa/pfs_init_prfile2.c: +libs/RVL_SDK/src/fa/api/pfs_init_prfile2.c: .text start:0x815E7A54 end:0x815E7A58 -libs/RVL_SDK/src/fa/pfs_mount.c: +libs/RVL_SDK/src/fa/api/pfs_mount.c: .text start:0x815E7A58 end:0x815E7AA4 -libs/RVL_SDK/src/fa/pfs_remove.c: +libs/RVL_SDK/src/fa/api/pfs_remove.c: .text start:0x815E7AA4 end:0x815E7AF0 -libs/RVL_SDK/src/fa/pfs_unmount.c: +libs/RVL_SDK/src/fa/api/pfs_unmount.c: .text start:0x815E7AF0 end:0x815E7B40 -libs/RVL_SDK/src/fa/pf_stub_unicode.c: +libs/RVL_SDK/src/fa/api/pf_stub_unicode.c: .text start:0x815E7B40 end:0x815E7D80 .data start:0x81690C48 end:0x81690CA8 @@ -4054,39 +4097,39 @@ libs/RVL_SDK/src/fa/FASetThreadPriority.c: libs/RVL_SDK/src/fa/FAUnmount.c: .text start:0x815E8538 end:0x815E8588 -libs/RVL_SDK/src/fa/pfk_api.c: +libs/RVL_SDK/src/fa/kernel/pfk_api.c: .text start:0x815E8588 end:0x815E89F0 .data start:0x81690D08 end:0x81690FD8 -libs/RVL_SDK/src/fa/nand_drv.c: +libs/RVL_SDK/src/fa/driver/nand_drv.c: .bss start:0x811ADE68 end:0x811AF460 .text start:0x815E89F0 end:0x815EA518 .rodata start:0x81632C08 end:0x81632C28 .sdata start:0x8169A250 end:0x8169A258 .sbss start:0x8169B560 end:0x8169B580 -libs/RVL_SDK/src/fa/sd_drv.c: +libs/RVL_SDK/src/fa/driver/sd_drv.c: .bss start:0x811AF460 end:0x811AF6C0 .text start:0x815EA518 end:0x815ED308 .rodata start:0x81632C28 end:0x81632D98 .data start:0x81690FD8 end:0x816919E8 .sbss start:0x8169B580 end:0x8169B5A8 -libs/RVL_SDK/src/fa/pfd_cmn.c: +libs/RVL_SDK/src/fa/driver/pfd_cmn.c: .text start:0x815ED308 end:0x815ED420 -libs/RVL_SDK/src/fa/msc_drv.c: +libs/RVL_SDK/src/fa/driver/msc_drv.c: .text start:0x815ED420 end:0x815ED434 .sbss start:0x8169B5A8 end:0x8169B5B0 -libs/RVL_SDK/src/fa/puh_msc.c: +libs/RVL_SDK/src/fa/msc/puh_msc.c: .text start:0x815ED434 end:0x815ED6EC .sbss start:0x8169B5B0 end:0x8169B5C0 -libs/RVL_SDK/src/fa/puh_msc_cmd.c: +libs/RVL_SDK/src/fa/msc/puh_msc_cmd.c: .text start:0x815ED6EC end:0x815EDAC8 -libs/RVL_SDK/src/fa/puh_msc_blk.c: +libs/RVL_SDK/src/fa/msc/puh_msc_blk.c: .bss start:0x811AF6C0 end:0x811AF840 .text start:0x815EDAC8 end:0x815EE2E0 .data start:0x816919E8 end:0x81691A08 @@ -4115,24 +4158,24 @@ libs/RVL_SDK/src/nup/nup_mem.cpp: .text start:0x815F2E44 end:0x815F2F4C .sbss start:0x8169B5F0 end:0x8169B5F8 -libs/RVL_SDK/src/scutil/scutil.c: +libs/RVL_SDK/src/scutil/idToIsoA2.c: .text start:0x815F2F4C end:0x815F2FA4 .data start:0x81692108 end:0x816923D0 .sdata start:0x8169A298 end:0x8169A468 -libs/RVL_SDK/src/usbutil/uh_ker_mem.c: +libs/RVL_SDK/src/usbcmn/puh_ker_mem.c: .text start:0x815F2FA4 end:0x815F3008 -libs/RVL_SDK/src/usbutil/uh_ker_msg.c: +libs/RVL_SDK/src/usbcmn/puh_ker_msg.c: .bss start:0x811AF8C0 end:0x811AF8D8 .text start:0x815F3008 end:0x815F308C -libs/RVL_SDK/src/usbutil/uh_ker_sem.c: +libs/RVL_SDK/src/usbcmn/puh_ker_sem.c: .bss start:0x811AF8D8 end:0x811AFA10 .text start:0x815F308C end:0x815F338C .sbss start:0x8169B5F8 end:0x8169B600 -libs/RVL_SDK/src/usbutil/uh_ker_tsk.c: +libs/RVL_SDK/src/usbcmn/puh_ker_tsk.c: .bss start:0x811AFA10 end:0x811B00A0 .text start:0x815F338C end:0x815F3414 @@ -4507,11 +4550,8 @@ libs/MSL/src/math/e_rem_pio2.c: .rodata start:0x81634070 end:0x816341F8 .sdata2 start:0x81697C80 end:0x81697CD8 -libs/MSL/src/math/s_fmin.c: - .text start:0x8160AA5C end:0x8160AAC8 - -libs/MSL/src/math/s_fmax.c: - .text start:0x8160AAC8 end:0x8160AB34 +libs/MSL/src/math/fminmaxdim.c: + .text start:0x8160AA5C end:0x8160AB34 libs/MSL/src/math/k_cos.c: .text start:0x8160AB34 end:0x8160AC44 diff --git a/config/43E/symbols.txt b/config/43E/symbols.txt index 476fe438..36f53bf9 100644 --- a/config/43E/symbols.txt +++ b/config/43E/symbols.txt @@ -192,23 +192,27 @@ sException__Q24nw4r2db = .bss:0x81110E40; // type:object size:0x360 scope:local sThreadBuffer__Q24nw4r2db = .bss:0x811111A0; // type:object size:0x4000 scope:local texCoords$7499 = .bss:0x811151A0; // type:object size:0x20 scope:local align:4 data:float __OSRebootParams = .bss:0x811151C0; // type:object size:0x1C data:4byte -DriveBlock = .bss:0x811151E0; // type:object size:0x30 scope:local -__OSErrorTable = .bss:0x81115230; // type:object size:0x50 data:4byte +...bss.0 = .bss:0x811151C0; // type:label scope:local +DriveInfo = .bss:0x811151E0; // type:object size:0x20 scope:local +DriveBlock = .bss:0x81115200; // type:object size:0x30 scope:local +__OSErrorTable = .bss:0x81115230; // type:object size:0x44 data:4byte Scb = .bss:0x81115280; // type:object size:0x54 scope:local data:2byte DefaultThread = .bss:0x811152D8; // type:object size:0x318 scope:local data:4byte +...bss.0 = .bss:0x811152D8; // type:label scope:local RunQueue = .bss:0x811155F0; // type:object size:0x100 scope:local data:4byte IdleContext = .bss:0x811156F0; // type:object size:0x2C8 scope:local IdleThread = .bss:0x811159B8; // type:object size:0x318 scope:local -StmEhInBuf = .bss:0x81115CE0; // type:object size:0x20 scope:local -StmEhOutBuf = .bss:0x81115D00; // type:object size:0x20 scope:local data:4byte -StmImInBuf = .bss:0x81115D20; // type:object size:0x20 scope:local data:4byte -StmImOutBuf = .bss:0x81115D40; // type:object size:0x20 scope:local -StmVdInBuf = .bss:0x81115D60; // type:object size:0x20 scope:local data:4byte -StmVdOutBuf = .bss:0x81115D80; // type:object size:0x20 scope:local +StmEhInBuf = .bss:0x81115CE0; // type:object size:0x20 scope:global +StmEhOutBuf = .bss:0x81115D00; // type:object size:0x20 scope:global data:4byte +StmImInBuf = .bss:0x81115D20; // type:object size:0x20 scope:global data:4byte +StmImOutBuf = .bss:0x81115D40; // type:object size:0x20 scope:global +StmVdInBuf = .bss:0x81115D60; // type:object size:0x20 scope:global data:4byte +StmVdOutBuf = .bss:0x81115D80; // type:object size:0x20 scope:global PlayRecord = .bss:0x81115DA0; // type:object size:0x80 scope:local data:4byte +...bss.0 = .bss:0x81115DA0; // type:label scope:local PlayRecordAlarm = .bss:0x81115E20; // type:object size:0x30 scope:local data:4byte FileInfo = .bss:0x81115E50; // type:object size:0x8C scope:local data:4byte -Block = .bss:0x81115EDC; // type:object size:0xC4 scope:local data:4byte +Block = .bss:0x81115EDC; // type:object size:0xBC scope:local data:4byte StateFlags = .bss:0x81115FA0; // type:object size:0x20 scope:local data:4byte __OSExpireAlarm = .bss:0x81115FC0; // type:object size:0x30 data:4byte Ecb = .bss:0x81115FF0; // type:object size:0xC0 scope:local data:4byte @@ -357,10 +361,10 @@ g_pfd_sddrv_buf = .bss:0x811AF4C0; // type:object size:0x200 uhg_msc_blk_device_tbl = .bss:0x811AF6C0; // type:object size:0x180 data:4byte __reqMutex = .bss:0x811AF840; // type:object size:0x18 __sdPaths = .bss:0x811AF860; // type:object size:0x60 -uh_ker_msg_mng = .bss:0x811AF8C0; // type:object size:0x14 -uh_ker_sem_mng = .bss:0x811AF8D8; // type:object size:0xA8 data:4byte -uh_func_ker_sem = .bss:0x811AF980; // type:object size:0x90 -uh_ker_tsk_mng = .bss:0x811AFA10; // type:object size:0x688 +st_uhs_ker_msg_mng = .bss:0x811AF8C0; // type:object size:0x14 +st_uhs_ker_sem_mng = .bss:0x811AF8D8; // type:object size:0xA8 data:4byte +st_uhf_ker_sem = .bss:0x811AF980; // type:object size:0x90 +st_uhs_ker_tsk_mng = .bss:0x811AFA10; // type:object size:0x688 kbdKeyMaps = .bss:0x811B00A0; // type:object size:0x400 kbdCmdBuf = .bss:0x811B04A0; // type:object size:0x180 kbdData = .bss:0x811B0620; // type:object size:0x9A0 @@ -370,7 +374,7 @@ _CNTCACHEMutex = .bss:0x811B1040; // type:object size:0x18 sHeapList__Q23EGG4Heap = .bss:0x811B1058; // type:object size:0xC sRootMutex__Q23EGG4Heap = .bss:0x811B1064; // type:object size:0x18 sThreadList__Q23EGG6Thread = .bss:0x811B1080; // type:object size:0x10 -fragmentinfo = .bss:0x811B1090; // type:object size:0xC scope:local data:4byte +fragmentInfo = .bss:0x811B1090; // type:object size:0xC scope:local data:4byte protopool$343 = .bss:0x811B10A0; // type:object size:0x38 data:4byte stderr_buff = .bss:0x811B10D8; // type:object size:0x100 stdout_buff = .bss:0x811B11D8; // type:object size:0x100 @@ -380,12 +384,12 @@ extracted_name$392 = .bss:0x811B13F8; // type:object size:0x20 asctime_result$536 = .bss:0x811B1418; // type:object size:0x1A gmtime_tm$597 = .bss:0x811B1434; // type:object size:0x24 localtime_tm$618 = .bss:0x811B1458; // type:object size:0x24 data:4byte -IsTRKConnected = .bss:0x811B1480; // type:object size:0x4 data:4byte -TRK_Use_BBA = .bss:0x811B1488; // type:object size:0x4 data:byte -bUseSerialIO = .bss:0x811B1490; // type:object size:0x1 data:byte +IsTRKConnected = .bss:0x811B1480; // type:object size:0x4 scope:local data:4byte +TRK_Use_BBA = .bss:0x811B1488; // type:object size:0x1 data:byte +bUseSerialIO = .bss:0x811B1490; // type:object size:0x1 scope:local data:byte __start = .init:0x81330000; // type:function size:0xA8 scope:weak -__init_registers = .init:0x813300A8; // type:function size:0x90 scope:local -__init_data = .init:0x81330138; // type:function size:0xA0 scope:local +__init_registers = .init:0x813300A8; // type:function size:0x90 scope:global +__init_data = .init:0x81330138; // type:function size:0xA0 scope:global __init_hardware = .init:0x813301D8; // type:function size:0x24 __flush_cache = .init:0x813301FC; // type:function size:0x34 memcpy = .init:0x81330230; // type:function size:0x50 @@ -670,10 +674,10 @@ _bss_init_info = .init:0x813303E8; // type:object size:0x20 scope:global data:4b @etb_81330CB0 = extab:0x81330CB0; // type:object size:0x8 scope:local hidden @etb_81330CB8 = extab:0x81330CB8; // type:object size:0x8 scope:local hidden @etb_81330CC0 = extab:0x81330CC0; // type:object size:0x8 scope:local hidden -@etb_81330CC8 = extab:0x81330CC8; // type:object size:0x18 scope:local hidden -@etb_81330CE0 = extab:0x81330CE0; // type:object size:0x8 scope:local hidden -@etb_81330CE8 = extab:0x81330CE8; // type:object size:0x18 scope:local hidden -@etb_81330D00 = extab:0x81330D00; // type:object size:0x8 scope:local hidden +@86 = extab:0x81330CC8; // type:object size:0x18 scope:local hidden +@97 = extab:0x81330CE0; // type:object size:0x8 scope:local hidden +@128 = extab:0x81330CE8; // type:object size:0x18 scope:local hidden +@146 = extab:0x81330D00; // type:object size:0x8 scope:local hidden @etb_81330D08 = extab:0x81330D08; // type:object size:0x8 scope:local hidden @etb_81330D10 = extab:0x81330D10; // type:object size:0x8 scope:local hidden @etb_81330D18 = extab:0x81330D18; // type:object size:0x8 scope:local hidden @@ -1037,10 +1041,10 @@ _bss_init_info = .init:0x813303E8; // type:object size:0x20 scope:global data:4b @eti_81331C98 = extabindex:0x81331C98; // type:object size:0xC scope:local hidden @eti_81331CA4 = extabindex:0x81331CA4; // type:object size:0xC scope:local hidden @eti_81331CB0 = extabindex:0x81331CB0; // type:object size:0xC scope:local hidden -@eti_81331CBC = extabindex:0x81331CBC; // type:object size:0xC scope:local hidden -@eti_81331CC8 = extabindex:0x81331CC8; // type:object size:0xC scope:local hidden -@eti_81331CD4 = extabindex:0x81331CD4; // type:object size:0xC scope:local hidden -@eti_81331CE0 = extabindex:0x81331CE0; // type:object size:0xC scope:local hidden +@87 = extabindex:0x81331CBC; // type:object size:0xC scope:local hidden +@98 = extabindex:0x81331CC8; // type:object size:0xC scope:local hidden +@129 = extabindex:0x81331CD4; // type:object size:0xC scope:local hidden +@147 = extabindex:0x81331CE0; // type:object size:0xC scope:local hidden @eti_81331CEC = extabindex:0x81331CEC; // type:object size:0xC scope:local hidden @eti_81331CF8 = extabindex:0x81331CF8; // type:object size:0xC scope:local hidden @eti_81331D04 = extabindex:0x81331D04; // type:object size:0xC scope:local hidden @@ -1614,21 +1618,21 @@ calc__Q23ipl11PointerCoreFPQ23ipl7Pointer = .text:0x813447C4; // type:function s draw__Q23ipl11PointerCoreFv = .text:0x81344828; // type:function size:0x54 changeType__Q23ipl11PointerCoreFii = .text:0x8134487C; // type:function size:0x10 __ct__Q23ipl12DialogWindowFPQ23EGG4Heap = .text:0x8134488C; // type:function size:0x858 -__ct__Q33ipl3gui11PaneManagerFPQ23gui12EventHandlerPCQ34nw4r3lyt8DrawInfoPQ23EGG4HeapPQ23EGG9Allocatorb = .text:0x813450E4; // type:function size:0xB0 -__dt__Q23gui9InterfaceFv = .text:0x81345194; // type:function size:0x40 -setManager__Q23gui12EventHandlerFPQ23gui7Manager = .text:0x813451D4; // type:function size:0x8 +__ct__Q33ipl3gui11PaneManagerFPQ23gui12EventHandlerPCQ34nw4r3lyt8DrawInfoPQ23EGG4HeapPQ23EGG9Allocatorb = .text:0x813450E4; // type:function size:0xB0 scope:weak +__dt__Q23gui9InterfaceFv = .text:0x81345194; // type:function size:0x40 scope:weak +setManager__Q23gui12EventHandlerFPQ23gui7Manager = .text:0x813451D4; // type:function size:0x8 scope:weak init__Q23ipl12DialogWindowFv = .text:0x813451DC; // type:function size:0x104 calc__Q23ipl12DialogWindowFv = .text:0x813452E0; // type:function size:0xA8 stt_fadein__Q23ipl12DialogWindowFv = .text:0x81345388; // type:function size:0x50 stt_normal__Q23ipl12DialogWindowFv = .text:0x813453D8; // type:function size:0x200 stt_select__Q23ipl12DialogWindowFv = .text:0x813455D8; // type:function size:0xF4 stt_fadeout__Q23ipl12DialogWindowFv = .text:0x813456CC; // type:function size:0x94 -setEventHandler__Q23gui7ManagerFPQ23gui12EventHandler = .text:0x81345760; // type:function size:0x2C +setEventHandler__Q23gui7ManagerFPQ23gui12EventHandler = .text:0x81345760; // type:function size:0x2C scope:weak set_alpha__Q23ipl12DialogWindowFPQ34nw4r3lyt4PaneUc = .text:0x8134578C; // type:function size:0x60 stt_prepare_pagefade__Q23ipl12DialogWindowFv = .text:0x813457EC; // type:function size:0x108 -stt_pagefade__Q23ipl12DialogWindowFv = .text:0x813458F4; // type:function size:0x5E4 scope:local -DynamicCast__Q24nw4r2utFPQ34nw4r3lyt4Pane_PQ34nw4r3lyt7TextBox = .text:0x81345ED8; // type:function size:0x7C -GetRuntimeTypeInfo__Q34nw4r3lyt4PaneCFv = .text:0x81345F54; // type:function size:0x8 +stt_pagefade__Q23ipl12DialogWindowFv = .text:0x813458F4; // type:function size:0x5E4 scope:global +DynamicCast__Q24nw4r2utFPQ34nw4r3lyt4Pane_PQ34nw4r3lyt7TextBox = .text:0x81345ED8; // type:function size:0x7C scope:weak +GetRuntimeTypeInfo__Q34nw4r3lyt4PaneCFv = .text:0x81345F54; // type:function size:0x8 scope:weak draw__Q23ipl12DialogWindowFv = .text:0x81345F5C; // type:function size:0x108 set_text__Q23ipl12DialogWindowFPCcPCw = .text:0x81346064; // type:function size:0x64 set_message__Q23ipl12DialogWindowFUl = .text:0x813460C8; // type:function size:0x5C @@ -1651,7 +1655,7 @@ __ct__Q34nw4r3lyt4SizeFff = .text:0x81346A78; // type:function size:0xC scope:we callBtn1__Q23ipl12DialogWindowFUlUlf = .text:0x81346A84; // type:function size:0xC4 callBtn2__Q23ipl12DialogWindowFUlUlUlb = .text:0x81346B48; // type:function size:0x98 callBtn2NoShade__Q23ipl12DialogWindowFPCwUlUlb = .text:0x81346BE0; // type:function size:0xA8 -callBtn2__Q23ipl12DialogWindowFPQ33ipl12DialogWindow4Pageii = .text:0x81346C88; // type:function size:0x174 +callBtn2Multi__Q23ipl12DialogWindowFPQ33ipl12DialogWindow4Pageii = .text:0x81346C88; // type:function size:0x174 callBtn2__Q23ipl12DialogWindowFPCwUlUlb = .text:0x81346DFC; // type:function size:0xA0 callBtn3__Q23ipl12DialogWindowFUlUlUlUl = .text:0x81346E9C; // type:function size:0xA0 callSBtn2__Q23ipl12DialogWindowFUlUlUlb = .text:0x81346F3C; // type:function size:0xC4 @@ -1663,23 +1667,23 @@ start_left_event__Q23ipl12DialogWindowFPCc = .text:0x8134746C; // type:function start_trig_event__Q23ipl12DialogWindowFPCc = .text:0x813475B0; // type:function size:0x264 get_button_no__Q23ipl12DialogWindowFPCc = .text:0x81347814; // type:function size:0x78 onEvent__Q23ipl12DialogWindowFUlUlPv = .text:0x8134788C; // type:function size:0xE4 -getPane__Q23gui13PaneComponentFv = .text:0x81347970; // type:function size:0x8 +getPane__Q23gui13PaneComponentFv = .text:0x81347970; // type:function size:0x8 scope:weak terminate__Q23ipl12DialogWindowFv = .text:0x81347978; // type:function size:0x24 -draw__Q23gui9InterfaceFRA3_A4_f = .text:0x8134799C; // type:function size:0x4 -create__Q23gui9InterfaceFv = .text:0x813479A0; // type:function size:0x4 -changeEventHandler__Q23gui7ManagerFPQ23gui12EventHandler = .text:0x813479A4; // type:function size:0x54 -onEvent__Q23gui7ManagerFUlUliPv = .text:0x813479F8; // type:function size:0x80 -setLatestEventCtrlNo__Q23gui12EventHandlerFi = .text:0x81347A78; // type:function size:0x8 -onEvent__Q23gui12EventHandlerFUlUlPv = .text:0x81347A80; // type:function size:0x4 -update__Q23gui7ManagerFiPC10KPADStatusffPv = .text:0x81347A84; // type:function size:0x8 -setDrawInfo__Q23gui11PaneManagerFPCQ34nw4r3lyt8DrawInfo = .text:0x81347A8C; // type:function size:0x8 -getDrawInfo__Q23gui11PaneManagerFv = .text:0x81347A94; // type:function size:0x8 -__dt__Q33ipl3gui11PaneManagerFv = .text:0x81347A9C; // type:function size:0x58 -getLatestEventCtrlNo__Q23gui12EventHandlerFv = .text:0x81347AF4; // type:function size:0x8 -draw__Q23gui9InterfaceFv = .text:0x81347AFC; // type:function size:0x4 -calc__Q23gui9InterfaceFv = .text:0x81347B00; // type:function size:0x4 -init__Q23gui9InterfaceFv = .text:0x81347B04; // type:function size:0x4 -__sinit_\iplDialogWindow_cpp = .text:0x81347B08; // type:function size:0x3C scope:weak +draw__Q23gui9InterfaceFRA3_A4_f = .text:0x8134799C; // type:function size:0x4 scope:weak +create__Q23gui9InterfaceFv = .text:0x813479A0; // type:function size:0x4 scope:weak +changeEventHandler__Q23gui7ManagerFPQ23gui12EventHandler = .text:0x813479A4; // type:function size:0x54 scope:weak +onEvent__Q23gui7ManagerFUlUliPv = .text:0x813479F8; // type:function size:0x80 scope:weak +setLatestEventCtrlNo__Q23gui12EventHandlerFi = .text:0x81347A78; // type:function size:0x8 scope:weak +onEvent__Q23gui12EventHandlerFUlUlPv = .text:0x81347A80; // type:function size:0x4 scope:weak +update__Q23gui7ManagerFiPC10KPADStatusffPv = .text:0x81347A84; // type:function size:0x8 scope:weak +setDrawInfo__Q23gui11PaneManagerFPCQ34nw4r3lyt8DrawInfo = .text:0x81347A8C; // type:function size:0x8 scope:weak +getDrawInfo__Q23gui11PaneManagerFv = .text:0x81347A94; // type:function size:0x8 scope:weak +__dt__Q33ipl3gui11PaneManagerFv = .text:0x81347A9C; // type:function size:0x58 scope:weak +getLatestEventCtrlNo__Q23gui12EventHandlerFv = .text:0x81347AF4; // type:function size:0x8 scope:weak +draw__Q23gui9InterfaceFv = .text:0x81347AFC; // type:function size:0x4 scope:weak +calc__Q23gui9InterfaceFv = .text:0x81347B00; // type:function size:0x4 scope:weak +init__Q23gui9InterfaceFv = .text:0x81347B04; // type:function size:0x4 scope:weak +__sinit_\iplDialogWindow_cpp = .text:0x81347B08; // type:function size:0x3C scope:local SECallback__3iplFi = .text:0x81347B44; // type:function size:0x9C scope:local __ct__Q23ipl14HomeButtonMenuFPQ23EGG4Heap = .text:0x81347BE0; // type:function size:0x1B4 DrawBanIcon__Q23ipl14HomeButtonMenuFUc = .text:0x81347D94; // type:function size:0xB4 @@ -2152,7 +2156,7 @@ NANDCheck = .text:0x81360838; // type:function size:0x10 __ct__Q33ipl3bs27ManagerFPQ23EGG4Heap = .text:0x81360848; // type:function size:0x94 __dt__Q33ipl3bs27ManagerFv = .text:0x813608DC; // type:function size:0x64 update__Q33ipl3bs27ManagerFv = .text:0x81360940; // type:function size:0x10C -isRsrcLoaded__Q23ipl6SystemFv = .text:0x81360A4C; // type:function size:0x44 +isRsrcLoaded__Q23ipl6SystemFv = .text:0x81360A4C; // type:function size:0x44 scope:weak getDiskBannerBuffer__Q33ipl3bs27ManagerFPPv = .text:0x81360A90; // type:function size:0x34 startUpdate__Q33ipl3bs27ManagerFv = .text:0x81360AC4; // type:function size:0x9C reserveRVLGame__Q33ipl3bs27ManagerFv = .text:0x81360B60; // type:function size:0xC @@ -2197,11 +2201,11 @@ __ct__Q33ipl7utility4TreeFv = .text:0x813627B4; // type:function size:0x24 attach__Q33ipl7utility4TreeFPQ33ipl7utility4Tree = .text:0x813627D8; // type:function size:0x3C insert__Q33ipl7utility4TreeFPQ33ipl7utility4TreePQ33ipl7utility4Tree = .text:0x81362814; // type:function size:0x38 detach__Q33ipl7utility4TreeFv = .text:0x8136284C; // type:function size:0x4C -getPrev__Q33ipl7utility4TreeFv = .text:0x81362898; // type:function size:0x8 -getNext__Q33ipl7utility4TreeFv = .text:0x813628A0; // type:function size:0x8 -getChild__Q33ipl7utility4TreeFv = .text:0x813628A8; // type:function size:0x8 -getParent__Q33ipl7utility4TreeFv = .text:0x813628B0; // type:function size:0x8 -__dt__Q33ipl7utility4TreeFv = .text:0x813628B8; // type:function size:0x40 +getPrev__Q33ipl7utility4TreeFv = .text:0x81362898; // type:function size:0x8 scope:weak +getNext__Q33ipl7utility4TreeFv = .text:0x813628A0; // type:function size:0x8 scope:weak +getChild__Q33ipl7utility4TreeFv = .text:0x813628A8; // type:function size:0x8 scope:weak +getParent__Q33ipl7utility4TreeFv = .text:0x813628B0; // type:function size:0x8 scope:weak +__dt__Q33ipl7utility4TreeFv = .text:0x813628B8; // type:function size:0x40 scope:weak init__Q33ipl7utility15FrameControllerFifff = .text:0x813628F8; // type:function size:0x20 initFrame__Q33ipl7utility15FrameControllerFv = .text:0x81362918; // type:function size:0x20 calc__Q33ipl7utility15FrameControllerFv = .text:0x81362938; // type:function size:0x170 @@ -2325,49 +2329,49 @@ ReadFlags__Q33ipl7utility7CSFlagsFPQ33ipl7utility11CSFlagsData = .text:0x8136851 WriteFlags__Q33ipl7utility7CSFlagsFPQ33ipl7utility11CSFlagsData = .text:0x81368608; // type:function size:0xF0 UpdateFlagsFile__Q33ipl7utility7CSFlagsFv = .text:0x813686F8; // type:function size:0xB8 SetEULAFlag__Q33ipl7utility7CSFlagsFPQ33ipl7utility11CSFlagsData = .text:0x813687B0; // type:function size:0x50 -drawLine___FfffffUcR8_GXColor = .text:0x81368800; // type:function size:0x1C0 scope:local +drawLine___FfffffUcR8_GXColor = .text:0x81368800; // type:function size:0x1C0 scope:global update__Q23gui9ComponentFiffUlUlUlPv = .text:0x813689C0; // type:function size:0x2C0 -isVisible__Q23gui9ComponentFv = .text:0x81368C80; // type:function size:0x8 -isPointed__Q23gui9ComponentFi = .text:0x81368C88; // type:function size:0xC -onMove__Q23gui9ComponentFiff = .text:0x81368C94; // type:function size:0x18 -getID__Q23gui9ComponentFv = .text:0x81368CAC; // type:function size:0x8 -setPointed__Q23gui9ComponentFib = .text:0x81368CB4; // type:function size:0xC -onPoint__Q23gui9ComponentFi = .text:0x81368CC0; // type:function size:0x14 -offPoint__Q23gui9ComponentFi = .text:0x81368CD4; // type:function size:0x14 -onDrag__Q23gui9ComponentFff = .text:0x81368CE8; // type:function size:0x4 +isVisible__Q23gui9ComponentFv = .text:0x81368C80; // type:function size:0x8 scope:weak +isPointed__Q23gui9ComponentFi = .text:0x81368C88; // type:function size:0xC scope:weak +onMove__Q23gui9ComponentFiff = .text:0x81368C94; // type:function size:0x18 scope:weak +getID__Q23gui9ComponentFv = .text:0x81368CAC; // type:function size:0x8 scope:weak +setPointed__Q23gui9ComponentFib = .text:0x81368CB4; // type:function size:0xC scope:weak +onPoint__Q23gui9ComponentFi = .text:0x81368CC0; // type:function size:0x14 scope:weak +offPoint__Q23gui9ComponentFi = .text:0x81368CD4; // type:function size:0x14 scope:weak +onDrag__Q23gui9ComponentFff = .text:0x81368CE8; // type:function size:0x4 scope:weak __dt__Q23gui7ManagerFv = .text:0x81368CEC; // type:function size:0xB4 init__Q23gui7ManagerFv = .text:0x81368DA0; // type:function size:0x68 -init__Q23gui9ComponentFv = .text:0x81368E08; // type:function size:0x54 +init__Q23gui9ComponentFv = .text:0x81368E08; // type:function size:0x54 scope:weak addComponent__Q23gui7ManagerFPQ23gui9Component = .text:0x81368E5C; // type:function size:0xBC -setManager__Q23gui9ComponentFPQ23gui7Manager = .text:0x81368F18; // type:function size:0x8 +setManager__Q23gui9ComponentFPQ23gui7Manager = .text:0x81368F18; // type:function size:0x8 scope:weak getComponent__Q23gui7ManagerFUl = .text:0x81368F20; // type:function size:0x2C update__Q23gui7ManagerFiffUlUlUlPv = .text:0x81368F4C; // type:function size:0x1B0 -isTriggerTarger__Q23gui9ComponentFv = .text:0x813690FC; // type:function size:0x8 -onTrig__Q23gui9ComponentFiUlR3Vec = .text:0x81369104; // type:function size:0x4C +isTriggerTarger__Q23gui9ComponentFv = .text:0x813690FC; // type:function size:0x8 scope:weak +onTrig__Q23gui9ComponentFiUlR3Vec = .text:0x81369104; // type:function size:0x4C scope:weak calc__Q23gui7ManagerFv = .text:0x81369150; // type:function size:0x68 draw__Q23gui7ManagerFv = .text:0x813691B8; // type:function size:0x68 setAllComponentTriggerTarget__Q23gui7ManagerFb = .text:0x81369220; // type:function size:0x70 -setTriggerTarget__Q23gui9ComponentFb = .text:0x81369290; // type:function size:0x8 +setTriggerTarget__Q23gui9ComponentFb = .text:0x81369290; // type:function size:0x8 scope:weak setDraggingButton__Q23gui7ManagerFUl = .text:0x81369298; // type:function size:0x70 -setDraggingButton__Q23gui9ComponentFUl = .text:0x81369308; // type:function size:0x8 +setDraggingButton__Q23gui9ComponentFUl = .text:0x81369308; // type:function size:0x8 scope:weak __dt__Q23gui11PaneManagerFv = .text:0x81369310; // type:function size:0xEC -__dt__Q23gui13PaneComponentFv = .text:0x813693FC; // type:function size:0x40 +__dt__Q23gui13PaneComponentFv = .text:0x813693FC; // type:function size:0x40 scope:weak __dt__Q23gui9ComponentFv = .text:0x8136943C; // type:function size:0x40 createLayoutScene__Q23gui11PaneManagerFRCQ34nw4r3lyt6Layout = .text:0x8136947C; // type:function size:0x20 walkInChildren__Q23gui11PaneManagerFRQ34nw4r2ut28LinkList = .text:0x8136949C; // type:function size:0x1E4 -__ct__Q23gui13PaneComponentFUl = .text:0x81369680; // type:function size:0x78 -setPane__Q23gui13PaneComponentFPQ34nw4r3lyt4Pane = .text:0x813696F8; // type:function size:0x8 -IsDerivedFrom__Q44nw4r2ut6detail15RuntimeTypeInfoCFPCQ44nw4r2ut6detail15RuntimeTypeInfo = .text:0x81369700; // type:function size:0x28 +__ct__Q23gui13PaneComponentFUl = .text:0x81369680; // type:function size:0x78 scope:weak +setPane__Q23gui13PaneComponentFPQ34nw4r3lyt4Pane = .text:0x813696F8; // type:function size:0x8 scope:weak +IsDerivedFrom__Q44nw4r2ut6detail15RuntimeTypeInfoCFPCQ44nw4r2ut6detail15RuntimeTypeInfo = .text:0x81369700; // type:function size:0x28 scope:weak getPaneComponentByPane__Q23gui11PaneManagerFPQ34nw4r3lyt4Pane = .text:0x81369728; // type:function size:0x70 setAllBoundingBoxComponentTriggerTarget__Q23gui11PaneManagerFb = .text:0x81369798; // type:function size:0xAC contain__Q23gui13PaneComponentFff = .text:0x81369844; // type:function size:0x128 draw__Q23gui13PaneComponentFv = .text:0x8136996C; // type:function size:0x18C is_visible__3guiFPQ34nw4r3lyt4Pane = .text:0x81369AF8; // type:function size:0x30 scope:local isVisible__Q23gui13PaneComponentFv = .text:0x81369B28; // type:function size:0x8 -setFlightDuration__Q23gui9ComponentFiUs = .text:0x81369B30; // type:function size:0x10 -getFlightDuration__Q23gui9ComponentFi = .text:0x81369B40; // type:function size:0x10 -update__Q23gui9ComponentFiPC10KPADStatusffPv = .text:0x81369B50; // type:function size:0x8 -isDragging__Q23gui9ComponentFi = .text:0x81369B58; // type:function size:0xC +setFlightDuration__Q23gui9ComponentFiUs = .text:0x81369B30; // type:function size:0x10 scope:weak +getFlightDuration__Q23gui9ComponentFi = .text:0x81369B40; // type:function size:0x10 scope:weak +update__Q23gui9ComponentFiPC10KPADStatusffPv = .text:0x81369B50; // type:function size:0x8 scope:weak +isDragging__Q23gui9ComponentFi = .text:0x81369B58; // type:function size:0xC scope:weak __ct__Q33ipl6layout8AnimatorFPQ34nw4r3lyt13AnimTransformbb = .text:0x81369B64; // type:function size:0x100 calc__Q33ipl6layout8AnimatorFv = .text:0x81369C64; // type:function size:0x54 setFlag__Q33ipl6layout8AnimatorFb = .text:0x81369CB8; // type:function size:0x4 @@ -2375,18 +2379,18 @@ setFrame__Q33ipl6layout8AnimatorFv = .text:0x81369CBC; // type:function size:0x1 initAnmFrame__Q33ipl6layout8AnimatorFv = .text:0x81369CCC; // type:function size:0x3C initAnmFrame__Q33ipl6layout8AnimatorFf = .text:0x81369D08; // type:function size:0x10 __ct__Q33ipl6layout12PaneAnimatorFPQ34nw4r3lyt13AnimTransformPQ34nw4r3lyt4Panebb = .text:0x81369D18; // type:function size:0x54 -__dt__Q33ipl6layout8AnimatorFv = .text:0x81369D6C; // type:function size:0x40 +__dt__Q33ipl6layout8AnimatorFv = .text:0x81369D6C; // type:function size:0x40 scope:weak bind__Q33ipl6layout12PaneAnimatorFv = .text:0x81369DAC; // type:function size:0x24 setFlag__Q33ipl6layout12PaneAnimatorFb = .text:0x81369DD0; // type:function size:0x28 __ct__Q33ipl6layout13GroupAnimatorFPQ34nw4r3lyt13AnimTransformPQ34nw4r3lyt5Groupbb = .text:0x81369DF8; // type:function size:0x54 bind__Q33ipl6layout13GroupAnimatorFv = .text:0x81369E4C; // type:function size:0x90 -GetBeginIter__Q34nw4r2ut39LinkListFv = .text:0x81369EDC; // type:function size:0x8 -GetEndIter__Q34nw4r2ut39LinkListFv = .text:0x81369EE4; // type:function size:0x8 -__ne__Q24nw4r2utFQ44nw4r2ut39LinkList8IteratorQ44nw4r2ut39LinkList8Iterator = .text:0x81369EEC; // type:function size:0x18 +GetBeginIter__Q34nw4r2ut39LinkListFv = .text:0x81369EDC; // type:function size:0x8 scope:weak +GetEndIter__Q34nw4r2ut39LinkListFv = .text:0x81369EE4; // type:function size:0x8 scope:weak +__ne__Q24nw4r2utFQ44nw4r2ut39LinkList8IteratorQ44nw4r2ut39LinkList8Iterator = .text:0x81369EEC; // type:function size:0x18 scope:weak setFlag__Q33ipl6layout13GroupAnimatorFb = .text:0x81369F04; // type:function size:0x98 __ct__Q33ipl6layout6ObjectFPQ23EGG4HeapPvPCcPCc = .text:0x81369F9C; // type:function size:0xE0 -__ct__Q34nw4r3lyt15ArcResourceLinkFv = .text:0x8136A07C; // type:function size:0x10 -__dt__Q34nw4r3lyt15ArcResourceLinkFv = .text:0x8136A08C; // type:function size:0x40 +__ct__Q34nw4r3lyt15ArcResourceLinkFv = .text:0x8136A07C; // type:function size:0x10 scope:weak +__dt__Q34nw4r3lyt15ArcResourceLinkFv = .text:0x8136A08C; // type:function size:0x40 scope:weak __ct__Q33ipl6layout6ObjectFPQ23EGG4HeapPQ33ipl4nand10LayoutFilePCcPCc = .text:0x8136A0CC; // type:function size:0x128 __dt__Q33ipl6layout6ObjectFv = .text:0x8136A1F4; // type:function size:0x124 init___Q33ipl6layout6ObjectFPCc = .text:0x8136A318; // type:function size:0xFC @@ -2411,7 +2415,7 @@ isPlaying__Q33ipl6layout6ObjectCFi = .text:0x8136AB78; // type:function size:0x9 attach__Q33ipl6layout6ObjectFPvPCc = .text:0x8136AC10; // type:function size:0x60 attach_font__Q33ipl6layout6ObjectFv = .text:0x8136AC70; // type:function size:0xFC initLocationAdjust__Q33ipl6layout6ObjectFv = .text:0x8136AD6C; // type:function size:0x114 -__as__Q34nw4r4math4VEC2FRCQ34nw4r4math4VEC2 = .text:0x8136AE80; // type:function size:0x14 +__as__Q34nw4r4math4VEC2FRCQ34nw4r4math4VEC2 = .text:0x8136AE80; // type:function size:0x14 scope:weak adjustHeap__Q33ipl6layout6ObjectFv = .text:0x8136AE94; // type:function size:0x14 destroyHeap__Q33ipl6layout6ObjectFv = .text:0x8136AEA8; // type:function size:0x14 create__Q33ipl6layout6ObjectFPQ23EGG4HeapUlPQ33ipl4nand10LayoutFilePCcPCc = .text:0x8136AEBC; // type:function size:0x7C @@ -3074,8 +3078,8 @@ calcFadeout__Q33ipl5scene8BackMenuFv = .text:0x8138ECEC; // type:function size:0 draw__Q33ipl5scene8BackMenuFv = .text:0x8138EDD4; // type:function size:0x50 calcCommonAfter__Q33ipl5scene14FaderSceneBaseFv = .text:0x8138EE24; // type:function size:0x4 initCalcNormal__Q33ipl5scene14FaderSceneBaseFv = .text:0x8138EE28; // type:function size:0x4 -__dt__Q33ipl5scene8BackMenuFv = .text:0x8138EE2C; // type:function size:0x5C -@20@__dt__Q33ipl5scene8BackMenuFv = .text:0x8138EE88; // type:function size:0x8 +__dt__Q33ipl5scene8BackMenuFv = .text:0x8138EE2C; // type:function size:0x5C scope:weak +@20@__dt__Q33ipl5scene8BackMenuFv = .text:0x8138EE88; // type:function size:0x8 scope:weak __ct__Q33ipl5scene5BoardFPQ23EGG4Heap = .text:0x8138EE90; // type:function size:0x108 __dt__Q43ipl5scene5Board7ObjListFv = .text:0x8138EF98; // type:function size:0x68 __dt__Q33ipl5scene11BoardObjectFv = .text:0x8138F000; // type:function size:0x40 @@ -3961,7 +3965,7 @@ draw__Q33ipl5scene8skHealthFv = .text:0x813BDF10; // type:function size:0x50 check_safe_mode__Q33ipl5scene8skHealthFv = .text:0x813BDF60; // type:function size:0x118 finish_safe_mode_check__Q33ipl5scene8skHealthCFv = .text:0x813BE078; // type:function size:0x88 initCalcFadeout__Q33ipl5scene14FaderSceneBaseFv = .text:0x813BE100; // type:function size:0x4 -@20@__dt__Q33ipl5scene8skHealthFv = .text:0x813BE104; // type:function size:0x8 +@20@__dt__Q33ipl5scene8skHealthFv = .text:0x813BE104; // type:function size:0x8 scope:weak __ct__Q33ipl5scene12KitayamaTestFPQ23EGG4Heapi = .text:0x813BE10C; // type:function size:0x6C __dt__Q33ipl5scene12KitayamaTestFv = .text:0x813BE178; // type:function size:0x5C prepare__Q33ipl5scene12KitayamaTestFv = .text:0x813BE1D4; // type:function size:0x4 @@ -4025,7 +4029,7 @@ calcFadein__Q33ipl5scene9LimitOverFv = .text:0x813C2128; // type:function size:0 calcNormal__Q33ipl5scene9LimitOverFv = .text:0x813C22D8; // type:function size:0x11C calcFadeout__Q33ipl5scene9LimitOverFv = .text:0x813C23F4; // type:function size:0xC8 draw__Q33ipl5scene9LimitOverFv = .text:0x813C24BC; // type:function size:0x50 -@20@__dt__Q33ipl5scene9LimitOverFv = .text:0x813C250C; // type:function size:0x8 +@20@__dt__Q33ipl5scene9LimitOverFv = .text:0x813C250C; // type:function size:0x8 scope:weak __ct__Q33ipl5scene17MailAddressSelectFPQ23EGG4Heap = .text:0x813C2514; // type:function size:0x8C __dt__Q33ipl5scene17MailAddressSelectFv = .text:0x813C25A0; // type:function size:0x5C prepare__Q33ipl5scene17MailAddressSelectFv = .text:0x813C25FC; // type:function size:0x4C @@ -4517,8 +4521,8 @@ __dt__Q33ipl5scene14ParentalDialogFv = .text:0x813DA810; // type:function size:0 @20@__dt__Q33ipl5scene14ParentalDialogFv = .text:0x813DA86C; // type:function size:0x8 calc__Q33ipl5scene6RebootFv = .text:0x813DA874; // type:function size:0x10C draw__Q33ipl5scene4BaseFv = .text:0x813DA980; // type:function size:0x4 -__dt__Q33ipl5scene6RebootFv = .text:0x813DA984; // type:function size:0x58 -@20@__dt__Q33ipl5scene6RebootFv = .text:0x813DA9DC; // type:function size:0x8 +__dt__Q33ipl5scene6RebootFv = .text:0x813DA984; // type:function size:0x58 scope:weak +@20@__dt__Q33ipl5scene6RebootFv = .text:0x813DA9DC; // type:function size:0x8 scope:weak create__Q33ipl5scene9RootSceneFv = .text:0x813DA9E4; // type:function size:0x14 proc_boot_scene__Q33ipl5scene9RootSceneFPiPi = .text:0x813DA9F8; // type:function size:0x1AC __dt__Q33ipl5scene9RootSceneFv = .text:0x813DABA4; // type:function size:0x58 @@ -5090,7 +5094,7 @@ Init__Q33ipl5scene11USBAPThreadFPUsPUc = .text:0x813FCA3C; // type:function size cancel__Q33ipl5scene11USBAPThreadFv = .text:0x813FCABC; // type:function size:0x4 is__Q33ipl5scene11USBAPThreadFv = .text:0x813FCAC0; // type:function size:0x4 setData__Q33ipl5scene11USBAPThreadFPCwPUc = .text:0x813FCAC4; // type:function size:0x40 -USBAPThread_813FCA08__Q33ipl5scene11USBAPThreadFv = .text:0x813FCB04; // type:function size:0x4 scope:local +callback__Q33ipl5scene11USBAPThreadFv = .text:0x813FCB04; // type:function size:0x4 __ct__Q33ipl5scene10AOSSThreadFPQ23EGG4Heap = .text:0x813FCB08; // type:function size:0x94 destroy__Q33ipl5scene10AOSSThreadFi = .text:0x813FCB9C; // type:function size:0x84 __dt__Q33ipl5scene10AOSSThreadFv = .text:0x813FCC20; // type:function size:0x70 @@ -5182,7 +5186,7 @@ create__Q33ipl5scene9SettingBgFv = .text:0x81406E70; // type:function size:0xA4 calc__Q33ipl5scene9SettingBgFv = .text:0x81406F14; // type:function size:0x8 draw__Q33ipl5scene9SettingBgFv = .text:0x81406F1C; // type:function size:0x50 __dt__Q33ipl5scene9SettingBgFv = .text:0x81406F6C; // type:function size:0x58 -@20@__dt__Q33ipl5scene9SettingBgFv = .text:0x81406FC4; // type:function size:0x8 +@20@__dt__Q33ipl5scene9SettingBgFv = .text:0x81406FC4; // type:function size:0x8 scope:weak __ct__Q33ipl5scene13SettingButtonFPQ23EGG4Heapi = .text:0x81406FCC; // type:function size:0x9C prepare__Q33ipl5scene13SettingButtonFv = .text:0x81407068; // type:function size:0x4C create__Q33ipl5scene13SettingButtonFv = .text:0x814070B4; // type:function size:0x288 @@ -5204,8 +5208,8 @@ reserve__Q33ipl5scene13SettingButtonFiUl = .text:0x81407AF4; // type:function si isPlaying__Q33ipl5scene13SettingButtonCFv = .text:0x81407B48; // type:function size:0x3C calcFadeout__Q33ipl5scene14FaderSceneBaseFv = .text:0x81407B84; // type:function size:0x8 __dt__Q33ipl5scene13SettingButtonFv = .text:0x81407B8C; // type:function size:0x5C -@20@__dt__Q33ipl5scene13SettingButtonFv = .text:0x81407BE8; // type:function size:0x8 -@88@onEvent__Q33ipl5scene13SettingButtonFUlUlPv = .text:0x81407BF0; // type:function size:0x8 +@20@__dt__Q33ipl5scene13SettingButtonFv = .text:0x81407BE8; // type:function size:0x8 scope:weak +@88@onEvent__Q33ipl5scene13SettingButtonFUlUlPv = .text:0x81407BF0; // type:function size:0x8 scope:weak __ct__Q33ipl5scene13SettingSelectFPQ23EGG4Heapi = .text:0x81407BF8; // type:function size:0x88 prepare__Q33ipl5scene13SettingSelectFv = .text:0x81407C80; // type:function size:0x4C create__Q33ipl5scene13SettingSelectFv = .text:0x81407CCC; // type:function size:0x6C4 @@ -5253,7 +5257,7 @@ do_destroy__Q33ipl5scene4BaseFv = .text:0x81409F24; // type:function size:0x60 createChildScene__Q33ipl5scene4BaseFiPQ33ipl5scene4BasePQ33ipl5scene4BasePv = .text:0x81409F84; // type:function size:0x70 reserveSceneChange__Q33ipl5scene4BaseFiPv = .text:0x81409FF4; // type:function size:0x9C reserveAllSceneDestruction__Q33ipl5scene4BaseFiPv = .text:0x8140A090; // type:function size:0x28 -@20@__dt__Q33ipl5scene4BaseFv = .text:0x8140A0B8; // type:function size:0x8 +@20@__dt__Q33ipl5scene4BaseFv = .text:0x8140A0B8; // type:function size:0x8 scope:weak size__Q33ipl5scene7CreatorFi = .text:0x8140A0C0; // type:function size:0x44 create__Q33ipl5scene7CreatorFiPQ23EGG4HeapPv = .text:0x8140A104; // type:function size:0x4F0 clear__Q33ipl5scene7CommandFv = .text:0x8140A5F4; // type:function size:0x48 @@ -5287,8 +5291,8 @@ __ml__Q43ipl7utility4Tree16reverse_iteratorFv = .text:0x8140B2B0; // type:functi pop__Q33ipl7utility29QueueFv = .text:0x8140B2B8; // type:function size:0x4C __ct__Q33ipl5scene14FaderSceneBaseFPQ23EGG4Heap = .text:0x8140B304; // type:function size:0x4C calc__Q33ipl5scene14FaderSceneBaseFv = .text:0x8140B350; // type:function size:0x14C -calcNormal__Q33ipl5scene14FaderSceneBaseFv = .text:0x8140B49C; // type:function size:0x8 -@20@__dt__Q33ipl5scene14FaderSceneBaseFv = .text:0x8140B4A4; // type:function size:0x8 +calcNormal__Q33ipl5scene14FaderSceneBaseFv = .text:0x8140B49C; // type:function size:0x8 scope:weak +@20@__dt__Q33ipl5scene14FaderSceneBaseFv = .text:0x8140B4A4; // type:function size:0x8 scope:weak onNigaoeButton__Q33ipl5scene17InputFormObserverFv = .text:0x8140B4AC; // type:function size:0x14 pointNigaoeButton__Q33ipl5scene17InputFormObserverFv = .text:0x8140B4C0; // type:function size:0x14 leftNigaoeButton__Q33ipl5scene17InputFormObserverFv = .text:0x8140B4D4; // type:function size:0x14 @@ -7945,8 +7949,8 @@ NWC24ReadMsgText = .text:0x814A9188; // type:function size:0x5C NWC24ReadMsgTextEx = .text:0x814A91E4; // type:function size:0xB8 ReadMsgTextInternal = .text:0x814A929C; // type:function size:0x2C8 scope:local NWC24ReadMsgAttached = .text:0x814A9564; // type:function size:0x16C -NWC24_814A95D4 = .text:0x814A96D0; // type:function size:0x13C -NWC24_814A9710 = .text:0x814A980C; // type:function size:0x140 +ReadBase64Data = .text:0x814A96D0; // type:function size:0x13C +ReadQPText = .text:0x814A980C; // type:function size:0x140 NWC24ReadMsgSubjectPublic = .text:0x814A994C; // type:function size:0x1A0 NWC24ReadMsgTextPublic = .text:0x814A9AEC; // type:function size:0x118 NWC24SetMsgSubjectPublic = .text:0x814A9C04; // type:function size:0x1C8 @@ -8867,21 +8871,21 @@ TMCJPEGDEC_imageend = .text:0x814ECB90; // type:function size:0xA0 TMCJPEGDEC_scanstart = .text:0x814ECC30; // type:function size:0xD4 TMCJPEGDEC_scan_varinit = .text:0x814ECD04; // type:function size:0x204 TMCJPEGDEC_restart_interval = .text:0x814ECF08; // type:function size:0x174 -TMCJPEG_814ECF80 = .text:0x814ED07C; // type:function size:0x2DC scope:local -TMCJPEG_814ED25C = .text:0x814ED358; // type:function size:0x1E0 scope:local -TMCJPEG_814ED43C = .text:0x814ED538; // type:function size:0x148 scope:local -TMCJPEG_814ED584 = .text:0x814ED680; // type:function size:0x37C scope:local -TMCJPEG_814ED900 = .text:0x814ED9FC; // type:function size:0x1C0 scope:local +TMCJPEGDEC_parse_para = .text:0x814ED07C; // type:function size:0x2DC scope:local +TMCJPEGDEC_parse_dht = .text:0x814ED358; // type:function size:0x1E0 scope:local +TMCJPEGDEC_parse_dqt = .text:0x814ED538; // type:function size:0x148 scope:local +TMCJPEGDEC_parse_sof = .text:0x814ED680; // type:function size:0x37C scope:local +TMCJPEGDEC_parse_sos = .text:0x814ED9FC; // type:function size:0x1C0 scope:local TMCJPEGDEC_err_restart = .text:0x814EDBBC; // type:function size:0x1CC TMCJPEGDEC_set_entropytbl = .text:0x814EDD88; // type:function size:0x98 TMCCJPEGDecGetOffsetEXIF = .text:0x814EDE20; // type:function size:0x26C TMCCJPEGDecGetInfoEXIF = .text:0x814EE08C; // type:function size:0x210 -TMCJPEG_814EE1A0 = .text:0x814EE29C; // type:function size:0x350 scope:local -TMCJPEG_814EE4F0 = .text:0x814EE5EC; // type:function size:0x784 scope:local -TMCJPEG_814EEC74 = .text:0x814EED70; // type:function size:0x3C8 scope:local -TMCJPEG_814EF03C = .text:0x814EF138; // type:function size:0xC8 scope:local +TMCJPEGDEC_exif_parse = .text:0x814EE29C; // type:function size:0x350 scope:local +TMCJPEGDEC_IFD0_tag_parse = .text:0x814EE5EC; // type:function size:0x784 scope:local +TMCJPEGDEC_IFD1_tag_parse = .text:0x814EED70; // type:function size:0x3C8 scope:local +TMCJPEGDEC_ThumbnailCheck = .text:0x814EF138; // type:function size:0xC8 scope:local TMCJPEGDEC_decode_iquant_rc = .text:0x814EF200; // type:function size:0x29C -TMCJPEG_814EF3A0 = .text:0x814EF49C; // type:function size:0xF0 scope:local +TMCJPEGDEC_vl_decode_rc = .text:0x814EF49C; // type:function size:0xF0 scope:local TMCJPEGDEC_IdctBlock4x4 = .text:0x814EF58C; // type:function size:0x220 TMCJPEGDEC_IdctBlock2x2 = .text:0x814EF7AC; // type:function size:0x11C TMCJPEGDEC_IdctBlock1x1 = .text:0x814EF8C8; // type:function size:0x44 @@ -8902,31 +8906,31 @@ TMCJPEG_814F32E4 = .text:0x814F33E0; // type:function size:0x1C0 scope:local TMCJPEG_814F34A4 = .text:0x814F35A0; // type:function size:0x288 scope:local TMCJPEG_814F372C = .text:0x814F3828; // type:function size:0x2BC scope:local TMCJPEGDEC_set_converterRGB565 = .text:0x814F3AE4; // type:function size:0x2A8 -TMCJPEG_814F3C90 = .text:0x814F3D8C; // type:function size:0x364 scope:local -TMCJPEG_814F3FF4 = .text:0x814F40F0; // type:function size:0x1A8 scope:local -TMCJPEG_814F419C = .text:0x814F4298; // type:function size:0x220 scope:local -TMCJPEG_814F43BC = .text:0x814F44B8; // type:function size:0x1AC scope:local -TMCJPEG_814F4568 = .text:0x814F4664; // type:function size:0x234 scope:local -TMCJPEG_814F479C = .text:0x814F4898; // type:function size:0x1C8 scope:local -TMCJPEG_814F4964 = .text:0x814F4A60; // type:function size:0x188 scope:local -TMCJPEG_814F4AEC = .text:0x814F4BE8; // type:function size:0x1B4 scope:local -TMCJPEG_814F4CA0 = .text:0x814F4D9C; // type:function size:0x16C scope:local -TMCJPEG_814F4E0C = .text:0x814F4F08; // type:function size:0x1A0 scope:local -TMCJPEG_814F4FAC = .text:0x814F50A8; // type:function size:0x118 scope:local -TMCJPEG_814F50C4 = .text:0x814F51C0; // type:function size:0x14C scope:local +TMCJPEGDEC_converterYUV411toRGB565 = .text:0x814F3D8C; // type:function size:0x364 scope:local +TMCJPEGDEC_converterYUV411toRGB565edge = .text:0x814F40F0; // type:function size:0x1A8 scope:local +TMCJPEGDEC_converterYUV422toRGB565 = .text:0x814F4298; // type:function size:0x220 scope:local +TMCJPEGDEC_converterYUV422toRGB565edge = .text:0x814F44B8; // type:function size:0x1AC scope:local +TMCJPEGDEC_converterYUV420toRGB565 = .text:0x814F4664; // type:function size:0x234 scope:local +TMCJPEGDEC_converterYUV420toRGB565edge = .text:0x814F4898; // type:function size:0x1C8 scope:local +TMCJPEGDEC_converterYUV211toRGB565 = .text:0x814F4A60; // type:function size:0x188 scope:local +TMCJPEGDEC_converterYUV211toRGB565edge = .text:0x814F4BE8; // type:function size:0x1B4 scope:local +TMCJPEGDEC_converterYUV444toRGB565 = .text:0x814F4D9C; // type:function size:0x16C scope:local +TMCJPEGDEC_converterYUV444toRGB565edge = .text:0x814F4F08; // type:function size:0x1A0 scope:local +TMCJPEGDEC_converterYUV400toRGB565 = .text:0x814F50A8; // type:function size:0x118 scope:local +TMCJPEGDEC_converterYUV400toRGB565edge = .text:0x814F51C0; // type:function size:0x14C scope:local TMCJPEGDEC_set_converterRGBA8 = .text:0x814F530C; // type:function size:0x2A8 -TMCJPEG_814F54B8 = .text:0x814F55B4; // type:function size:0x3C8 scope:local -TMCJPEG_814F5880 = .text:0x814F597C; // type:function size:0x1C0 scope:local -TMCJPEG_814F5A40 = .text:0x814F5B3C; // type:function size:0x250 scope:local -TMCJPEG_814F5C90 = .text:0x814F5D8C; // type:function size:0x1C4 scope:local -TMCJPEG_814F5E54 = .text:0x814F5F50; // type:function size:0x264 scope:local -TMCJPEG_814F60B8 = .text:0x814F61B4; // type:function size:0x1E0 scope:local -TMCJPEG_814F6298 = .text:0x814F6394; // type:function size:0x1A0 scope:local -TMCJPEG_814F6438 = .text:0x814F6534; // type:function size:0x1CC scope:local -TMCJPEG_814F6604 = .text:0x814F6700; // type:function size:0x184 scope:local -TMCJPEG_814F6788 = .text:0x814F6884; // type:function size:0x1B8 scope:local -TMCJPEG_814F6940 = .text:0x814F6A3C; // type:function size:0x130 scope:local -TMCJPEG_814F6A70 = .text:0x814F6B6C; // type:function size:0x164 scope:local +TMCJPEGDEC_converterYUV411toRGBA8 = .text:0x814F55B4; // type:function size:0x3C8 scope:local +TMCJPEGDEC_converterYUV411toRGBA8edge = .text:0x814F597C; // type:function size:0x1C0 scope:local +TMCJPEGDEC_converterYUV422toRGBA8 = .text:0x814F5B3C; // type:function size:0x250 scope:local +TMCJPEGDEC_converterYUV422toRGBA8edge = .text:0x814F5D8C; // type:function size:0x1C4 scope:local +TMCJPEGDEC_converterYUV420toRGBA8 = .text:0x814F5F50; // type:function size:0x264 scope:local +TMCJPEGDEC_converterYUV420toRGBA8edge = .text:0x814F61B4; // type:function size:0x1E0 scope:local +TMCJPEGDEC_converterYUV211toRGBA8 = .text:0x814F6394; // type:function size:0x1A0 scope:local +TMCJPEGDEC_converterYUV211toRGBA8edge = .text:0x814F6534; // type:function size:0x1CC scope:local +TMCJPEGDEC_converterYUV444toRGBA8 = .text:0x814F6700; // type:function size:0x184 scope:local +TMCJPEGDEC_converterYUV444toRGBA8edge = .text:0x814F6884; // type:function size:0x1B8 scope:local +TMCJPEGDEC_converterYUV400toRGBA8 = .text:0x814F6A3C; // type:function size:0x130 scope:local +TMCJPEGDEC_converterYUV400toRGBA8edge = .text:0x814F6B6C; // type:function size:0x164 scope:local TMCJPEGDEC_decode_iquant = .text:0x814F6CD0; // type:function size:0x450 __ct__Q44nw4r3snd6detail9AxManagerFv = .text:0x814F7120; // type:function size:0x530 __ct__Q34nw4r2ut30LinkListFv = .text:0x814F7650; // type:function size:0x20 @@ -9181,7 +9185,7 @@ detail_GetRequiredStreamBufferSize__Q34nw4r3snd18MemorySoundArchiveCFv = .text:0 Close__Q44nw4r3snd18MemorySoundArchive16MemoryFileStreamFv = .text:0x81501B18; // type:function size:0x14 Read__Q44nw4r3snd18MemorySoundArchive16MemoryFileStreamFPvUl = .text:0x81501B2C; // type:function size:0x58 Seek__Q44nw4r3snd18MemorySoundArchive16MemoryFileStreamFlUl = .text:0x81501B84; // type:function size:0x4C -UNUSED_81501AD4__Q44nw4r3snd18MemorySoundArchive16MemoryFileStreamFv = .text:0x81501BD0; // type:function size:0x4 +UNUSED_81501AD4 = .text:0x81501BD0; // type:function size:0x4 GetRuntimeTypeInfo__Q34nw4r2ut10FileStreamCFv = .text:0x81501BD4; // type:function size:0x8 GetSize__Q44nw4r3snd18MemorySoundArchive16MemoryFileStreamCFv = .text:0x81501BDC; // type:function size:0x8 Tell__Q44nw4r3snd18MemorySoundArchive16MemoryFileStreamCFv = .text:0x81501BE4; // type:function size:0x8 @@ -10131,10 +10135,10 @@ __OSGetIOSRev = .text:0x8152B6E0; // type:function size:0x6C OSGetConsoleType = .text:0x8152B74C; // type:function size:0x284 ClearArena = .text:0x8152B9D0; // type:function size:0x1DC scope:local ClearMEM2Arena = .text:0x8152BBAC; // type:function size:0x1E4 scope:local -InquiryCallback = .text:0x8152BD90; // type:function size:0x3C scope:local +InquiryCallback = .text:0x8152BD90; // type:function size:0x3C scope:global ReportOSInfo = .text:0x8152BDCC; // type:function size:0x2AC scope:local OSInit = .text:0x8152C078; // type:function size:0x438 -OSExceptionInit = .text:0x8152C4B0; // type:function size:0x280 scope:local +OSExceptionInit = .text:0x8152C4B0; // type:function size:0x280 scope:global __OSDBIntegrator = .text:0x8152C730; // type:function size:0x24 scope:local __OSDBINTSTART = .text:0x8152C730; // type:label scope:global __OSDBJump = .text:0x8152C754; // type:function size:0x4 scope:local @@ -10185,7 +10189,7 @@ OSSetMEM2ArenaLo = .text:0x8152D4C4; // type:function size:0x8 OSSetArenaLo = .text:0x8152D4CC; // type:function size:0x8 OSAllocFromMEM1ArenaLo = .text:0x8152D4D4; // type:function size:0x34 OSAllocFromMEM2ArenaLo = .text:0x8152D508; // type:function size:0x34 -__AIClockInit = .text:0x8152D53C; // type:function size:0x220 scope:local +__AIClockInit = .text:0x8152D53C; // type:function size:0x220 scope:global __OSInitAudioSystem = .text:0x8152D75C; // type:function size:0x1C8 __OSStopAudioSystem = .text:0x8152D924; // type:function size:0xCC DCEnable = .text:0x8152D9F0; // type:function size:0x14 scope:global @@ -10216,18 +10220,18 @@ OSDumpContext = .text:0x8152E344; // type:function size:0x260 scope:global OSSwitchFPUContext = .text:0x8152E5A4; // type:function size:0x84 scope:local __OSContextInit = .text:0x8152E628; // type:function size:0x48 OSFillFPUContext = .text:0x8152E670; // type:function size:0x12C -OSReport = .text:0x8152E79C; // type:function size:0x8C scope:weak +OSReport = .text:0x8152E79C; // type:function size:0x8C scope:global OSVReport = .text:0x8152E828; // type:function size:0x4 OSPanic = .text:0x8152E82C; // type:function size:0x12C OSSetErrorHandler = .text:0x8152E958; // type:function size:0x288 scope:global __OSUnhandledException = .text:0x8152EBE0; // type:function size:0x2F0 scope:global -PackArgs = .text:0x8152EED0; // type:function size:0x180 scope:local +PackArgs = .text:0x8152EED0; // type:function size:0x180 __OSGetExecParams = .text:0x8152F050; // type:function size:0x24 __OSCheckCompanyCode = .text:0x8152F074; // type:function size:0x114 __OSCheckTmdCountryCode = .text:0x8152F188; // type:function size:0x4C __OSGetValidTicketIndex = .text:0x8152F1D4; // type:function size:0x1F0 __OSLaunchTitle = .text:0x8152F3C4; // type:function size:0x11C -LaunchCommon = .text:0x8152F4E0; // type:function size:0x4A8 scope:local +LaunchCommon = .text:0x8152F4E0; // type:function size:0x4A8 scope:global __OSLaunchTitlevForSystem = .text:0x8152F988; // type:function size:0xA8 __OSLaunchTitlelForSystem = .text:0x8152FA30; // type:function size:0x12C __OSReturnToMenul = .text:0x8152FB5C; // type:function size:0x108 @@ -10235,12 +10239,14 @@ GetFontCode = .text:0x8152FC64; // type:function size:0x134 scope:local Decode = .text:0x8152FD98; // type:function size:0x1A4 scope:local OSGetFontEncode = .text:0x8152FF3C; // type:function size:0x54 OSSetFontEncode = .text:0x8152FF90; // type:function size:0x80 -ReadFont = .text:0x81530010; // type:function size:0x300 scope:local +ReadFont = .text:0x81530010; // type:function size:0x300 scope:global OSLoadFont = .text:0x81530310; // type:function size:0x128 ParseStringS = .text:0x81530438; // type:function size:0xFC scope:local ParseStringW = .text:0x81530534; // type:function size:0x1BC scope:local OSGetFontTexel = .text:0x815306F0; // type:function size:0x290 OSDisableInterrupts = .text:0x81530980; // type:function size:0x14 +__RAS_OSDisableInterrupts_begin = .text:0x81530980; // type:label scope:global +__RAS_OSDisableInterrupts_end = .text:0x8153098C; // type:label scope:global OSEnableInterrupts = .text:0x81530994; // type:function size:0x14 OSRestoreInterrupts = .text:0x815309A8; // type:function size:0x24 __OSSetInterruptHandler = .text:0x815309CC; // type:function size:0x14 @@ -10260,8 +10266,8 @@ OSGetPhysicalMem1Size = .text:0x815313F0; // type:function size:0xC OSGetPhysicalMem2Size = .text:0x815313FC; // type:function size:0xC OSGetConsoleSimulatedMem1Size = .text:0x81531408; // type:function size:0xC scope:global OSGetConsoleSimulatedMem2Size = .text:0x81531414; // type:function size:0xC scope:global -OnShutdown = .text:0x81531420; // type:function size:0x3C -MEMIntrruptHandler = .text:0x8153145C; // type:function size:0x48 scope:local +OnShutdown = .text:0x81531420; // type:function size:0x3C scope:local +MEMIntrruptHandler = .text:0x8153145C; // type:function size:0x48 scope:global OSProtectRange = .text:0x815314A4; // type:function size:0xC8 ConfigMEM1_24MB = .text:0x8153156C; // type:function size:0x80 scope:local ConfigMEM1_48MB = .text:0x815315EC; // type:function size:0x80 scope:local @@ -10299,7 +10305,7 @@ WriteSramCallback = .text:0x81532AB4; // type:function size:0x138 scope:local __OSInitSram = .text:0x81532BEC; // type:function size:0x200 __OSLockSram = .text:0x81532DEC; // type:function size:0x50 __OSLockSramEx = .text:0x81532E3C; // type:function size:0x50 -UnlockSram = .text:0x81532E8C; // type:function size:0x2E0 scope:local +UnlockSram = .text:0x81532E8C; // type:function size:0x2E0 scope:global __OSUnlockSram = .text:0x8153316C; // type:function size:0x8 __OSUnlockSramEx = .text:0x81533174; // type:function size:0x8 __OSSyncSram = .text:0x8153317C; // type:function size:0x10 @@ -10321,7 +10327,7 @@ __OSClearRTCFlags = .text:0x81533A9C; // type:function size:0x110 OSInitSemaphore = .text:0x81533BAC; // type:function size:0x58 OSWaitSemaphore = .text:0x81533C04; // type:function size:0x70 OSSignalSemaphore = .text:0x81533C74; // type:function size:0x60 -SystemCallVector = .text:0x81533CD4; // type:function size:0x20 scope:local +SystemCallVector = .text:0x81533CD4; // type:function size:0x20 scope:global __OSSystemCallVectorStart = .text:0x81533CD4; // type:label scope:global __OSSystemCallVectorEnd = .text:0x81533CF0; // type:label scope:global __OSInitSystemCall = .text:0x81533CF4; // type:function size:0x60 @@ -10336,9 +10342,9 @@ OSDisableScheduler = .text:0x815340A8; // type:function size:0x3C scope:global OSEnableScheduler = .text:0x815340E4; // type:function size:0x3C scope:global UnsetRun = .text:0x81534120; // type:function size:0x68 scope:local __OSGetEffectivePriority = .text:0x81534188; // type:function size:0x3C -SetEffectivePriority = .text:0x815341C4; // type:function size:0x1B4 scope:local +SetEffectivePriority = .text:0x815341C4; // type:function size:0x1B4 scope:global __OSPromoteThread = .text:0x81534378; // type:function size:0x50 -SelectThread = .text:0x815343C8; // type:function size:0x228 scope:local +SelectThread = .text:0x815343C8; // type:function size:0x228 scope:global __OSReschedule = .text:0x815345F0; // type:function size:0x18 scope:global OSYieldThread = .text:0x81534608; // type:function size:0x3C OSCreateThread = .text:0x81534644; // type:function size:0x26C @@ -10352,7 +10358,7 @@ OSSleepThread = .text:0x81535178; // type:function size:0xEC OSWakeupThread = .text:0x81535264; // type:function size:0xF4 OSSetThreadPriority = .text:0x81535358; // type:function size:0xEC OSGetThreadPriority = .text:0x81535444; // type:function size:0x8 -CheckThreadQueue = .text:0x8153544C; // type:function size:0x98 scope:local +CheckThreadQueue = .text:0x8153544C; // type:function size:0x98 scope:global OSCheckActiveThreads = .text:0x815354E4; // type:function size:0x758 OSSetThreadSpecific = .text:0x81535C3C; // type:function size:0x30 OSGetThreadSpecific = .text:0x81535C6C; // type:function size:0x38 @@ -10383,16 +10389,16 @@ __OSHotReset = .text:0x81536AE8; // type:function size:0x70 __OSSetVIForceDimming = .text:0x81536B58; // type:function size:0xF8 __OSSetIdleLEDMode = .text:0x81536C50; // type:function size:0x40 __OSUnRegisterStateEvent = .text:0x81536C90; // type:function size:0x78 -__OSVIDimReplyHandler = .text:0x81536D08; // type:function size:0x10 scope:local -__OSDefaultResetCallback = .text:0x81536D18; // type:function size:0x4 scope:local -__OSDefaultPowerCallback = .text:0x81536D1C; // type:function size:0x4 scope:local -__OSStateEventHandler = .text:0x81536D20; // type:function size:0x154 scope:local +__OSVIDimReplyHandler = .text:0x81536D08; // type:function size:0x10 scope:global +__OSDefaultResetCallback = .text:0x81536D18; // type:function size:0x4 scope:global +__OSDefaultPowerCallback = .text:0x81536D1C; // type:function size:0x4 scope:global +__OSStateEventHandler = .text:0x81536D20; // type:function size:0x154 scope:global __get_clock = .text:0x81536E74; // type:function size:0x4 __get_time = .text:0x81536E78; // type:function size:0x40 __to_gm_time = .text:0x81536EB8; // type:function size:0x8 __OSCreatePlayRecord = .text:0x81536EC0; // type:function size:0x11C __OSReadPlayRecord = .text:0x81536FDC; // type:function size:0xDC -PlayRecordAlarmCallback = .text:0x815370B8; // type:function size:0xC scope:local +PlayRecordAlarmCallback = .text:0x815370B8; // type:function size:0xC scope:global PlayRecordCallback = .text:0x815370C4; // type:function size:0x4B0 scope:local __OSStartPlayRecord = .text:0x81537574; // type:function size:0x54 __OSStopPlayRecord = .text:0x815375C8; // type:function size:0x1E8 @@ -10404,11 +10410,11 @@ __OSSyncTimeWithNetRM = .text:0x81537ADC; // type:function size:0x8 __OSCreateNandbootInfo = .text:0x81537AE4; // type:function size:0xB0 __OSWriteNandbootInfo = .text:0x81537B94; // type:function size:0x158 __OSReadNandbootInfo = .text:0x81537CEC; // type:function size:0x198 -__OSPlayTimeRebootCallback = .text:0x81537E84; // type:function size:0x88 scope:local -__OSPlayTimeFadeLastAIDCallback = .text:0x81537F0C; // type:function size:0x1BC scope:local -__OSWriteExpiredFlag = .text:0x815380C8; // type:function size:0x114 scope:local -__OSPlayTimeRebootThread = .text:0x815381DC; // type:function size:0xEC scope:local -__OSPlayTimeAlarmExpired = .text:0x815382C8; // type:function size:0x11C scope:local +__OSPlayTimeRebootCallback = .text:0x81537E84; // type:function size:0x88 scope:global +__OSPlayTimeFadeLastAIDCallback = .text:0x81537F0C; // type:function size:0x1BC scope:global +__OSWriteExpiredFlag = .text:0x815380C8; // type:function size:0x114 scope:global +__OSPlayTimeRebootThread = .text:0x815381DC; // type:function size:0xEC scope:global +__OSPlayTimeAlarmExpired = .text:0x815382C8; // type:function size:0x11C scope:global __OSGetPlayTime = .text:0x815383E4; // type:function size:0x1C8 __OSInitPlayTime = .text:0x815385AC; // type:function size:0x158 __init_user = .text:0x81538704; // type:function size:0x20 @@ -10416,7 +10422,7 @@ __init_cpp = .text:0x81538724; // type:function size:0x48 scope:local exit = .text:0x8153876C; // type:function size:0x4C SetExiInterruptMask = .text:0x815387B8; // type:function size:0xF0 scope:local EXIImm = .text:0x815388A8; // type:function size:0x27C scope:global -EXIImmEx = .text:0x81538B24; // type:function size:0xA4 scope:local +EXIImmEx = .text:0x81538B24; // type:function size:0xA4 EXIDma = .text:0x81538BC8; // type:function size:0xF8 EXISync = .text:0x81538CC0; // type:function size:0x27C scope:global EXISetExiCallback = .text:0x81538F3C; // type:function size:0x84 @@ -13473,12 +13479,12 @@ __va_arg = .text:0x815F9170; // type:function size:0xC8 __register_global_object = .text:0x815F9238; // type:function size:0x18 scope:global __destroy_global_chain = .text:0x815F9250; // type:function size:0x48 scope:global __construct_new_array = .text:0x815F9298; // type:function size:0x104 -__dt__26__partial_array_destructorFv = .text:0x815F939C; // type:function size:0xBC +__dt__26__partial_array_destructorFv = .text:0x815F939C; // type:function size:0xBC scope:weak __construct_array = .text:0x815F9458; // type:function size:0xF8 __destroy_arr = .text:0x815F9550; // type:function size:0x78 __ptmf_scall = .text:0x815F95C8; // type:function size:0x28 __cvt_fp2unsigned = .text:0x815F95F0; // type:function size:0x5C -__save_fpr = .text:0x815F964C; // type:function size:0x4C scope:global +__save_fpr = .text:0x815F964C; // type:function size:0x4C scope:local _savefpr_14 = .text:0x815F964C; // type:label scope:global _savefpr_15 = .text:0x815F9650; // type:label scope:global _savefpr_16 = .text:0x815F9654; // type:label scope:global @@ -13497,7 +13503,7 @@ _savefpr_28 = .text:0x815F9684; // type:label scope:global _savefpr_29 = .text:0x815F9688; // type:label scope:global _savefpr_30 = .text:0x815F968C; // type:label scope:global _savefpr_31 = .text:0x815F9690; // type:label scope:global -__restore_fpr = .text:0x815F9698; // type:function size:0x4C scope:global +__restore_fpr = .text:0x815F9698; // type:function size:0x4C scope:local _restfpr_14 = .text:0x815F9698; // type:label scope:global _restfpr_15 = .text:0x815F969C; // type:label scope:global _restfpr_16 = .text:0x815F96A0; // type:label scope:global @@ -13516,7 +13522,7 @@ _restfpr_28 = .text:0x815F96D0; // type:label scope:global _restfpr_29 = .text:0x815F96D4; // type:label scope:global _restfpr_30 = .text:0x815F96D8; // type:label scope:global _restfpr_31 = .text:0x815F96DC; // type:label scope:global -__save_gpr = .text:0x815F96E4; // type:function size:0x4C scope:global +__save_gpr = .text:0x815F96E4; // type:function size:0x4C scope:local _savegpr_14 = .text:0x815F96E4; // type:label scope:global _savegpr_15 = .text:0x815F96E8; // type:label scope:global _savegpr_16 = .text:0x815F96EC; // type:label scope:global @@ -13535,7 +13541,7 @@ _savegpr_28 = .text:0x815F971C; // type:label scope:global _savegpr_29 = .text:0x815F9720; // type:label scope:global _savegpr_30 = .text:0x815F9724; // type:label scope:global _savegpr_31 = .text:0x815F9728; // type:label scope:global -__restore_gpr = .text:0x815F9730; // type:function size:0x4C scope:global +__restore_gpr = .text:0x815F9730; // type:function size:0x4C scope:local _restgpr_14 = .text:0x815F9730; // type:label scope:global _restgpr_15 = .text:0x815F9734; // type:label scope:global _restgpr_16 = .text:0x815F9738; // type:label scope:global @@ -13758,10 +13764,10 @@ __ieee754_sqrt = .text:0x8160CF8C; // type:function size:0x248 nan = .text:0x8160D1D4; // type:function size:0x4 sqrt = .text:0x8160D1D8; // type:function size:0x4 GetTRKConnected = .text:0x8160D1DC; // type:function size:0x10 -TRKAccessFile = .text:0x8160D1F0; // type:function size:0x8 -TRKOpenFile = .text:0x8160D1F8; // type:function size:0x8 -TRKCloseFile = .text:0x8160D200; // type:function size:0x8 -TRKPositionFile = .text:0x8160D208; // type:function size:0x8 +TRKAccessFile = .text:0x8160D1F0; // type:function +TRKOpenFile = .text:0x8160D1F8; // type:function +TRKCloseFile = .text:0x8160D200; // type:function +TRKPositionFile = .text:0x8160D208; // type:function __TRK_write_console = .text:0x8160D210; // type:function size:0xBC __read_console = .text:0x8160D2CC; // type:function size:0xBC EnableMetroTRKInterrupts = .text:0x8160D388; // type:function size:0x20 @@ -13999,8 +14005,8 @@ Zi8PinyinFinals = .rodata:0x816181A0; // type:object size:0x1B0 nodeHeaderTable = .rodata:0x81618350; // type:object size:0x20 Zi8PunctTable = .rodata:0x81618370; // type:object size:0x50 lbl_816183C0 = .rodata:0x816183C0; // type:object size:0x10 -crc16_table = .rodata:0x816183D0; // type:object size:0x20 data:2byte -crc32_table = .rodata:0x816183F0; // type:object size:0x40 data:4byte +crc16_table = .rodata:0x816183D0; // type:object size:0x20 scope:local data:2byte +crc32_table = .rodata:0x816183F0; // type:object size:0x40 scope:local data:4byte sha1template$2339 = .rodata:0x81618430; // type:object size:0x20 scope:local AESiSubShiftTable = .rodata:0x81618450; // type:object size:0x100 scope:local AESiInvSubShiftTable = .rodata:0x81618550; // type:object size:0x100 scope:local @@ -14162,7 +14168,7 @@ kprLookupTable437 = .rodata:0x816330B8; // type:object size:0x100 scReverbHiParam__Q23EGG10AudioFxMgr = .rodata:0x816331B8; // type:object size:0x18 scChorusParam__Q23EGG10AudioFxMgr = .rodata:0x816331D0; // type:object size:0x10 __constants = .rodata:0x816331E0; // type:object size:0x18 align:8 data:double -@stringBase0 = .rodata:0x816331F8; // type:object size:0x70 scope:local data:string_table +@stringBase0 = .rodata:0x816331F8; // type:object size:0x6F scope:local data:string_table fix_pool_sizes = .rodata:0x81633268; // type:object size:0x18 data:4byte @stringBase0 = .rodata:0x81633280; // type:object size:0xDD scope:local data:string_table __ctype_mapC = .rodata:0x81633360; // type:object size:0x200 @@ -14235,9 +14241,9 @@ lbl_81634D66 = .data:0x81634D66; // type:object size:0x16 data:string jumptable_81634D7C = .data:0x81634D7C; // type:object size:0x30 scope:local __vt__Q33ipl7channel7Manager = .data:0x81634DAC; // type:object size:0xC lbl_81634DB8 = .data:0x81634DB8; // type:object size:0x188 -lbl_81634F40 = .data:0x81634F40; // type:object size:0xC data:string -lbl_81634F4C = .data:0x81634F4C; // type:object size:0xC -jumptable_81634F58 = .data:0x81634F58; // type:object size:0x30 scope:local +@4747 = .data:0x81634F40; // type:object size:0xC scope:local data:string +@4857 = .data:0x81634F4C; // type:object size:0x9 scope:local data:string +@4931 = .data:0x81634F58; // type:object size:0x30 scope:local __vt__Q33ipl4nand10LayoutFile = .data:0x81634F88; // type:object size:0x20 __vt__Q33ipl4nand8LangFile = .data:0x81634FA8; // type:object size:0x20 __vt__Q33ipl4nand4File = .data:0x81634FC8; // type:object size:0x54 @@ -14245,19 +14251,24 @@ __vt__Q33ipl4nand4Base = .data:0x8163501C; // type:object size:0x20 lbl_81635040 = .data:0x81635040; // type:object size:0x16 data:string lbl_81635056 = .data:0x81635056; // type:object size:0x12 data:string __vt__Q33ipl4nand10SharedFile = .data:0x81635068; // type:object size:0x54 -lbl_816350C0 = .data:0x816350C0; // type:object size:0x1A data:string -lbl_816350DA = .data:0x816350DA; // type:object size:0x10 data:string +@3883 = .data:0x816350C0; // type:object size:0x1A scope:local data:string +@3917 = .data:0x816350DA; // type:object size:0x10 scope:local data:string __vt__Q33ipl4nand8MetaFile = .data:0x816350EC; // type:object size:0x54 -lbl_81635140 = .data:0x81635140; // type:object size:0x13 data:string -lbl_81635153 = .data:0x81635153; // type:object size:0x55 -lbl_816351A8 = .data:0x816351A8; // type:object size:0xB0 +@3951 = .data:0x81635140; // type:object size:0x13 scope:local data:string +@4002 = .data:0x81635153; // type:object size:0x4E scope:local data:string +@3634 = .data:0x816351A8; // type:object size:0x30 scope:local data:string +...data.0 = .data:0x816351A8; // type:label scope:local +@3635 = .data:0x816351D8; // type:object size:0x2E scope:local data:string +@3636 = .data:0x81635206; // type:object size:0x28 scope:local data:string +@3637 = .data:0x8163522E; // type:object size:0x28 scope:local data:string sRMO_Ntsc_640x456IntDf__3ipl = .data:0x81635258; // type:object size:0x3C scope:local +...data.0 = .data:0x81635258; // type:label scope:local sRMO_Ntsc_640x456Prog__3ipl = .data:0x81635294; // type:object size:0x3C scope:local sRMO_Pal50_640x456IntDf__3ipl = .data:0x816352D0; // type:object size:0x3C scope:local sRMO_Pal60_640x456IntDf__3ipl = .data:0x8163530C; // type:object size:0x3C scope:local sRMO_Pal60_640x456Prog__3ipl = .data:0x81635348; // type:object size:0x3C scope:local -jumptable_81635388 = .data:0x81635388; // type:object size:0x28 scope:local -lbl_816353B0 = .data:0x816353B0; // type:object size:0x13 data:string +@3748 = .data:0x81635388; // type:object size:0x28 scope:local +@3856 = .data:0x816353B0; // type:object size:0x13 scope:local data:string lbl_816353C8 = .data:0x816353C8; // type:object size:0x14 jumptable_816353DC = .data:0x816353DC; // type:object size:0x94 scope:local lbl_81635470 = .data:0x81635470; // type:object size:0xD data:string @@ -14269,32 +14280,68 @@ lbl_816354C8 = .data:0x816354C8; // type:object size:0x15E lbl_81635626 = .data:0x81635626; // type:object size:0x30 data:string lbl_81635656 = .data:0x81635656; // type:object size:0x16 jumptable_8163566C = .data:0x8163566C; // type:object size:0x9C scope:local -lbl_81635708 = .data:0x81635708; // type:object size:0xD data:string -lbl_81635715 = .data:0x81635715; // type:object size:0xD data:string -lbl_81635722 = .data:0x81635722; // type:object size:0xD data:string -lbl_8163572F = .data:0x8163572F; // type:object size:0xD data:string -lbl_8163573C = .data:0x8163573C; // type:object size:0xD data:string -lbl_81635749 = .data:0x81635749; // type:object size:0xD data:string -lbl_81635756 = .data:0x81635756; // type:object size:0xD data:string -lbl_81635763 = .data:0x81635763; // type:object size:0xD data:string -lbl_81635770 = .data:0x81635770; // type:object size:0x14 -scLayoutName__3ipl = .data:0x81635784; // type:object size:0x24 -lbl_816357A8 = .data:0x816357A8; // type:object size:0xB data:string -lbl_816357B3 = .data:0x816357B3; // type:object size:0xD -mscBtnName__Q23ipl12DialogWindow = .data:0x816357C0; // type:object size:0x42A -lbl_81635BEA = .data:0x81635BEA; // type:object size:0x14 data:string -lbl_81635BFE = .data:0x81635BFE; // type:object size:0x9 data:string -lbl_81635C07 = .data:0x81635C07; // type:object size:0xB data:string -lbl_81635C12 = .data:0x81635C12; // type:object size:0x9 data:string -lbl_81635C1B = .data:0x81635C1B; // type:object size:0x10 data:string -lbl_81635C2B = .data:0x81635C2B; // type:object size:0x14 data:string -lbl_81635C3F = .data:0x81635C3F; // type:object size:0x16 data:string -lbl_81635C55 = .data:0x81635C55; // type:object size:0xF data:string -lbl_81635C64 = .data:0x81635C64; // type:object size:0x10 -__vt__Q33ipl3gui11PaneManager = .data:0x81635C74; // type:object size:0x5C +@3546 = .data:0x81635708; // type:object size:0xD scope:local data:string +@3547 = .data:0x81635715; // type:object size:0xD scope:local data:string +@3548 = .data:0x81635722; // type:object size:0xD scope:local data:string +@3549 = .data:0x8163572F; // type:object size:0xD scope:local data:string +@3550 = .data:0x8163573C; // type:object size:0xD scope:local data:string +@3551 = .data:0x81635749; // type:object size:0xD scope:local data:string +@3552 = .data:0x81635756; // type:object size:0xD scope:local data:string +@3553 = .data:0x81635763; // type:object size:0xD scope:local data:string +@3554 = .data:0x81635770; // type:object size:0x13 scope:local data:string +scLayoutName__3ipl = .data:0x81635784; // type:object size:0x24 scope:local +@3801 = .data:0x816357A8; // type:object size:0xB scope:local data:string +@3859 = .data:0x816357B3; // type:object size:0x9 scope:local data:string +mscBtnName__Q23ipl12DialogWindow = .data:0x816357C0; // type:object size:0xC data:4byte +...data.0 = .data:0x816357C0; // type:label scope:local +@6806 = .data:0x816357CC; // type:object size:0x19 scope:local data:string +@6807 = .data:0x816357E5; // type:object size:0x22 scope:local data:string +@6809 = .data:0x81635807; // type:object size:0x23 scope:local data:string +@6810 = .data:0x8163582A; // type:object size:0x1E scope:local data:string +@6812 = .data:0x81635848; // type:object size:0x21 scope:local data:string +@6816 = .data:0x81635869; // type:object size:0x19 scope:local data:string +@6817 = .data:0x81635882; // type:object size:0x22 scope:local data:string +@6818 = .data:0x816358A4; // type:object size:0x23 scope:local data:string +@6819 = .data:0x816358C7; // type:object size:0x25 scope:local data:string +@6820 = .data:0x816358EC; // type:object size:0xC scope:local data:string +@6821 = .data:0x816358F8; // type:object size:0x26 scope:local data:string +@6822 = .data:0x8163591E; // type:object size:0x26 scope:local data:string +@6823 = .data:0x81635944; // type:object size:0xD scope:local data:string +@6824 = .data:0x81635951; // type:object size:0x19 scope:local data:string +@6825 = .data:0x8163596A; // type:object size:0x22 scope:local data:string +@6826 = .data:0x8163598C; // type:object size:0x23 scope:local data:string +@6827 = .data:0x816359AF; // type:object size:0x25 scope:local data:string +@6828 = .data:0x816359D4; // type:object size:0x26 scope:local data:string +@6829 = .data:0x816359FA; // type:object size:0x26 scope:local data:string +@6830 = .data:0x81635A20; // type:object size:0xC scope:local data:string +@6831 = .data:0x81635A2C; // type:object size:0xD scope:local data:string +@6832 = .data:0x81635A39; // type:object size:0x19 scope:local data:string +@6833 = .data:0x81635A52; // type:object size:0x22 scope:local data:string +@6834 = .data:0x81635A74; // type:object size:0x23 scope:local data:string +@6835 = .data:0x81635A97; // type:object size:0x25 scope:local data:string +@6836 = .data:0x81635ABC; // type:object size:0x26 scope:local data:string +@6837 = .data:0x81635AE2; // type:object size:0x26 scope:local data:string +@6838 = .data:0x81635B08; // type:object size:0xC scope:local data:string +@6839 = .data:0x81635B14; // type:object size:0xD scope:local data:string +@6840 = .data:0x81635B21; // type:object size:0x18 scope:local data:string +@6841 = .data:0x81635B39; // type:object size:0x21 scope:local data:string +@6842 = .data:0x81635B5A; // type:object size:0x22 scope:local data:string +@6843 = .data:0x81635B7C; // type:object size:0x24 scope:local data:string +@6844 = .data:0x81635BA0; // type:object size:0x25 scope:local data:string +@6845 = .data:0x81635BC5; // type:object size:0x25 scope:local data:string +@6958 = .data:0x81635BEA; // type:object size:0x14 scope:local data:string +@7350 = .data:0x81635BFE; // type:object size:0x9 scope:local data:string +@7352 = .data:0x81635C07; // type:object size:0xB scope:local data:string +@7398 = .data:0x81635C12; // type:object size:0x9 scope:local data:string +@7548 = .data:0x81635C1B; // type:object size:0x10 scope:local data:string +@7549 = .data:0x81635C2B; // type:object size:0x14 scope:local data:string +@7769 = .data:0x81635C3F; // type:object size:0x16 scope:local data:string +@7844 = .data:0x81635C55; // type:object size:0xF scope:local data:string +@7845 = .data:0x81635C64; // type:object size:0xF scope:local data:string +__vt__Q33ipl3gui11PaneManager = .data:0x81635C74; // type:object size:0x5C scope:weak __vt__Q23ipl12DialogWindow = .data:0x81635CD0; // type:object size:0x18 -__vt__Q23gui12EventHandler = .data:0x81635CE8; // type:object size:0x18 -__vt__Q23gui9Interface = .data:0x81635D00; // type:object size:0x20 +__vt__Q23gui12EventHandler = .data:0x81635CE8; // type:object size:0x18 scope:weak +__vt__Q23gui9Interface = .data:0x81635D00; // type:object size:0x20 scope:weak lbl_81635D20 = .data:0x81635D20; // type:object size:0x12 data:string lbl_81635D38 = .data:0x81635D38; // type:object size:0xB data:string lbl_81635D43 = .data:0x81635D43; // type:object size:0xB data:string @@ -14369,10 +14416,10 @@ jumptable_81639068 = .data:0x81639068; // type:object size:0x38 scope:local __vt__Q33ipl8keyboard7Manager = .data:0x816390A0; // type:object size:0x4C __vt__Q33ipl8keyboard13EventObserver = .data:0x816390EC; // type:object size:0x28 @STRING_2@onOutOfLength__Q29textinput13EventObserverFv = .data:0x81639114; // type:object size:0xD data:string -lbl_81639128 = .data:0x81639128; // type:object size:0xF data:string -lbl_81639137 = .data:0x81639137; // type:object size:0xD -jumptable_81639144 = .data:0x81639144; // type:object size:0x28 scope:local -lbl_8163916C = .data:0x8163916C; // type:object size:0x1C +@3797 = .data:0x81639128; // type:object size:0xF scope:local data:string +@3837 = .data:0x81639137; // type:object size:0xB scope:local data:string +@3839 = .data:0x81639144; // type:object size:0x28 scope:local +@3841 = .data:0x8163916C; // type:object size:0x1B scope:local data:string lbl_81639188 = .data:0x81639188; // type:object size:0x12 data:string lbl_8163919A = .data:0x8163919A; // type:object size:0x1E data:string lbl_816391B8 = .data:0x816391B8; // type:object size:0x56 @@ -14400,7 +14447,7 @@ lbl_816399EC = .data:0x816399EC; // type:object size:0x22 data:string lbl_81639A0E = .data:0x81639A0E; // type:object size:0x2C data:string lbl_81639A3A = .data:0x81639A3A; // type:object size:0x2C data:string lbl_81639A66 = .data:0x81639A66; // type:object size:0x2A -jumptable_81639A90 = .data:0x81639A90; // type:object size:0xA0 scope:local +@4064 = .data:0x81639A90; // type:object size:0xA0 scope:local __vt__Q33ipl3bs27Manager = .data:0x81639B30; // type:object size:0xC lbl_81639B40 = .data:0x81639B40; // type:object size:0x23 data:string lbl_81639B63 = .data:0x81639B63; // type:object size:0xD @@ -14416,7 +14463,7 @@ ipl_error_spa_bmg = .data:0x8163B2A0; // type:object size:0x420 data:byte norelo ipl_error_kor_bmg = .data:0x8163B6C0; // type:object size:0x220 data:byte noreloc ipl_error_chn_bmg = .data:0x8163B8E0; // type:object size:0x1C0 data:byte noreloc fatalDlg_ash = .data:0x8163BAA0; // type:object size:0x5A08 data:byte noreloc -__vt__Q33ipl7utility4Tree = .data:0x816414A8; // type:object size:0x1C +__vt__Q33ipl7utility4Tree = .data:0x816414A8; // type:object size:0x1C scope:weak mLangPath__Q33ipl7utility8Language = .data:0x816414C8; // type:object size:0x28 lbl_816414F0 = .data:0x816414F0; // type:object size:0x11 data:string lbl_81641501 = .data:0x81641501; // type:object size:0x17 data:string @@ -14442,7 +14489,11 @@ __vt__Q23gui13PaneComponent = .data:0x816429D0; // type:object size:0x74 __vt__Q23gui11PaneManager = .data:0x81642A44; // type:object size:0x5C __vt__Q23gui7Manager = .data:0x81642AA0; // type:object size:0x44 __vt__Q23gui9Component = .data:0x81642AE4; // type:object size:0x6C -lbl_81642B50 = .data:0x81642B50; // type:object size:0x64 +@5061 = .data:0x81642B50; // type:object size:0x24 scope:local data:string +...data.0 = .data:0x81642B50; // type:label scope:local +@5062 = .data:0x81642B74; // type:object size:0xB scope:local data:string +@5063 = .data:0x81642B7F; // type:object size:0x29 scope:local data:string +@5064 = .data:0x81642BA8; // type:object size:0xB scope:local data:string __vt__Q33ipl6layout6Object = .data:0x81642BB4; // type:object size:0xC __vt__Q33ipl6layout13GroupAnimator = .data:0x81642BC0; // type:object size:0x18 __vt__Q33ipl6layout12PaneAnimator = .data:0x81642BD8; // type:object size:0x18 @@ -14581,7 +14632,7 @@ lbl_81643C6C = .data:0x81643C6C; // type:object size:0x5D lbl_81643CC9 = .data:0x81643CC9; // type:object size:0x6D lbl_81643D36 = .data:0x81643D36; // type:object size:0x2A __vt__Q37ext_ead3www14SurfaceManager = .data:0x81643D60; // type:object size:0x17 -lbl_81643D78 = .data:0x81643D78; // type:object size:0x24 +@530 = .data:0x81643D78; // type:object size:0x21 scope:local data:string __vt__Q37ext_ead3www9ut_thread = .data:0x81643D9C; // type:object size:0x28 lbl_81643DC8 = .data:0x81643DC8; // type:object size:0x38 lbl_81643E00 = .data:0x81643E00; // type:object size:0x1E data:string @@ -14823,7 +14874,7 @@ __vt__Q310homebutton3gui11PaneManager = .data:0x81645968; // type:object size:0x __vt__Q310homebutton3gui7Manager = .data:0x816459BC; // type:object size:0x3C __vt__Q310homebutton3gui9Component = .data:0x816459F8; // type:object size:0x5C __vt__Q210homebutton9RemoteSpk = .data:0x81645A58; // type:object size:0x10 -lbl_81645A68 = .data:0x81645A68; // type:object size:0x2F data:string +@464 = .data:0x81645A68; // type:object size:0x2F scope:local data:string lbl_81645A98 = .data:0x81645A98; // type:object size:0x1D4 jumptable_81645C6C = .data:0x81645C6C; // type:object size:0x94 scope:local lbl_81645D00 = .data:0x81645D00; // type:object size:0x9 @@ -14929,8 +14980,8 @@ lbl_816488AC = .data:0x816488AC; // type:object size:0xC data:wstring __vt__Q33ipl5scene17AddressInputEvent = .data:0x816488B8; // type:object size:0x18 __vt__Q33ipl5scene16AddressEditEvent = .data:0x816488D0; // type:object size:0x18 __vt__Q33ipl5scene11AddressEdit = .data:0x816488E8; // type:object size:0x120 -lbl_81648A08 = .data:0x81648A08; // type:object size:0x17 data:string -lbl_81648A1F = .data:0x81648A1F; // type:object size:0x19 +@3782 = .data:0x81648A08; // type:object size:0x17 scope:local data:string +@3783 = .data:0x81648A1F; // type:object size:0x17 scope:local data:string __vt__Q33ipl5scene8BackMenu = .data:0x81648A38; // type:object size:0x68 backToWiiMenu_arc = .data:0x81648AA0; // type:object size:0x2720 data:byte noreloc lbl_8164B1C0 = .data:0x8164B1C0; // type:object size:0xA data:string @@ -15427,32 +15478,37 @@ lbl_8164FA32 = .data:0x8164FA32; // type:object size:0x12 __vt__Q33ipl5scene21FaceSelectButtonEvent = .data:0x8164FA44; // type:object size:0x1C __vt__Q33ipl5scene15FaceSelectEvent = .data:0x8164FA60; // type:object size:0x18 __vt__Q33ipl5scene10FaceSelect = .data:0x8164FA78; // type:object size:0x100 -lbl_8164FB78 = .data:0x8164FB78; // type:object size:0xB data:string -lbl_8164FB83 = .data:0x8164FB83; // type:object size:0xB data:string -lbl_8164FB8E = .data:0x8164FB8E; // type:object size:0xB data:string -lbl_8164FB99 = .data:0x8164FB99; // type:object size:0xB data:string -lbl_8164FBA4 = .data:0x8164FBA4; // type:object size:0xB data:string -lbl_8164FBAF = .data:0x8164FBAF; // type:object size:0xB data:string -lbl_8164FBBA = .data:0x8164FBBA; // type:object size:0xB data:string -lbl_8164FBC5 = .data:0x8164FBC5; // type:object size:0xB data:string -lbl_8164FBD0 = .data:0x8164FBD0; // type:object size:0xC +@3589 = .data:0x8164FB78; // type:object size:0xB scope:local data:string +...data.0 = .data:0x8164FB78; // type:label scope:local +@3590 = .data:0x8164FB83; // type:object size:0xB scope:local data:string +@3591 = .data:0x8164FB8E; // type:object size:0xB scope:local data:string +@3592 = .data:0x8164FB99; // type:object size:0xB scope:local data:string +@3593 = .data:0x8164FBA4; // type:object size:0xB scope:local data:string +@3594 = .data:0x8164FBAF; // type:object size:0xB scope:local data:string +@3595 = .data:0x8164FBBA; // type:object size:0xB scope:local data:string +@3596 = .data:0x8164FBC5; // type:object size:0xB scope:local data:string +@3597 = .data:0x8164FBD0; // type:object size:0xB scope:local data:string has_pane_name__Q23ipl5scene = .data:0x8164FBDC; // type:object size:0x30 -lbl_8164FC0C = .data:0x8164FC0C; // type:object size:0x9 data:string -lbl_8164FC15 = .data:0x8164FC15; // type:object size:0xC data:string -lbl_8164FC21 = .data:0x8164FC21; // type:object size:0xC data:string -lbl_8164FC2D = .data:0x8164FC2D; // type:object size:0xC data:string -lbl_8164FC39 = .data:0x8164FC39; // type:object size:0xC data:string -lbl_8164FC45 = .data:0x8164FC45; // type:object size:0xC data:string -lbl_8164FC51 = .data:0x8164FC51; // type:object size:0xC data:string -lbl_8164FC5D = .data:0x8164FC5D; // type:object size:0xC data:string -lbl_8164FC69 = .data:0x8164FC69; // type:object size:0xC data:string -lbl_8164FC75 = .data:0x8164FC75; // type:object size:0xC data:string -lbl_8164FC81 = .data:0x8164FC81; // type:object size:0x9 data:string -lbl_8164FC8A = .data:0x8164FC8A; // type:object size:0xA +@3600 = .data:0x8164FC0C; // type:object size:0x9 scope:local data:string +@3601 = .data:0x8164FC15; // type:object size:0xC scope:local data:string +@3602 = .data:0x8164FC21; // type:object size:0xC scope:local data:string +@3603 = .data:0x8164FC2D; // type:object size:0xC scope:local data:string +@3604 = .data:0x8164FC39; // type:object size:0xC scope:local data:string +@3605 = .data:0x8164FC45; // type:object size:0xC scope:local data:string +@3606 = .data:0x8164FC51; // type:object size:0xC scope:local data:string +@3607 = .data:0x8164FC5D; // type:object size:0xC scope:local data:string +@3608 = .data:0x8164FC69; // type:object size:0xC scope:local data:string +@3609 = .data:0x8164FC75; // type:object size:0xC scope:local data:string +@3610 = .data:0x8164FC81; // type:object size:0x9 scope:local data:string +@3611 = .data:0x8164FC8A; // type:object size:0x9 scope:local data:string push_pane_name__Q23ipl5scene = .data:0x8164FC94; // type:object size:0x30 -lbl_8164FCC4 = .data:0x8164FCC4; // type:object size:0xC -jumptable_8164FCD0 = .data:0x8164FCD0; // type:object size:0x30 scope:local -lbl_8164FD50 = .data:0x8164FD50; // type:object size:0x10 data:string +@4220 = .data:0x8164FCC4; // type:object size:0xB scope:local data:string +@4245 = .data:0x8164FCD0; // type:object size:0x30 scope:local +@4303 = .data:0x8164FD00; // type:object size:0xF scope:local data:string +@4304 = .data:0x8164FD0F; // type:object size:0x16 scope:local data:string +@4306 = .data:0x8164FD25; // type:object size:0x14 scope:local data:string +@4308 = .data:0x8164FD39; // type:object size:0x17 scope:local data:string +@4342 = .data:0x8164FD50; // type:object size:0x10 scope:local data:string __vt__Q33ipl5scene8skHealth = .data:0x8164FD60; // type:object size:0x68 lbl_8164FDC8 = .data:0x8164FDC8; // type:object size:0x1D data:string lbl_8164FDE5 = .data:0x8164FDE5; // type:object size:0x1BB @@ -15470,38 +15526,46 @@ lbl_8165067F = .data:0x8165067F; // type:object size:0xF data:string lbl_8165068E = .data:0x8165068E; // type:object size:0x12A __vt__Q33ipl5scene12LetterWriter = .data:0x816507B8; // type:object size:0xC8 __vt__Q49textinput6extend4memo19NigaoeEventObserver = .data:0x81650880; // type:object size:0x18 -lbl_81650898 = .data:0x81650898; // type:object size:0x30 -lbl_816508C8 = .data:0x816508C8; // type:object size:0xB data:string -lbl_816508D3 = .data:0x816508D3; // type:object size:0xB data:string -lbl_816508DE = .data:0x816508DE; // type:object size:0xB data:string -lbl_816508E9 = .data:0x816508E9; // type:object size:0xB data:string -lbl_816508F4 = .data:0x816508F4; // type:object size:0xB data:string -lbl_816508FF = .data:0x816508FF; // type:object size:0xB data:string -lbl_8165090A = .data:0x8165090A; // type:object size:0xB data:string -lbl_81650915 = .data:0x81650915; // type:object size:0xB data:string -lbl_81650920 = .data:0x81650920; // type:object size:0xB data:string -lbl_8165092B = .data:0x8165092B; // type:object size:0xB data:string -lbl_81650936 = .data:0x81650936; // type:object size:0xB data:string -lbl_81650941 = .data:0x81650941; // type:object size:0xB data:string +wide_pane_names__Q23ipl5scene = .data:0x81650898; // type:object size:0x30 scope:local +...data.0 = .data:0x81650898; // type:label scope:local +@3604 = .data:0x816508C8; // type:object size:0xB scope:local data:string +@3605 = .data:0x816508D3; // type:object size:0xB scope:local data:string +@3606 = .data:0x816508DE; // type:object size:0xB scope:local data:string +@3607 = .data:0x816508E9; // type:object size:0xB scope:local data:string +@3608 = .data:0x816508F4; // type:object size:0xB scope:local data:string +@3609 = .data:0x816508FF; // type:object size:0xB scope:local data:string +@3610 = .data:0x8165090A; // type:object size:0xB scope:local data:string +@3611 = .data:0x81650915; // type:object size:0xB scope:local data:string +@3612 = .data:0x81650920; // type:object size:0xB scope:local data:string +@3613 = .data:0x8165092B; // type:object size:0xB scope:local data:string +@3614 = .data:0x81650936; // type:object size:0xB scope:local data:string +@3615 = .data:0x81650941; // type:object size:0xB scope:local data:string lo_pane_name__Q23ipl5scene = .data:0x8165094C; // type:object size:0x30 -lbl_8165097C = .data:0x8165097C; // type:object size:0xC data:string -lbl_81650988 = .data:0x81650988; // type:object size:0xC data:string -lbl_81650994 = .data:0x81650994; // type:object size:0xC data:string -lbl_816509A0 = .data:0x816509A0; // type:object size:0xC data:string -lbl_816509AC = .data:0x816509AC; // type:object size:0xC data:string -lbl_816509B8 = .data:0x816509B8; // type:object size:0xC data:string -lbl_816509C4 = .data:0x816509C4; // type:object size:0xC data:string -lbl_816509D0 = .data:0x816509D0; // type:object size:0xC data:string -lbl_816509DC = .data:0x816509DC; // type:object size:0xC data:string -lbl_816509E8 = .data:0x816509E8; // type:object size:0xC data:string -lbl_816509F4 = .data:0x816509F4; // type:object size:0xC data:string -lbl_81650A00 = .data:0x81650A00; // type:object size:0xC data:string +@3616 = .data:0x8165097C; // type:object size:0xC scope:local data:string +@3617 = .data:0x81650988; // type:object size:0xC scope:local data:string +@3618 = .data:0x81650994; // type:object size:0xC scope:local data:string +@3619 = .data:0x816509A0; // type:object size:0xC scope:local data:string +@3620 = .data:0x816509AC; // type:object size:0xC scope:local data:string +@3621 = .data:0x816509B8; // type:object size:0xC scope:local data:string +@3622 = .data:0x816509C4; // type:object size:0xC scope:local data:string +@3623 = .data:0x816509D0; // type:object size:0xC scope:local data:string +@3624 = .data:0x816509DC; // type:object size:0xC scope:local data:string +@3625 = .data:0x816509E8; // type:object size:0xC scope:local data:string +@3626 = .data:0x816509F4; // type:object size:0xC scope:local data:string +@3627 = .data:0x81650A00; // type:object size:0xC scope:local data:string lopush_pane_name__Q23ipl5scene = .data:0x81650A0C; // type:object size:0x30 -lbl_81650A3C = .data:0x81650A3C; // type:object size:0x10 -jumptable_81650A4C = .data:0x81650A4C; // type:object size:0x30 scope:local -lbl_81650AFD = .data:0x81650AFD; // type:object size:0x14 data:string -lbl_81650B11 = .data:0x81650B11; // type:object size:0x13 -__vt__Q33ipl5scene9LimitOver = .data:0x81650B24; // type:object size:0x6C +@4195 = .data:0x81650A3C; // type:object size:0xE scope:local data:string +@4215 = .data:0x81650A4C; // type:object size:0x30 scope:local +@4319 = .data:0x81650A7C; // type:object size:0x11 scope:local data:string +@4320 = .data:0x81650A8D; // type:object size:0xB scope:local data:string +@4321 = .data:0x81650A98; // type:object size:0xB scope:local data:string +@4322 = .data:0x81650AA3; // type:object size:0xB scope:local data:string +@4323 = .data:0x81650AAE; // type:object size:0x19 scope:local data:string +@4325 = .data:0x81650AC7; // type:object size:0x1C scope:local data:string +@4327 = .data:0x81650AE3; // type:object size:0x1A scope:local data:string +@4357 = .data:0x81650AFD; // type:object size:0x14 scope:local data:string +@4367 = .data:0x81650B11; // type:object size:0x10 scope:local data:string +__vt__Q33ipl5scene9LimitOver = .data:0x81650B24; // type:object size:0x68 lbl_81650B90 = .data:0x81650B90; // type:object size:0x9 data:string lbl_81650B99 = .data:0x81650B99; // type:object size:0xB data:string lbl_81650BA4 = .data:0x81650BA4; // type:object size:0xC @@ -15789,7 +15853,7 @@ lbl_81654162 = .data:0x81654162; // type:object size:0xF data:string lbl_81654171 = .data:0x81654171; // type:object size:0xF data:string __vt__Q33ipl5scene19ParentalDialogEvent = .data:0x81654180; // type:object size:0x18 __vt__Q33ipl5scene14ParentalDialog = .data:0x81654198; // type:object size:0x100 -lbl_81654298 = .data:0x81654298; // type:object size:0x10 +@3657 = .data:0x81654298; // type:object size:0xE scope:local data:string __vt__Q33ipl5scene6Reboot = .data:0x816542A8; // type:object size:0x4C __vt__Q33ipl5scene9RootScene = .data:0x816542F8; // type:object size:0x4C lbl_81654348 = .data:0x81654348; // type:object size:0x9 data:string @@ -16068,15 +16132,27 @@ jumptable_81658078 = .data:0x81658078; // type:object size:0x28 scope:local jumptable_816580A0 = .data:0x816580A0; // type:object size:0x84 scope:local jumptable_81658124 = .data:0x81658124; // type:object size:0x2C scope:local lbl_81658150 = .data:0x81658150; // type:object size:0x40 -lbl_81658190 = .data:0x81658190; // type:object size:0xC data:string -lbl_8165819C = .data:0x8165819C; // type:object size:0x14 +@3647 = .data:0x81658190; // type:object size:0xC scope:local data:string +@3656 = .data:0x8165819C; // type:object size:0x13 scope:local data:string __vt__Q33ipl5scene9SettingBg = .data:0x816581B0; // type:object size:0x4C -lbl_81658200 = .data:0x81658200; // type:object size:0xF data:string -lbl_8165820F = .data:0x8165820F; // type:object size:0xF data:string -lbl_8165821E = .data:0x8165821E; // type:object size:0x112 -lbl_81658330 = .data:0x81658330; // type:object size:0xC data:string -lbl_8165833C = .data:0x8165833C; // type:object size:0x16 data:string -lbl_81658352 = .data:0x81658352; // type:object size:0x6A +@3640 = .data:0x81658200; // type:object size:0xF scope:local data:string +...data.0 = .data:0x81658200; // type:label scope:local +@3641 = .data:0x8165820F; // type:object size:0xF scope:local data:string +@4345 = .data:0x8165821E; // type:object size:0xD scope:local data:string +@4383 = .data:0x8165822B; // type:object size:0x12 scope:local data:string +@4384 = .data:0x8165823D; // type:object size:0x19 scope:local data:string +@4386 = .data:0x81658256; // type:object size:0x1E scope:local data:string +@4387 = .data:0x81658274; // type:object size:0xC scope:local data:string +@4388 = .data:0x81658280; // type:object size:0x1F scope:local data:string +@4389 = .data:0x8165829F; // type:object size:0x1B scope:local data:string +@4390 = .data:0x816582BA; // type:object size:0xD scope:local data:string +@4391 = .data:0x816582C7; // type:object size:0x1C scope:local data:string +@4393 = .data:0x816582E3; // type:object size:0x1A scope:local data:string +@4394 = .data:0x816582FD; // type:object size:0x19 scope:local data:string +@4395 = .data:0x81658316; // type:object size:0x1A scope:local data:string +@4396 = .data:0x81658330; // type:object size:0xC scope:local data:string +@4467 = .data:0x8165833C; // type:object size:0x16 scope:local data:string +@4563 = .data:0x81658352; // type:object size:0xC scope:local data:string __vt__Q33ipl5scene13SettingButton = .data:0x816583BC; // type:object size:0x84 lbl_81658478 = .data:0x81658478; // type:object size:0x10 data:string lbl_81658488 = .data:0x81658488; // type:object size:0xD data:string @@ -17199,7 +17275,7 @@ t$2350 = .data:0x8166CFE0; // type:object size:0x100 scope:local data:4byte k$2351 = .data:0x8166D0E0; // type:object size:0xC0 scope:local data:4byte lbl_8166D1A0 = .data:0x8166D1A0; // type:object size:0x58 lbl_8166D1F8 = .data:0x8166D1F8; // type:object size:0x20 -lbl_8166D218 = .data:0x8166D218; // type:object size:0x38 +@1 = .data:0x8166D218; // type:object size:0x37 scope:local data:string lbl_8166D250 = .data:0x8166D250; // type:object size:0x48 lbl_8166D298 = .data:0x8166D298; // type:object size:0x28 lbl_8166D2C0 = .data:0x8166D2C0; // type:object size:0x30 @@ -17469,143 +17545,275 @@ __vt__Q34nw4r3lyt18AnimTransformBasic = .data:0x81671E88; // type:object size:0x lbl_81671EA8 = .data:0x81671EA8; // type:object size:0x48 __vt__Q34nw4r3lyt16ResourceAccessor = .data:0x81671EF0; // type:object size:0x18 __vt__Q34nw4r3lyt24MultiArcResourceAccessor = .data:0x81671F08; // type:object size:0x18 -lbl_81671F20 = .data:0x81671F20; // type:object size:0x37 data:string -@1 = .data:0x81671F58; // type:object size:0x47 scope:local data:string -@1746 = .data:0x81672148; // type:object size:0x68 scope:local -__OSExceptionLocations = .data:0x816721B0; // type:object size:0x3C scope:local data:string +@411 = .data:0x81671F20; // type:object size:0x37 scope:local data:string +@405 = .data:0x81671F58; // type:object size:0x47 scope:local data:string +...data.0 = .data:0x81671F58; // type:label scope:local +@1255 = .data:0x81671FA0; // type:object size:0x10 scope:local data:string +@1256 = .data:0x81671FB0; // type:object size:0x16 scope:local data:string +@1257 = .data:0x81671FC8; // type:object size:0xC scope:local data:string +@1258 = .data:0x81671FD4; // type:object size:0x9 scope:local data:string +@1259 = .data:0x81671FE0; // type:object size:0x10 scope:local data:string +@1260 = .data:0x81671FF0; // type:object size:0x18 scope:local data:string +@1261 = .data:0x81672008; // type:object size:0x1A scope:local data:string +@1262 = .data:0x81672024; // type:object size:0x1A scope:local data:string +@1264 = .data:0x81672040; // type:object size:0xB scope:local data:string +@1265 = .data:0x8167204C; // type:object size:0xA scope:local data:string +@1266 = .data:0x81672058; // type:object size:0xA scope:local data:string +@1267 = .data:0x81672064; // type:object size:0xA scope:local data:string +@1268 = .data:0x81672070; // type:object size:0xA scope:local data:string +@1269 = .data:0x8167207C; // type:object size:0xA scope:local data:string +@1270 = .data:0x81672088; // type:object size:0x15 scope:local data:string +@1271 = .data:0x816720A0; // type:object size:0x1B scope:local data:string +@1272 = .data:0x816720BC; // type:object size:0x1B scope:local data:string +@1274 = .data:0x816720D8; // type:object size:0x19 scope:local data:string +@1275 = .data:0x816720F4; // type:object size:0xC scope:local data:string +@1276 = .data:0x81672100; // type:object size:0xE scope:local data:string +@1277 = .data:0x81672110; // type:object size:0x1A scope:local data:string +@1278 = .data:0x8167212C; // type:object size:0x1A scope:local data:string +@1279 = .data:0x81672148; // type:object size:0x68 scope:local +@1338 = .data:0x816721B0; // type:object size:0x50 scope:local data:string +@1340 = .data:0x81672200; // type:object size:0x12 scope:local data:string +@1341 = .data:0x81672218; // type:object size:0x58 scope:local data:string +__OSExceptionLocations = .data:0x81672270; // type:object size:0x3C scope:local +@1407 = .data:0x816722AC; // type:object size:0x1B scope:local data:string +@1408 = .data:0x816722C8; // type:object size:0x2E scope:local data:string +@1409 = .data:0x816722F8; // type:object size:0x2F scope:local data:string +@1410 = .data:0x81672328; // type:object size:0x1B scope:local data:string ShutdownFunctionInfo = .data:0x81672348; // type:object size:0x10 scope:local DSPInitCode = .data:0x81672358; // type:object size:0x80 scope:local -@878 = .data:0x816723D8; // type:object size:0x29 scope:local data:string -lbl_81672610 = .data:0x81672610; // type:object size:0x1B8 -@721 = .data:0x816727C8; // type:object size:0x23 scope:local data:string -@629 = .data:0x816727F0; // type:object size:0x16 scope:local data:string -@703 = .data:0x81672ACC; // type:object size:0x40 scope:local -lbl_81672B10 = .data:0x81672B10; // type:object size:0x60 -lbl_81672B70 = .data:0x81672B70; // type:object size:0x18 -lbl_81672B88 = .data:0x81672B88; // type:object size:0x28 -lbl_81672BB0 = .data:0x81672BB0; // type:object size:0x98 -lbl_81672C48 = .data:0x81672C48; // type:object size:0x44 -lbl_81672C8C = .data:0x81672C8C; // type:object size:0x1D4 -HankakuToCode = .data:0x81672E60; // type:object size:0x180 -Zenkaku2Code = .data:0x81672FE0; // type:object size:0x98A -InterruptPrioTable = .data:0x81673970; // type:object size:0x30 data:4byte +@416 = .data:0x816723D8; // type:object size:0x29 scope:local data:string +...data.0 = .data:0x816723D8; // type:label scope:local +@424 = .data:0x81672408; // type:object size:0x18 scope:local data:string +@425 = .data:0x81672420; // type:object size:0x1B scope:local data:string +@426 = .data:0x81672440; // type:object size:0x30 scope:local data:string +@427 = .data:0x81672470; // type:object size:0x3C scope:local data:string +@428 = .data:0x816724AC; // type:object size:0x37 scope:local data:string +@429 = .data:0x816724E4; // type:object size:0x3F scope:local data:string +@430 = .data:0x81672524; // type:object size:0x29 scope:local data:string +@431 = .data:0x81672550; // type:object size:0x1D scope:local data:string +@432 = .data:0x81672570; // type:object size:0x19 scope:local data:string +@444 = .data:0x8167258C; // type:object size:0x19 scope:local data:string +@445 = .data:0x816725A8; // type:object size:0x19 scope:local data:string +@446 = .data:0x816725C4; // type:object size:0x16 scope:local data:string +@447 = .data:0x816725DC; // type:object size:0x2E scope:local data:string +@559 = .data:0x81672610; // type:object size:0x44 scope:local data:string +...data.0 = .data:0x81672610; // type:label scope:local +@560 = .data:0x81672658; // type:object size:0x30 scope:local data:string +@561 = .data:0x81672688; // type:object size:0x2F scope:local data:string +@562 = .data:0x816726B8; // type:object size:0x2F scope:local data:string +@563 = .data:0x816726E8; // type:object size:0x11 scope:local data:string +@564 = .data:0x816726FC; // type:object size:0x21 scope:local data:string +@565 = .data:0x81672720; // type:object size:0x12 scope:local data:string +@566 = .data:0x81672734; // type:object size:0x19 scope:local data:string +@567 = .data:0x81672750; // type:object size:0x12 scope:local data:string +@568 = .data:0x81672764; // type:object size:0x1D scope:local data:string +@569 = .data:0x81672784; // type:object size:0x26 scope:local data:string +@570 = .data:0x816727AC; // type:object size:0x1C scope:local data:string +@575 = .data:0x816727C8; // type:object size:0x23 scope:local data:string +@470 = .data:0x816727F0; // type:object size:0x16 scope:local data:string +...data.0 = .data:0x816727F0; // type:label scope:local +@471 = .data:0x81672808; // type:object size:0x26 scope:local data:string +@472 = .data:0x81672830; // type:object size:0x1C scope:local data:string +@530 = .data:0x8167284C; // type:object size:0x1D scope:local data:string +@531 = .data:0x8167286C; // type:object size:0x17 scope:local data:string +@533 = .data:0x81672884; // type:object size:0x31 scope:local data:string +@534 = .data:0x816728B8; // type:object size:0x10 scope:local data:string +@535 = .data:0x816728C8; // type:object size:0x60 scope:local data:string +@536 = .data:0x81672928; // type:object size:0x4C scope:local data:string +@537 = .data:0x81672974; // type:object size:0x62 scope:local data:string +@538 = .data:0x816729D8; // type:object size:0x60 scope:local data:string +@539 = .data:0x81672A38; // type:object size:0x1F scope:local data:string +@540 = .data:0x81672A58; // type:object size:0x1F scope:local data:string +@541 = .data:0x81672A78; // type:object size:0x1B scope:local data:string +@542 = .data:0x81672A94; // type:object size:0x35 scope:local data:string +@544 = .data:0x81672ACC; // type:object size:0x40 scope:local +@902 = .data:0x81672B10; // type:object size:0x24 scope:local data:string +...data.0 = .data:0x81672B10; // type:label scope:local +@904 = .data:0x81672B34; // type:object size:0x39 scope:local data:string +@966 = .data:0x81672B70; // type:object size:0x16 scope:local data:string +@995 = .data:0x81672B88; // type:object size:0x26 scope:local data:string +@996 = .data:0x81672BB0; // type:object size:0x9 scope:local data:string +@1053 = .data:0x81672BBC; // type:object size:0x2C scope:local data:string +@1054 = .data:0x81672BE8; // type:object size:0x2E scope:local data:string +@1055 = .data:0x81672C18; // type:object size:0x2E scope:local data:string +@1061 = .data:0x81672C48; // type:object size:0x41 scope:local data:string +@1070 = .data:0x81672C8C; // type:object size:0x41 scope:local data:string +@1079 = .data:0x81672CD0; // type:object size:0x41 scope:local data:string +@1081 = .data:0x81672D14; // type:object size:0x45 scope:local data:string +@1083 = .data:0x81672D5C; // type:object size:0x51 scope:local data:string +@1085 = .data:0x81672DB0; // type:object size:0x11 scope:local data:string +@1087 = .data:0x81672DC4; // type:object size:0xB scope:local data:string +@1089 = .data:0x81672DD0; // type:object size:0x47 scope:local data:string +@1091 = .data:0x81672E18; // type:object size:0x44 scope:local data:string +HankakuToCode = .data:0x81672E60; // type:object size:0x180 scope:local +Zenkaku2Code = .data:0x81672FE0; // type:object size:0x98A scope:local +InterruptPrioTable = .data:0x81673970; // type:object size:0x30 scope:local data:4byte ShutdownFunctionInfo = .data:0x816739A0; // type:object size:0x10 scope:local -lbl_816739B0 = .data:0x816739B0; // type:object size:0xC -lbl_816739BC = .data:0x816739BC; // type:object size:0x1AC -jumptable_816738A8 = .data:0x81673B68; // type:object size:0x20 scope:local -lbl_81673C38 = .data:0x81673C38; // type:object size:0x810 +@574 = .data:0x816739B0; // type:object size:0xA scope:local data:string +...data.0 = .data:0x816739B0; // type:label scope:local +@576 = .data:0x816739BC; // type:object size:0x29 scope:local data:string +@578 = .data:0x816739E8; // type:object size:0x2F scope:local data:string +@580 = .data:0x81673A18; // type:object size:0x36 scope:local data:string +@652 = .data:0x81673A50; // type:object size:0x1D scope:local data:string +@653 = .data:0x81673A70; // type:object size:0x1B scope:local data:string +@654 = .data:0x81673A8C; // type:object size:0x17 scope:local data:string +@655 = .data:0x81673AA4; // type:object size:0x2D scope:local data:string +@656 = .data:0x81673AD4; // type:object size:0x1D scope:local data:string +@657 = .data:0x81673AF4; // type:object size:0x25 scope:local data:string +@658 = .data:0x81673B1C; // type:object size:0x19 scope:local data:string +@659 = .data:0x81673B38; // type:object size:0x2E scope:local data:string +@661 = .data:0x81673B68; // type:object size:0x20 scope:local +@665 = .data:0x81673B88; // type:object size:0x31 scope:local data:string +@673 = .data:0x81673BBC; // type:object size:0x3B scope:local data:string +@675 = .data:0x81673BF8; // type:object size:0x3A scope:local data:string +@2024 = .data:0x81673C38; // type:object size:0x5F scope:local data:string +...data.0 = .data:0x81673C38; // type:label scope:local +@2025 = .data:0x81673C98; // type:object size:0xB scope:local data:string +@2027 = .data:0x81673CA4; // type:object size:0x5F scope:local data:string +@2028 = .data:0x81673D04; // type:object size:0x46 scope:local data:string +@2029 = .data:0x81673D4C; // type:object size:0x7E scope:local data:string +@2030 = .data:0x81673DCC; // type:object size:0x7E scope:local data:string +@2031 = .data:0x81673E4C; // type:object size:0x7A scope:local data:string +@2032 = .data:0x81673EC8; // type:object size:0x7A scope:local data:string +@2033 = .data:0x81673F44; // type:object size:0x51 scope:local data:string +@2034 = .data:0x81673F98; // type:object size:0x71 scope:local data:string +@2035 = .data:0x8167400C; // type:object size:0x39 scope:local data:string +@2036 = .data:0x81674048; // type:object size:0x49 scope:local data:string +@2037 = .data:0x81674094; // type:object size:0x51 scope:local data:string +@2038 = .data:0x816740E8; // type:object size:0x52 scope:local data:string +@2039 = .data:0x8167413C; // type:object size:0x59 scope:local data:string +@2040 = .data:0x81674198; // type:object size:0x42 scope:local data:string +@2041 = .data:0x816741DC; // type:object size:0x3A scope:local data:string +@2042 = .data:0x81674218; // type:object size:0x3A scope:local data:string +@2043 = .data:0x81674254; // type:object size:0x44 scope:local data:string +@2044 = .data:0x81674298; // type:object size:0x44 scope:local data:string +@2045 = .data:0x816742DC; // type:object size:0x3B scope:local data:string +@2046 = .data:0x81674318; // type:object size:0x3F scope:local data:string +@2047 = .data:0x81674358; // type:object size:0x67 scope:local data:string +@2048 = .data:0x816743C0; // type:object size:0x45 scope:local data:string +@2049 = .data:0x81674408; // type:object size:0x3D scope:local data:string YearDays = .data:0x81674448; // type:object size:0x30 scope:local LeapYearDays = .data:0x81674478; // type:object size:0x30 scope:local UcsAnsiTable = .data:0x816744A8; // type:object size:0x40 scope:local data:2byte -Ucs00 = .data:0x816744E8; // type:object size:0x200 scope:local -Ucs03 = .data:0x816746E8; // type:object size:0x200 scope:local -Ucs04 = .data:0x816748E8; // type:object size:0x200 scope:local -Ucs20 = .data:0x81674AE8; // type:object size:0x200 scope:local -Ucs21 = .data:0x81674CE8; // type:object size:0x200 scope:local -Ucs22 = .data:0x81674EE8; // type:object size:0x200 scope:local -Ucs23 = .data:0x816750E8; // type:object size:0x200 scope:local -Ucs25 = .data:0x816752E8; // type:object size:0x200 scope:local -Ucs26 = .data:0x816754E8; // type:object size:0x200 scope:local -Ucs30 = .data:0x816756E8; // type:object size:0x200 scope:local -Ucs4E = .data:0x816758E8; // type:object size:0x200 scope:local -Ucs4F = .data:0x81675AE8; // type:object size:0x200 scope:local -Ucs50 = .data:0x81675CE8; // type:object size:0x200 scope:local -Ucs51 = .data:0x81675EE8; // type:object size:0x200 scope:local -Ucs52 = .data:0x816760E8; // type:object size:0x200 scope:local -Ucs53 = .data:0x816762E8; // type:object size:0x200 scope:local -Ucs54 = .data:0x816764E8; // type:object size:0x200 scope:local -Ucs55 = .data:0x816766E8; // type:object size:0x200 scope:local -Ucs56 = .data:0x816768E8; // type:object size:0x200 scope:local -Ucs57 = .data:0x81676AE8; // type:object size:0x200 scope:local -Ucs58 = .data:0x81676CE8; // type:object size:0x200 scope:local -Ucs59 = .data:0x81676EE8; // type:object size:0x200 scope:local -Ucs5A = .data:0x816770E8; // type:object size:0x200 scope:local -Ucs5B = .data:0x816772E8; // type:object size:0x200 scope:local -Ucs5C = .data:0x816774E8; // type:object size:0x200 scope:local -Ucs5D = .data:0x816776E8; // type:object size:0x200 scope:local -Ucs5E = .data:0x816778E8; // type:object size:0x200 scope:local -Ucs5F = .data:0x81677AE8; // type:object size:0x200 scope:local -Ucs60 = .data:0x81677CE8; // type:object size:0x200 scope:local -Ucs61 = .data:0x81677EE8; // type:object size:0x200 scope:local -Ucs62 = .data:0x816780E8; // type:object size:0x200 scope:local -Ucs63 = .data:0x816782E8; // type:object size:0x200 scope:local -Ucs64 = .data:0x816784E8; // type:object size:0x200 scope:local -Ucs65 = .data:0x816786E8; // type:object size:0x200 scope:local -Ucs66 = .data:0x816788E8; // type:object size:0x200 scope:local -Ucs67 = .data:0x81678AE8; // type:object size:0x200 scope:local -Ucs68 = .data:0x81678CE8; // type:object size:0x200 scope:local -Ucs69 = .data:0x81678EE8; // type:object size:0x200 scope:local -Ucs6A = .data:0x816790E8; // type:object size:0x200 scope:local -Ucs6B = .data:0x816792E8; // type:object size:0x200 scope:local -Ucs6C = .data:0x816794E8; // type:object size:0x200 scope:local -Ucs6D = .data:0x816796E8; // type:object size:0x200 scope:local -Ucs6E = .data:0x816798E8; // type:object size:0x200 scope:local -Ucs6F = .data:0x81679AE8; // type:object size:0x200 scope:local -Ucs70 = .data:0x81679CE8; // type:object size:0x200 scope:local -Ucs71 = .data:0x81679EE8; // type:object size:0x200 scope:local -Ucs72 = .data:0x8167A0E8; // type:object size:0x200 scope:local -Ucs73 = .data:0x8167A2E8; // type:object size:0x200 scope:local -Ucs74 = .data:0x8167A4E8; // type:object size:0x200 scope:local -Ucs75 = .data:0x8167A6E8; // type:object size:0x200 scope:local -Ucs76 = .data:0x8167A8E8; // type:object size:0x200 scope:local -Ucs77 = .data:0x8167AAE8; // type:object size:0x200 scope:local -Ucs78 = .data:0x8167ACE8; // type:object size:0x200 scope:local -Ucs79 = .data:0x8167AEE8; // type:object size:0x200 scope:local -Ucs7A = .data:0x8167B0E8; // type:object size:0x200 scope:local -Ucs7B = .data:0x8167B2E8; // type:object size:0x200 scope:local -Ucs7C = .data:0x8167B4E8; // type:object size:0x200 scope:local -Ucs7D = .data:0x8167B6E8; // type:object size:0x200 scope:local -Ucs7E = .data:0x8167B8E8; // type:object size:0x200 scope:local -Ucs7F = .data:0x8167BAE8; // type:object size:0x200 scope:local -Ucs80 = .data:0x8167BCE8; // type:object size:0x200 scope:local -Ucs81 = .data:0x8167BEE8; // type:object size:0x200 scope:local -Ucs82 = .data:0x8167C0E8; // type:object size:0x200 scope:local -Ucs83 = .data:0x8167C2E8; // type:object size:0x200 scope:local -Ucs84 = .data:0x8167C4E8; // type:object size:0x200 scope:local -Ucs85 = .data:0x8167C6E8; // type:object size:0x200 scope:local -Ucs86 = .data:0x8167C8E8; // type:object size:0x200 scope:local -Ucs87 = .data:0x8167CAE8; // type:object size:0x200 scope:local -Ucs88 = .data:0x8167CCE8; // type:object size:0x200 scope:local -Ucs89 = .data:0x8167CEE8; // type:object size:0x200 scope:local -Ucs8A = .data:0x8167D0E8; // type:object size:0x200 scope:local -Ucs8B = .data:0x8167D2E8; // type:object size:0x200 scope:local -Ucs8C = .data:0x8167D4E8; // type:object size:0x200 scope:local -Ucs8D = .data:0x8167D6E8; // type:object size:0x200 scope:local -Ucs8E = .data:0x8167D8E8; // type:object size:0x200 scope:local -Ucs8F = .data:0x8167DAE8; // type:object size:0x200 scope:local -Ucs90 = .data:0x8167DCE8; // type:object size:0x200 scope:local -Ucs91 = .data:0x8167DEE8; // type:object size:0x200 scope:local -Ucs92 = .data:0x8167E0E8; // type:object size:0x200 scope:local -Ucs93 = .data:0x8167E2E8; // type:object size:0x200 scope:local -Ucs94 = .data:0x8167E4E8; // type:object size:0x200 scope:local -Ucs95 = .data:0x8167E6E8; // type:object size:0x200 scope:local -Ucs96 = .data:0x8167E8E8; // type:object size:0x200 scope:local -Ucs97 = .data:0x8167EAE8; // type:object size:0x200 scope:local -Ucs98 = .data:0x8167ECE8; // type:object size:0x200 scope:local -Ucs99 = .data:0x8167EEE8; // type:object size:0x200 scope:local -Ucs9A = .data:0x8167F0E8; // type:object size:0x200 scope:local -Ucs9B = .data:0x8167F2E8; // type:object size:0x200 scope:local -Ucs9C = .data:0x8167F4E8; // type:object size:0x200 scope:local -Ucs9D = .data:0x8167F6E8; // type:object size:0x200 scope:local -Ucs9E = .data:0x8167F8E8; // type:object size:0x200 scope:local -Ucs9F = .data:0x8167FAE8; // type:object size:0x200 scope:local -UcsFF = .data:0x8167FCE8; // type:object size:0x200 scope:local -UcsSjisTable = .data:0x8167FEE8; // type:object size:0x400 scope:local -@955 = .data:0x816802E8; // type:object size:0x13 scope:local data:string -@956 = .data:0x816802FC; // type:object size:0x13 scope:local data:string -lbl_81680310 = .data:0x81680310; // type:object size:0xC data:string -lbl_8168031C = .data:0x8168031C; // type:object size:0x38 -lbl_81680354 = .data:0x81680354; // type:object size:0x38 -lbl_8168038C = .data:0x8168038C; // type:object size:0x14 data:string -lbl_816803A0 = .data:0x816803A0; // type:object size:0x10 -lbl_816803B0 = .data:0x816803B0; // type:object size:0x2C -jumptable_816803DC = .data:0x816803DC; // type:object size:0x1C scope:local -lbl_816803F8 = .data:0x816803F8; // type:object size:0x28 data:string -@1040 = .data:0x81680420; // type:object size:0x32 scope:local data:string -lbl_81680588 = .data:0x81680588; // type:object size:0x20 -lbl_816805A8 = .data:0x816805A8; // type:object size:0x14 -@1547 = .data:0x816805BC; // type:object size:0xD scope:local data:string -@1549 = .data:0x816805CC; // type:object size:0x1B scope:local data:string +Ucs00 = .data:0x816744E8; // type:object size:0x200 scope:local noreloc +Ucs03 = .data:0x816746E8; // type:object size:0x200 scope:local noreloc +Ucs04 = .data:0x816748E8; // type:object size:0x200 scope:local noreloc +Ucs20 = .data:0x81674AE8; // type:object size:0x200 scope:local noreloc +Ucs21 = .data:0x81674CE8; // type:object size:0x200 scope:local noreloc +Ucs22 = .data:0x81674EE8; // type:object size:0x200 scope:local noreloc +Ucs23 = .data:0x816750E8; // type:object size:0x200 scope:local noreloc +Ucs25 = .data:0x816752E8; // type:object size:0x200 scope:local noreloc +Ucs26 = .data:0x816754E8; // type:object size:0x200 scope:local noreloc +Ucs30 = .data:0x816756E8; // type:object size:0x200 scope:local noreloc +Ucs4E = .data:0x816758E8; // type:object size:0x200 scope:local noreloc +Ucs4F = .data:0x81675AE8; // type:object size:0x200 scope:local noreloc +Ucs50 = .data:0x81675CE8; // type:object size:0x200 scope:local noreloc +Ucs51 = .data:0x81675EE8; // type:object size:0x200 scope:local noreloc +Ucs52 = .data:0x816760E8; // type:object size:0x200 scope:local noreloc +Ucs53 = .data:0x816762E8; // type:object size:0x200 scope:local noreloc +Ucs54 = .data:0x816764E8; // type:object size:0x200 scope:local noreloc +Ucs55 = .data:0x816766E8; // type:object size:0x200 scope:local noreloc +Ucs56 = .data:0x816768E8; // type:object size:0x200 scope:local noreloc +Ucs57 = .data:0x81676AE8; // type:object size:0x200 scope:local noreloc +Ucs58 = .data:0x81676CE8; // type:object size:0x200 scope:local noreloc +Ucs59 = .data:0x81676EE8; // type:object size:0x200 scope:local noreloc +Ucs5A = .data:0x816770E8; // type:object size:0x200 scope:local noreloc +Ucs5B = .data:0x816772E8; // type:object size:0x200 scope:local noreloc +Ucs5C = .data:0x816774E8; // type:object size:0x200 scope:local noreloc +Ucs5D = .data:0x816776E8; // type:object size:0x200 scope:local noreloc +Ucs5E = .data:0x816778E8; // type:object size:0x200 scope:local noreloc +Ucs5F = .data:0x81677AE8; // type:object size:0x200 scope:local noreloc +Ucs60 = .data:0x81677CE8; // type:object size:0x200 scope:local noreloc +Ucs61 = .data:0x81677EE8; // type:object size:0x200 scope:local noreloc +Ucs62 = .data:0x816780E8; // type:object size:0x200 scope:local noreloc +Ucs63 = .data:0x816782E8; // type:object size:0x200 scope:local noreloc +Ucs64 = .data:0x816784E8; // type:object size:0x200 scope:local noreloc +Ucs65 = .data:0x816786E8; // type:object size:0x200 scope:local noreloc +Ucs66 = .data:0x816788E8; // type:object size:0x200 scope:local noreloc +Ucs67 = .data:0x81678AE8; // type:object size:0x200 scope:local noreloc +Ucs68 = .data:0x81678CE8; // type:object size:0x200 scope:local noreloc +Ucs69 = .data:0x81678EE8; // type:object size:0x200 scope:local noreloc +Ucs6A = .data:0x816790E8; // type:object size:0x200 scope:local noreloc +Ucs6B = .data:0x816792E8; // type:object size:0x200 scope:local noreloc +Ucs6C = .data:0x816794E8; // type:object size:0x200 scope:local noreloc +Ucs6D = .data:0x816796E8; // type:object size:0x200 scope:local noreloc +Ucs6E = .data:0x816798E8; // type:object size:0x200 scope:local noreloc +Ucs6F = .data:0x81679AE8; // type:object size:0x200 scope:local noreloc +Ucs70 = .data:0x81679CE8; // type:object size:0x200 scope:local noreloc +Ucs71 = .data:0x81679EE8; // type:object size:0x200 scope:local noreloc +Ucs72 = .data:0x8167A0E8; // type:object size:0x200 scope:local noreloc +Ucs73 = .data:0x8167A2E8; // type:object size:0x200 scope:local noreloc +Ucs74 = .data:0x8167A4E8; // type:object size:0x200 scope:local noreloc +Ucs75 = .data:0x8167A6E8; // type:object size:0x200 scope:local noreloc +Ucs76 = .data:0x8167A8E8; // type:object size:0x200 scope:local noreloc +Ucs77 = .data:0x8167AAE8; // type:object size:0x200 scope:local noreloc +Ucs78 = .data:0x8167ACE8; // type:object size:0x200 scope:local noreloc +Ucs79 = .data:0x8167AEE8; // type:object size:0x200 scope:local noreloc +Ucs7A = .data:0x8167B0E8; // type:object size:0x200 scope:local noreloc +Ucs7B = .data:0x8167B2E8; // type:object size:0x200 scope:local noreloc +Ucs7C = .data:0x8167B4E8; // type:object size:0x200 scope:local noreloc +Ucs7D = .data:0x8167B6E8; // type:object size:0x200 scope:local noreloc +Ucs7E = .data:0x8167B8E8; // type:object size:0x200 scope:local noreloc +Ucs7F = .data:0x8167BAE8; // type:object size:0x200 scope:local noreloc +Ucs80 = .data:0x8167BCE8; // type:object size:0x200 scope:local noreloc +Ucs81 = .data:0x8167BEE8; // type:object size:0x200 scope:local noreloc +Ucs82 = .data:0x8167C0E8; // type:object size:0x200 scope:local noreloc +Ucs83 = .data:0x8167C2E8; // type:object size:0x200 scope:local noreloc +Ucs84 = .data:0x8167C4E8; // type:object size:0x200 scope:local noreloc +Ucs85 = .data:0x8167C6E8; // type:object size:0x200 scope:local noreloc +Ucs86 = .data:0x8167C8E8; // type:object size:0x200 scope:local noreloc +Ucs87 = .data:0x8167CAE8; // type:object size:0x200 scope:local noreloc +Ucs88 = .data:0x8167CCE8; // type:object size:0x200 scope:local noreloc +Ucs89 = .data:0x8167CEE8; // type:object size:0x200 scope:local noreloc +Ucs8A = .data:0x8167D0E8; // type:object size:0x200 scope:local noreloc +Ucs8B = .data:0x8167D2E8; // type:object size:0x200 scope:local noreloc +Ucs8C = .data:0x8167D4E8; // type:object size:0x200 scope:local noreloc +Ucs8D = .data:0x8167D6E8; // type:object size:0x200 scope:local noreloc +Ucs8E = .data:0x8167D8E8; // type:object size:0x200 scope:local noreloc +Ucs8F = .data:0x8167DAE8; // type:object size:0x200 scope:local noreloc +Ucs90 = .data:0x8167DCE8; // type:object size:0x200 scope:local noreloc +Ucs91 = .data:0x8167DEE8; // type:object size:0x200 scope:local noreloc +Ucs92 = .data:0x8167E0E8; // type:object size:0x200 scope:local noreloc +Ucs93 = .data:0x8167E2E8; // type:object size:0x200 scope:local noreloc +Ucs94 = .data:0x8167E4E8; // type:object size:0x200 scope:local noreloc +Ucs95 = .data:0x8167E6E8; // type:object size:0x200 scope:local noreloc +Ucs96 = .data:0x8167E8E8; // type:object size:0x200 scope:local noreloc +Ucs97 = .data:0x8167EAE8; // type:object size:0x200 scope:local noreloc +Ucs98 = .data:0x8167ECE8; // type:object size:0x200 scope:local noreloc +Ucs99 = .data:0x8167EEE8; // type:object size:0x200 scope:local noreloc +Ucs9A = .data:0x8167F0E8; // type:object size:0x200 scope:local noreloc +Ucs9B = .data:0x8167F2E8; // type:object size:0x200 scope:local noreloc +Ucs9C = .data:0x8167F4E8; // type:object size:0x200 scope:local noreloc +Ucs9D = .data:0x8167F6E8; // type:object size:0x200 scope:local noreloc +Ucs9E = .data:0x8167F8E8; // type:object size:0x200 scope:local noreloc +Ucs9F = .data:0x8167FAE8; // type:object size:0x200 scope:local noreloc +UcsFF = .data:0x8167FCE8; // type:object size:0x200 scope:local noreloc +UcsSjisTable = .data:0x8167FEE8; // type:object size:0x400 scope:local noreloc +@586 = .data:0x816802E8; // type:object size:0x13 scope:local data:string +@587 = .data:0x816802FC; // type:object size:0x13 scope:local data:string +@591 = .data:0x81680310; // type:object size:0xC scope:local data:string +@592 = .data:0x8168031C; // type:object size:0x37 scope:local data:string +@602 = .data:0x81680354; // type:object size:0x35 scope:local data:string +@634 = .data:0x8168038C; // type:object size:0x22 scope:local data:string +@776 = .data:0x816803B0; // type:object size:0x2B scope:local data:string +@826 = .data:0x816803DC; // type:object size:0x1C scope:local +@544 = .data:0x816803F8; // type:object size:0x28 scope:local data:string +@414 = .data:0x81680420; // type:object size:0x32 scope:local data:string +...data.0 = .data:0x81680420; // type:label scope:local +@415 = .data:0x81680454; // type:object size:0x32 scope:local data:string +@416 = .data:0x81680488; // type:object size:0x3F scope:local data:string +@419 = .data:0x816804C8; // type:object size:0x16 scope:local data:string +@421 = .data:0x816804E0; // type:object size:0x14 scope:local data:string +@423 = .data:0x816804F4; // type:object size:0x16 scope:local data:string +@425 = .data:0x8168050C; // type:object size:0x15 scope:local data:string +@427 = .data:0x81680524; // type:object size:0x16 scope:local data:string +@429 = .data:0x8168053C; // type:object size:0x1A scope:local data:string +@431 = .data:0x81680558; // type:object size:0x15 scope:local data:string +@433 = .data:0x81680570; // type:object size:0x11 scope:local data:string +@560 = .data:0x81680588; // type:object size:0x1A scope:local data:string +@830 = .data:0x816805A8; // type:object size:0x11 scope:local data:string +@906 = .data:0x816805BC; // type:object size:0xD scope:local data:string +@908 = .data:0x816805CC; // type:object size:0x1B scope:local data:string lbl_816805E8 = .data:0x816805E8; // type:object size:0x48 data:string lbl_81680630 = .data:0x81680630; // type:object size:0x47 data:string Si = .data:0x81680678; // type:object size:0x14 scope:local data:4byte @@ -17683,7 +17891,7 @@ lbl_81681FDC = .data:0x81681FDC; // type:object size:0xF data:string @3872 = .data:0x81681FF0; // type:object size:0x32 scope:local data:string lbl_81682050 = .data:0x81682050; // type:object size:0xE60 lbl_81682EB0 = .data:0x81682EB0; // type:object size:0x47 data:string -lbl_81682EF8 = .data:0x81682EF8; // type:object size:0x47 data:string +@223 = .data:0x81682EF8; // type:object size:0x47 scope:local data:string __AXMixCycles = .data:0x81682F40; // type:object size:0x80 __AXRmtMixCycles = .data:0x81682FC0; // type:object size:0x10 __AXCompressorTable = .data:0x81682FE0; // type:object size:0xFC0 @@ -17742,8 +17950,8 @@ base64_array = .data:0x81687760; // type:object size:0x80 scope:local jumptable_816877E0 = .data:0x816877E0; // type:object size:0x60 scope:local jumptable_81687848 = .data:0x81687848; // type:object size:0x68 scope:local jumptable_816878B0 = .data:0x816878B0; // type:object size:0x40 scope:local -lbl_816878F0 = .data:0x816878F0; // type:object size:0x24 -lbl_81687914 = .data:0x81687914; // type:object size:0x4C +@1009 = .data:0x816878F0; // type:object size:0x22 scope:local data:string +@1068 = .data:0x81687914; // type:object size:0x46 scope:local data:string @1687 = .data:0x81687960; // type:object size:0x21 scope:local data:string lbl_81687988 = .data:0x81687988; // type:object size:0x48 data:string ShutdownFunctionInfo = .data:0x816879D0; // type:object size:0x10 scope:local @@ -18212,10 +18420,10 @@ jumptable_81696160 = .data:0x81696160; // type:object size:0x84 scope:local jumptable_816961E4 = .data:0x816961E4; // type:object size:0x24 scope:local @wstringBase0 = .data:0x81696208; // type:object size:0x58 gDBCommTable = .data:0x81696260; // type:object size:0x28 -lbl_816962A0 = .sdata2:0x816962A0; // type:object size:0x4 align:4 data:float -lbl_816962A4 = .sdata2:0x816962A4; // type:object size:0x4 align:4 data:float -lbl_816962A8 = .sdata2:0x816962A8; // type:object size:0x4 align:4 data:float -lbl_816962AC = .sdata2:0x816962AC; // type:object size:0x4 align:4 data:float +@85 = .sdata2:0x816962A0; // type:object size:0x4 scope:local align:4 data:float +@86 = .sdata2:0x816962A4; // type:object size:0x4 scope:local align:4 data:float +@87 = .sdata2:0x816962A8; // type:object size:0x4 scope:local align:4 data:float +@88 = .sdata2:0x816962AC; // type:object size:0x4 scope:local align:4 data:float lbl_816962B0 = .sdata2:0x816962B0; // type:object size:0x4 align:4 data:float lbl_816962B8 = .sdata2:0x816962B8; // type:object size:0x8 align:8 data:double lbl_816962C0 = .sdata2:0x816962C0; // type:object size:0x4 align:4 data:float @@ -18244,8 +18452,8 @@ lbl_81696320 = .sdata2:0x81696320; // type:object size:0x4 align:4 data:float lbl_81696324 = .sdata2:0x81696324; // type:object size:0x4 align:4 data:float lbl_81696328 = .sdata2:0x81696328; // type:object size:0x4 align:4 data:float lbl_8169632C = .sdata2:0x8169632C; // type:object size:0x4 align:4 data:float -lbl_81696330 = .sdata2:0x81696330; // type:object size:0x4 align:4 data:float -lbl_81696334 = .sdata2:0x81696334; // type:object size:0x4 align:4 data:float +@1046 = .sdata2:0x81696330; // type:object size:0x4 scope:local align:4 data:float +@1047 = .sdata2:0x81696334; // type:object size:0x4 scope:local align:4 data:float lbl_81696338 = .sdata2:0x81696338; // type:object size:0x8 data:4byte lbl_81696340 = .sdata2:0x81696340; // type:object size:0x4 data:4byte lbl_81696344 = .sdata2:0x81696344; // type:object size:0x4 data:4byte @@ -18270,23 +18478,23 @@ lbl_81696388 = .sdata2:0x81696388; // type:object size:0x1 data:byte lbl_81696389 = .sdata2:0x81696389; // type:object size:0x1 data:byte lbl_8169638A = .sdata2:0x8169638A; // type:object size:0x1 data:byte lbl_8169638B = .sdata2:0x8169638B; // type:object size:0x5 data:byte -lbl_81696390 = .sdata2:0x81696390; // type:object size:0x4 align:4 data:float -lbl_81696394 = .sdata2:0x81696394; // type:object size:0x4 align:4 data:float -lbl_81696398 = .sdata2:0x81696398; // type:object size:0x4 align:4 data:float -lbl_8169639C = .sdata2:0x8169639C; // type:object size:0x4 align:4 data:float -lbl_816963A0 = .sdata2:0x816963A0; // type:object size:0x8 align:4 data:float -lbl_816963A8 = .sdata2:0x816963A8; // type:object size:0x4 align:4 data:float -lbl_816963AC = .sdata2:0x816963AC; // type:object size:0x4 align:4 data:float -lbl_816963B0 = .sdata2:0x816963B0; // type:object size:0x8 align:8 data:double -lbl_816963B8 = .sdata2:0x816963B8; // type:object size:0x4 align:4 data:float -lbl_816963BC = .sdata2:0x816963BC; // type:object size:0x4 align:4 data:float -lbl_816963C0 = .sdata2:0x816963C0; // type:object size:0x4 align:4 data:float -lbl_816963C4 = .sdata2:0x816963C4; // type:object size:0x4 align:4 data:float -lbl_816963C8 = .sdata2:0x816963C8; // type:object size:0x4 align:4 data:float -lbl_816963CC = .sdata2:0x816963CC; // type:object size:0x4 align:4 data:float -lbl_816963D0 = .sdata2:0x816963D0; // type:object size:0x4 align:4 data:float -lbl_816963D4 = .sdata2:0x816963D4; // type:object size:0x4 align:4 data:float -lbl_816963D8 = .sdata2:0x816963D8; // type:object size:0x8 align:4 data:float +@3799 = .sdata2:0x81696390; // type:object size:0x4 scope:local align:4 data:float +@3800 = .sdata2:0x81696394; // type:object size:0x4 scope:local align:4 data:float +@3860 = .sdata2:0x81696398; // type:object size:0x4 scope:local align:4 data:float +@3861 = .sdata2:0x8169639C; // type:object size:0x4 scope:local align:4 data:float +@3862 = .sdata2:0x816963A0; // type:object size:0x4 scope:local align:4 data:float +@3801 = .sdata2:0x816963A8; // type:object size:0x4 scope:local align:4 data:float +@3846 = .sdata2:0x816963AC; // type:object size:0x4 scope:local align:4 data:float +@6961 = .sdata2:0x816963B0; // type:object size:0x8 scope:local align:8 data:double +@7355 = .sdata2:0x816963B8; // type:object size:0x4 scope:local align:4 data:float +@7356 = .sdata2:0x816963BC; // type:object size:0x4 scope:local align:4 data:float +@7607 = .sdata2:0x816963C0; // type:object size:0x4 scope:local align:4 data:float +@7608 = .sdata2:0x816963C4; // type:object size:0x4 scope:local align:4 data:float +@7609 = .sdata2:0x816963C8; // type:object size:0x4 scope:local align:4 data:float +@7900 = .sdata2:0x816963CC; // type:object size:0x4 scope:local align:4 data:float +@7901 = .sdata2:0x816963D0; // type:object size:0x4 scope:local align:4 data:float +@7902 = .sdata2:0x816963D4; // type:object size:0x4 scope:local align:4 data:float +@7903 = .sdata2:0x816963D8; // type:object size:0x4 scope:local align:4 data:float lbl_816963E0 = .sdata2:0x816963E0; // type:object size:0x4 align:4 data:float lbl_816963E4 = .sdata2:0x816963E4; // type:object size:0x4 align:4 data:float lbl_816963E8 = .sdata2:0x816963E8; // type:object size:0x1 data:byte @@ -18353,17 +18561,14 @@ lbl_81696500 = .sdata2:0x81696500; // type:object size:0x4 align:4 data:float lbl_81696504 = .sdata2:0x81696504; // type:object size:0x4 align:4 data:float lbl_81696508 = .sdata2:0x81696508; // type:object size:0x4 align:4 data:float lbl_81696510 = .sdata2:0x81696510; // type:object size:0x8 align:8 data:double -lbl_81696518 = .sdata2:0x81696518; // type:object size:0x4 align:4 data:float -lbl_8169651C = .sdata2:0x8169651C; // type:object size:0x1 data:byte -lbl_8169651D = .sdata2:0x8169651D; // type:object size:0x1 data:byte -lbl_8169651E = .sdata2:0x8169651E; // type:object size:0x1 data:byte -lbl_8169651F = .sdata2:0x8169651F; // type:object size:0x1 data:byte -lbl_81696520 = .sdata2:0x81696520; // type:object size:0x8 align:4 data:float -lbl_81696528 = .sdata2:0x81696528; // type:object size:0x4 align:4 data:float -lbl_8169652C = .sdata2:0x8169652C; // type:object size:0x4 align:4 data:float -lbl_81696530 = .sdata2:0x81696530; // type:object size:0x8 align:8 data:double -lbl_81696538 = .sdata2:0x81696538; // type:object size:0x4 align:4 data:float -lbl_8169653C = .sdata2:0x8169653C; // type:object size:0x4 align:4 data:float +@3131 = .sdata2:0x81696518; // type:object size:0x4 scope:local align:4 data:float +@2370 = .sdata2:0x8169651C; // type:object size:0x4 scope:local data:byte +@3533 = .sdata2:0x81696520; // type:object size:0x4 scope:local align:4 data:float +@4735 = .sdata2:0x81696528; // type:object size:0x4 scope:local align:4 data:float +@4736 = .sdata2:0x8169652C; // type:object size:0x4 scope:local align:4 data:float +@4740 = .sdata2:0x81696530; // type:object size:0x8 scope:local align:8 data:double +@3747 = .sdata2:0x81696538; // type:object size:0x4 scope:local align:4 data:float +@3748 = .sdata2:0x8169653C; // type:object size:0x4 scope:local align:4 data:float lbl_81696540 = .sdata2:0x81696540; // type:object size:0x4 align:4 data:float lbl_81696544 = .sdata2:0x81696544; // type:object size:0x4 align:4 data:float lbl_81696548 = .sdata2:0x81696548; // type:object size:0x4 align:4 data:float @@ -18406,7 +18611,7 @@ lbl_816965F4 = .sdata2:0x816965F4; // type:object size:0x4 align:4 data:float lbl_816965F8 = .sdata2:0x816965F8; // type:object size:0x4 align:4 data:float lbl_816965FC = .sdata2:0x816965FC; // type:object size:0x4 align:4 data:float lbl_81696600 = .sdata2:0x81696600; // type:object size:0x8 align:4 data:float -lbl_81696608 = .sdata2:0x81696608; // type:object size:0x8 align:4 data:float +@165 = .sdata2:0x81696608; // type:object size:0x4 scope:local align:4 data:float lbl_81696610 = .sdata2:0x81696610; // type:object size:0x4 align:4 data:float lbl_81696614 = .sdata2:0x81696614; // type:object size:0x1 data:byte lbl_81696615 = .sdata2:0x81696615; // type:object size:0x1 data:byte @@ -19121,17 +19326,17 @@ lbl_81697308 = .sdata2:0x81697308; // type:object size:0x4 align:4 data:float lbl_81697310 = .sdata2:0x81697310; // type:object size:0x8 align:8 data:double lbl_81697318 = .sdata2:0x81697318; // type:object size:0x8 align:4 data:float lbl_81697320 = .sdata2:0x81697320; // type:object size:0x8 align:4 data:float -lbl_81697328 = .sdata2:0x81697328; // type:object size:0x4 align:4 data:float -lbl_8169732C = .sdata2:0x8169732C; // type:object size:0x4 align:4 data:float -lbl_81697330 = .sdata2:0x81697330; // type:object size:0x4 align:4 data:float -lbl_81697334 = .sdata2:0x81697334; // type:object size:0x4 align:4 data:float -lbl_81697338 = .sdata2:0x81697338; // type:object size:0x4 align:4 data:float -lbl_8169733C = .sdata2:0x8169733C; // type:object size:0x4 align:4 data:float -lbl_81697340 = .sdata2:0x81697340; // type:object size:0x4 align:4 data:float -lbl_81697344 = .sdata2:0x81697344; // type:object size:0x4 align:4 data:float -lbl_81697348 = .sdata2:0x81697348; // type:object size:0x8 align:4 data:float -lbl_81697350 = .sdata2:0x81697350; // type:object size:0x4 align:4 data:float -lbl_81697354 = .sdata2:0x81697354; // type:object size:0x4 align:4 data:float +@238 = .sdata2:0x81697328; // type:object size:0x4 scope:local align:4 data:float +@239 = .sdata2:0x8169732C; // type:object size:0x4 scope:local align:4 data:float +@586 = .sdata2:0x81697330; // type:object size:0x4 scope:local align:4 data:float +@587 = .sdata2:0x81697334; // type:object size:0x4 scope:local align:4 data:float +@608 = .sdata2:0x81697338; // type:object size:0x4 scope:local align:4 data:float +@609 = .sdata2:0x8169733C; // type:object size:0x4 scope:local align:4 data:float +@611 = .sdata2:0x81697340; // type:object size:0x4 scope:local align:4 data:float +@630 = .sdata2:0x81697344; // type:object size:0x4 scope:local align:4 data:float +@631 = .sdata2:0x81697348; // type:object size:0x4 scope:local align:4 data:float +@239 = .sdata2:0x81697350; // type:object size:0x4 scope:local align:4 data:float +@240 = .sdata2:0x81697354; // type:object size:0x4 scope:local align:4 data:float lbl_81697358 = .sdata2:0x81697358; // type:object size:0x4 align:4 data:float lbl_8169735C = .sdata2:0x8169735C; // type:object size:0x4 align:4 data:float lbl_81697360 = .sdata2:0x81697360; // type:object size:0x1 data:byte @@ -19259,12 +19464,9 @@ lbl_81697458 = .sdata2:0x81697458; // type:object size:0x8 align:4 data:float lbl_81697460 = .sdata2:0x81697460; // type:object size:0x4 align:4 data:float lbl_81697464 = .sdata2:0x81697464; // type:object size:0x4 align:4 data:float lbl_81697468 = .sdata2:0x81697468; // type:object size:0x8 align:8 data:double -lbl_81697470 = .sdata2:0x81697470; // type:object size:0x2 data:2byte -lbl_81697472 = .sdata2:0x81697472; // type:object size:0x2 data:2byte -lbl_81697474 = .sdata2:0x81697474; // type:object size:0x2 data:2byte -lbl_81697476 = .sdata2:0x81697476; // type:object size:0x2 data:2byte -lbl_81697478 = .sdata2:0x81697478; // type:object size:0x4 align:4 data:float -lbl_81697480 = .sdata2:0x81697480; // type:object size:0x8 align:8 data:double +@499 = .sdata2:0x81697470; // type:object size:0x8 scope:local data:2byte +@815 = .sdata2:0x81697478; // type:object size:0x4 scope:local align:4 data:float +@817 = .sdata2:0x81697480; // type:object size:0x8 scope:local align:8 data:double __EXIFreq = .sdata2:0x81697488; // type:object size:0x4 data:4byte lbl_81697490 = .sdata2:0x81697490; // type:object size:0x4 align:4 data:float lbl_81697494 = .sdata2:0x81697494; // type:object size:0x4 align:4 data:float @@ -19671,13 +19873,13 @@ LOAD_GLYPH_ALL__Q44nw4r2ut6detail15ArchiveFontBase = .sbss2:0x81697EA8; // type: DefaultBlackColor = .sbss2:0x81697EB0; // type:object size:0x8 scope:local data:2byte bta_dm_pm_cfg = .sbss2:0x81697EB8; // type:object size:0x8 bd_addr_null = .sbss2:0x81697EC0; // type:object size:0x8 -lbl_81697EE0 = .sdata:0x81697EE0; // type:object size:0x4 data:string +@27 = .sdata:0x81697EE0; // type:object size:0x4 scope:local data:string RBRFileType_Txt = .sdata:0x81697EE4; // type:object size:0x4 data:4byte -lbl_81697EE8 = .sdata:0x81697EE8; // type:object size:0x4 data:string +@28 = .sdata:0x81697EE8; // type:object size:0x4 scope:local data:string RBRFileType_Odh = .sdata:0x81697EEC; // type:object size:0x4 data:4byte -lbl_81697EF0 = .sdata:0x81697EF0; // type:object size:0x4 data:string +@29 = .sdata:0x81697EF0; // type:object size:0x4 scope:local data:string RBRFileType_Dat = .sdata:0x81697EF4; // type:object size:0x4 data:4byte -lbl_81697EF8 = .sdata:0x81697EF8; // type:object size:0x4 data:string +@30 = .sdata:0x81697EF8; // type:object size:0x4 scope:local data:string RBRFileType_Log = .sdata:0x81697EFC; // type:object size:0x4 data:4byte lbl_81697F00 = .sdata:0x81697F00; // type:object size:0x8 data:string lbl_81697F08 = .sdata:0x81697F08; // type:object size:0x3 data:string @@ -19689,16 +19891,16 @@ lbl_81697F24 = .sdata:0x81697F24; // type:object size:0x4 lbl_81697F28 = .sdata:0x81697F28; // type:object size:0x3 data:string lbl_81697F2B = .sdata:0x81697F2B; // type:object size:0x5 data:string lbl_81697F30 = .sdata:0x81697F30; // type:object size:0x8 -lbl_81697F38 = .sdata:0x81697F38; // type:object size:0x3 data:string -lbl_81697F3B = .sdata:0x81697F3B; // type:object size:0x5 data:string -lbl_81697F40 = .sdata:0x81697F40; // type:object size:0x2 data:string -lbl_81697F42 = .sdata:0x81697F42; // type:object size:0x6 +@4748 = .sdata:0x81697F38; // type:object size:0x3 scope:local data:string +@4761 = .sdata:0x81697F3B; // type:object size:0x5 scope:local data:string +@4858 = .sdata:0x81697F40; // type:object size:0x2 scope:local data:string +@4929 = .sdata:0x81697F42; // type:object size:0x5 scope:local data:string lbl_81697F48 = .sdata:0x81697F48; // type:object size:0x8 -lbl_81697F50 = .sdata:0x81697F50; // type:object size:0x8 -lbl_81697F58 = .sdata:0x81697F58; // type:object size:0x1 -lbl_81697F59 = .sdata:0x81697F59; // type:object size:0x3 data:string -lbl_81697F5C = .sdata:0x81697F5C; // type:object size:0xC -lbl_81697F68 = .sdata:0x81697F68; // type:object size:0x8 +@3918 = .sdata:0x81697F50; // type:object size:0x3 scope:local data:string +@3950 = .sdata:0x81697F58; // type:object size:0x1 scope:local +@3952 = .sdata:0x81697F59; // type:object size:0x3 scope:local data:string +@4014 = .sdata:0x81697F5C; // type:object size:0x8 scope:local data:string +@3646 = .sdata:0x81697F68; // type:object size:0x5 scope:local data:string lbl_81697F70 = .sdata:0x81697F70; // type:object size:0x4 data:string lbl_81697F74 = .sdata:0x81697F74; // type:object size:0x4 data:string lbl_81697F78 = .sdata:0x81697F78; // type:object size:0x6 @@ -19707,27 +19909,27 @@ lbl_81697F84 = .sdata:0x81697F84; // type:object size:0x4 data:wstring lbl_81697F88 = .sdata:0x81697F88; // type:object size:0x8 lbl_81697F90 = .sdata:0x81697F90; // type:object size:0x6 data:wstring lbl_81697F96 = .sdata:0x81697F96; // type:object size:0xA -lbl_81697FA0 = .sdata:0x81697FA0; // type:object size:0x4 data:string -lbl_81697FA4 = .sdata:0x81697FA4; // type:object size:0x7 data:string -lbl_81697FAB = .sdata:0x81697FAB; // type:object size:0xD -lbl_81697FB8 = .sdata:0x81697FB8; // type:object size:0x8 data:string -lbl_81697FC0 = .sdata:0x81697FC0; // type:object size:0x6 data:string -lbl_81697FC6 = .sdata:0x81697FC6; // type:object size:0xA -lbl_81697FD0 = .sdata:0x81697FD0; // type:object size:0x7 data:string -lbl_81697FD7 = .sdata:0x81697FD7; // type:object size:0x7 data:string -lbl_81697FDE = .sdata:0x81697FDE; // type:object size:0x7 data:string -lbl_81697FE5 = .sdata:0x81697FE5; // type:object size:0x4 data:string -lbl_81697FE9 = .sdata:0x81697FE9; // type:object size:0x8 data:string -lbl_81697FF1 = .sdata:0x81697FF1; // type:object size:0x7 data:string -lbl_81697FF8 = .sdata:0x81697FF8; // type:object size:0x7 data:string -lbl_81697FFF = .sdata:0x81697FFF; // type:object size:0x8 data:string -lbl_81698007 = .sdata:0x81698007; // type:object size:0x7 data:string -lbl_8169800E = .sdata:0x8169800E; // type:object size:0x7 data:string -lbl_81698015 = .sdata:0x81698015; // type:object size:0x7 data:string -lbl_8169801C = .sdata:0x8169801C; // type:object size:0x7 data:string -lbl_81698023 = .sdata:0x81698023; // type:object size:0x7 data:string -lbl_8169802A = .sdata:0x8169802A; // type:object size:0x6 data:string -lbl_81698030 = .sdata:0x81698030; // type:object size:0x6 data:string +@3802 = .sdata:0x81697FA0; // type:object size:0x4 scope:local data:string +@3857 = .sdata:0x81697FA4; // type:object size:0x7 scope:local data:string +@3858 = .sdata:0x81697FAB; // type:object size:0x7 scope:local data:string +@3845 = .sdata:0x81697FB8; // type:object size:0x8 scope:local data:string +@3847 = .sdata:0x81697FC0; // type:object size:0x6 scope:local data:string +@3848 = .sdata:0x81697FC6; // type:object size:0x7 scope:local data:string +@3595 = .sdata:0x81697FD0; // type:object size:0x7 scope:local data:string +@3596 = .sdata:0x81697FD7; // type:object size:0x7 scope:local data:string +@3597 = .sdata:0x81697FDE; // type:object size:0x7 scope:local data:string +@6805 = .sdata:0x81697FE5; // type:object size:0x4 scope:local data:string +@6808 = .sdata:0x81697FE9; // type:object size:0x8 scope:local data:string +@6811 = .sdata:0x81697FF1; // type:object size:0x7 scope:local data:string +@6813 = .sdata:0x81697FF8; // type:object size:0x7 scope:local data:string +@6814 = .sdata:0x81697FFF; // type:object size:0x8 scope:local data:string +@6815 = .sdata:0x81698007; // type:object size:0x7 scope:local data:string +@7351 = .sdata:0x8169800E; // type:object size:0x7 scope:local data:string +@7353 = .sdata:0x81698015; // type:object size:0x7 scope:local data:string +@7354 = .sdata:0x8169801C; // type:object size:0x7 scope:local data:string +@7452 = .sdata:0x81698023; // type:object size:0x7 scope:local data:string +@7508 = .sdata:0x8169802A; // type:object size:0x6 scope:local data:string +@7667 = .sdata:0x81698030; // type:object size:0x6 scope:local data:string c_banner_file_name__Q23ipl12NandSDWorker = .sdata:0x81698038; // type:object size:0x4 data:4byte lbl_8169803C = .sdata:0x8169803C; // type:object size:0x8 c_nocopy_folder_name__Q23ipl12NandSDWorker = .sdata:0x81698044; // type:object size:0x4 data:4byte @@ -19751,7 +19953,7 @@ lbl_8169808F = .sdata:0x8169808F; // type:object size:0x5 data:string lbl_81698094 = .sdata:0x81698094; // type:object size:0x4 data:string lbl_81698098 = .sdata:0x81698098; // type:object size:0x4 data:string lbl_8169809C = .sdata:0x8169809C; // type:object size:0x4 -lbl_816980A0 = .sdata:0x816980A0; // type:object size:0x8 +@3796 = .sdata:0x816980A0; // type:object size:0x4 scope:local data:string lbl_816980A8 = .sdata:0x816980A8; // type:object size:0x8 lbl_816980B0 = .sdata:0x816980B0; // type:object size:0x4 data:4byte lbl_816980B4 = .sdata:0x816980B4; // type:object size:0x5 data:string @@ -19794,7 +19996,7 @@ lbl_81698145 = .sdata:0x81698145; // type:object size:0x5 data:string lbl_8169814A = .sdata:0x8169814A; // type:object size:0x6 data:string lbl_81698150 = .sdata:0x81698150; // type:object size:0x7 data:string lbl_81698157 = .sdata:0x81698157; // type:object size:0x9 -lbl_81698160 = .sdata:0x81698160; // type:object size:0x4 data:string +@5060 = .sdata:0x81698160; // type:object size:0x4 scope:local data:string lbl_81698168 = .sdata:0x81698168; // type:object size:0x5 data:string sProtocolName__Q23www9arcreader = .sdata:0x81698170; // type:object size:0x4 data:4byte lbl_81698174 = .sdata:0x81698174; // type:object size:0x7 data:string @@ -19884,10 +20086,10 @@ lbl_81698385 = .sdata:0x81698385; // type:object size:0x7 data:string lbl_8169838C = .sdata:0x8169838C; // type:object size:0x4 data:string lbl_81698390 = .sdata:0x81698390; // type:object size:0x8 data:string lbl_81698398 = .sdata:0x81698398; // type:object size:0x8 data:string -lbl_816983A0 = .sdata:0x816983A0; // type:object size:0x5 data:string -lbl_816983A5 = .sdata:0x816983A5; // type:object size:0x4 data:string -lbl_816983A9 = .sdata:0x816983A9; // type:object size:0x5 data:string -lbl_816983AE = .sdata:0x816983AE; // type:object size:0x7 data:string +@465 = .sdata:0x816983A0; // type:object size:0x5 scope:local data:string +@466 = .sdata:0x816983A5; // type:object size:0x4 scope:local data:string +@467 = .sdata:0x816983A9; // type:object size:0x5 scope:local data:string +@468 = .sdata:0x816983AE; // type:object size:0x7 scope:local data:string BS2BootCaching = .sdata:0x816983B8; // type:object size:0x4 data:4byte BS2WaitSpinup = .sdata:0x816983BC; // type:object size:0x4 data:4byte lbl_816983C0 = .sdata:0x816983C0; // type:object size:0x4 data:4byte @@ -19929,7 +20131,7 @@ lbl_81698484 = .sdata:0x81698484; // type:object size:0x4 data:string lbl_81698488 = .sdata:0x81698488; // type:object size:0x2 lbl_8169848A = .sdata:0x8169848A; // type:object size:0x6 data:string lbl_81698490 = .sdata:0x81698490; // type:object size:0x8 data:wstring -lbl_81698498 = .sdata:0x81698498; // type:object size:0x8 +@3781 = .sdata:0x81698498; // type:object size:0x4 scope:local data:string lbl_816984A0 = .sdata:0x816984A0; // type:object size:0x4 data:string lbl_816984A4 = .sdata:0x816984A4; // type:object size:0x7 data:string lbl_816984AB = .sdata:0x816984AB; // type:object size:0x8 data:string @@ -20140,29 +20342,29 @@ lbl_816989B2 = .sdata:0x816989B2; // type:object size:0x6 data:string lbl_816989B8 = .sdata:0x816989B8; // type:object size:0x7 data:string lbl_816989BF = .sdata:0x816989BF; // type:object size:0x8 data:string lbl_816989C7 = .sdata:0x816989C7; // type:object size:0x9 -lbl_816989D0 = .sdata:0x816989D0; // type:object size:0x8 data:string -lbl_816989D8 = .sdata:0x816989D8; // type:object size:0x8 data:string -lbl_816989E0 = .sdata:0x816989E0; // type:object size:0x8 data:string -lbl_816989E8 = .sdata:0x816989E8; // type:object size:0x4 data:string -lbl_816989EC = .sdata:0x816989EC; // type:object size:0x6 data:string -lbl_816989F2 = .sdata:0x816989F2; // type:object size:0xE +@3588 = .sdata:0x816989D0; // type:object size:0x8 scope:local data:string +@3598 = .sdata:0x816989D8; // type:object size:0x8 scope:local data:string +@3599 = .sdata:0x816989E0; // type:object size:0x8 scope:local data:string +@4302 = .sdata:0x816989E8; // type:object size:0x4 scope:local data:string +@4305 = .sdata:0x816989EC; // type:object size:0x6 scope:local data:string +@4307 = .sdata:0x816989F2; // type:object size:0x7 scope:local data:string lbl_81698A00 = .sdata:0x81698A00; // type:object size:0x2 lbl_81698A02 = .sdata:0x81698A02; // type:object size:0x6 -lbl_81698A08 = .sdata:0x81698A08; // type:object size:0x6 data:string -lbl_81698A0E = .sdata:0x81698A0E; // type:object size:0x6 data:string -lbl_81698A14 = .sdata:0x81698A14; // type:object size:0x6 data:string -lbl_81698A1A = .sdata:0x81698A1A; // type:object size:0x6 data:string -lbl_81698A20 = .sdata:0x81698A20; // type:object size:0x6 data:string -lbl_81698A26 = .sdata:0x81698A26; // type:object size:0x6 data:string -lbl_81698A2C = .sdata:0x81698A2C; // type:object size:0x6 data:string -lbl_81698A32 = .sdata:0x81698A32; // type:object size:0x6 data:string -lbl_81698A38 = .sdata:0x81698A38; // type:object size:0x6 data:string -lbl_81698A3E = .sdata:0x81698A3E; // type:object size:0x6 data:string -lbl_81698A44 = .sdata:0x81698A44; // type:object size:0x6 data:string -lbl_81698A4A = .sdata:0x81698A4A; // type:object size:0x6 data:string -lbl_81698A50 = .sdata:0x81698A50; // type:object size:0x4 data:string -lbl_81698A54 = .sdata:0x81698A54; // type:object size:0x6 data:string -lbl_81698A5A = .sdata:0x81698A5A; // type:object size:0xE +@3592 = .sdata:0x81698A08; // type:object size:0x6 scope:local data:string +@3593 = .sdata:0x81698A0E; // type:object size:0x6 scope:local data:string +@3594 = .sdata:0x81698A14; // type:object size:0x6 scope:local data:string +@3595 = .sdata:0x81698A1A; // type:object size:0x6 scope:local data:string +@3596 = .sdata:0x81698A20; // type:object size:0x6 scope:local data:string +@3597 = .sdata:0x81698A26; // type:object size:0x6 scope:local data:string +@3598 = .sdata:0x81698A2C; // type:object size:0x6 scope:local data:string +@3599 = .sdata:0x81698A32; // type:object size:0x6 scope:local data:string +@3600 = .sdata:0x81698A38; // type:object size:0x6 scope:local data:string +@3601 = .sdata:0x81698A3E; // type:object size:0x6 scope:local data:string +@3602 = .sdata:0x81698A44; // type:object size:0x6 scope:local data:string +@3603 = .sdata:0x81698A4A; // type:object size:0x6 scope:local data:string +@4318 = .sdata:0x81698A50; // type:object size:0x4 scope:local data:string +@4324 = .sdata:0x81698A54; // type:object size:0x6 scope:local data:string +@4326 = .sdata:0x81698A5A; // type:object size:0x7 scope:local data:string lbl_81698A68 = .sdata:0x81698A68; // type:object size:0x4 data:string lbl_81698A6C = .sdata:0x81698A6C; // type:object size:0xC lbl_81698A78 = .sdata:0x81698A78; // type:object size:0x4 data:string @@ -20440,11 +20642,11 @@ lbl_816990D8 = .sdata:0x816990D8; // type:object size:0x8 lbl_816990E0 = .sdata:0x816990E0; // type:object size:0x4 data:4byte lbl_816990E4 = .sdata:0x816990E4; // type:object size:0x4 data:4byte lbl_816990E8 = .sdata:0x816990E8; // type:object size:0x8 -lbl_816990F0 = .sdata:0x816990F0; // type:object size:0x8 -lbl_816990F8 = .sdata:0x816990F8; // type:object size:0x8 -lbl_81699100 = .sdata:0x81699100; // type:object size:0x4 data:string -lbl_81699104 = .sdata:0x81699104; // type:object size:0x8 data:string -lbl_8169910C = .sdata:0x8169910C; // type:object size:0xC +@3655 = .sdata:0x816990F0; // type:object size:0x4 scope:local data:string +scBtnSoundType__Q23ipl5scene = .sdata:0x816990F8; // type:object size:0x8 scope:local +@4382 = .sdata:0x81699100; // type:object size:0x4 scope:local data:string +@4385 = .sdata:0x81699104; // type:object size:0x8 scope:local data:string +@4392 = .sdata:0x8169910C; // type:object size:0x6 scope:local data:string lbl_81699118 = .sdata:0x81699118; // type:object size:0x4 data:string lbl_8169911C = .sdata:0x8169911C; // type:object size:0xC lbl_81699128 = .sdata:0x81699128; // type:object size:0x2 @@ -20789,7 +20991,7 @@ __NCDUnofficialVersion = .sdata:0x81699944; // type:object size:0x4 data:4byte padding$ = .sdata:0x81699948; // type:object size:0x1 scope:local lbl_81699950 = .sdata:0x81699950; // type:object size:0x8 lbl_81699958 = .sdata:0x81699958; // type:object size:0x8 -lbl_81699960 = .sdata:0x81699960; // type:object size:0x8 data:4byte +NETRexPPCVersionPrintableString = .sdata:0x81699960; // type:object size:0x4 data:4byte lbl_81699968 = .sdata:0x81699968; // type:object size:0x8 lbl_81699970 = .sdata:0x81699970; // type:object size:0x8 data:string lbl_81699978 = .sdata:0x81699978; // type:object size:0x4 @@ -20942,25 +21144,25 @@ lbl_81699C98 = .sdata:0x81699C98; // type:object size:0x8 lbl_81699CA0 = .sdata:0x81699CA0; // type:object size:0x4 lbl_81699CA4 = .sdata:0x81699CA4; // type:object size:0x4 __OSVersion = .sdata:0x81699CA8; // type:object size:0x4 data:4byte -@1730 = .sdata:0x81699CAC; // type:object size:0x7 scope:local data:string -@1740 = .sdata:0x81699CB4; // type:object size:0x6 scope:local data:string -lbl_81699CBC = .sdata:0x81699CBC; // type:object size:0x4 data:string -lbl_81699CC0 = .sdata:0x81699CC0; // type:object size:0x8 -lbl_81699CC8 = .sdata:0x81699CC8; // type:object size:0x8 -lbl_81699CD0 = .sdata:0x81699CD0; // type:object size:0x8 data:4byte +@1263 = .sdata:0x81699CAC; // type:object size:0x7 scope:local data:string +@1273 = .sdata:0x81699CB4; // type:object size:0x6 scope:local data:string +@1337 = .sdata:0x81699CBC; // type:object size:0x4 scope:local data:string +@1339 = .sdata:0x81699CC0; // type:object size:0x5 scope:local data:string +@710 = .sdata:0x81699CC8; // type:object size:0x5 scope:local data:string +AppGameNameForSysMenu = .sdata:0x81699CD0; // type:object size:0x4 scope:local data:4byte __OSCurrHeap = .sdata:0x81699CD8; // type:object size:0x4 data:4byte -__OSArenaLo = .sdata:0x81699CE0; // type:object size:0x4 scope:local data:4byte +__OSArenaLo = .sdata:0x81699CE0; // type:object size:0x4 scope:global data:4byte s_mem2ArenaLo = .sdata:0x81699CE4; // type:object size:0x4 scope:local data:4byte __OSFpscrEnableBits = .sdata:0x81699CE8; // type:object size:0x4 data:4byte -@691 = .sdata:0x81699CEC; // type:object size:0x2 scope:local data:string -lbl_81699CF0 = .sdata:0x81699CF0; // type:object size:0x8 data:string +@532 = .sdata:0x81699CEC; // type:object size:0x2 scope:local data:string +@1056 = .sdata:0x81699CF0; // type:object size:0x8 scope:local data:string FontEncode = .sdata:0x81699CF8; // type:object size:0x2 scope:local data:2byte -lbl_81699D00 = .sdata:0x81699D00; // type:object size:0x8 +@660 = .sdata:0x81699D00; // type:object size:0x1 scope:local SwitchThreadCallback = .sdata:0x81699D08; // type:object size:0x4 scope:local data:4byte -lbl_81699D0C = .sdata:0x81699D0C; // type:object size:0x4 +@2026 = .sdata:0x81699D0C; // type:object size:0x1 scope:local IpcBufferLo = .sdata:0x81699D10; // type:object size:0x4 scope:local data:4byte PlayRecordState = .sdata:0x81699D18; // type:object size:0x4 scope:local data:4byte -@1548 = .sdata:0x81699D20; // type:object size:0x8 scope:local data:string +@907 = .sdata:0x81699D20; // type:object size:0x8 scope:local data:string __EXIVersion = .sdata:0x81699D28; // type:object size:0x4 scope:global data:4byte __SIVersion = .sdata:0x81699D30; // type:object size:0x4 scope:global data:4byte __VIVersion = .sdata:0x81699D38; // type:object size:0x4 data:4byte @@ -21007,7 +21209,7 @@ DmaCommand = .sdata:0x81699DFC; // type:object size:0x4 scope:local data:4byte DiFD = .sdata:0x81699E00; // type:object size:0x4 scope:global data:4byte lbl_81699E08 = .sdata:0x81699E08; // type:object size:0x8 data:string __AIVersion = .sdata:0x81699E10; // type:object size:0x8 data:4byte -__AXVersion = .sdata:0x81699E18; // type:object size:0x8 data:4byte +__AXVersion = .sdata:0x81699E18; // type:object size:0x4 data:4byte axDspInitVector = .sdata:0x81699E20; // type:object size:0x2 data:2byte axDspResumeVector = .sdata:0x81699E22; // type:object size:0x2 data:2byte axDspSlaveLength = .sdata:0x81699E24; // type:object size:0x2 data:2byte @@ -21073,7 +21275,7 @@ lbl_81699FC8 = .sdata:0x81699FC8; // type:object size:0x8 lbl_81699FD0 = .sdata:0x81699FD0; // type:object size:0x8 __ENCVersion = .sdata:0x81699FD8; // type:object size:0x4 data:4byte enc_tbl_jp_loaded = .sdata:0x81699FE0; // type:object size:0x8 data:4byte -lbl_81699FE8 = .sdata:0x81699FE8; // type:object size:0x6 data:string +@1008 = .sdata:0x81699FE8; // type:object size:0x6 scope:local data:string __esFd = .sdata:0x81699FF0; // type:object size:0x4 scope:local data:4byte lbl_81699FF8 = .sdata:0x81699FF8; // type:object size:0x8 data:string __mailboxAck = .sdata:0x8169A000; // type:object size:0x4 scope:local data:4byte @@ -21350,7 +21552,7 @@ enc_tbl_kr_mbtowc2 = .sbss:0x8169A508; // type:object size:0x4 enc_offset_kr2 = .sbss:0x8169A50C; // type:object size:0x4 enc_tbl_uhc_loaded = .sbss:0x8169A510; // type:object size:0x4 data:4byte enc_tbl_uhc_mbtowc = .sbss:0x8169A514; // type:object size:0x4 -enc_offset_uhc = .sbss:0x8169A518; // type:object size:0x8 +enc_offset_uhc = .sbss:0x8169A518; // type:object size:0x4 mpBuf__Q33ipl10controller7Manager = .sbss:0x8169A520; // type:object size:0x4 data:4byte mpParentHeap__Q33ipl10controller7Manager = .sbss:0x8169A524; // type:object size:0x4 data:4byte mpHeap__Q33ipl10controller7Manager = .sbss:0x8169A528; // type:object size:0x4 data:4byte @@ -21366,8 +21568,8 @@ user_used_fsblocks__Q23ipl8nandwall = .sbss:0x8169A550; // type:object size:0x4 user_used_inodes__Q23ipl8nandwall = .sbss:0x8169A554; // type:object size:0x4 data:4byte global_free_inode__Q23ipl8nandwall = .sbss:0x8169A558; // type:object size:0x4 data:4byte global_free_fsblock__Q23ipl8nandwall = .sbss:0x8169A55C; // type:object size:0x4 data:4byte -lbl_8169A560 = .sbss:0x8169A560; // type:object size:0x8 -lbl_8169A568 = .sbss:0x8169A568; // type:object size:0x8 +sDlgBtn1Size__3ipl = .sbss:0x8169A560; // type:object size:0x8 scope:local +sDlgBtn1SmlSize__3ipl = .sbss:0x8169A568; // type:object size:0x8 scope:local lbl_8169A570 = .sbss:0x8169A570; // type:object size:0x1 data:byte s_sd_state__Q23ipl12NandSDWorker = .sbss:0x8169A578; // type:object size:0x4 data:4byte lbl_8169A57C = .sbss:0x8169A57C; // type:object size:0x4 data:4byte @@ -21863,13 +22065,13 @@ __OSInIPL = .sbss:0x8169AE78; // type:object size:0x4 data:4byte __OSInNandBoot = .sbss:0x8169AE7C; // type:object size:0x4 data:4byte __OSIsGcam = .sbss:0x8169AE80; // type:object size:0x4 data:4byte AreWeInitialized = .sbss:0x8169AE84; // type:object size:0x4 scope:local data:4byte -OSExceptionTable = .sbss:0x8169AE88; // type:object size:0x8 data:4byte +OSExceptionTable = .sbss:0x8169AE88; // type:object size:0x4 data:4byte ZeroPS = .sbss:0x8169AE90; // type:object size:0x8 scope:local ZeroF = .sbss:0x8169AE98; // type:object size:0x8 scope:local align:8 data:double GameNameBuffer = .sbss:0x8169AEA0; // type:object size:0x5 scope:local data:byte BI2DebugFlagHolder = .sbss:0x8169AEA8; // type:object size:0x4 scope:local data:4byte BI2DebugFlag = .sbss:0x8169AEAC; // type:object size:0x4 scope:local data:4byte -BootInfo = .sbss:0x8169AEB0; // type:object size:0x8 scope:local data:4byte +BootInfo = .sbss:0x8169AEB0; // type:object size:0x4 scope:local data:4byte __OSStartTime = .sbss:0x8169AEB8; // type:object size:0x8 data:4byte AlarmQueue = .sbss:0x8169AEC0; // type:object size:0x8 scope:local data:4byte ArenaEnd = .sbss:0x8169AEC8; // type:object size:0x4 scope:local data:4byte @@ -21887,20 +22089,20 @@ __OSLastInterruptSrr0 = .sbss:0x8169AEF8; // type:object size:0x4 scope:global d __OSLastInterrupt = .sbss:0x8169AEFC; // type:object size:0x2 scope:global data:2byte __OSLastInterruptTime = .sbss:0x8169AF00; // type:object size:0x8 scope:global data:4byte InterruptHandlerTable = .sbss:0x8169AF08; // type:object size:0x4 scope:local data:4byte -bootThisDol = .sbss:0x8169AF10; // type:object size:0x8 scope:local data:4byte +__OSIsReturnToIdle = .sbss:0x8169AF10; // type:object size:0x4 data:4byte ShutdownFunctionQueue = .sbss:0x8169AF18; // type:object size:0x8 scope:local data:4byte Reschedule = .sbss:0x8169AF20; // type:object size:0x4 scope:local data:4byte RunQueueHint = .sbss:0x8169AF24; // type:object size:0x4 scope:local data:4byte RunQueueBits = .sbss:0x8169AF28; // type:object size:0x4 scope:local data:4byte -IpcBufferHi = .sbss:0x8169AF30; // type:object size:0x8 scope:local data:4byte -ResetDown = .sbss:0x8169AF38; // type:object size:0x4 scope:local data:4byte -StmReady = .sbss:0x8169AF3C; // type:object size:0x4 scope:local data:4byte -StmImDesc = .sbss:0x8169AF40; // type:object size:0x4 scope:local data:4byte -StmEhDesc = .sbss:0x8169AF44; // type:object size:0x4 scope:local data:4byte -StmEhRegistered = .sbss:0x8169AF48; // type:object size:0x4 scope:local data:4byte -StmVdInUse = .sbss:0x8169AF4C; // type:object size:0x4 scope:local data:4byte -PowerCallback = .sbss:0x8169AF50; // type:object size:0x4 scope:local data:4byte -ResetCallback = .sbss:0x8169AF54; // type:object size:0x4 scope:local data:4byte +IpcBufferHi = .sbss:0x8169AF30; // type:object size:0x4 scope:local data:4byte +ResetDown = .sbss:0x8169AF38; // type:object size:0x4 scope:global data:4byte +StmReady = .sbss:0x8169AF3C; // type:object size:0x4 scope:global data:4byte +StmImDesc = .sbss:0x8169AF40; // type:object size:0x4 scope:global data:4byte +StmEhDesc = .sbss:0x8169AF44; // type:object size:0x4 scope:global data:4byte +StmEhRegistered = .sbss:0x8169AF48; // type:object size:0x4 scope:global data:4byte +StmVdInUse = .sbss:0x8169AF4C; // type:object size:0x4 scope:global data:4byte +PowerCallback = .sbss:0x8169AF50; // type:object size:0x4 scope:global data:4byte +ResetCallback = .sbss:0x8169AF54; // type:object size:0x4 scope:global data:4byte PlayRecordGet = .sbss:0x8169AF58; // type:object size:0x4 scope:local data:4byte PlayRecordError = .sbss:0x8169AF5C; // type:object size:0x4 scope:local data:4byte PlayRecordTerminate = .sbss:0x8169AF60; // type:object size:0x4 scope:local data:4byte @@ -21910,7 +22112,7 @@ PlayRecordLastError = .sbss:0x8169AF6C; // type:object size:0x4 scope:local data PlayRecordLastCloseTime = .sbss:0x8169AF70; // type:object size:0x8 scope:local data:4byte __OSExpireAIFade = .sbss:0x8169AF78; // type:object size:0x4 data:4byte __OSExpireSetExpiredFlag = .sbss:0x8169AF7C; // type:object size:0x4 data:4byte -__OSExpireCallback = .sbss:0x8169AF80; // type:object size:0x4 data:4byte +__OSExpireThread = .sbss:0x8169AF80; // type:object size:0x4 data:4byte __OSExpireTime = .sbss:0x8169AF88; // type:object size:0x8 data:4byte IDSerialPort1 = .sbss:0x8169AF90; // type:object size:0x4 scope:local data:4byte Enabled = .sbss:0x8169AF98; // type:object size:0x4 scope:local data:4byte @@ -22031,7 +22233,7 @@ LastState = .sbss:0x8169B1B4; // type:object size:0x4 scope:local data:4byte ExistFlag = .sbss:0x8169B1B8; // type:object size:0x4 scope:local data:4byte NextOffset = .sbss:0x8169B1BC; // type:object size:0x4 scope:local data:4byte Callback = .sbss:0x8169B1C0; // type:object size:0x4 scope:local data:4byte -FatalFunc = .sbss:0x8169B1C8; // type:object size:0x8 data:4byte +FatalFunc = .sbss:0x8169B1C8; // type:object size:0x4 scope:local data:4byte requestInProgress = .sbss:0x8169B1D0; // type:object size:0x1 scope:local data:byte callbackInProgress = .sbss:0x8169B1D1; // type:object size:0x1 scope:local data:byte freeCommandBuf = .sbss:0x8169B1D4; // type:object size:0x4 scope:local data:4byte @@ -22169,7 +22371,7 @@ hi$689 = .sbss:0x8169B420; // type:object size:0x4 scope:local data:4byte hId = .sbss:0x8169B424; // type:object size:0x4 scope:local data:4byte recalibrated$956 = .sbss:0x8169B428; // type:object size:0x4 scope:local data:4byte SamplingCallback = .sbss:0x8169B42C; // type:object size:0x4 scope:local data:4byte -__PADSpec = .sbss:0x8169B430; // type:object size:0x4 scope:local data:4byte +__PADSpec = .sbss:0x8169B430; // type:object size:0x4 data:4byte BarrelBits = .sbss:0x8169B434; // type:object size:0x4 scope:local data:4byte PendingBits = .sbss:0x8169B438; // type:object size:0x4 scope:local data:4byte CheckingBits = .sbss:0x8169B43C; // type:object size:0x4 scope:local data:4byte diff --git a/config/43J/config.yml b/config/43J/config.yml index 505e2a86..86637e83 100644 --- a/config/43J/config.yml +++ b/config/43J/config.yml @@ -53,6 +53,10 @@ extract: binary: backToWiiMenu.arc header: backToWiiMenu_arc.inc + - symbol: DSPInitCode + binary: dsp\initCode.bin + header: DSPInitCode.inc + - symbol: axDspSlave binary: ax\dspSlave.bin header: axDspSlave.inc diff --git a/config/43J/splits.txt b/config/43J/splits.txt index 2b6cbb9c..ac0c047c 100644 --- a/config/43J/splits.txt +++ b/config/43J/splits.txt @@ -243,7 +243,7 @@ src/system/TVRC.cpp: .sbss start:0x816C7E00 end:0x816C7E78 src/system/iplTVRCManager.cpp: - .text start:0x81360E04 end:0x81361BA0 + .text start:0x81360E04 end:0x81361BC0 .data start:0x8166A170 end:0x8166A1E0 .sbss start:0x816C7E78 end:0x816C7E80 @@ -251,7 +251,7 @@ src/system/_DATA_.c: .data start:0x8166A1E0 end:0x81671AC8 src/utility/iplTree.cpp: - .text start:0x81361BA0 end:0x81361D04 + .text start:0x81361BC0 end:0x81361D04 .data start:0x81671AC8 end:0x81671AE8 src/utility/iplFrameController.cpp: @@ -1273,7 +1273,7 @@ libs/RVLMiddleware/ATOKDict/src/MonPE/ApDic.c: .text start:0x814AE998 end:0x814AEBFC .rodata start:0x81648020 end:0x81648028 -libs/RVLMiddleware/ATOKDict/src/MonPE/ApJACNorm.c: +libs/RVLMiddleware/ATOKDict/src/MonPE/ApJAC.c: .text start:0x814AEBFC end:0x814AEEEC .rodata start:0x81648028 end:0x816483B8 @@ -1616,162 +1616,162 @@ libs/RevoEX/src/ssl/ssl_api.c: libs/RevoEX/src/ssl/ssl_mutex.c: .text start:0x814DE6FC end:0x814DE708 -libs/RevoEX/src/vf/pf_clib.c: +libs/RevoEX/src/vf/api/pf_clib.c: .text start:0x814DE708 end:0x814DEA08 -libs/RevoEX/src/vf/pf_code.c: +libs/RevoEX/src/vf/api/pf_code.c: .text start:0x814DEA08 end:0x814DEA24 .rodata start:0x81648FC8 end:0x81649028 -libs/RevoEX/src/vf/pf_service.c: +libs/RevoEX/src/vf/api/pf_service.c: .text start:0x814DEA24 end:0x814DEB3C -libs/RevoEX/src/vf/pf_str.c: +libs/RevoEX/src/vf/api/pf_str.c: .text start:0x814DEB3C end:0x814DF070 -libs/RevoEX/src/vf/pf_w_clib.c: +libs/RevoEX/src/vf/api/pf_w_clib.c: .text start:0x814DF070 end:0x814DF104 -libs/RevoEX/src/vf/pf_driver.c: +libs/RevoEX/src/vf/api/pf_driver.c: .text start:0x814DF104 end:0x814DFBEC -libs/RevoEX/src/vf/pdm_bpb.c: +libs/RevoEX/src/vf/api/pdm_bpb.c: .text start:0x814DFBEC end:0x814E0550 -libs/RevoEX/src/vf/pdm_disk.c: +libs/RevoEX/src/vf/api/pdm_disk.c: .text start:0x814E0550 end:0x814E1B20 -libs/RevoEX/src/vf/pdm_partition.c: +libs/RevoEX/src/vf/api/pdm_partition.c: .text start:0x814E1B20 end:0x814E32FC -libs/RevoEX/src/vf/pdm_mbr.c: +libs/RevoEX/src/vf/api/pdm_mbr.c: .text start:0x814E32FC end:0x814E38B4 -libs/RevoEX/src/vf/pdm_dskmng.c: +libs/RevoEX/src/vf/api/pdm_dskmng.c: .bss start:0x810DC860 end:0x810DD430 .text start:0x814E38B4 end:0x814E3AD8 -libs/RevoEX/src/vf/pf_cache.c: +libs/RevoEX/src/vf/api/pf_cache.c: .text start:0x814E3AD8 end:0x814E56C4 -libs/RevoEX/src/vf/pf_cluster.c: +libs/RevoEX/src/vf/api/pf_cluster.c: .text start:0x814E56C4 end:0x814E5E14 -libs/RevoEX/src/vf/pf_dir.c: +libs/RevoEX/src/vf/api/pf_dir.c: .text start:0x814E5E14 end:0x814E723C .sdata start:0x816C73E8 end:0x816C73F8 -libs/RevoEX/src/vf/pf_entry.c: +libs/RevoEX/src/vf/api/pf_entry.c: .text start:0x814E723C end:0x814E8E2C .data start:0x8169E4F8 end:0x8169E508 .sdata2 start:0x816C4730 end:0x816C4738 -libs/RevoEX/src/vf/pf_entry_iterator.c: +libs/RevoEX/src/vf/api/pf_entry_iterator.c: .text start:0x814E8E2C end:0x814EAF9C .sdata start:0x816C73F8 end:0x816C7420 -libs/RevoEX/src/vf/pf_fat.c: +libs/RevoEX/src/vf/api/pf_fat.c: .text start:0x814EAF9C end:0x814EDF64 .rodata start:0x81649028 end:0x81649068 -libs/RevoEX/src/vf/pf_fat12.c: +libs/RevoEX/src/vf/api/pf_fat12.c: .text start:0x814EDF64 end:0x814EEA9C -libs/RevoEX/src/vf/pf_fat16.c: +libs/RevoEX/src/vf/api/pf_fat16.c: .text start:0x814EEA9C end:0x814EF028 -libs/RevoEX/src/vf/pf_fat32.c: +libs/RevoEX/src/vf/api/pf_fat32.c: .text start:0x814EF028 end:0x814EF67C -libs/RevoEX/src/vf/pf_fatfs.c: +libs/RevoEX/src/vf/api/pf_fatfs.c: .text start:0x814EF67C end:0x814EF680 -libs/RevoEX/src/vf/pf_file.c: +libs/RevoEX/src/vf/api/pf_file.c: .text start:0x814EF680 end:0x814F2D64 -libs/RevoEX/src/vf/pf_path.c: +libs/RevoEX/src/vf/api/pf_path.c: .text start:0x814F2D64 end:0x814F56F0 .sdata2 start:0x816C4738 end:0x816C4748 .sdata start:0x816C7420 end:0x816C7450 -libs/RevoEX/src/vf/pf_sector.c: +libs/RevoEX/src/vf/api/pf_sector.c: .text start:0x814F56F0 end:0x814F5F98 -libs/RevoEX/src/vf/pf_volume.c: +libs/RevoEX/src/vf/api/pf_volume.c: .bss start:0x810DD430 end:0x81105180 .text start:0x814F5F98 end:0x814F8048 -libs/RevoEX/src/vf/pf_cp932.c: +libs/RevoEX/src/vf/api/pf_cp932.c: .text start:0x814F8048 end:0x814F852C .rodata start:0x81649068 end:0x8164D2E0 -libs/RevoEX/src/vf/pf_attach.c: +libs/RevoEX/src/vf/api/pf_attach.c: .text start:0x814F852C end:0x814F871C -libs/RevoEX/src/vf/pf_chdir.c: +libs/RevoEX/src/vf/api/pf_chdir.c: .text start:0x814F871C end:0x814F876C -libs/RevoEX/src/vf/pf_create.c: +libs/RevoEX/src/vf/api/pf_create.c: .text start:0x814F876C end:0x814F87D0 -libs/RevoEX/src/vf/pf_detach.c: +libs/RevoEX/src/vf/api/pf_detach.c: .text start:0x814F87D0 end:0x814F87F8 -libs/RevoEX/src/vf/pf_errnum.c: +libs/RevoEX/src/vf/api/pf_errnum.c: .text start:0x814F87F8 end:0x814F881C -libs/RevoEX/src/vf/pf_fclose.c: +libs/RevoEX/src/vf/api/pf_fclose.c: .text start:0x814F881C end:0x814F8840 -libs/RevoEX/src/vf/pf_finfo.c: +libs/RevoEX/src/vf/api/pf_finfo.c: .text start:0x814F8840 end:0x814F8864 -libs/RevoEX/src/vf/pf_fopen.c: +libs/RevoEX/src/vf/api/pf_fopen.c: .text start:0x814F8864 end:0x814F8910 -libs/RevoEX/src/vf/pf_format.c: +libs/RevoEX/src/vf/api/pf_format.c: .text start:0x814F8910 end:0x814F8938 -libs/RevoEX/src/vf/pf_fread.c: +libs/RevoEX/src/vf/api/pf_fread.c: .text start:0x814F8938 end:0x814F8960 -libs/RevoEX/src/vf/pf_fseek.c: +libs/RevoEX/src/vf/api/pf_fseek.c: .text start:0x814F8960 end:0x814F8984 -libs/RevoEX/src/vf/pf_fsfirst.c: +libs/RevoEX/src/vf/api/pf_fsfirst.c: .text start:0x814F8984 end:0x814F89F8 -libs/RevoEX/src/vf/pf_fsnext.c: +libs/RevoEX/src/vf/api/pf_fsnext.c: .text start:0x814F89F8 end:0x814F8A1C -libs/RevoEX/src/vf/pf_fwrite.c: +libs/RevoEX/src/vf/api/pf_fwrite.c: .text start:0x814F8A1C end:0x814F8A44 -libs/RevoEX/src/vf/pf_getdev.c: +libs/RevoEX/src/vf/api/pf_getdev.c: .text start:0x814F8A44 end:0x814F8A6C -libs/RevoEX/src/vf/pf_init_prfile2.c: +libs/RevoEX/src/vf/api/pf_init_prfile2.c: .text start:0x814F8A6C end:0x814F8AAC -libs/RevoEX/src/vf/pf_mkdir.c: +libs/RevoEX/src/vf/api/pf_mkdir.c: .text start:0x814F8AAC end:0x814F8AFC -libs/RevoEX/src/vf/pf_remove.c: +libs/RevoEX/src/vf/api/pf_remove.c: .text start:0x814F8AFC end:0x814F8B4C -libs/RevoEX/src/vf/pf_rmdir.c: +libs/RevoEX/src/vf/api/pf_rmdir.c: .text start:0x814F8B4C end:0x814F8B9C -libs/RevoEX/src/vf/pf_sync.c: +libs/RevoEX/src/vf/api/pf_sync.c: .text start:0x814F8B9C end:0x814F8BC4 -libs/RevoEX/src/vf/pf_unmount.c: +libs/RevoEX/src/vf/api/pf_unmount.c: .text start:0x814F8BC4 end:0x814F8BEC -libs/RevoEX/src/vf/pf_filelock.c: +libs/RevoEX/src/vf/api/pf_filelock.c: .text start:0x814F8BEC end:0x814F8C00 -libs/RevoEX/src/vf/pf_system.c: +libs/RevoEX/src/vf/api/pf_system.c: .text start:0x814F8C00 end:0x814F8C78 .sbss start:0x816C8570 end:0x816C8578 @@ -1801,13 +1801,13 @@ libs/RevoEX/src/vf/d_common.c: .bss start:0x81105510 end:0x81105718 .text start:0x814FDD78 end:0x814FE994 -libs/RevoEX/src/vf/nand_drv.c: +libs/RevoEX/src/vf/driver/nand_drv.c: .bss start:0x81105718 end:0x811058C0 .text start:0x814FE994 end:0x81501904 .rodata start:0x8164D3B0 end:0x8164D3D0 .sbss start:0x816C85A0 end:0x816C85A8 -libs/RevoEX/src/vf/sd_drv.c: +libs/RevoEX/src/vf/driver/sd_drv.c: .bss start:0x811058C0 end:0x81105C80 .text start:0x81501904 end:0x8150271C .rodata start:0x8164D3D0 end:0x8164D3F0 @@ -1924,11 +1924,53 @@ libs/RVLFaceLib/src/RFL_Format.c: extabindex start:0x813312E4 end:0x8133135C .text start:0x81512E48 end:0x81513388 -libs/RVLMiddleware/TMC_JPEG/src/decapi.c: - .text start:0x81513388 end:0x8151FF64 - .rodata start:0x8164E2B8 end:0x8164E528 +libs/RVLMiddleware/TMC_JPEG/src/buffer/mkhdec3.c: + .text start:0x81513388 end:0x81513854 + +libs/RVLMiddleware/TMC_JPEG/src/buffer/buffer_system.c: + .text start:0x81513854 end:0x815141E0 + +libs/RVLMiddleware/TMC_JPEG/src/buffer/getcode.c: + .text start:0x815141E0 end:0x8151431C + +libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var.c: + .text start:0x8151431C end:0x81514E38 + +libs/RVLMiddleware/TMC_JPEG/src/api/decapi.c: + .text start:0x81514E38 end:0x81515284 + +libs/RVLMiddleware/TMC_JPEG/src/jpegdec/jdec.c: + .text start:0x81515284 end:0x81515680 + +libs/RVLMiddleware/TMC_JPEG/src/jpegdec/jdec_main.c: + .text start:0x81515680 end:0x81516C64 + .rodata start:0x8164E2B8 end:0x8164E3B8 + +libs/RVLMiddleware/TMC_JPEG/src/jpegdec/jpformat.c: + .rodata start:0x8164E3B8 end:0x8164E528 .sdata2 start:0x816C48A0 end:0x816C48A8 +libs/RVLMiddleware/TMC_JPEG/src/exif/exif_parse.c: + .text start:0x81516C64 end:0x81518044 + +libs/RVLMiddleware/TMC_JPEG/src/reschange/iqdec_resolution_change_a3.c: + .text start:0x81518044 end:0x815183D0 + +libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var.c: + .text start:0x815183D0 end:0x81518ADC + +libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8.c: + .text start:0x81518ADC end:0x8151C928 + +libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565.c: + .text start:0x8151C928 end:0x8151E150 + +libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8.c: + .text start:0x8151E150 end:0x8151FB14 + +libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32.c: + .text start:0x8151FB14 end:0x8151FF64 + libs/NW4R/src/snd/snd_AxManager.cpp: .bss start:0x81105C80 end:0x81110098 .text start:0x8151FF64 end:0x81521840 @@ -2518,6 +2560,7 @@ libs/RVL_SDK/src/os/OSPlayRecord.c: .bss start:0x811259E0 end:0x81125BE0 .text start:0x8155FD04 end:0x815605F4 .data start:0x816B00F8 end:0x816B0140 + .sdata start:0x816C7578 end:0x816C7580 .sbss start:0x816C87B8 end:0x816C87D8 libs/RVL_SDK/src/os/OSStateFlags.c: @@ -2538,7 +2581,7 @@ libs/RVL_SDK/src/os/OSPlayTime.c: .text start:0x81560CC8 end:0x81561548 .data start:0x816B02F0 end:0x816B0330 .sdata2 start:0x816C4CC0 end:0x816C4CD0 - .sdata start:0x816C7578 end:0x816C7588 + .sdata start:0x816C7580 end:0x816C7588 .sbss start:0x816C87D8 end:0x816C87F0 libs/RVL_SDK/src/os/__ppc_eabi_init.cpp: @@ -3423,451 +3466,451 @@ libs/RVL_SDK/src/cnt/cnt.c: .rodata start:0x8165E670 end:0x8165E8E8 .data start:0x816C0680 end:0x816C0780 -libs/RVL_SDK/src/fa/pf_clib.c: +libs/RVL_SDK/src/fa/api/pf_clib.c: .text start:0x815EEEDC end:0x815EF318 -libs/RVL_SDK/src/fa/pf_code.c: +libs/RVL_SDK/src/fa/api/pf_code.c: .text start:0x815EF318 end:0x815EF334 .rodata start:0x8165E8E8 end:0x8165E948 -libs/RVL_SDK/src/fa/pf_service.c: +libs/RVL_SDK/src/fa/api/pf_service.c: .text start:0x815EF334 end:0x815EF46C -libs/RVL_SDK/src/fa/pf_str.c: +libs/RVL_SDK/src/fa/api/pf_str.c: .text start:0x815EF46C end:0x815EF9D0 -libs/RVL_SDK/src/fa/pf_driver.c: +libs/RVL_SDK/src/fa/api/pf_driver.c: .text start:0x815EF9D0 end:0x815F02D4 -libs/RVL_SDK/src/fa/pdm_api.c: +libs/RVL_SDK/src/fa/api/pdm_api.c: .text start:0x815F02D4 end:0x815F037C -libs/RVL_SDK/src/fa/pdm_bpb.c: +libs/RVL_SDK/src/fa/api/pdm_bpb.c: .text start:0x815F037C end:0x815F0868 -libs/RVL_SDK/src/fa/pdm_disk.c: +libs/RVL_SDK/src/fa/api/pdm_disk.c: .bss start:0x81187458 end:0x81187E20 .text start:0x815F0868 end:0x815F1054 -libs/RVL_SDK/src/fa/pdm_partition.c: +libs/RVL_SDK/src/fa/api/pdm_partition.c: .text start:0x815F1054 end:0x815F1ED8 -libs/RVL_SDK/src/fa/pf_cache.c: +libs/RVL_SDK/src/fa/api/pf_cache.c: .text start:0x815F1ED8 end:0x815F3BBC -libs/RVL_SDK/src/fa/pf_cluster.c: +libs/RVL_SDK/src/fa/api/pf_cluster.c: .text start:0x815F3BBC end:0x815F4D84 -libs/RVL_SDK/src/fa/pf_dir.c: +libs/RVL_SDK/src/fa/api/pf_dir.c: .text start:0x815F4D84 end:0x815F97A4 .sdata2 start:0x816C5070 end:0x816C5078 .sdata start:0x816C7A30 end:0x816C7A50 -libs/RVL_SDK/src/fa/pf_entry.c: +libs/RVL_SDK/src/fa/api/pf_entry.c: .text start:0x815F97A4 end:0x815FB128 .data start:0x816C0780 end:0x816C0790 .sdata2 start:0x816C5078 end:0x816C5080 -libs/RVL_SDK/src/fa/pf_entry_iterator.c: +libs/RVL_SDK/src/fa/api/pf_entry_iterator.c: .text start:0x815FB128 end:0x815FCFF0 .sdata start:0x816C7A50 end:0x816C7A68 -libs/RVL_SDK/src/fa/pf_fat.c: +libs/RVL_SDK/src/fa/api/pf_fat.c: .text start:0x815FCFF0 end:0x8160010C .rodata start:0x8165E948 end:0x8165E988 -libs/RVL_SDK/src/fa/pf_fat12.c: +libs/RVL_SDK/src/fa/api/pf_fat12.c: .text start:0x8160010C end:0x81600980 -libs/RVL_SDK/src/fa/pf_fat16.c: +libs/RVL_SDK/src/fa/api/pf_fat16.c: .text start:0x81600980 end:0x81600DC4 -libs/RVL_SDK/src/fa/pf_fat32.c: +libs/RVL_SDK/src/fa/api/pf_fat32.c: .text start:0x81600DC4 end:0x816012B4 -libs/RVL_SDK/src/fa/pf_fatfs.c: +libs/RVL_SDK/src/fa/api/pf_fatfs.c: .text start:0x816012B4 end:0x816012B8 -libs/RVL_SDK/src/fa/pf_file.c: +libs/RVL_SDK/src/fa/api/pf_file.c: .text start:0x816012B8 end:0x81605854 -libs/RVL_SDK/src/fa/pf_path.c: +libs/RVL_SDK/src/fa/api/pf_path.c: .text start:0x81605854 end:0x816086B4 .sdata2 start:0x816C5080 end:0x816C5088 .sdata start:0x816C7A68 end:0x816C7A98 -libs/RVL_SDK/src/fa/pf_sector.c: +libs/RVL_SDK/src/fa/api/pf_sector.c: .text start:0x816086B4 end:0x81608DDC -libs/RVL_SDK/src/fa/pf_volume.c: +libs/RVL_SDK/src/fa/api/pf_volume.c: .bss start:0x81187E20 end:0x811BB620 .text start:0x81608DDC end:0x8160D424 .data start:0x816C0790 end:0x816C07A0 .sdata2 start:0x816C5088 end:0x816C5090 .sdata start:0x816C7A98 end:0x816C7AA0 -libs/RVL_SDK/src/fa/pf_volume_apiadd.c: +libs/RVL_SDK/src/fa/api/pf_volume_apiadd.c: .text start:0x8160D424 end:0x8160D49C -libs/RVL_SDK/src/fa/pf_cp932.c: +libs/RVL_SDK/src/fa/api/pf_cp932.c: .text start:0x8160D49C end:0x8160D9AC .rodata start:0x8165E988 end:0x81662C00 -libs/RVL_SDK/src/fa/pf_api_util.c: +libs/RVL_SDK/src/fa/api/pf_api_util.c: .text start:0x8160D9AC end:0x8160DB5C .data start:0x816C07A0 end:0x816C0840 -libs/RVL_SDK/src/fa/pf_attach.c: +libs/RVL_SDK/src/fa/api/pf_attach.c: .text start:0x8160DB5C end:0x8160DC0C -libs/RVL_SDK/src/fa/pf_buffering.c: +libs/RVL_SDK/src/fa/api/pf_buffering.c: .text start:0x8160DC0C end:0x8160DC38 -libs/RVL_SDK/src/fa/pf_cdelete.c: +libs/RVL_SDK/src/fa/api/pf_cdelete.c: .text start:0x8160DC38 end:0x8160DCB4 -libs/RVL_SDK/src/fa/pf_chdir.c: +libs/RVL_SDK/src/fa/api/pf_chdir.c: .text start:0x8160DCB4 end:0x8160DD04 -libs/RVL_SDK/src/fa/pf_chdmod.c: +libs/RVL_SDK/src/fa/api/pf_chdmod.c: .text start:0x8160DD04 end:0x8160DD64 -libs/RVL_SDK/src/fa/pf_chmod.c: +libs/RVL_SDK/src/fa/api/pf_chmod.c: .text start:0x8160DD64 end:0x8160DDC4 -libs/RVL_SDK/src/fa/pf_cinsert.c: +libs/RVL_SDK/src/fa/api/pf_cinsert.c: .text start:0x8160DDC4 end:0x8160DE40 -libs/RVL_SDK/src/fa/pf_closedir.c: +libs/RVL_SDK/src/fa/api/pf_closedir.c: .text start:0x8160DE40 end:0x8160DE64 -libs/RVL_SDK/src/fa/pf_combine.c: +libs/RVL_SDK/src/fa/api/pf_combine.c: .text start:0x8160DE64 end:0x8160DEE0 -libs/RVL_SDK/src/fa/pf_create.c: +libs/RVL_SDK/src/fa/api/pf_create.c: .text start:0x8160DEE0 end:0x8160DF3C -libs/RVL_SDK/src/fa/pf_createdir.c: +libs/RVL_SDK/src/fa/api/pf_createdir.c: .text start:0x8160DF3C end:0x8160DFB0 -libs/RVL_SDK/src/fa/pf_cut.c: +libs/RVL_SDK/src/fa/api/pf_cut.c: .text start:0x8160DFB0 end:0x8160E038 -libs/RVL_SDK/src/fa/pf_derrnum.c: +libs/RVL_SDK/src/fa/api/pf_derrnum.c: .text start:0x8160E038 end:0x8160E060 -libs/RVL_SDK/src/fa/pf_detach.c: +libs/RVL_SDK/src/fa/api/pf_detach.c: .text start:0x8160E060 end:0x8160E088 -libs/RVL_SDK/src/fa/pf_divide.c: +libs/RVL_SDK/src/fa/api/pf_divide.c: .text start:0x8160E088 end:0x8160E118 -libs/RVL_SDK/src/fa/pf_errnum.c: +libs/RVL_SDK/src/fa/api/pf_errnum.c: .text start:0x8160E118 end:0x8160E13C -libs/RVL_SDK/src/fa/pf_fadjust.c: +libs/RVL_SDK/src/fa/api/pf_fadjust.c: .text start:0x8160E13C end:0x8160E160 -libs/RVL_SDK/src/fa/pf_fappend.c: +libs/RVL_SDK/src/fa/api/pf_fappend.c: .text start:0x8160E160 end:0x8160E188 -libs/RVL_SDK/src/fa/pf_fchdir.c: +libs/RVL_SDK/src/fa/api/pf_fchdir.c: .text start:0x8160E188 end:0x8160E1AC -libs/RVL_SDK/src/fa/pf_fclose.c: +libs/RVL_SDK/src/fa/api/pf_fclose.c: .text start:0x8160E1AC end:0x8160E1D0 -libs/RVL_SDK/src/fa/pf_fconcat.c: +libs/RVL_SDK/src/fa/api/pf_fconcat.c: .text start:0x8160E1D0 end:0x8160E24C -libs/RVL_SDK/src/fa/pf_feof.c: +libs/RVL_SDK/src/fa/api/pf_feof.c: .text start:0x8160E24C end:0x8160E270 -libs/RVL_SDK/src/fa/pf_ferror.c: +libs/RVL_SDK/src/fa/api/pf_ferror.c: .text start:0x8160E270 end:0x8160E294 -libs/RVL_SDK/src/fa/pf_finfo.c: +libs/RVL_SDK/src/fa/api/pf_finfo.c: .text start:0x8160E294 end:0x8160E2B8 -libs/RVL_SDK/src/fa/pf_flock.c: +libs/RVL_SDK/src/fa/api/pf_flock.c: .text start:0x8160E2B8 end:0x8160E2E0 -libs/RVL_SDK/src/fa/pf_fopen.c: +libs/RVL_SDK/src/fa/api/pf_fopen.c: .text start:0x8160E2E0 end:0x8160E37C -libs/RVL_SDK/src/fa/pf_format.c: +libs/RVL_SDK/src/fa/api/pf_format.c: .text start:0x8160E37C end:0x8160E3A4 -libs/RVL_SDK/src/fa/pf_fread.c: +libs/RVL_SDK/src/fa/api/pf_fread.c: .text start:0x8160E3A4 end:0x8160E3CC -libs/RVL_SDK/src/fa/pf_fseek.c: +libs/RVL_SDK/src/fa/api/pf_fseek.c: .text start:0x8160E3CC end:0x8160E3F0 -libs/RVL_SDK/src/fa/pf_fsetclstlink.c: +libs/RVL_SDK/src/fa/api/pf_fsetclstlink.c: .text start:0x8160E3F0 end:0x8160E414 -libs/RVL_SDK/src/fa/pf_fsexec.c: +libs/RVL_SDK/src/fa/api/pf_fsexec.c: .text start:0x8160E414 end:0x8160E438 -libs/RVL_SDK/src/fa/pf_fsfirst.c: +libs/RVL_SDK/src/fa/api/pf_fsfirst.c: .text start:0x8160E438 end:0x8160E4AC -libs/RVL_SDK/src/fa/pf_fsnext.c: +libs/RVL_SDK/src/fa/api/pf_fsnext.c: .text start:0x8160E4AC end:0x8160E4D0 -libs/RVL_SDK/src/fa/pf_fstat.c: +libs/RVL_SDK/src/fa/api/pf_fstat.c: .text start:0x8160E4D0 end:0x8160E530 -libs/RVL_SDK/src/fa/pf_fsync.c: +libs/RVL_SDK/src/fa/api/pf_fsync.c: .text start:0x8160E530 end:0x8160E554 -libs/RVL_SDK/src/fa/pf_fwrite.c: +libs/RVL_SDK/src/fa/api/pf_fwrite.c: .text start:0x8160E554 end:0x8160E57C -libs/RVL_SDK/src/fa/pf_getdev.c: +libs/RVL_SDK/src/fa/api/pf_getdev.c: .text start:0x8160E57C end:0x8160E5A4 -libs/RVL_SDK/src/fa/pf_getvol.c: +libs/RVL_SDK/src/fa/api/pf_getvol.c: .text start:0x8160E5A4 end:0x8160E5CC -libs/RVL_SDK/src/fa/pf_getvolcfg.c: +libs/RVL_SDK/src/fa/api/pf_getvolcfg.c: .text start:0x8160E5CC end:0x8160E5F4 -libs/RVL_SDK/src/fa/pf_init_prfile2.c: +libs/RVL_SDK/src/fa/api/pf_init_prfile2.c: .text start:0x8160E5F4 end:0x8160E634 -libs/RVL_SDK/src/fa/pf_insert.c: +libs/RVL_SDK/src/fa/api/pf_insert.c: .text start:0x8160E634 end:0x8160E6FC -libs/RVL_SDK/src/fa/pf_iswriteprotected.c: +libs/RVL_SDK/src/fa/api/pf_iswriteprotected.c: .text start:0x8160E6FC end:0x8160E740 -libs/RVL_SDK/src/fa/pf_mkdir.c: +libs/RVL_SDK/src/fa/api/pf_mkdir.c: .text start:0x8160E740 end:0x8160E790 -libs/RVL_SDK/src/fa/pf_mount.c: +libs/RVL_SDK/src/fa/api/pf_mount.c: .text start:0x8160E790 end:0x8160E7B8 -libs/RVL_SDK/src/fa/pf_move.c: +libs/RVL_SDK/src/fa/api/pf_move.c: .text start:0x8160E7B8 end:0x8160E834 -libs/RVL_SDK/src/fa/pf_opendir.c: +libs/RVL_SDK/src/fa/api/pf_opendir.c: .text start:0x8160E834 end:0x8160E88C -libs/RVL_SDK/src/fa/pf_readdir.c: +libs/RVL_SDK/src/fa/api/pf_readdir.c: .text start:0x8160E88C end:0x8160E8B0 -libs/RVL_SDK/src/fa/pf_regctx.c: +libs/RVL_SDK/src/fa/api/pf_regctx.c: .text start:0x8160E8B0 end:0x8160E8D4 -libs/RVL_SDK/src/fa/pf_remove.c: +libs/RVL_SDK/src/fa/api/pf_remove.c: .text start:0x8160E8D4 end:0x8160E924 -libs/RVL_SDK/src/fa/pf_rename.c: +libs/RVL_SDK/src/fa/api/pf_rename.c: .text start:0x8160E924 end:0x8160E9A0 -libs/RVL_SDK/src/fa/pf_rewinddir.c: +libs/RVL_SDK/src/fa/api/pf_rewinddir.c: .text start:0x8160E9A0 end:0x8160E9C8 -libs/RVL_SDK/src/fa/pf_rmdir.c: +libs/RVL_SDK/src/fa/api/pf_rmdir.c: .text start:0x8160E9C8 end:0x8160EA18 -libs/RVL_SDK/src/fa/pf_rmvvol.c: +libs/RVL_SDK/src/fa/api/pf_rmvvol.c: .text start:0x8160EA18 end:0x8160EA40 -libs/RVL_SDK/src/fa/pf_seekdir.c: +libs/RVL_SDK/src/fa/api/pf_seekdir.c: .text start:0x8160EA40 end:0x8160EA64 -libs/RVL_SDK/src/fa/pf_setclstlink.c: +libs/RVL_SDK/src/fa/api/pf_setclstlink.c: .text start:0x8160EA64 end:0x8160EA8C -libs/RVL_SDK/src/fa/pf_setcode.c: +libs/RVL_SDK/src/fa/api/pf_setcode.c: .text start:0x8160EA8C end:0x8160EAB0 -libs/RVL_SDK/src/fa/pf_setencode.c: +libs/RVL_SDK/src/fa/api/pf_setencode.c: .text start:0x8160EAB0 end:0x8160EAD4 -libs/RVL_SDK/src/fa/pf_settailbuf.c: +libs/RVL_SDK/src/fa/api/pf_settailbuf.c: .text start:0x8160EAD4 end:0x8160EAFC -libs/RVL_SDK/src/fa/pf_setupfsi.c: +libs/RVL_SDK/src/fa/api/pf_setupfsi.c: .text start:0x8160EAFC end:0x8160EB28 -libs/RVL_SDK/src/fa/pf_setvol.c: +libs/RVL_SDK/src/fa/api/pf_setvol.c: .text start:0x8160EB28 end:0x8160EB84 -libs/RVL_SDK/src/fa/pf_setvolcfg.c: +libs/RVL_SDK/src/fa/api/pf_setvolcfg.c: .text start:0x8160EB84 end:0x8160EBAC -libs/RVL_SDK/src/fa/pf_sync.c: +libs/RVL_SDK/src/fa/api/pf_sync.c: .text start:0x8160EBAC end:0x8160EBD4 -libs/RVL_SDK/src/fa/pf_telldir.c: +libs/RVL_SDK/src/fa/api/pf_telldir.c: .text start:0x8160EBD4 end:0x8160EBF8 -libs/RVL_SDK/src/fa/pf_unmount.c: +libs/RVL_SDK/src/fa/api/pf_unmount.c: .text start:0x8160EBF8 end:0x8160EC20 -libs/RVL_SDK/src/fa/pf_unregctx.c: +libs/RVL_SDK/src/fa/api/pf_unregctx.c: .text start:0x8160EC20 end:0x8160EC44 -libs/RVL_SDK/src/fa/pf_xdivide.c: +libs/RVL_SDK/src/fa/api/pf_xdivide.c: .text start:0x8160EC44 end:0x8160ECD4 -libs/RVL_SDK/src/fa/pf_w_api_util.c: +libs/RVL_SDK/src/fa/api/pf_w_api_util.c: .text start:0x8160ECD4 end:0x8160EDA4 -libs/RVL_SDK/src/fa/pf_w_cdelete.c: +libs/RVL_SDK/src/fa/api/pf_w_cdelete.c: .text start:0x8160EDA4 end:0x8160EE20 -libs/RVL_SDK/src/fa/pf_w_chdir.c: +libs/RVL_SDK/src/fa/api/pf_w_chdir.c: .text start:0x8160EE20 end:0x8160EE70 -libs/RVL_SDK/src/fa/pf_w_chdmod.c: +libs/RVL_SDK/src/fa/api/pf_w_chdmod.c: .text start:0x8160EE70 end:0x8160EED0 -libs/RVL_SDK/src/fa/pf_w_chmod.c: +libs/RVL_SDK/src/fa/api/pf_w_chmod.c: .text start:0x8160EED0 end:0x8160EF30 -libs/RVL_SDK/src/fa/pf_w_cinsert.c: +libs/RVL_SDK/src/fa/api/pf_w_cinsert.c: .text start:0x8160EF30 end:0x8160EFAC -libs/RVL_SDK/src/fa/pf_w_combine.c: +libs/RVL_SDK/src/fa/api/pf_w_combine.c: .text start:0x8160EFAC end:0x8160F028 -libs/RVL_SDK/src/fa/pf_w_create.c: +libs/RVL_SDK/src/fa/api/pf_w_create.c: .text start:0x8160F028 end:0x8160F084 -libs/RVL_SDK/src/fa/pf_w_createdir.c: +libs/RVL_SDK/src/fa/api/pf_w_createdir.c: .text start:0x8160F084 end:0x8160F0F8 -libs/RVL_SDK/src/fa/pf_w_cut.c: +libs/RVL_SDK/src/fa/api/pf_w_cut.c: .text start:0x8160F0F8 end:0x8160F180 -libs/RVL_SDK/src/fa/pf_w_divide.c: +libs/RVL_SDK/src/fa/api/pf_w_divide.c: .text start:0x8160F180 end:0x8160F210 -libs/RVL_SDK/src/fa/pf_w_fconcat.c: +libs/RVL_SDK/src/fa/api/pf_w_fconcat.c: .text start:0x8160F210 end:0x8160F28C -libs/RVL_SDK/src/fa/pf_w_fopen.c: +libs/RVL_SDK/src/fa/api/pf_w_fopen.c: .text start:0x8160F28C end:0x8160F328 -libs/RVL_SDK/src/fa/pf_w_fsexec.c: +libs/RVL_SDK/src/fa/api/pf_w_fsexec.c: .text start:0x8160F328 end:0x8160F34C -libs/RVL_SDK/src/fa/pf_w_fsfirst.c: +libs/RVL_SDK/src/fa/api/pf_w_fsfirst.c: .text start:0x8160F34C end:0x8160F3C0 -libs/RVL_SDK/src/fa/pf_w_fsnext.c: +libs/RVL_SDK/src/fa/api/pf_w_fsnext.c: .text start:0x8160F3C0 end:0x8160F3E4 -libs/RVL_SDK/src/fa/pf_w_fstat.c: +libs/RVL_SDK/src/fa/api/pf_w_fstat.c: .text start:0x8160F3E4 end:0x8160F444 -libs/RVL_SDK/src/fa/pf_w_insert.c: +libs/RVL_SDK/src/fa/api/pf_w_insert.c: .text start:0x8160F444 end:0x8160F50C -libs/RVL_SDK/src/fa/pf_w_mkdir.c: +libs/RVL_SDK/src/fa/api/pf_w_mkdir.c: .text start:0x8160F50C end:0x8160F55C -libs/RVL_SDK/src/fa/pf_w_move.c: +libs/RVL_SDK/src/fa/api/pf_w_move.c: .text start:0x8160F55C end:0x8160F5D8 -libs/RVL_SDK/src/fa/pf_w_opendir.c: +libs/RVL_SDK/src/fa/api/pf_w_opendir.c: .text start:0x8160F5D8 end:0x8160F630 -libs/RVL_SDK/src/fa/pf_w_remove.c: +libs/RVL_SDK/src/fa/api/pf_w_remove.c: .text start:0x8160F630 end:0x8160F680 -libs/RVL_SDK/src/fa/pf_w_rename.c: +libs/RVL_SDK/src/fa/api/pf_w_rename.c: .text start:0x8160F680 end:0x8160F6FC -libs/RVL_SDK/src/fa/pf_w_rmdir.c: +libs/RVL_SDK/src/fa/api/pf_w_rmdir.c: .text start:0x8160F6FC end:0x8160F74C -libs/RVL_SDK/src/fa/pf_w_xdivide.c: +libs/RVL_SDK/src/fa/api/pf_w_xdivide.c: .text start:0x8160F74C end:0x8160F7DC -libs/RVL_SDK/src/fa/pf_filelock.c: +libs/RVL_SDK/src/fa/api/pf_filelock.c: .text start:0x8160F7DC end:0x8160F940 -libs/RVL_SDK/src/fa/pf_stub.c: +libs/RVL_SDK/src/fa/api/pf_stub.c: .text start:0x8160F940 end:0x8160FD28 -libs/RVL_SDK/src/fa/pf_system.c: +libs/RVL_SDK/src/fa/api/pf_system.c: .bss start:0x811BB620 end:0x811BD9C0 .text start:0x8160FD28 end:0x8160FDC0 -libs/RVL_SDK/src/fa/pf_stub_standard.c: +libs/RVL_SDK/src/fa/api/pf_stub_standard.c: .text start:0x8160FDC0 end:0x81610344 .data start:0x816C0840 end:0x816C0988 -libs/RVL_SDK/src/fa/pfs_attach.c: +libs/RVL_SDK/src/fa/api/pfs_attach.c: .text start:0x81610344 end:0x81610394 -libs/RVL_SDK/src/fa/pfs_buffering.c: +libs/RVL_SDK/src/fa/api/pfs_buffering.c: .text start:0x81610394 end:0x816103E4 -libs/RVL_SDK/src/fa/pfs_create.c: +libs/RVL_SDK/src/fa/api/pfs_create.c: .text start:0x816103E4 end:0x81610430 -libs/RVL_SDK/src/fa/pfs_createdir.c: +libs/RVL_SDK/src/fa/api/pfs_createdir.c: .text start:0x81610430 end:0x81610484 -libs/RVL_SDK/src/fa/pfs_detach.c: +libs/RVL_SDK/src/fa/api/pfs_detach.c: .text start:0x81610484 end:0x816104D0 -libs/RVL_SDK/src/fa/pfs_errnum.c: +libs/RVL_SDK/src/fa/api/pfs_errnum.c: .text start:0x816104D0 end:0x81610518 -libs/RVL_SDK/src/fa/pfs_fclose.c: +libs/RVL_SDK/src/fa/api/pfs_fclose.c: .text start:0x81610518 end:0x81610564 -libs/RVL_SDK/src/fa/pfs_finfot.c: +libs/RVL_SDK/src/fa/api/pfs_finfot.c: .text start:0x81610564 end:0x816105B4 -libs/RVL_SDK/src/fa/pfs_fopen.c: +libs/RVL_SDK/src/fa/api/pfs_fopen.c: .text start:0x816105B4 end:0x81610604 -libs/RVL_SDK/src/fa/pfs_format.c: +libs/RVL_SDK/src/fa/api/pfs_format.c: .text start:0x81610604 end:0x81610654 -libs/RVL_SDK/src/fa/pfs_fread.c: +libs/RVL_SDK/src/fa/api/pfs_fread.c: .text start:0x81610654 end:0x816106AC -libs/RVL_SDK/src/fa/pfs_fseek.c: +libs/RVL_SDK/src/fa/api/pfs_fseek.c: .text start:0x816106AC end:0x81610700 -libs/RVL_SDK/src/fa/pfs_fsfirst.c: +libs/RVL_SDK/src/fa/api/pfs_fsfirst.c: .text start:0x81610700 end:0x81610754 -libs/RVL_SDK/src/fa/pfs_fsnext.c: +libs/RVL_SDK/src/fa/api/pfs_fsnext.c: .text start:0x81610754 end:0x816107A0 -libs/RVL_SDK/src/fa/pfs_fstat.c: +libs/RVL_SDK/src/fa/api/pfs_fstat.c: .text start:0x816107A0 end:0x816107F0 -libs/RVL_SDK/src/fa/pfs_fwrite.c: +libs/RVL_SDK/src/fa/api/pfs_fwrite.c: .text start:0x816107F0 end:0x81610848 -libs/RVL_SDK/src/fa/pfs_getdev.c: +libs/RVL_SDK/src/fa/api/pfs_getdev.c: .text start:0x81610848 end:0x81610898 -libs/RVL_SDK/src/fa/pfs_init_prfile2.c: +libs/RVL_SDK/src/fa/api/pfs_init_prfile2.c: .text start:0x81610898 end:0x8161089C -libs/RVL_SDK/src/fa/pfs_mount.c: +libs/RVL_SDK/src/fa/api/pfs_mount.c: .text start:0x8161089C end:0x816108E8 -libs/RVL_SDK/src/fa/pfs_remove.c: +libs/RVL_SDK/src/fa/api/pfs_remove.c: .text start:0x816108E8 end:0x81610934 -libs/RVL_SDK/src/fa/pfs_unmount.c: +libs/RVL_SDK/src/fa/api/pfs_unmount.c: .text start:0x81610934 end:0x81610984 -libs/RVL_SDK/src/fa/pf_stub_unicode.c: +libs/RVL_SDK/src/fa/api/pf_stub_unicode.c: .text start:0x81610984 end:0x81610BC4 .data start:0x816C0988 end:0x816C09E8 @@ -3950,39 +3993,39 @@ libs/RVL_SDK/src/fa/FASetThreadPriority.c: libs/RVL_SDK/src/fa/FAUnmount.c: .text start:0x8161137C end:0x816113CC -libs/RVL_SDK/src/fa/pfk_api.c: +libs/RVL_SDK/src/fa/kernel/pfk_api.c: .text start:0x816113CC end:0x81611834 .data start:0x816C0A48 end:0x816C0D18 -libs/RVL_SDK/src/fa/nand_drv.c: +libs/RVL_SDK/src/fa/driver/nand_drv.c: .bss start:0x811BDAA8 end:0x811BF0A0 .text start:0x81611834 end:0x8161335C .rodata start:0x81662C00 end:0x81662C20 .sdata start:0x816C7AB0 end:0x816C7AB8 .sbss start:0x816C8DC0 end:0x816C8DE0 -libs/RVL_SDK/src/fa/sd_drv.c: +libs/RVL_SDK/src/fa/driver/sd_drv.c: .bss start:0x811BF0A0 end:0x811BF300 .text start:0x8161335C end:0x8161614C .rodata start:0x81662C20 end:0x81662D90 .data start:0x816C0D18 end:0x816C1728 .sbss start:0x816C8DE0 end:0x816C8E08 -libs/RVL_SDK/src/fa/pfd_cmn.c: +libs/RVL_SDK/src/fa/driver/pfd_cmn.c: .text start:0x8161614C end:0x81616264 -libs/RVL_SDK/src/fa/msc_drv.c: +libs/RVL_SDK/src/fa/driver/msc_drv.c: .text start:0x81616264 end:0x81616278 .sbss start:0x816C8E08 end:0x816C8E10 -libs/RVL_SDK/src/fa/puh_msc.c: +libs/RVL_SDK/src/fa/msc/puh_msc.c: .text start:0x81616278 end:0x81616530 .sbss start:0x816C8E10 end:0x816C8E20 -libs/RVL_SDK/src/fa/puh_msc_cmd.c: +libs/RVL_SDK/src/fa/msc/puh_msc_cmd.c: .text start:0x81616530 end:0x8161690C -libs/RVL_SDK/src/fa/puh_msc_blk.c: +libs/RVL_SDK/src/fa/msc/puh_msc_blk.c: .bss start:0x811BF300 end:0x811BF480 .text start:0x8161690C end:0x81617124 .data start:0x816C1728 end:0x816C1748 @@ -4011,24 +4054,24 @@ libs/RVL_SDK/src/nup/nup_mem.cpp: .text start:0x8161BC88 end:0x8161BD90 .sbss start:0x816C8E50 end:0x816C8E58 -libs/RVL_SDK/src/scutil/scutil.c: +libs/RVL_SDK/src/scutil/idToIsoA2.c: .text start:0x8161BD90 end:0x8161BDE8 .data start:0x816C1E48 end:0x816C2110 .sdata start:0x816C7AF8 end:0x816C7CC8 -libs/RVL_SDK/src/usbutil/uh_ker_mem.c: +libs/RVL_SDK/src/usbcmn/puh_ker_mem.c: .text start:0x8161BDE8 end:0x8161BE4C -libs/RVL_SDK/src/usbutil/uh_ker_msg.c: +libs/RVL_SDK/src/usbcmn/puh_ker_msg.c: .bss start:0x811BF500 end:0x811BF518 .text start:0x8161BE4C end:0x8161BED0 -libs/RVL_SDK/src/usbutil/uh_ker_sem.c: +libs/RVL_SDK/src/usbcmn/puh_ker_sem.c: .bss start:0x811BF518 end:0x811BF650 .text start:0x8161BED0 end:0x8161C1D0 .sbss start:0x816C8E58 end:0x816C8E60 -libs/RVL_SDK/src/usbutil/uh_ker_tsk.c: +libs/RVL_SDK/src/usbcmn/puh_ker_tsk.c: .bss start:0x811BF650 end:0x811BFCE0 .text start:0x8161C1D0 end:0x8161C258 @@ -4404,11 +4447,8 @@ libs/MSL/src/math/e_rem_pio2.c: .rodata start:0x81664820 end:0x816649A8 .sdata2 start:0x816C54D0 end:0x816C5528 -libs/MSL/src/math/s_fmin.c: - .text start:0x81633A20 end:0x81633A8C - -libs/MSL/src/math/s_fmax.c: - .text start:0x81633A8C end:0x81633AF8 +libs/MSL/src/math/fminmaxdim.c: + .text start:0x81633A20 end:0x81633AF8 libs/MSL/src/math/k_cos.c: .text start:0x81633AF8 end:0x81633C08 diff --git a/config/43J/symbols.txt b/config/43J/symbols.txt index d40cc32a..a350ca5e 100644 --- a/config/43J/symbols.txt +++ b/config/43J/symbols.txt @@ -201,23 +201,27 @@ sException__Q24nw4r2db = .bss:0x81120A80; // type:object size:0x360 scope:local sThreadBuffer__Q24nw4r2db = .bss:0x81120DE0; // type:object size:0x4000 scope:local texCoords$7499 = .bss:0x81124DE0; // type:object size:0x20 scope:local align:4 data:float __OSRebootParams = .bss:0x81124E00; // type:object size:0x1C data:4byte -DriveBlock = .bss:0x81124E20; // type:object size:0x30 scope:local -__OSErrorTable = .bss:0x81124E70; // type:object size:0x50 data:4byte +...bss.0 = .bss:0x81124E00; // type:label scope:local +DriveInfo = .bss:0x81124E20; // type:object size:0x20 scope:local +DriveBlock = .bss:0x81124E40; // type:object size:0x30 scope:local +__OSErrorTable = .bss:0x81124E70; // type:object size:0x44 data:4byte Scb = .bss:0x81124EC0; // type:object size:0x54 scope:local data:2byte DefaultThread = .bss:0x81124F18; // type:object size:0x318 scope:local data:4byte +...bss.0 = .bss:0x81124F18; // type:label scope:local RunQueue = .bss:0x81125230; // type:object size:0x100 scope:local data:4byte IdleContext = .bss:0x81125330; // type:object size:0x2C8 scope:local IdleThread = .bss:0x811255F8; // type:object size:0x318 scope:local -StmEhInBuf = .bss:0x81125920; // type:object size:0x20 scope:local -StmEhOutBuf = .bss:0x81125940; // type:object size:0x20 scope:local data:4byte -StmImInBuf = .bss:0x81125960; // type:object size:0x20 scope:local data:4byte -StmImOutBuf = .bss:0x81125980; // type:object size:0x20 scope:local -StmVdInBuf = .bss:0x811259A0; // type:object size:0x20 scope:local data:4byte -StmVdOutBuf = .bss:0x811259C0; // type:object size:0x20 scope:local +StmEhInBuf = .bss:0x81125920; // type:object size:0x20 scope:global +StmEhOutBuf = .bss:0x81125940; // type:object size:0x20 scope:global data:4byte +StmImInBuf = .bss:0x81125960; // type:object size:0x20 scope:global data:4byte +StmImOutBuf = .bss:0x81125980; // type:object size:0x20 scope:global +StmVdInBuf = .bss:0x811259A0; // type:object size:0x20 scope:global data:4byte +StmVdOutBuf = .bss:0x811259C0; // type:object size:0x20 scope:global PlayRecord = .bss:0x811259E0; // type:object size:0x80 scope:local data:4byte +...bss.0 = .bss:0x811259E0; // type:label scope:local PlayRecordAlarm = .bss:0x81125A60; // type:object size:0x30 scope:local data:4byte FileInfo = .bss:0x81125A90; // type:object size:0x8C scope:local data:4byte -Block = .bss:0x81125B1C; // type:object size:0xC4 scope:local data:4byte +Block = .bss:0x81125B1C; // type:object size:0xBC scope:local data:4byte StateFlags = .bss:0x81125BE0; // type:object size:0x20 scope:local data:4byte __OSExpireAlarm = .bss:0x81125C00; // type:object size:0x30 data:4byte Ecb = .bss:0x81125C30; // type:object size:0xC0 scope:local data:4byte @@ -366,10 +370,10 @@ g_pfd_sddrv_buf = .bss:0x811BF100; // type:object size:0x200 uhg_msc_blk_device_tbl = .bss:0x811BF300; // type:object size:0x180 data:4byte __reqMutex = .bss:0x811BF480; // type:object size:0x18 __sdPaths = .bss:0x811BF4A0; // type:object size:0x60 -uh_ker_msg_mng = .bss:0x811BF500; // type:object size:0x14 -uh_ker_sem_mng = .bss:0x811BF518; // type:object size:0xA8 data:4byte -uh_func_ker_sem = .bss:0x811BF5C0; // type:object size:0x90 -uh_ker_tsk_mng = .bss:0x811BF650; // type:object size:0x688 +st_uhs_ker_msg_mng = .bss:0x811BF500; // type:object size:0x14 +st_uhs_ker_sem_mng = .bss:0x811BF518; // type:object size:0xA8 data:4byte +st_uhf_ker_sem = .bss:0x811BF5C0; // type:object size:0x90 +st_uhs_ker_tsk_mng = .bss:0x811BF650; // type:object size:0x688 kbdKeyMaps = .bss:0x811BFCE0; // type:object size:0x400 kbdCmdBuf = .bss:0x811C00E0; // type:object size:0x180 kbdData = .bss:0x811C0260; // type:object size:0x9A0 @@ -379,7 +383,7 @@ _CNTCACHEMutex = .bss:0x811C0C80; // type:object size:0x18 sHeapList__Q23EGG4Heap = .bss:0x811C0C98; // type:object size:0xC sRootMutex__Q23EGG4Heap = .bss:0x811C0CA4; // type:object size:0x18 sThreadList__Q23EGG6Thread = .bss:0x811C0CC0; // type:object size:0x10 -fragmentinfo = .bss:0x811C0CD0; // type:object size:0xC scope:local data:4byte +fragmentInfo = .bss:0x811C0CD0; // type:object size:0xC scope:local data:4byte protopool$343 = .bss:0x811C0CE0; // type:object size:0x38 data:4byte stderr_buff = .bss:0x811C0D18; // type:object size:0x100 stdout_buff = .bss:0x811C0E18; // type:object size:0x100 @@ -389,12 +393,12 @@ extracted_name$392 = .bss:0x811C1038; // type:object size:0x20 asctime_result$536 = .bss:0x811C1058; // type:object size:0x1A gmtime_tm$597 = .bss:0x811C1074; // type:object size:0x24 localtime_tm$618 = .bss:0x811C1098; // type:object size:0x24 data:4byte -IsTRKConnected = .bss:0x811C10C0; // type:object size:0x4 data:4byte -TRK_Use_BBA = .bss:0x811C10C8; // type:object size:0x4 data:byte -bUseSerialIO = .bss:0x811C10D0; // type:object size:0x1 data:byte +IsTRKConnected = .bss:0x811C10C0; // type:object size:0x4 scope:local data:4byte +TRK_Use_BBA = .bss:0x811C10C8; // type:object size:0x1 data:byte +bUseSerialIO = .bss:0x811C10D0; // type:object size:0x1 scope:local data:byte __start = .init:0x81330000; // type:function size:0xA8 scope:weak -__init_registers = .init:0x813300A8; // type:function size:0x90 scope:local -__init_data = .init:0x81330138; // type:function size:0xA0 scope:local +__init_registers = .init:0x813300A8; // type:function size:0x90 scope:global +__init_data = .init:0x81330138; // type:function size:0xA0 scope:global __init_hardware = .init:0x813301D8; // type:function size:0x24 __flush_cache = .init:0x813301FC; // type:function size:0x34 memcpy = .init:0x81330230; // type:function size:0x50 @@ -559,10 +563,10 @@ _bss_init_info = .init:0x813303E8; // type:object size:0x20 scope:global data:4b @etb_813308F0 = extab:0x813308F0; // type:object size:0x8 scope:local hidden @etb_813308F8 = extab:0x813308F8; // type:object size:0x8 scope:local hidden @etb_81330900 = extab:0x81330900; // type:object size:0x8 scope:local hidden -@etb_81330908 = extab:0x81330908; // type:object size:0x18 scope:local hidden -@etb_81330920 = extab:0x81330920; // type:object size:0x8 scope:local hidden -@etb_81330928 = extab:0x81330928; // type:object size:0x18 scope:local hidden -@etb_81330940 = extab:0x81330940; // type:object size:0x8 scope:local hidden +@86 = extab:0x81330908; // type:object size:0x18 scope:local hidden +@97 = extab:0x81330920; // type:object size:0x8 scope:local hidden +@128 = extab:0x81330928; // type:object size:0x18 scope:local hidden +@146 = extab:0x81330940; // type:object size:0x8 scope:local hidden @etb_81330948 = extab:0x81330948; // type:object size:0x8 scope:local hidden @etb_81330950 = extab:0x81330950; // type:object size:0x8 scope:local hidden @etb_81330958 = extab:0x81330958; // type:object size:0x8 scope:local hidden @@ -806,10 +810,10 @@ _bss_init_info = .init:0x813303E8; // type:object size:0x20 scope:global data:4b @eti_81331338 = extabindex:0x81331338; // type:object size:0xC scope:local hidden @eti_81331344 = extabindex:0x81331344; // type:object size:0xC scope:local hidden @eti_81331350 = extabindex:0x81331350; // type:object size:0xC scope:local hidden -@eti_8133135C = extabindex:0x8133135C; // type:object size:0xC scope:local hidden -@eti_81331368 = extabindex:0x81331368; // type:object size:0xC scope:local hidden -@eti_81331374 = extabindex:0x81331374; // type:object size:0xC scope:local hidden -@eti_81331380 = extabindex:0x81331380; // type:object size:0xC scope:local hidden +@87 = extabindex:0x8133135C; // type:object size:0xC scope:local hidden +@98 = extabindex:0x81331368; // type:object size:0xC scope:local hidden +@129 = extabindex:0x81331374; // type:object size:0xC scope:local hidden +@147 = extabindex:0x81331380; // type:object size:0xC scope:local hidden @eti_8133138C = extabindex:0x8133138C; // type:object size:0xC scope:local hidden @eti_81331398 = extabindex:0x81331398; // type:object size:0xC scope:local hidden @eti_813313A4 = extabindex:0x813313A4; // type:object size:0xC scope:local hidden @@ -1381,21 +1385,21 @@ calc__Q23ipl11PointerCoreFPQ23ipl7Pointer = .text:0x81343C30; // type:function s draw__Q23ipl11PointerCoreFv = .text:0x81343C94; // type:function size:0x54 changeType__Q23ipl11PointerCoreFii = .text:0x81343CE8; // type:function size:0x10 __ct__Q23ipl12DialogWindowFPQ23EGG4Heap = .text:0x81343CF8; // type:function size:0x858 -__ct__Q33ipl3gui11PaneManagerFPQ23gui12EventHandlerPCQ34nw4r3lyt8DrawInfoPQ23EGG4HeapPQ23EGG9Allocatorb = .text:0x81344550; // type:function size:0xB0 -__dt__Q23gui9InterfaceFv = .text:0x81344600; // type:function size:0x40 -setManager__Q23gui12EventHandlerFPQ23gui7Manager = .text:0x81344640; // type:function size:0x8 +__ct__Q33ipl3gui11PaneManagerFPQ23gui12EventHandlerPCQ34nw4r3lyt8DrawInfoPQ23EGG4HeapPQ23EGG9Allocatorb = .text:0x81344550; // type:function size:0xB0 scope:weak +__dt__Q23gui9InterfaceFv = .text:0x81344600; // type:function size:0x40 scope:weak +setManager__Q23gui12EventHandlerFPQ23gui7Manager = .text:0x81344640; // type:function size:0x8 scope:weak init__Q23ipl12DialogWindowFv = .text:0x81344648; // type:function size:0x104 calc__Q23ipl12DialogWindowFv = .text:0x8134474C; // type:function size:0xA8 stt_fadein__Q23ipl12DialogWindowFv = .text:0x813447F4; // type:function size:0x50 stt_normal__Q23ipl12DialogWindowFv = .text:0x81344844; // type:function size:0x200 stt_select__Q23ipl12DialogWindowFv = .text:0x81344A44; // type:function size:0xF4 stt_fadeout__Q23ipl12DialogWindowFv = .text:0x81344B38; // type:function size:0x94 -setEventHandler__Q23gui7ManagerFPQ23gui12EventHandler = .text:0x81344BCC; // type:function size:0x2C +setEventHandler__Q23gui7ManagerFPQ23gui12EventHandler = .text:0x81344BCC; // type:function size:0x2C scope:weak set_alpha__Q23ipl12DialogWindowFPQ34nw4r3lyt4PaneUc = .text:0x81344BF8; // type:function size:0x60 stt_prepare_pagefade__Q23ipl12DialogWindowFv = .text:0x81344C58; // type:function size:0x108 -stt_pagefade__Q23ipl12DialogWindowFv = .text:0x81344D60; // type:function size:0x5E4 scope:local -DynamicCast__Q24nw4r2utFPQ34nw4r3lyt4Pane_PQ34nw4r3lyt7TextBox = .text:0x81345344; // type:function size:0x7C -GetRuntimeTypeInfo__Q34nw4r3lyt4PaneCFv = .text:0x813453C0; // type:function size:0x8 +stt_pagefade__Q23ipl12DialogWindowFv = .text:0x81344D60; // type:function size:0x5E4 scope:global +DynamicCast__Q24nw4r2utFPQ34nw4r3lyt4Pane_PQ34nw4r3lyt7TextBox = .text:0x81345344; // type:function size:0x7C scope:weak +GetRuntimeTypeInfo__Q34nw4r3lyt4PaneCFv = .text:0x813453C0; // type:function size:0x8 scope:weak draw__Q23ipl12DialogWindowFv = .text:0x813453C8; // type:function size:0x108 set_text__Q23ipl12DialogWindowFPCcPCw = .text:0x813454D0; // type:function size:0x64 set_message__Q23ipl12DialogWindowFUl = .text:0x81345534; // type:function size:0x5C @@ -1418,7 +1422,7 @@ __ct__Q34nw4r3lyt4SizeFff = .text:0x81345EE4; // type:function size:0xC scope:we callBtn1__Q23ipl12DialogWindowFUlUlf = .text:0x81345EF0; // type:function size:0xC4 callBtn2__Q23ipl12DialogWindowFUlUlUlb = .text:0x81345FB4; // type:function size:0x98 callBtn2NoShade__Q23ipl12DialogWindowFPCwUlUlb = .text:0x8134604C; // type:function size:0xA8 -callBtn2__Q23ipl12DialogWindowFPQ33ipl12DialogWindow4Pageii = .text:0x813460F4; // type:function size:0x174 +callBtn2Multi__Q23ipl12DialogWindowFPQ33ipl12DialogWindow4Pageii = .text:0x813460F4; // type:function size:0x174 callBtn2__Q23ipl12DialogWindowFPCwUlUlb = .text:0x81346268; // type:function size:0xA0 callBtn3__Q23ipl12DialogWindowFUlUlUlUl = .text:0x81346308; // type:function size:0xA0 callSBtn2__Q23ipl12DialogWindowFUlUlUlb = .text:0x813463A8; // type:function size:0xC4 @@ -1430,23 +1434,23 @@ start_left_event__Q23ipl12DialogWindowFPCc = .text:0x813468D8; // type:function start_trig_event__Q23ipl12DialogWindowFPCc = .text:0x81346A1C; // type:function size:0x264 get_button_no__Q23ipl12DialogWindowFPCc = .text:0x81346C80; // type:function size:0x78 onEvent__Q23ipl12DialogWindowFUlUlPv = .text:0x81346CF8; // type:function size:0xE4 -getPane__Q23gui13PaneComponentFv = .text:0x81346DDC; // type:function size:0x8 +getPane__Q23gui13PaneComponentFv = .text:0x81346DDC; // type:function size:0x8 scope:weak terminate__Q23ipl12DialogWindowFv = .text:0x81346DE4; // type:function size:0x24 -draw__Q23gui9InterfaceFRA3_A4_f = .text:0x81346E08; // type:function size:0x4 -create__Q23gui9InterfaceFv = .text:0x81346E0C; // type:function size:0x4 -changeEventHandler__Q23gui7ManagerFPQ23gui12EventHandler = .text:0x81346E10; // type:function size:0x54 -onEvent__Q23gui7ManagerFUlUliPv = .text:0x81346E64; // type:function size:0x80 -setLatestEventCtrlNo__Q23gui12EventHandlerFi = .text:0x81346EE4; // type:function size:0x8 -onEvent__Q23gui12EventHandlerFUlUlPv = .text:0x81346EEC; // type:function size:0x4 -update__Q23gui7ManagerFiPC10KPADStatusffPv = .text:0x81346EF0; // type:function size:0x8 -setDrawInfo__Q23gui11PaneManagerFPCQ34nw4r3lyt8DrawInfo = .text:0x81346EF8; // type:function size:0x8 -getDrawInfo__Q23gui11PaneManagerFv = .text:0x81346F00; // type:function size:0x8 -__dt__Q33ipl3gui11PaneManagerFv = .text:0x81346F08; // type:function size:0x58 -getLatestEventCtrlNo__Q23gui12EventHandlerFv = .text:0x81346F60; // type:function size:0x8 -draw__Q23gui9InterfaceFv = .text:0x81346F68; // type:function size:0x4 -calc__Q23gui9InterfaceFv = .text:0x81346F6C; // type:function size:0x4 -init__Q23gui9InterfaceFv = .text:0x81346F70; // type:function size:0x4 -__sinit_\iplDialogWindow_cpp = .text:0x81346F74; // type:function size:0x3C scope:weak +draw__Q23gui9InterfaceFRA3_A4_f = .text:0x81346E08; // type:function size:0x4 scope:weak +create__Q23gui9InterfaceFv = .text:0x81346E0C; // type:function size:0x4 scope:weak +changeEventHandler__Q23gui7ManagerFPQ23gui12EventHandler = .text:0x81346E10; // type:function size:0x54 scope:weak +onEvent__Q23gui7ManagerFUlUliPv = .text:0x81346E64; // type:function size:0x80 scope:weak +setLatestEventCtrlNo__Q23gui12EventHandlerFi = .text:0x81346EE4; // type:function size:0x8 scope:weak +onEvent__Q23gui12EventHandlerFUlUlPv = .text:0x81346EEC; // type:function size:0x4 scope:weak +update__Q23gui7ManagerFiPC10KPADStatusffPv = .text:0x81346EF0; // type:function size:0x8 scope:weak +setDrawInfo__Q23gui11PaneManagerFPCQ34nw4r3lyt8DrawInfo = .text:0x81346EF8; // type:function size:0x8 scope:weak +getDrawInfo__Q23gui11PaneManagerFv = .text:0x81346F00; // type:function size:0x8 scope:weak +__dt__Q33ipl3gui11PaneManagerFv = .text:0x81346F08; // type:function size:0x58 scope:weak +getLatestEventCtrlNo__Q23gui12EventHandlerFv = .text:0x81346F60; // type:function size:0x8 scope:weak +draw__Q23gui9InterfaceFv = .text:0x81346F68; // type:function size:0x4 scope:weak +calc__Q23gui9InterfaceFv = .text:0x81346F6C; // type:function size:0x4 scope:weak +init__Q23gui9InterfaceFv = .text:0x81346F70; // type:function size:0x4 scope:weak +__sinit_\iplDialogWindow_cpp = .text:0x81346F74; // type:function size:0x3C scope:local SECallback__3iplFi = .text:0x81346FB0; // type:function size:0x9C scope:local __ct__Q23ipl14HomeButtonMenuFPQ23EGG4Heap = .text:0x8134704C; // type:function size:0x1B4 DrawBanIcon__Q23ipl14HomeButtonMenuFUc = .text:0x81347200; // type:function size:0xB4 @@ -1921,7 +1925,7 @@ NANDCheck = .text:0x8135FC50; // type:function size:0x10 __ct__Q33ipl3bs27ManagerFPQ23EGG4Heap = .text:0x8135FC60; // type:function size:0x94 __dt__Q33ipl3bs27ManagerFv = .text:0x8135FCF4; // type:function size:0x64 update__Q33ipl3bs27ManagerFv = .text:0x8135FD58; // type:function size:0x10C -isRsrcLoaded__Q23ipl6SystemFv = .text:0x8135FE64; // type:function size:0x38 +isRsrcLoaded__Q23ipl6SystemFv = .text:0x8135FE64; // type:function size:0x38 scope:weak getDiskBannerBuffer__Q33ipl3bs27ManagerFPPv = .text:0x8135FE9C; // type:function size:0x34 startUpdate__Q33ipl3bs27ManagerFv = .text:0x8135FED0; // type:function size:0x9C reserveRVLGame__Q33ipl3bs27ManagerFv = .text:0x8135FF6C; // type:function size:0xC @@ -1966,11 +1970,11 @@ __ct__Q33ipl7utility4TreeFv = .text:0x81361BC0; // type:function size:0x24 attach__Q33ipl7utility4TreeFPQ33ipl7utility4Tree = .text:0x81361BE4; // type:function size:0x3C insert__Q33ipl7utility4TreeFPQ33ipl7utility4TreePQ33ipl7utility4Tree = .text:0x81361C20; // type:function size:0x38 detach__Q33ipl7utility4TreeFv = .text:0x81361C58; // type:function size:0x4C -getPrev__Q33ipl7utility4TreeFv = .text:0x81361CA4; // type:function size:0x8 -getNext__Q33ipl7utility4TreeFv = .text:0x81361CAC; // type:function size:0x8 -getChild__Q33ipl7utility4TreeFv = .text:0x81361CB4; // type:function size:0x8 -getParent__Q33ipl7utility4TreeFv = .text:0x81361CBC; // type:function size:0x8 -__dt__Q33ipl7utility4TreeFv = .text:0x81361CC4; // type:function size:0x40 +getPrev__Q33ipl7utility4TreeFv = .text:0x81361CA4; // type:function size:0x8 scope:weak +getNext__Q33ipl7utility4TreeFv = .text:0x81361CAC; // type:function size:0x8 scope:weak +getChild__Q33ipl7utility4TreeFv = .text:0x81361CB4; // type:function size:0x8 scope:weak +getParent__Q33ipl7utility4TreeFv = .text:0x81361CBC; // type:function size:0x8 scope:weak +__dt__Q33ipl7utility4TreeFv = .text:0x81361CC4; // type:function size:0x40 scope:weak init__Q33ipl7utility15FrameControllerFifff = .text:0x81361D04; // type:function size:0x20 initFrame__Q33ipl7utility15FrameControllerFv = .text:0x81361D24; // type:function size:0x20 calc__Q33ipl7utility15FrameControllerFv = .text:0x81361D44; // type:function size:0x170 @@ -2094,49 +2098,49 @@ ReadFlags__Q33ipl7utility7CSFlagsFPQ33ipl7utility11CSFlagsData = .text:0x8136791 WriteFlags__Q33ipl7utility7CSFlagsFPQ33ipl7utility11CSFlagsData = .text:0x81367A14; // type:function size:0xF0 UpdateFlagsFile__Q33ipl7utility7CSFlagsFv = .text:0x81367B04; // type:function size:0xB8 SetEULAFlag__Q33ipl7utility7CSFlagsFPQ33ipl7utility11CSFlagsData = .text:0x81367BBC; // type:function size:0x50 -drawLine___FfffffUcR8_GXColor = .text:0x81367C0C; // type:function size:0x1C0 scope:local +drawLine___FfffffUcR8_GXColor = .text:0x81367C0C; // type:function size:0x1C0 scope:global update__Q23gui9ComponentFiffUlUlUlPv = .text:0x81367DCC; // type:function size:0x2C0 -isVisible__Q23gui9ComponentFv = .text:0x8136808C; // type:function size:0x8 -isPointed__Q23gui9ComponentFi = .text:0x81368094; // type:function size:0xC -onMove__Q23gui9ComponentFiff = .text:0x813680A0; // type:function size:0x18 -getID__Q23gui9ComponentFv = .text:0x813680B8; // type:function size:0x8 -setPointed__Q23gui9ComponentFib = .text:0x813680C0; // type:function size:0xC -onPoint__Q23gui9ComponentFi = .text:0x813680CC; // type:function size:0x14 -offPoint__Q23gui9ComponentFi = .text:0x813680E0; // type:function size:0x14 -onDrag__Q23gui9ComponentFff = .text:0x813680F4; // type:function size:0x4 +isVisible__Q23gui9ComponentFv = .text:0x8136808C; // type:function size:0x8 scope:weak +isPointed__Q23gui9ComponentFi = .text:0x81368094; // type:function size:0xC scope:weak +onMove__Q23gui9ComponentFiff = .text:0x813680A0; // type:function size:0x18 scope:weak +getID__Q23gui9ComponentFv = .text:0x813680B8; // type:function size:0x8 scope:weak +setPointed__Q23gui9ComponentFib = .text:0x813680C0; // type:function size:0xC scope:weak +onPoint__Q23gui9ComponentFi = .text:0x813680CC; // type:function size:0x14 scope:weak +offPoint__Q23gui9ComponentFi = .text:0x813680E0; // type:function size:0x14 scope:weak +onDrag__Q23gui9ComponentFff = .text:0x813680F4; // type:function size:0x4 scope:weak __dt__Q23gui7ManagerFv = .text:0x813680F8; // type:function size:0xB4 init__Q23gui7ManagerFv = .text:0x813681AC; // type:function size:0x68 -init__Q23gui9ComponentFv = .text:0x81368214; // type:function size:0x54 +init__Q23gui9ComponentFv = .text:0x81368214; // type:function size:0x54 scope:weak addComponent__Q23gui7ManagerFPQ23gui9Component = .text:0x81368268; // type:function size:0xBC -setManager__Q23gui9ComponentFPQ23gui7Manager = .text:0x81368324; // type:function size:0x8 +setManager__Q23gui9ComponentFPQ23gui7Manager = .text:0x81368324; // type:function size:0x8 scope:weak getComponent__Q23gui7ManagerFUl = .text:0x8136832C; // type:function size:0x2C update__Q23gui7ManagerFiffUlUlUlPv = .text:0x81368358; // type:function size:0x1B0 -isTriggerTarger__Q23gui9ComponentFv = .text:0x81368508; // type:function size:0x8 -onTrig__Q23gui9ComponentFiUlR3Vec = .text:0x81368510; // type:function size:0x4C +isTriggerTarger__Q23gui9ComponentFv = .text:0x81368508; // type:function size:0x8 scope:weak +onTrig__Q23gui9ComponentFiUlR3Vec = .text:0x81368510; // type:function size:0x4C scope:weak calc__Q23gui7ManagerFv = .text:0x8136855C; // type:function size:0x68 draw__Q23gui7ManagerFv = .text:0x813685C4; // type:function size:0x68 setAllComponentTriggerTarget__Q23gui7ManagerFb = .text:0x8136862C; // type:function size:0x70 -setTriggerTarget__Q23gui9ComponentFb = .text:0x8136869C; // type:function size:0x8 +setTriggerTarget__Q23gui9ComponentFb = .text:0x8136869C; // type:function size:0x8 scope:weak setDraggingButton__Q23gui7ManagerFUl = .text:0x813686A4; // type:function size:0x70 -setDraggingButton__Q23gui9ComponentFUl = .text:0x81368714; // type:function size:0x8 +setDraggingButton__Q23gui9ComponentFUl = .text:0x81368714; // type:function size:0x8 scope:weak __dt__Q23gui11PaneManagerFv = .text:0x8136871C; // type:function size:0xEC -__dt__Q23gui13PaneComponentFv = .text:0x81368808; // type:function size:0x40 +__dt__Q23gui13PaneComponentFv = .text:0x81368808; // type:function size:0x40 scope:weak __dt__Q23gui9ComponentFv = .text:0x81368848; // type:function size:0x40 createLayoutScene__Q23gui11PaneManagerFRCQ34nw4r3lyt6Layout = .text:0x81368888; // type:function size:0x20 walkInChildren__Q23gui11PaneManagerFRQ34nw4r2ut28LinkList = .text:0x813688A8; // type:function size:0x1E4 -__ct__Q23gui13PaneComponentFUl = .text:0x81368A8C; // type:function size:0x78 -setPane__Q23gui13PaneComponentFPQ34nw4r3lyt4Pane = .text:0x81368B04; // type:function size:0x8 -IsDerivedFrom__Q44nw4r2ut6detail15RuntimeTypeInfoCFPCQ44nw4r2ut6detail15RuntimeTypeInfo = .text:0x81368B0C; // type:function size:0x28 +__ct__Q23gui13PaneComponentFUl = .text:0x81368A8C; // type:function size:0x78 scope:weak +setPane__Q23gui13PaneComponentFPQ34nw4r3lyt4Pane = .text:0x81368B04; // type:function size:0x8 scope:weak +IsDerivedFrom__Q44nw4r2ut6detail15RuntimeTypeInfoCFPCQ44nw4r2ut6detail15RuntimeTypeInfo = .text:0x81368B0C; // type:function size:0x28 scope:weak getPaneComponentByPane__Q23gui11PaneManagerFPQ34nw4r3lyt4Pane = .text:0x81368B34; // type:function size:0x70 setAllBoundingBoxComponentTriggerTarget__Q23gui11PaneManagerFb = .text:0x81368BA4; // type:function size:0xAC contain__Q23gui13PaneComponentFff = .text:0x81368C50; // type:function size:0x128 draw__Q23gui13PaneComponentFv = .text:0x81368D78; // type:function size:0x18C is_visible__3guiFPQ34nw4r3lyt4Pane = .text:0x81368F04; // type:function size:0x30 scope:local isVisible__Q23gui13PaneComponentFv = .text:0x81368F34; // type:function size:0x8 -setFlightDuration__Q23gui9ComponentFiUs = .text:0x81368F3C; // type:function size:0x10 -getFlightDuration__Q23gui9ComponentFi = .text:0x81368F4C; // type:function size:0x10 -update__Q23gui9ComponentFiPC10KPADStatusffPv = .text:0x81368F5C; // type:function size:0x8 -isDragging__Q23gui9ComponentFi = .text:0x81368F64; // type:function size:0xC +setFlightDuration__Q23gui9ComponentFiUs = .text:0x81368F3C; // type:function size:0x10 scope:weak +getFlightDuration__Q23gui9ComponentFi = .text:0x81368F4C; // type:function size:0x10 scope:weak +update__Q23gui9ComponentFiPC10KPADStatusffPv = .text:0x81368F5C; // type:function size:0x8 scope:weak +isDragging__Q23gui9ComponentFi = .text:0x81368F64; // type:function size:0xC scope:weak __ct__Q33ipl6layout8AnimatorFPQ34nw4r3lyt13AnimTransformbb = .text:0x81368F70; // type:function size:0x100 calc__Q33ipl6layout8AnimatorFv = .text:0x81369070; // type:function size:0x54 setFlag__Q33ipl6layout8AnimatorFb = .text:0x813690C4; // type:function size:0x4 @@ -2144,18 +2148,18 @@ setFrame__Q33ipl6layout8AnimatorFv = .text:0x813690C8; // type:function size:0x1 initAnmFrame__Q33ipl6layout8AnimatorFv = .text:0x813690D8; // type:function size:0x3C initAnmFrame__Q33ipl6layout8AnimatorFf = .text:0x81369114; // type:function size:0x10 __ct__Q33ipl6layout12PaneAnimatorFPQ34nw4r3lyt13AnimTransformPQ34nw4r3lyt4Panebb = .text:0x81369124; // type:function size:0x54 -__dt__Q33ipl6layout8AnimatorFv = .text:0x81369178; // type:function size:0x40 +__dt__Q33ipl6layout8AnimatorFv = .text:0x81369178; // type:function size:0x40 scope:weak bind__Q33ipl6layout12PaneAnimatorFv = .text:0x813691B8; // type:function size:0x24 setFlag__Q33ipl6layout12PaneAnimatorFb = .text:0x813691DC; // type:function size:0x28 __ct__Q33ipl6layout13GroupAnimatorFPQ34nw4r3lyt13AnimTransformPQ34nw4r3lyt5Groupbb = .text:0x81369204; // type:function size:0x54 bind__Q33ipl6layout13GroupAnimatorFv = .text:0x81369258; // type:function size:0x90 -GetBeginIter__Q34nw4r2ut39LinkListFv = .text:0x813692E8; // type:function size:0x8 -GetEndIter__Q34nw4r2ut39LinkListFv = .text:0x813692F0; // type:function size:0x8 -__ne__Q24nw4r2utFQ44nw4r2ut39LinkList8IteratorQ44nw4r2ut39LinkList8Iterator = .text:0x813692F8; // type:function size:0x18 +GetBeginIter__Q34nw4r2ut39LinkListFv = .text:0x813692E8; // type:function size:0x8 scope:weak +GetEndIter__Q34nw4r2ut39LinkListFv = .text:0x813692F0; // type:function size:0x8 scope:weak +__ne__Q24nw4r2utFQ44nw4r2ut39LinkList8IteratorQ44nw4r2ut39LinkList8Iterator = .text:0x813692F8; // type:function size:0x18 scope:weak setFlag__Q33ipl6layout13GroupAnimatorFb = .text:0x81369310; // type:function size:0x98 __ct__Q33ipl6layout6ObjectFPQ23EGG4HeapPvPCcPCc = .text:0x813693A8; // type:function size:0xE0 -__ct__Q34nw4r3lyt15ArcResourceLinkFv = .text:0x81369488; // type:function size:0x10 -__dt__Q34nw4r3lyt15ArcResourceLinkFv = .text:0x81369498; // type:function size:0x40 +__ct__Q34nw4r3lyt15ArcResourceLinkFv = .text:0x81369488; // type:function size:0x10 scope:weak +__dt__Q34nw4r3lyt15ArcResourceLinkFv = .text:0x81369498; // type:function size:0x40 scope:weak __ct__Q33ipl6layout6ObjectFPQ23EGG4HeapPQ33ipl4nand10LayoutFilePCcPCc = .text:0x813694D8; // type:function size:0x128 __dt__Q33ipl6layout6ObjectFv = .text:0x81369600; // type:function size:0x124 init___Q33ipl6layout6ObjectFPCc = .text:0x81369724; // type:function size:0xFC @@ -2180,7 +2184,7 @@ isPlaying__Q33ipl6layout6ObjectCFi = .text:0x81369F84; // type:function size:0x9 attach__Q33ipl6layout6ObjectFPvPCc = .text:0x8136A01C; // type:function size:0x60 attach_font__Q33ipl6layout6ObjectFv = .text:0x8136A07C; // type:function size:0xFC initLocationAdjust__Q33ipl6layout6ObjectFv = .text:0x8136A178; // type:function size:0x114 -__as__Q34nw4r4math4VEC2FRCQ34nw4r4math4VEC2 = .text:0x8136A28C; // type:function size:0x14 +__as__Q34nw4r4math4VEC2FRCQ34nw4r4math4VEC2 = .text:0x8136A28C; // type:function size:0x14 scope:weak adjustHeap__Q33ipl6layout6ObjectFv = .text:0x8136A2A0; // type:function size:0x14 destroyHeap__Q33ipl6layout6ObjectFv = .text:0x8136A2B4; // type:function size:0x14 create__Q33ipl6layout6ObjectFPQ23EGG4HeapUlPQ33ipl4nand10LayoutFilePCcPCc = .text:0x8136A2C8; // type:function size:0x7C @@ -2842,8 +2846,8 @@ calcFadeout__Q33ipl5scene8BackMenuFv = .text:0x8138E03C; // type:function size:0 draw__Q33ipl5scene8BackMenuFv = .text:0x8138E124; // type:function size:0x50 calcCommonAfter__Q33ipl5scene14FaderSceneBaseFv = .text:0x8138E174; // type:function size:0x4 initCalcNormal__Q33ipl5scene14FaderSceneBaseFv = .text:0x8138E178; // type:function size:0x4 -__dt__Q33ipl5scene8BackMenuFv = .text:0x8138E17C; // type:function size:0x5C -@20@__dt__Q33ipl5scene8BackMenuFv = .text:0x8138E1D8; // type:function size:0x8 +__dt__Q33ipl5scene8BackMenuFv = .text:0x8138E17C; // type:function size:0x5C scope:weak +@20@__dt__Q33ipl5scene8BackMenuFv = .text:0x8138E1D8; // type:function size:0x8 scope:weak __ct__Q33ipl5scene5BoardFPQ23EGG4Heap = .text:0x8138E1E0; // type:function size:0x108 __dt__Q43ipl5scene5Board7ObjListFv = .text:0x8138E2E8; // type:function size:0x68 __dt__Q33ipl5scene11BoardObjectFv = .text:0x8138E350; // type:function size:0x40 @@ -3727,7 +3731,7 @@ draw__Q33ipl5scene8skHealthFv = .text:0x813BD0F4; // type:function size:0x50 check_safe_mode__Q33ipl5scene8skHealthFv = .text:0x813BD144; // type:function size:0x118 finish_safe_mode_check__Q33ipl5scene8skHealthCFv = .text:0x813BD25C; // type:function size:0x88 initCalcFadeout__Q33ipl5scene14FaderSceneBaseFv = .text:0x813BD2E4; // type:function size:0x4 -@20@__dt__Q33ipl5scene8skHealthFv = .text:0x813BD2E8; // type:function size:0x8 +@20@__dt__Q33ipl5scene8skHealthFv = .text:0x813BD2E8; // type:function size:0x8 scope:weak __ct__Q33ipl5scene12KitayamaTestFPQ23EGG4Heapi = .text:0x813BD2F0; // type:function size:0x6C __dt__Q33ipl5scene12KitayamaTestFv = .text:0x813BD35C; // type:function size:0x5C prepare__Q33ipl5scene12KitayamaTestFv = .text:0x813BD3B8; // type:function size:0x4 @@ -3791,7 +3795,7 @@ calcFadein__Q33ipl5scene9LimitOverFv = .text:0x813C137C; // type:function size:0 calcNormal__Q33ipl5scene9LimitOverFv = .text:0x813C152C; // type:function size:0x11C calcFadeout__Q33ipl5scene9LimitOverFv = .text:0x813C1648; // type:function size:0xC8 draw__Q33ipl5scene9LimitOverFv = .text:0x813C1710; // type:function size:0x50 -@20@__dt__Q33ipl5scene9LimitOverFv = .text:0x813C1760; // type:function size:0x8 +@20@__dt__Q33ipl5scene9LimitOverFv = .text:0x813C1760; // type:function size:0x8 scope:weak __ct__Q33ipl5scene17MailAddressSelectFPQ23EGG4Heap = .text:0x813C1768; // type:function size:0x8C __dt__Q33ipl5scene17MailAddressSelectFv = .text:0x813C17F4; // type:function size:0x5C prepare__Q33ipl5scene17MailAddressSelectFv = .text:0x813C1850; // type:function size:0x4C @@ -4283,8 +4287,8 @@ __dt__Q33ipl5scene14ParentalDialogFv = .text:0x813D9A64; // type:function size:0 @20@__dt__Q33ipl5scene14ParentalDialogFv = .text:0x813D9AC0; // type:function size:0x8 calc__Q33ipl5scene6RebootFv = .text:0x813D9AC8; // type:function size:0x10C draw__Q33ipl5scene4BaseFv = .text:0x813D9BD4; // type:function size:0x4 -__dt__Q33ipl5scene6RebootFv = .text:0x813D9BD8; // type:function size:0x58 -@20@__dt__Q33ipl5scene6RebootFv = .text:0x813D9C30; // type:function size:0x8 +__dt__Q33ipl5scene6RebootFv = .text:0x813D9BD8; // type:function size:0x58 scope:weak +@20@__dt__Q33ipl5scene6RebootFv = .text:0x813D9C30; // type:function size:0x8 scope:weak create__Q33ipl5scene9RootSceneFv = .text:0x813D9C38; // type:function size:0x14 proc_boot_scene__Q33ipl5scene9RootSceneFPiPi = .text:0x813D9C4C; // type:function size:0x1AC __dt__Q33ipl5scene9RootSceneFv = .text:0x813D9DF8; // type:function size:0x58 @@ -4856,7 +4860,7 @@ Init__Q33ipl5scene11USBAPThreadFPUsPUc = .text:0x813FBC2C; // type:function size cancel__Q33ipl5scene11USBAPThreadFv = .text:0x813FBCAC; // type:function size:0x4 is__Q33ipl5scene11USBAPThreadFv = .text:0x813FBCB0; // type:function size:0x4 setData__Q33ipl5scene11USBAPThreadFPCwPUc = .text:0x813FBCB4; // type:function size:0x40 -USBAPThread_813FCA08__Q33ipl5scene11USBAPThreadFv = .text:0x813FBCF4; // type:function size:0x4 scope:local +callback__Q33ipl5scene11USBAPThreadFv = .text:0x813FBCF4; // type:function size:0x4 __ct__Q33ipl5scene10AOSSThreadFPQ23EGG4Heap = .text:0x813FBCF8; // type:function size:0x94 destroy__Q33ipl5scene10AOSSThreadFi = .text:0x813FBD8C; // type:function size:0x84 __dt__Q33ipl5scene10AOSSThreadFv = .text:0x813FBE10; // type:function size:0x70 @@ -4948,7 +4952,7 @@ create__Q33ipl5scene9SettingBgFv = .text:0x81406060; // type:function size:0xA4 calc__Q33ipl5scene9SettingBgFv = .text:0x81406104; // type:function size:0x8 draw__Q33ipl5scene9SettingBgFv = .text:0x8140610C; // type:function size:0x50 __dt__Q33ipl5scene9SettingBgFv = .text:0x8140615C; // type:function size:0x58 -@20@__dt__Q33ipl5scene9SettingBgFv = .text:0x814061B4; // type:function size:0x8 +@20@__dt__Q33ipl5scene9SettingBgFv = .text:0x814061B4; // type:function size:0x8 scope:weak __ct__Q33ipl5scene13SettingButtonFPQ23EGG4Heapi = .text:0x814061BC; // type:function size:0x9C prepare__Q33ipl5scene13SettingButtonFv = .text:0x81406258; // type:function size:0x4C create__Q33ipl5scene13SettingButtonFv = .text:0x814062A4; // type:function size:0x288 @@ -4970,8 +4974,8 @@ reserve__Q33ipl5scene13SettingButtonFiUl = .text:0x81406CE4; // type:function si isPlaying__Q33ipl5scene13SettingButtonCFv = .text:0x81406D38; // type:function size:0x3C calcFadeout__Q33ipl5scene14FaderSceneBaseFv = .text:0x81406D74; // type:function size:0x8 __dt__Q33ipl5scene13SettingButtonFv = .text:0x81406D7C; // type:function size:0x5C -@20@__dt__Q33ipl5scene13SettingButtonFv = .text:0x81406DD8; // type:function size:0x8 -@88@onEvent__Q33ipl5scene13SettingButtonFUlUlPv = .text:0x81406DE0; // type:function size:0x8 +@20@__dt__Q33ipl5scene13SettingButtonFv = .text:0x81406DD8; // type:function size:0x8 scope:weak +@88@onEvent__Q33ipl5scene13SettingButtonFUlUlPv = .text:0x81406DE0; // type:function size:0x8 scope:weak __ct__Q33ipl5scene13SettingSelectFPQ23EGG4Heapi = .text:0x81406DE8; // type:function size:0x88 prepare__Q33ipl5scene13SettingSelectFv = .text:0x81406E70; // type:function size:0x4C create__Q33ipl5scene13SettingSelectFv = .text:0x81406EBC; // type:function size:0x6C4 @@ -5019,7 +5023,7 @@ do_destroy__Q33ipl5scene4BaseFv = .text:0x81409114; // type:function size:0x60 createChildScene__Q33ipl5scene4BaseFiPQ33ipl5scene4BasePQ33ipl5scene4BasePv = .text:0x81409174; // type:function size:0x70 reserveSceneChange__Q33ipl5scene4BaseFiPv = .text:0x814091E4; // type:function size:0x9C reserveAllSceneDestruction__Q33ipl5scene4BaseFiPv = .text:0x81409280; // type:function size:0x28 -@20@__dt__Q33ipl5scene4BaseFv = .text:0x814092A8; // type:function size:0x8 +@20@__dt__Q33ipl5scene4BaseFv = .text:0x814092A8; // type:function size:0x8 scope:weak size__Q33ipl5scene7CreatorFi = .text:0x814092B0; // type:function size:0x44 create__Q33ipl5scene7CreatorFiPQ23EGG4HeapPv = .text:0x814092F4; // type:function size:0x4F0 clear__Q33ipl5scene7CommandFv = .text:0x814097E4; // type:function size:0x48 @@ -5053,8 +5057,8 @@ __ml__Q43ipl7utility4Tree16reverse_iteratorFv = .text:0x8140A4A0; // type:functi pop__Q33ipl7utility29QueueFv = .text:0x8140A4A8; // type:function size:0x4C __ct__Q33ipl5scene14FaderSceneBaseFPQ23EGG4Heap = .text:0x8140A4F4; // type:function size:0x4C calc__Q33ipl5scene14FaderSceneBaseFv = .text:0x8140A540; // type:function size:0x14C -calcNormal__Q33ipl5scene14FaderSceneBaseFv = .text:0x8140A68C; // type:function size:0x8 -@20@__dt__Q33ipl5scene14FaderSceneBaseFv = .text:0x8140A694; // type:function size:0x8 +calcNormal__Q33ipl5scene14FaderSceneBaseFv = .text:0x8140A68C; // type:function size:0x8 scope:weak +@20@__dt__Q33ipl5scene14FaderSceneBaseFv = .text:0x8140A694; // type:function size:0x8 scope:weak onNigaoeButton__Q33ipl5scene17InputFormObserverFv = .text:0x8140A69C; // type:function size:0x14 pointNigaoeButton__Q33ipl5scene17InputFormObserverFv = .text:0x8140A6B0; // type:function size:0x14 leftNigaoeButton__Q33ipl5scene17InputFormObserverFv = .text:0x8140A6C4; // type:function size:0x14 @@ -7968,8 +7972,8 @@ NWC24ReadMsgText = .text:0x814D1FCC; // type:function size:0x5C NWC24ReadMsgTextEx = .text:0x814D2028; // type:function size:0xB8 ReadMsgTextInternal = .text:0x814D20E0; // type:function size:0x2C8 scope:local NWC24ReadMsgAttached = .text:0x814D23A8; // type:function size:0x16C -NWC24_814A95D4 = .text:0x814D2514; // type:function size:0x13C -NWC24_814A9710 = .text:0x814D2650; // type:function size:0x140 +ReadBase64Data = .text:0x814D2514; // type:function size:0x13C +ReadQPText = .text:0x814D2650; // type:function size:0x140 NWC24ReadMsgSubjectPublic = .text:0x814D2790; // type:function size:0x1A0 NWC24ReadMsgTextPublic = .text:0x814D2930; // type:function size:0x118 NWC24SetMsgSubjectPublic = .text:0x814D2A48; // type:function size:0x1C8 @@ -8890,21 +8894,21 @@ TMCJPEGDEC_imageend = .text:0x815159D4; // type:function size:0xA0 TMCJPEGDEC_scanstart = .text:0x81515A74; // type:function size:0xD4 TMCJPEGDEC_scan_varinit = .text:0x81515B48; // type:function size:0x204 TMCJPEGDEC_restart_interval = .text:0x81515D4C; // type:function size:0x174 -TMCJPEG_814ECF80 = .text:0x81515EC0; // type:function size:0x2DC scope:local -TMCJPEG_814ED25C = .text:0x8151619C; // type:function size:0x1E0 scope:local -TMCJPEG_814ED43C = .text:0x8151637C; // type:function size:0x148 scope:local -TMCJPEG_814ED584 = .text:0x815164C4; // type:function size:0x37C scope:local -TMCJPEG_814ED900 = .text:0x81516840; // type:function size:0x1C0 scope:local +TMCJPEGDEC_parse_para = .text:0x81515EC0; // type:function size:0x2DC scope:local +TMCJPEGDEC_parse_dht = .text:0x8151619C; // type:function size:0x1E0 scope:local +TMCJPEGDEC_parse_dqt = .text:0x8151637C; // type:function size:0x148 scope:local +TMCJPEGDEC_parse_sof = .text:0x815164C4; // type:function size:0x37C scope:local +TMCJPEGDEC_parse_sos = .text:0x81516840; // type:function size:0x1C0 scope:local TMCJPEGDEC_err_restart = .text:0x81516A00; // type:function size:0x1CC TMCJPEGDEC_set_entropytbl = .text:0x81516BCC; // type:function size:0x98 TMCCJPEGDecGetOffsetEXIF = .text:0x81516C64; // type:function size:0x26C TMCCJPEGDecGetInfoEXIF = .text:0x81516ED0; // type:function size:0x210 -TMCJPEG_814EE1A0 = .text:0x815170E0; // type:function size:0x350 scope:local -TMCJPEG_814EE4F0 = .text:0x81517430; // type:function size:0x784 scope:local -TMCJPEG_814EEC74 = .text:0x81517BB4; // type:function size:0x3C8 scope:local -TMCJPEG_814EF03C = .text:0x81517F7C; // type:function size:0xC8 scope:local +TMCJPEGDEC_exif_parse = .text:0x815170E0; // type:function size:0x350 scope:local +TMCJPEGDEC_IFD0_tag_parse = .text:0x81517430; // type:function size:0x784 scope:local +TMCJPEGDEC_IFD1_tag_parse = .text:0x81517BB4; // type:function size:0x3C8 scope:local +TMCJPEGDEC_ThumbnailCheck = .text:0x81517F7C; // type:function size:0xC8 scope:local TMCJPEGDEC_decode_iquant_rc = .text:0x81518044; // type:function size:0x29C -TMCJPEG_814EF3A0 = .text:0x815182E0; // type:function size:0xF0 scope:local +TMCJPEGDEC_vl_decode_rc = .text:0x815182E0; // type:function size:0xF0 scope:local TMCJPEGDEC_IdctBlock4x4 = .text:0x815183D0; // type:function size:0x220 TMCJPEGDEC_IdctBlock2x2 = .text:0x815185F0; // type:function size:0x11C TMCJPEGDEC_IdctBlock1x1 = .text:0x8151870C; // type:function size:0x44 @@ -8925,31 +8929,31 @@ TMCJPEG_814F32E4 = .text:0x8151C224; // type:function size:0x1C0 scope:local TMCJPEG_814F34A4 = .text:0x8151C3E4; // type:function size:0x288 scope:local TMCJPEG_814F372C = .text:0x8151C66C; // type:function size:0x2BC scope:local TMCJPEGDEC_set_converterRGB565 = .text:0x8151C928; // type:function size:0x2A8 -TMCJPEG_814F3C90 = .text:0x8151CBD0; // type:function size:0x364 scope:local -TMCJPEG_814F3FF4 = .text:0x8151CF34; // type:function size:0x1A8 scope:local -TMCJPEG_814F419C = .text:0x8151D0DC; // type:function size:0x220 scope:local -TMCJPEG_814F43BC = .text:0x8151D2FC; // type:function size:0x1AC scope:local -TMCJPEG_814F4568 = .text:0x8151D4A8; // type:function size:0x234 scope:local -TMCJPEG_814F479C = .text:0x8151D6DC; // type:function size:0x1C8 scope:local -TMCJPEG_814F4964 = .text:0x8151D8A4; // type:function size:0x188 scope:local -TMCJPEG_814F4AEC = .text:0x8151DA2C; // type:function size:0x1B4 scope:local -TMCJPEG_814F4CA0 = .text:0x8151DBE0; // type:function size:0x16C scope:local -TMCJPEG_814F4E0C = .text:0x8151DD4C; // type:function size:0x1A0 scope:local -TMCJPEG_814F4FAC = .text:0x8151DEEC; // type:function size:0x118 scope:local -TMCJPEG_814F50C4 = .text:0x8151E004; // type:function size:0x14C scope:local +TMCJPEGDEC_converterYUV411toRGB565 = .text:0x8151CBD0; // type:function size:0x364 scope:local +TMCJPEGDEC_converterYUV411toRGB565edge = .text:0x8151CF34; // type:function size:0x1A8 scope:local +TMCJPEGDEC_converterYUV422toRGB565 = .text:0x8151D0DC; // type:function size:0x220 scope:local +TMCJPEGDEC_converterYUV422toRGB565edge = .text:0x8151D2FC; // type:function size:0x1AC scope:local +TMCJPEGDEC_converterYUV420toRGB565 = .text:0x8151D4A8; // type:function size:0x234 scope:local +TMCJPEGDEC_converterYUV420toRGB565edge = .text:0x8151D6DC; // type:function size:0x1C8 scope:local +TMCJPEGDEC_converterYUV211toRGB565 = .text:0x8151D8A4; // type:function size:0x188 scope:local +TMCJPEGDEC_converterYUV211toRGB565edge = .text:0x8151DA2C; // type:function size:0x1B4 scope:local +TMCJPEGDEC_converterYUV444toRGB565 = .text:0x8151DBE0; // type:function size:0x16C scope:local +TMCJPEGDEC_converterYUV444toRGB565edge = .text:0x8151DD4C; // type:function size:0x1A0 scope:local +TMCJPEGDEC_converterYUV400toRGB565 = .text:0x8151DEEC; // type:function size:0x118 scope:local +TMCJPEGDEC_converterYUV400toRGB565edge = .text:0x8151E004; // type:function size:0x14C scope:local TMCJPEGDEC_set_converterRGBA8 = .text:0x8151E150; // type:function size:0x2A8 -TMCJPEG_814F54B8 = .text:0x8151E3F8; // type:function size:0x3C8 scope:local -TMCJPEG_814F5880 = .text:0x8151E7C0; // type:function size:0x1C0 scope:local -TMCJPEG_814F5A40 = .text:0x8151E980; // type:function size:0x250 scope:local -TMCJPEG_814F5C90 = .text:0x8151EBD0; // type:function size:0x1C4 scope:local -TMCJPEG_814F5E54 = .text:0x8151ED94; // type:function size:0x264 scope:local -TMCJPEG_814F60B8 = .text:0x8151EFF8; // type:function size:0x1E0 scope:local -TMCJPEG_814F6298 = .text:0x8151F1D8; // type:function size:0x1A0 scope:local -TMCJPEG_814F6438 = .text:0x8151F378; // type:function size:0x1CC scope:local -TMCJPEG_814F6604 = .text:0x8151F544; // type:function size:0x184 scope:local -TMCJPEG_814F6788 = .text:0x8151F6C8; // type:function size:0x1B8 scope:local -TMCJPEG_814F6940 = .text:0x8151F880; // type:function size:0x130 scope:local -TMCJPEG_814F6A70 = .text:0x8151F9B0; // type:function size:0x164 scope:local +TMCJPEGDEC_converterYUV411toRGBA8 = .text:0x8151E3F8; // type:function size:0x3C8 scope:local +TMCJPEGDEC_converterYUV411toRGBA8edge = .text:0x8151E7C0; // type:function size:0x1C0 scope:local +TMCJPEGDEC_converterYUV422toRGBA8 = .text:0x8151E980; // type:function size:0x250 scope:local +TMCJPEGDEC_converterYUV422toRGBA8edge = .text:0x8151EBD0; // type:function size:0x1C4 scope:local +TMCJPEGDEC_converterYUV420toRGBA8 = .text:0x8151ED94; // type:function size:0x264 scope:local +TMCJPEGDEC_converterYUV420toRGBA8edge = .text:0x8151EFF8; // type:function size:0x1E0 scope:local +TMCJPEGDEC_converterYUV211toRGBA8 = .text:0x8151F1D8; // type:function size:0x1A0 scope:local +TMCJPEGDEC_converterYUV211toRGBA8edge = .text:0x8151F378; // type:function size:0x1CC scope:local +TMCJPEGDEC_converterYUV444toRGBA8 = .text:0x8151F544; // type:function size:0x184 scope:local +TMCJPEGDEC_converterYUV444toRGBA8edge = .text:0x8151F6C8; // type:function size:0x1B8 scope:local +TMCJPEGDEC_converterYUV400toRGBA8 = .text:0x8151F880; // type:function size:0x130 scope:local +TMCJPEGDEC_converterYUV400toRGBA8edge = .text:0x8151F9B0; // type:function size:0x164 scope:local TMCJPEGDEC_decode_iquant = .text:0x8151FB14; // type:function size:0x450 __ct__Q44nw4r3snd6detail9AxManagerFv = .text:0x8151FF64; // type:function size:0x530 __ct__Q34nw4r2ut30LinkListFv = .text:0x81520494; // type:function size:0x20 @@ -9204,7 +9208,7 @@ detail_GetRequiredStreamBufferSize__Q34nw4r3snd18MemorySoundArchiveCFv = .text:0 Close__Q44nw4r3snd18MemorySoundArchive16MemoryFileStreamFv = .text:0x8152A95C; // type:function size:0x14 Read__Q44nw4r3snd18MemorySoundArchive16MemoryFileStreamFPvUl = .text:0x8152A970; // type:function size:0x58 Seek__Q44nw4r3snd18MemorySoundArchive16MemoryFileStreamFlUl = .text:0x8152A9C8; // type:function size:0x4C -UNUSED_81501AD4__Q44nw4r3snd18MemorySoundArchive16MemoryFileStreamFv = .text:0x8152AA14; // type:function size:0x4 +UNUSED_81501AD4 = .text:0x8152AA14; // type:function size:0x4 GetRuntimeTypeInfo__Q34nw4r2ut10FileStreamCFv = .text:0x8152AA18; // type:function size:0x8 GetSize__Q44nw4r3snd18MemorySoundArchive16MemoryFileStreamCFv = .text:0x8152AA20; // type:function size:0x8 Tell__Q44nw4r3snd18MemorySoundArchive16MemoryFileStreamCFv = .text:0x8152AA28; // type:function size:0x8 @@ -10154,10 +10158,10 @@ __OSGetIOSRev = .text:0x81554524; // type:function size:0x6C OSGetConsoleType = .text:0x81554590; // type:function size:0x284 ClearArena = .text:0x81554814; // type:function size:0x1DC scope:local ClearMEM2Arena = .text:0x815549F0; // type:function size:0x1E4 scope:local -InquiryCallback = .text:0x81554BD4; // type:function size:0x3C scope:local +InquiryCallback = .text:0x81554BD4; // type:function size:0x3C scope:global ReportOSInfo = .text:0x81554C10; // type:function size:0x2AC scope:local OSInit = .text:0x81554EBC; // type:function size:0x438 -OSExceptionInit = .text:0x815552F4; // type:function size:0x280 scope:local +OSExceptionInit = .text:0x815552F4; // type:function size:0x280 scope:global __OSDBIntegrator = .text:0x81555574; // type:function size:0x24 scope:local __OSDBINTSTART = .text:0x81555574; // type:label scope:global __OSDBJump = .text:0x81555598; // type:function size:0x4 scope:local @@ -10208,7 +10212,7 @@ OSSetMEM2ArenaLo = .text:0x81556308; // type:function size:0x8 OSSetArenaLo = .text:0x81556310; // type:function size:0x8 OSAllocFromMEM1ArenaLo = .text:0x81556318; // type:function size:0x34 OSAllocFromMEM2ArenaLo = .text:0x8155634C; // type:function size:0x34 -__AIClockInit = .text:0x81556380; // type:function size:0x220 scope:local +__AIClockInit = .text:0x81556380; // type:function size:0x220 scope:global __OSInitAudioSystem = .text:0x815565A0; // type:function size:0x1C8 __OSStopAudioSystem = .text:0x81556768; // type:function size:0xCC DCEnable = .text:0x81556834; // type:function size:0x14 scope:global @@ -10239,18 +10243,18 @@ OSDumpContext = .text:0x81557188; // type:function size:0x260 scope:global OSSwitchFPUContext = .text:0x815573E8; // type:function size:0x84 scope:local __OSContextInit = .text:0x8155746C; // type:function size:0x48 OSFillFPUContext = .text:0x815574B4; // type:function size:0x12C -OSReport = .text:0x815575E0; // type:function size:0x8C scope:weak +OSReport = .text:0x815575E0; // type:function size:0x8C scope:global OSVReport = .text:0x8155766C; // type:function size:0x4 OSPanic = .text:0x81557670; // type:function size:0x12C OSSetErrorHandler = .text:0x8155779C; // type:function size:0x288 scope:global __OSUnhandledException = .text:0x81557A24; // type:function size:0x2F0 scope:global -PackArgs = .text:0x81557D14; // type:function size:0x180 scope:local +PackArgs = .text:0x81557D14; // type:function size:0x180 __OSGetExecParams = .text:0x81557E94; // type:function size:0x24 __OSCheckCompanyCode = .text:0x81557EB8; // type:function size:0x114 __OSCheckTmdCountryCode = .text:0x81557FCC; // type:function size:0x4C __OSGetValidTicketIndex = .text:0x81558018; // type:function size:0x1F0 __OSLaunchTitle = .text:0x81558208; // type:function size:0x11C -LaunchCommon = .text:0x81558324; // type:function size:0x4A8 scope:local +LaunchCommon = .text:0x81558324; // type:function size:0x4A8 scope:global __OSLaunchTitlevForSystem = .text:0x815587CC; // type:function size:0xA8 __OSLaunchTitlelForSystem = .text:0x81558874; // type:function size:0x12C __OSReturnToMenul = .text:0x815589A0; // type:function size:0x108 @@ -10258,12 +10262,14 @@ GetFontCode = .text:0x81558AA8; // type:function size:0x134 scope:local Decode = .text:0x81558BDC; // type:function size:0x1A4 scope:local OSGetFontEncode = .text:0x81558D80; // type:function size:0x54 OSSetFontEncode = .text:0x81558DD4; // type:function size:0x80 -ReadFont = .text:0x81558E54; // type:function size:0x300 scope:local +ReadFont = .text:0x81558E54; // type:function size:0x300 scope:global OSLoadFont = .text:0x81559154; // type:function size:0x128 ParseStringS = .text:0x8155927C; // type:function size:0xFC scope:local ParseStringW = .text:0x81559378; // type:function size:0x1BC scope:local OSGetFontTexel = .text:0x81559534; // type:function size:0x290 OSDisableInterrupts = .text:0x815597C4; // type:function size:0x14 +__RAS_OSDisableInterrupts_begin = .text:0x815597C4; // type:label scope:global +__RAS_OSDisableInterrupts_end = .text:0x815597D0; // type:label scope:global OSEnableInterrupts = .text:0x815597D8; // type:function size:0x14 OSRestoreInterrupts = .text:0x815597EC; // type:function size:0x24 __OSSetInterruptHandler = .text:0x81559810; // type:function size:0x14 @@ -10283,8 +10289,8 @@ OSGetPhysicalMem1Size = .text:0x8155A234; // type:function size:0xC OSGetPhysicalMem2Size = .text:0x8155A240; // type:function size:0xC OSGetConsoleSimulatedMem1Size = .text:0x8155A24C; // type:function size:0xC scope:global OSGetConsoleSimulatedMem2Size = .text:0x8155A258; // type:function size:0xC scope:global -OnShutdown = .text:0x8155A264; // type:function size:0x3C -MEMIntrruptHandler = .text:0x8155A2A0; // type:function size:0x48 scope:local +OnShutdown = .text:0x8155A264; // type:function size:0x3C scope:local +MEMIntrruptHandler = .text:0x8155A2A0; // type:function size:0x48 scope:global OSProtectRange = .text:0x8155A2E8; // type:function size:0xC8 ConfigMEM1_24MB = .text:0x8155A3B0; // type:function size:0x80 scope:local ConfigMEM1_48MB = .text:0x8155A430; // type:function size:0x80 scope:local @@ -10322,7 +10328,7 @@ WriteSramCallback = .text:0x8155B8F8; // type:function size:0x138 scope:local __OSInitSram = .text:0x8155BA30; // type:function size:0x200 __OSLockSram = .text:0x8155BC30; // type:function size:0x50 __OSLockSramEx = .text:0x8155BC80; // type:function size:0x50 -UnlockSram = .text:0x8155BCD0; // type:function size:0x2E0 scope:local +UnlockSram = .text:0x8155BCD0; // type:function size:0x2E0 scope:global __OSUnlockSram = .text:0x8155BFB0; // type:function size:0x8 __OSUnlockSramEx = .text:0x8155BFB8; // type:function size:0x8 __OSSyncSram = .text:0x8155BFC0; // type:function size:0x10 @@ -10344,7 +10350,7 @@ __OSClearRTCFlags = .text:0x8155C8E0; // type:function size:0x110 OSInitSemaphore = .text:0x8155C9F0; // type:function size:0x58 OSWaitSemaphore = .text:0x8155CA48; // type:function size:0x70 OSSignalSemaphore = .text:0x8155CAB8; // type:function size:0x60 -SystemCallVector = .text:0x8155CB18; // type:function size:0x20 scope:local +SystemCallVector = .text:0x8155CB18; // type:function size:0x20 scope:global __OSSystemCallVectorStart = .text:0x8155CB18; // type:label scope:global __OSSystemCallVectorEnd = .text:0x8155CB34; // type:label scope:global __OSInitSystemCall = .text:0x8155CB38; // type:function size:0x60 @@ -10359,9 +10365,9 @@ OSDisableScheduler = .text:0x8155CEEC; // type:function size:0x3C scope:global OSEnableScheduler = .text:0x8155CF28; // type:function size:0x3C scope:global UnsetRun = .text:0x8155CF64; // type:function size:0x68 scope:local __OSGetEffectivePriority = .text:0x8155CFCC; // type:function size:0x3C -SetEffectivePriority = .text:0x8155D008; // type:function size:0x1B4 scope:local +SetEffectivePriority = .text:0x8155D008; // type:function size:0x1B4 scope:global __OSPromoteThread = .text:0x8155D1BC; // type:function size:0x50 -SelectThread = .text:0x8155D20C; // type:function size:0x228 scope:local +SelectThread = .text:0x8155D20C; // type:function size:0x228 scope:global __OSReschedule = .text:0x8155D434; // type:function size:0x18 scope:global OSYieldThread = .text:0x8155D44C; // type:function size:0x3C OSCreateThread = .text:0x8155D488; // type:function size:0x26C @@ -10375,7 +10381,7 @@ OSSleepThread = .text:0x8155DFBC; // type:function size:0xEC OSWakeupThread = .text:0x8155E0A8; // type:function size:0xF4 OSSetThreadPriority = .text:0x8155E19C; // type:function size:0xEC OSGetThreadPriority = .text:0x8155E288; // type:function size:0x8 -CheckThreadQueue = .text:0x8155E290; // type:function size:0x98 scope:local +CheckThreadQueue = .text:0x8155E290; // type:function size:0x98 scope:global OSCheckActiveThreads = .text:0x8155E328; // type:function size:0x758 OSSetThreadSpecific = .text:0x8155EA80; // type:function size:0x30 OSGetThreadSpecific = .text:0x8155EAB0; // type:function size:0x38 @@ -10406,16 +10412,16 @@ __OSHotReset = .text:0x8155F92C; // type:function size:0x70 __OSSetVIForceDimming = .text:0x8155F99C; // type:function size:0xF8 __OSSetIdleLEDMode = .text:0x8155FA94; // type:function size:0x40 __OSUnRegisterStateEvent = .text:0x8155FAD4; // type:function size:0x78 -__OSVIDimReplyHandler = .text:0x8155FB4C; // type:function size:0x10 scope:local -__OSDefaultResetCallback = .text:0x8155FB5C; // type:function size:0x4 scope:local -__OSDefaultPowerCallback = .text:0x8155FB60; // type:function size:0x4 scope:local -__OSStateEventHandler = .text:0x8155FB64; // type:function size:0x154 scope:local +__OSVIDimReplyHandler = .text:0x8155FB4C; // type:function size:0x10 scope:global +__OSDefaultResetCallback = .text:0x8155FB5C; // type:function size:0x4 scope:global +__OSDefaultPowerCallback = .text:0x8155FB60; // type:function size:0x4 scope:global +__OSStateEventHandler = .text:0x8155FB64; // type:function size:0x154 scope:global __get_clock = .text:0x8155FCB8; // type:function size:0x4 __get_time = .text:0x8155FCBC; // type:function size:0x40 __to_gm_time = .text:0x8155FCFC; // type:function size:0x8 __OSCreatePlayRecord = .text:0x8155FD04; // type:function size:0x11C __OSReadPlayRecord = .text:0x8155FE20; // type:function size:0xDC -PlayRecordAlarmCallback = .text:0x8155FEFC; // type:function size:0xC scope:local +PlayRecordAlarmCallback = .text:0x8155FEFC; // type:function size:0xC scope:global PlayRecordCallback = .text:0x8155FF08; // type:function size:0x4B0 scope:local __OSStartPlayRecord = .text:0x815603B8; // type:function size:0x54 __OSStopPlayRecord = .text:0x8156040C; // type:function size:0x1E8 @@ -10427,11 +10433,11 @@ __OSSyncTimeWithNetRM = .text:0x81560920; // type:function size:0x8 __OSCreateNandbootInfo = .text:0x81560928; // type:function size:0xB0 __OSWriteNandbootInfo = .text:0x815609D8; // type:function size:0x158 __OSReadNandbootInfo = .text:0x81560B30; // type:function size:0x198 -__OSPlayTimeRebootCallback = .text:0x81560CC8; // type:function size:0x88 scope:local -__OSPlayTimeFadeLastAIDCallback = .text:0x81560D50; // type:function size:0x1BC scope:local -__OSWriteExpiredFlag = .text:0x81560F0C; // type:function size:0x114 scope:local -__OSPlayTimeRebootThread = .text:0x81561020; // type:function size:0xEC scope:local -__OSPlayTimeAlarmExpired = .text:0x8156110C; // type:function size:0x11C scope:local +__OSPlayTimeRebootCallback = .text:0x81560CC8; // type:function size:0x88 scope:global +__OSPlayTimeFadeLastAIDCallback = .text:0x81560D50; // type:function size:0x1BC scope:global +__OSWriteExpiredFlag = .text:0x81560F0C; // type:function size:0x114 scope:global +__OSPlayTimeRebootThread = .text:0x81561020; // type:function size:0xEC scope:global +__OSPlayTimeAlarmExpired = .text:0x8156110C; // type:function size:0x11C scope:global __OSGetPlayTime = .text:0x81561228; // type:function size:0x1C8 __OSInitPlayTime = .text:0x815613F0; // type:function size:0x158 __init_user = .text:0x81561548; // type:function size:0x20 @@ -10439,7 +10445,7 @@ __init_cpp = .text:0x81561568; // type:function size:0x48 scope:local exit = .text:0x815615B0; // type:function size:0x4C SetExiInterruptMask = .text:0x815615FC; // type:function size:0xF0 scope:local EXIImm = .text:0x815616EC; // type:function size:0x27C scope:global -EXIImmEx = .text:0x81561968; // type:function size:0xA4 scope:local +EXIImmEx = .text:0x81561968; // type:function size:0xA4 EXIDma = .text:0x81561A0C; // type:function size:0xF8 EXISync = .text:0x81561B04; // type:function size:0x27C scope:global EXISetExiCallback = .text:0x81561D80; // type:function size:0x84 @@ -13495,12 +13501,12 @@ __va_arg = .text:0x81622134; // type:function size:0xC8 __register_global_object = .text:0x816221FC; // type:function size:0x18 scope:global __destroy_global_chain = .text:0x81622214; // type:function size:0x48 scope:global __construct_new_array = .text:0x8162225C; // type:function size:0x104 -__dt__26__partial_array_destructorFv = .text:0x81622360; // type:function size:0xBC +__dt__26__partial_array_destructorFv = .text:0x81622360; // type:function size:0xBC scope:weak __construct_array = .text:0x8162241C; // type:function size:0xF8 __destroy_arr = .text:0x81622514; // type:function size:0x78 __ptmf_scall = .text:0x8162258C; // type:function size:0x28 __cvt_fp2unsigned = .text:0x816225B4; // type:function size:0x5C -__save_fpr = .text:0x81622610; // type:function size:0x4C scope:global +__save_fpr = .text:0x81622610; // type:function size:0x4C scope:local _savefpr_14 = .text:0x81622610; // type:label scope:global _savefpr_15 = .text:0x81622614; // type:label scope:global _savefpr_16 = .text:0x81622618; // type:label scope:global @@ -13519,7 +13525,7 @@ _savefpr_28 = .text:0x81622648; // type:label scope:global _savefpr_29 = .text:0x8162264C; // type:label scope:global _savefpr_30 = .text:0x81622650; // type:label scope:global _savefpr_31 = .text:0x81622654; // type:label scope:global -__restore_fpr = .text:0x8162265C; // type:function size:0x4C scope:global +__restore_fpr = .text:0x8162265C; // type:function size:0x4C scope:local _restfpr_14 = .text:0x8162265C; // type:label scope:global _restfpr_15 = .text:0x81622660; // type:label scope:global _restfpr_16 = .text:0x81622664; // type:label scope:global @@ -13538,7 +13544,7 @@ _restfpr_28 = .text:0x81622694; // type:label scope:global _restfpr_29 = .text:0x81622698; // type:label scope:global _restfpr_30 = .text:0x8162269C; // type:label scope:global _restfpr_31 = .text:0x816226A0; // type:label scope:global -__save_gpr = .text:0x816226A8; // type:function size:0x4C scope:global +__save_gpr = .text:0x816226A8; // type:function size:0x4C scope:local _savegpr_14 = .text:0x816226A8; // type:label scope:global _savegpr_15 = .text:0x816226AC; // type:label scope:global _savegpr_16 = .text:0x816226B0; // type:label scope:global @@ -13557,7 +13563,7 @@ _savegpr_28 = .text:0x816226E0; // type:label scope:global _savegpr_29 = .text:0x816226E4; // type:label scope:global _savegpr_30 = .text:0x816226E8; // type:label scope:global _savegpr_31 = .text:0x816226EC; // type:label scope:global -__restore_gpr = .text:0x816226F4; // type:function size:0x4C scope:global +__restore_gpr = .text:0x816226F4; // type:function size:0x4C scope:local _restgpr_14 = .text:0x816226F4; // type:label scope:global _restgpr_15 = .text:0x816226F8; // type:label scope:global _restgpr_16 = .text:0x816226FC; // type:label scope:global @@ -13780,10 +13786,10 @@ __ieee754_sqrt = .text:0x81635F50; // type:function size:0x248 nan = .text:0x81636198; // type:function size:0x4 sqrt = .text:0x8163619C; // type:function size:0x4 GetTRKConnected = .text:0x816361A0; // type:function size:0x10 -TRKAccessFile = .text:0x816361B0; // type:function size:0x8 -TRKOpenFile = .text:0x816361B8; // type:function size:0x8 -TRKCloseFile = .text:0x816361C0; // type:function size:0x8 -TRKPositionFile = .text:0x816361C8; // type:function size:0x8 +TRKAccessFile = .text:0x816361B0; // type:function +TRKOpenFile = .text:0x816361B8; // type:function +TRKCloseFile = .text:0x816361C0; // type:function +TRKPositionFile = .text:0x816361C8; // type:function __TRK_write_console = .text:0x816361D0; // type:function size:0xBC __read_console = .text:0x8163628C; // type:function size:0xBC EnableMetroTRKInterrupts = .text:0x81636348; // type:function size:0x20 @@ -14039,7 +14045,7 @@ ATOKi_FzHead = .rodata:0x81641860; // type:object size:0x800 ATOKi_FzTail = .rodata:0x81642060; // type:object size:0x800 ATOKi_FzBase = .rodata:0x81642860; // type:object size:0x1000 ATOKi_FzValue = .rodata:0x81643860; // type:object size:0x2429 -ATOKi_FzTblArray = .rodata:0x81645C8C; // type:object size:0x1864 +ATOKi_FzTblArray = .rodata:0x81645C8C; // type:object size:0x1864 noreloc ATOKi_FzTblOfst = .rodata:0x816474F0; // type:object size:0x40A ATOKi_FzTblIndex = .rodata:0x81647900; // type:object size:0x1C0 lbl_81647AC0 = .rodata:0x81647AC0; // type:object size:0x6 @@ -14084,8 +14090,8 @@ ATOKi_ApJacNmlCharTbl = .rodata:0x81648128; // type:object size:0x90 scope:local ATOKi_ApJacNormalizePreCond = .rodata:0x816481B8; // type:object size:0x100 scope:local ATOKi_ApJacChInfoTbl = .rodata:0x816482B8; // type:object size:0x100 scope:local lbl_816483B8 = .rodata:0x816483B8; // type:object size:0x10 -crc16_table = .rodata:0x816483C8; // type:object size:0x20 data:2byte -crc32_table = .rodata:0x816483E8; // type:object size:0x40 data:4byte +crc16_table = .rodata:0x816483C8; // type:object size:0x20 scope:local data:2byte +crc32_table = .rodata:0x816483E8; // type:object size:0x40 scope:local data:4byte sha1template$2339 = .rodata:0x81648428; // type:object size:0x20 scope:local AESiSubShiftTable = .rodata:0x81648448; // type:object size:0x100 scope:local AESiInvSubShiftTable = .rodata:0x81648548; // type:object size:0x100 scope:local @@ -14247,7 +14253,7 @@ kprLookupTable437 = .rodata:0x81663868; // type:object size:0x100 scReverbHiParam__Q23EGG10AudioFxMgr = .rodata:0x81663968; // type:object size:0x18 scChorusParam__Q23EGG10AudioFxMgr = .rodata:0x81663980; // type:object size:0x10 __constants = .rodata:0x81663990; // type:object size:0x18 align:8 data:double -@stringBase0 = .rodata:0x816639A8; // type:object size:0x70 scope:local data:string_table +@stringBase0 = .rodata:0x816639A8; // type:object size:0x6F scope:local data:string_table fix_pool_sizes = .rodata:0x81663A18; // type:object size:0x18 data:4byte @stringBase0 = .rodata:0x81663A30; // type:object size:0xDD scope:local data:string_table __ctype_mapC = .rodata:0x81663B10; // type:object size:0x200 @@ -14321,9 +14327,9 @@ lbl_81665406 = .data:0x81665406; // type:object size:0x16 data:string jumptable_8166541C = .data:0x8166541C; // type:object size:0x30 scope:local __vt__Q33ipl7channel7Manager = .data:0x8166544C; // type:object size:0xC lbl_81665458 = .data:0x81665458; // type:object size:0x188 -lbl_816655E0 = .data:0x816655E0; // type:object size:0xC data:string -lbl_816655EC = .data:0x816655EC; // type:object size:0xC -jumptable_816655F8 = .data:0x816655F8; // type:object size:0x30 scope:local +@4747 = .data:0x816655E0; // type:object size:0xC scope:local data:string +@4857 = .data:0x816655EC; // type:object size:0x9 scope:local data:string +@4931 = .data:0x816655F8; // type:object size:0x30 scope:local __vt__Q33ipl4nand10LayoutFile = .data:0x81665628; // type:object size:0x20 __vt__Q33ipl4nand8LangFile = .data:0x81665648; // type:object size:0x20 __vt__Q33ipl4nand4File = .data:0x81665668; // type:object size:0x54 @@ -14331,19 +14337,24 @@ __vt__Q33ipl4nand4Base = .data:0x816656BC; // type:object size:0x20 lbl_816656E0 = .data:0x816656E0; // type:object size:0x16 data:string lbl_816656F6 = .data:0x816656F6; // type:object size:0x12 data:string __vt__Q33ipl4nand10SharedFile = .data:0x81665708; // type:object size:0x54 -lbl_81665760 = .data:0x81665760; // type:object size:0x1A data:string -lbl_8166577A = .data:0x8166577A; // type:object size:0x10 data:string +@3883 = .data:0x81665760; // type:object size:0x1A scope:local data:string +@3917 = .data:0x8166577A; // type:object size:0x10 scope:local data:string __vt__Q33ipl4nand8MetaFile = .data:0x8166578C; // type:object size:0x54 -lbl_816657E0 = .data:0x816657E0; // type:object size:0x13 data:string -lbl_816657F3 = .data:0x816657F3; // type:object size:0x55 -lbl_81665848 = .data:0x81665848; // type:object size:0xB0 +@3951 = .data:0x816657E0; // type:object size:0x13 scope:local data:string +@4002 = .data:0x816657F3; // type:object size:0x4E scope:local data:string +@3634 = .data:0x81665848; // type:object size:0x30 scope:local data:string +...data.0 = .data:0x81665848; // type:label scope:local +@3635 = .data:0x81665878; // type:object size:0x2E scope:local data:string +@3636 = .data:0x816658A6; // type:object size:0x28 scope:local data:string +@3637 = .data:0x816658CE; // type:object size:0x28 scope:local data:string sRMO_Ntsc_640x456IntDf__3ipl = .data:0x816658F8; // type:object size:0x3C scope:local +...data.0 = .data:0x816658F8; // type:label scope:local sRMO_Ntsc_640x456Prog__3ipl = .data:0x81665934; // type:object size:0x3C scope:local sRMO_Pal50_640x456IntDf__3ipl = .data:0x81665970; // type:object size:0x3C scope:local sRMO_Pal60_640x456IntDf__3ipl = .data:0x816659AC; // type:object size:0x3C scope:local sRMO_Pal60_640x456Prog__3ipl = .data:0x816659E8; // type:object size:0x3C scope:local -jumptable_81665A28 = .data:0x81665A28; // type:object size:0x28 scope:local -lbl_81665A50 = .data:0x81665A50; // type:object size:0x13 data:string +@3748 = .data:0x81665A28; // type:object size:0x28 scope:local +@3856 = .data:0x81665A50; // type:object size:0x13 scope:local data:string lbl_81665A68 = .data:0x81665A68; // type:object size:0x14 jumptable_81665A7C = .data:0x81665A7C; // type:object size:0x94 scope:local lbl_81665B10 = .data:0x81665B10; // type:object size:0xD data:string @@ -14355,32 +14366,68 @@ lbl_81665B68 = .data:0x81665B68; // type:object size:0x15E lbl_81665CC6 = .data:0x81665CC6; // type:object size:0x30 data:string lbl_81665CF6 = .data:0x81665CF6; // type:object size:0x16 jumptable_81665D0C = .data:0x81665D0C; // type:object size:0x9C scope:local -lbl_81665DA8 = .data:0x81665DA8; // type:object size:0xD data:string -lbl_81665DB5 = .data:0x81665DB5; // type:object size:0xD data:string -lbl_81665DC2 = .data:0x81665DC2; // type:object size:0xD data:string -lbl_81665DCF = .data:0x81665DCF; // type:object size:0xD data:string -lbl_81665DDC = .data:0x81665DDC; // type:object size:0xD data:string -lbl_81665DE9 = .data:0x81665DE9; // type:object size:0xD data:string -lbl_81665DF6 = .data:0x81665DF6; // type:object size:0xD data:string -lbl_81665E03 = .data:0x81665E03; // type:object size:0xD data:string -lbl_81665E10 = .data:0x81665E10; // type:object size:0x14 -scLayoutName__3ipl = .data:0x81665E24; // type:object size:0x24 -lbl_81665E48 = .data:0x81665E48; // type:object size:0xB data:string -lbl_81665E53 = .data:0x81665E53; // type:object size:0xD -mscBtnName__Q23ipl12DialogWindow = .data:0x81665E60; // type:object size:0x42A -lbl_8166628A = .data:0x8166628A; // type:object size:0x14 data:string -lbl_8166629E = .data:0x8166629E; // type:object size:0x9 data:string -lbl_816662A7 = .data:0x816662A7; // type:object size:0xB data:string -lbl_816662B2 = .data:0x816662B2; // type:object size:0x9 data:string -lbl_816662BB = .data:0x816662BB; // type:object size:0x10 data:string -lbl_816662CB = .data:0x816662CB; // type:object size:0x14 data:string -lbl_816662DF = .data:0x816662DF; // type:object size:0x16 data:string -lbl_816662F5 = .data:0x816662F5; // type:object size:0xF data:string -lbl_81666304 = .data:0x81666304; // type:object size:0x10 -__vt__Q33ipl3gui11PaneManager = .data:0x81666314; // type:object size:0x5C +@3546 = .data:0x81665DA8; // type:object size:0xD scope:local data:string +@3547 = .data:0x81665DB5; // type:object size:0xD scope:local data:string +@3548 = .data:0x81665DC2; // type:object size:0xD scope:local data:string +@3549 = .data:0x81665DCF; // type:object size:0xD scope:local data:string +@3550 = .data:0x81665DDC; // type:object size:0xD scope:local data:string +@3551 = .data:0x81665DE9; // type:object size:0xD scope:local data:string +@3552 = .data:0x81665DF6; // type:object size:0xD scope:local data:string +@3553 = .data:0x81665E03; // type:object size:0xD scope:local data:string +@3554 = .data:0x81665E10; // type:object size:0x13 scope:local data:string +scLayoutName__3ipl = .data:0x81665E24; // type:object size:0x24 scope:local +@3801 = .data:0x81665E48; // type:object size:0xB scope:local data:string +@3859 = .data:0x81665E53; // type:object size:0x9 scope:local data:string +mscBtnName__Q23ipl12DialogWindow = .data:0x81665E60; // type:object size:0xC data:4byte +...data.0 = .data:0x81665E60; // type:label scope:local +@6806 = .data:0x81665E6C; // type:object size:0x19 scope:local data:string +@6807 = .data:0x81665E85; // type:object size:0x22 scope:local data:string +@6809 = .data:0x81665EA7; // type:object size:0x23 scope:local data:string +@6810 = .data:0x81665ECA; // type:object size:0x1E scope:local data:string +@6812 = .data:0x81665EE8; // type:object size:0x21 scope:local data:string +@6816 = .data:0x81665F09; // type:object size:0x19 scope:local data:string +@6817 = .data:0x81665F22; // type:object size:0x22 scope:local data:string +@6818 = .data:0x81665F44; // type:object size:0x23 scope:local data:string +@6819 = .data:0x81665F67; // type:object size:0x25 scope:local data:string +@6820 = .data:0x81665F8C; // type:object size:0xC scope:local data:string +@6821 = .data:0x81665F98; // type:object size:0x26 scope:local data:string +@6822 = .data:0x81665FBE; // type:object size:0x26 scope:local data:string +@6823 = .data:0x81665FE4; // type:object size:0xD scope:local data:string +@6824 = .data:0x81665FF1; // type:object size:0x19 scope:local data:string +@6825 = .data:0x8166600A; // type:object size:0x22 scope:local data:string +@6826 = .data:0x8166602C; // type:object size:0x23 scope:local data:string +@6827 = .data:0x8166604F; // type:object size:0x25 scope:local data:string +@6828 = .data:0x81666074; // type:object size:0x26 scope:local data:string +@6829 = .data:0x8166609A; // type:object size:0x26 scope:local data:string +@6830 = .data:0x816660C0; // type:object size:0xC scope:local data:string +@6831 = .data:0x816660CC; // type:object size:0xD scope:local data:string +@6832 = .data:0x816660D9; // type:object size:0x19 scope:local data:string +@6833 = .data:0x816660F2; // type:object size:0x22 scope:local data:string +@6834 = .data:0x81666114; // type:object size:0x23 scope:local data:string +@6835 = .data:0x81666137; // type:object size:0x25 scope:local data:string +@6836 = .data:0x8166615C; // type:object size:0x26 scope:local data:string +@6837 = .data:0x81666182; // type:object size:0x26 scope:local data:string +@6838 = .data:0x816661A8; // type:object size:0xC scope:local data:string +@6839 = .data:0x816661B4; // type:object size:0xD scope:local data:string +@6840 = .data:0x816661C1; // type:object size:0x18 scope:local data:string +@6841 = .data:0x816661D9; // type:object size:0x21 scope:local data:string +@6842 = .data:0x816661FA; // type:object size:0x22 scope:local data:string +@6843 = .data:0x8166621C; // type:object size:0x24 scope:local data:string +@6844 = .data:0x81666240; // type:object size:0x25 scope:local data:string +@6845 = .data:0x81666265; // type:object size:0x25 scope:local data:string +@6958 = .data:0x8166628A; // type:object size:0x14 scope:local data:string +@7350 = .data:0x8166629E; // type:object size:0x9 scope:local data:string +@7352 = .data:0x816662A7; // type:object size:0xB scope:local data:string +@7398 = .data:0x816662B2; // type:object size:0x9 scope:local data:string +@7548 = .data:0x816662BB; // type:object size:0x10 scope:local data:string +@7549 = .data:0x816662CB; // type:object size:0x14 scope:local data:string +@7769 = .data:0x816662DF; // type:object size:0x16 scope:local data:string +@7844 = .data:0x816662F5; // type:object size:0xF scope:local data:string +@7845 = .data:0x81666304; // type:object size:0xF scope:local data:string +__vt__Q33ipl3gui11PaneManager = .data:0x81666314; // type:object size:0x5C scope:weak __vt__Q23ipl12DialogWindow = .data:0x81666370; // type:object size:0x18 -__vt__Q23gui12EventHandler = .data:0x81666388; // type:object size:0x18 -__vt__Q23gui9Interface = .data:0x816663A0; // type:object size:0x20 +__vt__Q23gui12EventHandler = .data:0x81666388; // type:object size:0x18 scope:weak +__vt__Q23gui9Interface = .data:0x816663A0; // type:object size:0x20 scope:weak lbl_816663C0 = .data:0x816663C0; // type:object size:0x12 data:string lbl_816663D8 = .data:0x816663D8; // type:object size:0xB data:string lbl_816663E3 = .data:0x816663E3; // type:object size:0xB data:string @@ -14454,10 +14501,10 @@ jumptable_81669698 = .data:0x81669698; // type:object size:0x38 scope:local __vt__Q33ipl8keyboard7Manager = .data:0x816696D0; // type:object size:0x4C __vt__Q33ipl8keyboard13EventObserver = .data:0x8166971C; // type:object size:0x28 @STRING_2@onOutOfLength__Q29textinput13EventObserverFv = .data:0x81669744; // type:object size:0xD data:string -lbl_81669758 = .data:0x81669758; // type:object size:0xF data:string -lbl_81669767 = .data:0x81669767; // type:object size:0xD -jumptable_81669774 = .data:0x81669774; // type:object size:0x28 scope:local -lbl_8166979C = .data:0x8166979C; // type:object size:0x1C +@3797 = .data:0x81669758; // type:object size:0xF scope:local data:string +@3837 = .data:0x81669767; // type:object size:0xB scope:local data:string +@3839 = .data:0x81669774; // type:object size:0x28 scope:local +@3841 = .data:0x8166979C; // type:object size:0x1B scope:local data:string lbl_816697B8 = .data:0x816697B8; // type:object size:0x12 data:string lbl_816697CA = .data:0x816697CA; // type:object size:0x1E data:string lbl_816697E8 = .data:0x816697E8; // type:object size:0x56 @@ -14485,7 +14532,7 @@ lbl_8166A01C = .data:0x8166A01C; // type:object size:0x22 data:string lbl_8166A03E = .data:0x8166A03E; // type:object size:0x2C data:string lbl_8166A06A = .data:0x8166A06A; // type:object size:0x2C data:string lbl_8166A096 = .data:0x8166A096; // type:object size:0x2A -jumptable_8166A0C0 = .data:0x8166A0C0; // type:object size:0xA0 scope:local +@4061 = .data:0x8166A0C0; // type:object size:0xA0 scope:local __vt__Q33ipl3bs27Manager = .data:0x8166A160; // type:object size:0xC lbl_8166A170 = .data:0x8166A170; // type:object size:0x23 data:string lbl_8166A193 = .data:0x8166A193; // type:object size:0xD @@ -14501,7 +14548,7 @@ ipl_error_spa_bmg = .data:0x8166B8C0; // type:object size:0x420 data:byte norelo ipl_error_kor_bmg = .data:0x8166BCE0; // type:object size:0x220 data:byte noreloc ipl_error_chn_bmg = .data:0x8166BF00; // type:object size:0x1C0 data:byte noreloc fatalDlg_ash = .data:0x8166C0C0; // type:object size:0x5A08 data:byte noreloc -__vt__Q33ipl7utility4Tree = .data:0x81671AC8; // type:object size:0x1C +__vt__Q33ipl7utility4Tree = .data:0x81671AC8; // type:object size:0x1C scope:weak mLangPath__Q33ipl7utility8Language = .data:0x81671AE8; // type:object size:0x28 lbl_81671B10 = .data:0x81671B10; // type:object size:0x11 data:string lbl_81671B21 = .data:0x81671B21; // type:object size:0x17 data:string @@ -14527,7 +14574,11 @@ __vt__Q23gui13PaneComponent = .data:0x81672FF0; // type:object size:0x74 __vt__Q23gui11PaneManager = .data:0x81673064; // type:object size:0x5C __vt__Q23gui7Manager = .data:0x816730C0; // type:object size:0x44 __vt__Q23gui9Component = .data:0x81673104; // type:object size:0x6C -lbl_81673170 = .data:0x81673170; // type:object size:0x64 +@5061 = .data:0x81673170; // type:object size:0x24 scope:local data:string +...data.0 = .data:0x81673170; // type:label scope:local +@5062 = .data:0x81673194; // type:object size:0xB scope:local data:string +@5063 = .data:0x8167319F; // type:object size:0x29 scope:local data:string +@5064 = .data:0x816731C8; // type:object size:0xB scope:local data:string __vt__Q33ipl6layout6Object = .data:0x816731D4; // type:object size:0xC __vt__Q33ipl6layout13GroupAnimator = .data:0x816731E0; // type:object size:0x18 __vt__Q33ipl6layout12PaneAnimator = .data:0x816731F8; // type:object size:0x18 @@ -14666,7 +14717,7 @@ lbl_8167428C = .data:0x8167428C; // type:object size:0x5D lbl_816742E9 = .data:0x816742E9; // type:object size:0x6D lbl_81674356 = .data:0x81674356; // type:object size:0x2A __vt__Q37ext_ead3www14SurfaceManager = .data:0x81674380; // type:object size:0x17 -lbl_81674398 = .data:0x81674398; // type:object size:0x24 +@530 = .data:0x81674398; // type:object size:0x21 scope:local data:string __vt__Q37ext_ead3www9ut_thread = .data:0x816743BC; // type:object size:0x28 lbl_816743E8 = .data:0x816743E8; // type:object size:0x38 lbl_81674420 = .data:0x81674420; // type:object size:0x1E data:string @@ -14908,7 +14959,7 @@ __vt__Q310homebutton3gui11PaneManager = .data:0x81675F88; // type:object size:0x __vt__Q310homebutton3gui7Manager = .data:0x81675FDC; // type:object size:0x3C __vt__Q310homebutton3gui9Component = .data:0x81676018; // type:object size:0x5C __vt__Q210homebutton9RemoteSpk = .data:0x81676078; // type:object size:0x10 -lbl_81676088 = .data:0x81676088; // type:object size:0x2F data:string +@464 = .data:0x81676088; // type:object size:0x2F scope:local data:string lbl_816760B8 = .data:0x816760B8; // type:object size:0x1D4 jumptable_8167628C = .data:0x8167628C; // type:object size:0x94 scope:local lbl_81676320 = .data:0x81676320; // type:object size:0x9 @@ -15014,8 +15065,8 @@ lbl_81678ECC = .data:0x81678ECC; // type:object size:0xC data:wstring __vt__Q33ipl5scene17AddressInputEvent = .data:0x81678ED8; // type:object size:0x18 __vt__Q33ipl5scene16AddressEditEvent = .data:0x81678EF0; // type:object size:0x18 __vt__Q33ipl5scene11AddressEdit = .data:0x81678F08; // type:object size:0x120 -lbl_81679028 = .data:0x81679028; // type:object size:0x17 data:string -lbl_8167903F = .data:0x8167903F; // type:object size:0x19 +@3779 = .data:0x81679028; // type:object size:0x17 scope:local data:string +@3780 = .data:0x8167903F; // type:object size:0x17 scope:local data:string __vt__Q33ipl5scene8BackMenu = .data:0x81679058; // type:object size:0x68 backToWiiMenu_arc = .data:0x816790C0; // type:object size:0x2720 data:byte noreloc lbl_8167B7E0 = .data:0x8167B7E0; // type:object size:0xA data:string @@ -15510,32 +15561,37 @@ lbl_81680052 = .data:0x81680052; // type:object size:0x12 __vt__Q33ipl5scene21FaceSelectButtonEvent = .data:0x81680064; // type:object size:0x1C __vt__Q33ipl5scene15FaceSelectEvent = .data:0x81680080; // type:object size:0x18 __vt__Q33ipl5scene10FaceSelect = .data:0x81680098; // type:object size:0x100 -lbl_81680198 = .data:0x81680198; // type:object size:0xB data:string -lbl_816801A3 = .data:0x816801A3; // type:object size:0xB data:string -lbl_816801AE = .data:0x816801AE; // type:object size:0xB data:string -lbl_816801B9 = .data:0x816801B9; // type:object size:0xB data:string -lbl_816801C4 = .data:0x816801C4; // type:object size:0xB data:string -lbl_816801CF = .data:0x816801CF; // type:object size:0xB data:string -lbl_816801DA = .data:0x816801DA; // type:object size:0xB data:string -lbl_816801E5 = .data:0x816801E5; // type:object size:0xB data:string -lbl_816801F0 = .data:0x816801F0; // type:object size:0xC +@3588 = .data:0x81680198; // type:object size:0xB scope:local data:string +...data.0 = .data:0x81680198; // type:label scope:local +@3589 = .data:0x816801A3; // type:object size:0xB scope:local data:string +@3590 = .data:0x816801AE; // type:object size:0xB scope:local data:string +@3591 = .data:0x816801B9; // type:object size:0xB scope:local data:string +@3592 = .data:0x816801C4; // type:object size:0xB scope:local data:string +@3593 = .data:0x816801CF; // type:object size:0xB scope:local data:string +@3594 = .data:0x816801DA; // type:object size:0xB scope:local data:string +@3595 = .data:0x816801E5; // type:object size:0xB scope:local data:string +@3596 = .data:0x816801F0; // type:object size:0xB scope:local data:string has_pane_name__Q23ipl5scene = .data:0x816801FC; // type:object size:0x30 -lbl_8168022C = .data:0x8168022C; // type:object size:0x9 data:string -lbl_81680235 = .data:0x81680235; // type:object size:0xC data:string -lbl_81680241 = .data:0x81680241; // type:object size:0xC data:string -lbl_8168024D = .data:0x8168024D; // type:object size:0xC data:string -lbl_81680259 = .data:0x81680259; // type:object size:0xC data:string -lbl_81680265 = .data:0x81680265; // type:object size:0xC data:string -lbl_81680271 = .data:0x81680271; // type:object size:0xC data:string -lbl_8168027D = .data:0x8168027D; // type:object size:0xC data:string -lbl_81680289 = .data:0x81680289; // type:object size:0xC data:string -lbl_81680295 = .data:0x81680295; // type:object size:0xC data:string -lbl_816802A1 = .data:0x816802A1; // type:object size:0x9 data:string -lbl_816802AA = .data:0x816802AA; // type:object size:0xA +@3599 = .data:0x8168022C; // type:object size:0x9 scope:local data:string +@3600 = .data:0x81680235; // type:object size:0xC scope:local data:string +@3601 = .data:0x81680241; // type:object size:0xC scope:local data:string +@3602 = .data:0x8168024D; // type:object size:0xC scope:local data:string +@3603 = .data:0x81680259; // type:object size:0xC scope:local data:string +@3604 = .data:0x81680265; // type:object size:0xC scope:local data:string +@3605 = .data:0x81680271; // type:object size:0xC scope:local data:string +@3606 = .data:0x8168027D; // type:object size:0xC scope:local data:string +@3607 = .data:0x81680289; // type:object size:0xC scope:local data:string +@3608 = .data:0x81680295; // type:object size:0xC scope:local data:string +@3609 = .data:0x816802A1; // type:object size:0x9 scope:local data:string +@3610 = .data:0x816802AA; // type:object size:0x9 scope:local data:string push_pane_name__Q23ipl5scene = .data:0x816802B4; // type:object size:0x30 -lbl_816802E4 = .data:0x816802E4; // type:object size:0xC -jumptable_816802F0 = .data:0x816802F0; // type:object size:0x30 scope:local -lbl_81680370 = .data:0x81680370; // type:object size:0x10 data:string +@4217 = .data:0x816802E4; // type:object size:0xB scope:local data:string +@4242 = .data:0x816802F0; // type:object size:0x30 scope:local +@4300 = .data:0x81680320; // type:object size:0xF scope:local data:string +@4301 = .data:0x8168032F; // type:object size:0x16 scope:local data:string +@4303 = .data:0x81680345; // type:object size:0x14 scope:local data:string +@4305 = .data:0x81680359; // type:object size:0x17 scope:local data:string +@4337 = .data:0x81680370; // type:object size:0x10 scope:local data:string __vt__Q33ipl5scene8skHealth = .data:0x81680380; // type:object size:0x68 lbl_816803E8 = .data:0x816803E8; // type:object size:0x1D data:string lbl_81680405 = .data:0x81680405; // type:object size:0x1BB @@ -15553,38 +15609,46 @@ lbl_81680C9F = .data:0x81680C9F; // type:object size:0xF data:string lbl_81680CAE = .data:0x81680CAE; // type:object size:0x12A __vt__Q33ipl5scene12LetterWriter = .data:0x81680DD8; // type:object size:0xC8 __vt__Q49textinput6extend4memo19NigaoeEventObserver = .data:0x81680EA0; // type:object size:0x18 -lbl_81680EB8 = .data:0x81680EB8; // type:object size:0x30 -lbl_81680EE8 = .data:0x81680EE8; // type:object size:0xB data:string -lbl_81680EF3 = .data:0x81680EF3; // type:object size:0xB data:string -lbl_81680EFE = .data:0x81680EFE; // type:object size:0xB data:string -lbl_81680F09 = .data:0x81680F09; // type:object size:0xB data:string -lbl_81680F14 = .data:0x81680F14; // type:object size:0xB data:string -lbl_81680F1F = .data:0x81680F1F; // type:object size:0xB data:string -lbl_81680F2A = .data:0x81680F2A; // type:object size:0xB data:string -lbl_81680F35 = .data:0x81680F35; // type:object size:0xB data:string -lbl_81680F40 = .data:0x81680F40; // type:object size:0xB data:string -lbl_81680F4B = .data:0x81680F4B; // type:object size:0xB data:string -lbl_81680F56 = .data:0x81680F56; // type:object size:0xB data:string -lbl_81680F61 = .data:0x81680F61; // type:object size:0xB data:string +wide_pane_names__Q23ipl5scene = .data:0x81680EB8; // type:object size:0x30 scope:local +...data.0 = .data:0x81680EB8; // type:label scope:local +@3604 = .data:0x81680EE8; // type:object size:0xB scope:local data:string +@3605 = .data:0x81680EF3; // type:object size:0xB scope:local data:string +@3606 = .data:0x81680EFE; // type:object size:0xB scope:local data:string +@3607 = .data:0x81680F09; // type:object size:0xB scope:local data:string +@3608 = .data:0x81680F14; // type:object size:0xB scope:local data:string +@3609 = .data:0x81680F1F; // type:object size:0xB scope:local data:string +@3610 = .data:0x81680F2A; // type:object size:0xB scope:local data:string +@3611 = .data:0x81680F35; // type:object size:0xB scope:local data:string +@3612 = .data:0x81680F40; // type:object size:0xB scope:local data:string +@3613 = .data:0x81680F4B; // type:object size:0xB scope:local data:string +@3614 = .data:0x81680F56; // type:object size:0xB scope:local data:string +@3615 = .data:0x81680F61; // type:object size:0xB scope:local data:string lo_pane_name__Q23ipl5scene = .data:0x81680F6C; // type:object size:0x30 -lbl_81680F9C = .data:0x81680F9C; // type:object size:0xC data:string -lbl_81680FA8 = .data:0x81680FA8; // type:object size:0xC data:string -lbl_81680FB4 = .data:0x81680FB4; // type:object size:0xC data:string -lbl_81680FC0 = .data:0x81680FC0; // type:object size:0xC data:string -lbl_81680FCC = .data:0x81680FCC; // type:object size:0xC data:string -lbl_81680FD8 = .data:0x81680FD8; // type:object size:0xC data:string -lbl_81680FE4 = .data:0x81680FE4; // type:object size:0xC data:string -lbl_81680FF0 = .data:0x81680FF0; // type:object size:0xC data:string -lbl_81680FFC = .data:0x81680FFC; // type:object size:0xC data:string -lbl_81681008 = .data:0x81681008; // type:object size:0xC data:string -lbl_81681014 = .data:0x81681014; // type:object size:0xC data:string -lbl_81681020 = .data:0x81681020; // type:object size:0xC data:string +@3616 = .data:0x81680F9C; // type:object size:0xC scope:local data:string +@3617 = .data:0x81680FA8; // type:object size:0xC scope:local data:string +@3618 = .data:0x81680FB4; // type:object size:0xC scope:local data:string +@3619 = .data:0x81680FC0; // type:object size:0xC scope:local data:string +@3620 = .data:0x81680FCC; // type:object size:0xC scope:local data:string +@3621 = .data:0x81680FD8; // type:object size:0xC scope:local data:string +@3622 = .data:0x81680FE4; // type:object size:0xC scope:local data:string +@3623 = .data:0x81680FF0; // type:object size:0xC scope:local data:string +@3624 = .data:0x81680FFC; // type:object size:0xC scope:local data:string +@3625 = .data:0x81681008; // type:object size:0xC scope:local data:string +@3626 = .data:0x81681014; // type:object size:0xC scope:local data:string +@3627 = .data:0x81681020; // type:object size:0xC scope:local data:string lopush_pane_name__Q23ipl5scene = .data:0x8168102C; // type:object size:0x30 -lbl_8168105C = .data:0x8168105C; // type:object size:0x10 -jumptable_8168106C = .data:0x8168106C; // type:object size:0x30 scope:local -lbl_8168111D = .data:0x8168111D; // type:object size:0x14 data:string -lbl_81681131 = .data:0x81681131; // type:object size:0x13 -__vt__Q33ipl5scene9LimitOver = .data:0x81681144; // type:object size:0x6C +@4195 = .data:0x8168105C; // type:object size:0xE scope:local data:string +@4215 = .data:0x8168106C; // type:object size:0x30 scope:local +@4319 = .data:0x8168109C; // type:object size:0x11 scope:local data:string +@4320 = .data:0x816810AD; // type:object size:0xB scope:local data:string +@4321 = .data:0x816810B8; // type:object size:0xB scope:local data:string +@4322 = .data:0x816810C3; // type:object size:0xB scope:local data:string +@4323 = .data:0x816810CE; // type:object size:0x19 scope:local data:string +@4325 = .data:0x816810E7; // type:object size:0x1C scope:local data:string +@4327 = .data:0x81681103; // type:object size:0x1A scope:local data:string +@4357 = .data:0x8168111D; // type:object size:0x14 scope:local data:string +@4367 = .data:0x81681131; // type:object size:0x10 scope:local data:string +__vt__Q33ipl5scene9LimitOver = .data:0x81681144; // type:object size:0x68 lbl_816811B0 = .data:0x816811B0; // type:object size:0x9 data:string lbl_816811B9 = .data:0x816811B9; // type:object size:0xB data:string lbl_816811C4 = .data:0x816811C4; // type:object size:0xC @@ -15872,7 +15936,7 @@ lbl_81684782 = .data:0x81684782; // type:object size:0xF data:string lbl_81684791 = .data:0x81684791; // type:object size:0xF data:string __vt__Q33ipl5scene19ParentalDialogEvent = .data:0x816847A0; // type:object size:0x18 __vt__Q33ipl5scene14ParentalDialog = .data:0x816847B8; // type:object size:0x100 -lbl_816848B8 = .data:0x816848B8; // type:object size:0x10 +@3657 = .data:0x816848B8; // type:object size:0xE scope:local data:string __vt__Q33ipl5scene6Reboot = .data:0x816848C8; // type:object size:0x4C __vt__Q33ipl5scene9RootScene = .data:0x81684918; // type:object size:0x4C lbl_81684968 = .data:0x81684968; // type:object size:0x9 data:string @@ -16151,15 +16215,27 @@ jumptable_81688698 = .data:0x81688698; // type:object size:0x28 scope:local jumptable_816886C0 = .data:0x816886C0; // type:object size:0x84 scope:local jumptable_81688744 = .data:0x81688744; // type:object size:0x2C scope:local lbl_81688770 = .data:0x81688770; // type:object size:0x40 -lbl_816887B0 = .data:0x816887B0; // type:object size:0xC data:string -lbl_816887BC = .data:0x816887BC; // type:object size:0x14 +@3647 = .data:0x816887B0; // type:object size:0xC scope:local data:string +@3656 = .data:0x816887BC; // type:object size:0x13 scope:local data:string __vt__Q33ipl5scene9SettingBg = .data:0x816887D0; // type:object size:0x4C -lbl_81688820 = .data:0x81688820; // type:object size:0xF data:string -lbl_8168882F = .data:0x8168882F; // type:object size:0xF data:string -lbl_8168883E = .data:0x8168883E; // type:object size:0x112 -lbl_81688950 = .data:0x81688950; // type:object size:0xC data:string -lbl_8168895C = .data:0x8168895C; // type:object size:0x16 data:string -lbl_81688972 = .data:0x81688972; // type:object size:0x6A +@3640 = .data:0x81688820; // type:object size:0xF scope:local data:string +...data.0 = .data:0x81688820; // type:label scope:local +@3641 = .data:0x8168882F; // type:object size:0xF scope:local data:string +@4345 = .data:0x8168883E; // type:object size:0xD scope:local data:string +@4383 = .data:0x8168884B; // type:object size:0x12 scope:local data:string +@4384 = .data:0x8168885D; // type:object size:0x19 scope:local data:string +@4386 = .data:0x81688876; // type:object size:0x1E scope:local data:string +@4387 = .data:0x81688894; // type:object size:0xC scope:local data:string +@4388 = .data:0x816888A0; // type:object size:0x1F scope:local data:string +@4389 = .data:0x816888BF; // type:object size:0x1B scope:local data:string +@4390 = .data:0x816888DA; // type:object size:0xD scope:local data:string +@4391 = .data:0x816888E7; // type:object size:0x1C scope:local data:string +@4393 = .data:0x81688903; // type:object size:0x1A scope:local data:string +@4394 = .data:0x8168891D; // type:object size:0x19 scope:local data:string +@4395 = .data:0x81688936; // type:object size:0x1A scope:local data:string +@4396 = .data:0x81688950; // type:object size:0xC scope:local data:string +@4467 = .data:0x8168895C; // type:object size:0x16 scope:local data:string +@4563 = .data:0x81688972; // type:object size:0xC scope:local data:string __vt__Q33ipl5scene13SettingButton = .data:0x816889DC; // type:object size:0x84 lbl_81688A98 = .data:0x81688A98; // type:object size:0x10 data:string lbl_81688AA8 = .data:0x81688AA8; // type:object size:0xD data:string @@ -17265,7 +17341,7 @@ t$2350 = .data:0x8169CD28; // type:object size:0x100 scope:local data:4byte k$2351 = .data:0x8169CE28; // type:object size:0xC0 scope:local data:4byte lbl_8169CEE8 = .data:0x8169CEE8; // type:object size:0x58 lbl_8169CF40 = .data:0x8169CF40; // type:object size:0x20 -lbl_8169CF60 = .data:0x8169CF60; // type:object size:0x38 +@1 = .data:0x8169CF60; // type:object size:0x37 scope:local data:string lbl_8169CF98 = .data:0x8169CF98; // type:object size:0x48 lbl_8169CFE0 = .data:0x8169CFE0; // type:object size:0x28 lbl_8169D008 = .data:0x8169D008; // type:object size:0x30 @@ -17535,143 +17611,275 @@ __vt__Q34nw4r3lyt18AnimTransformBasic = .data:0x816A1BD0; // type:object size:0x lbl_816A1BF0 = .data:0x816A1BF0; // type:object size:0x48 __vt__Q34nw4r3lyt16ResourceAccessor = .data:0x816A1C38; // type:object size:0x18 __vt__Q34nw4r3lyt24MultiArcResourceAccessor = .data:0x816A1C50; // type:object size:0x18 -lbl_816A1C68 = .data:0x816A1C68; // type:object size:0x37 data:string -@1 = .data:0x816A1CA0; // type:object size:0x47 scope:local data:string -@1746 = .data:0x816A1E90; // type:object size:0x68 scope:local -__OSExceptionLocations = .data:0x816A1EF8; // type:object size:0x3C scope:local data:string +@411 = .data:0x816A1C68; // type:object size:0x37 scope:local data:string +@405 = .data:0x816A1CA0; // type:object size:0x47 scope:local data:string +...data.0 = .data:0x816A1CA0; // type:label scope:local +@1255 = .data:0x816A1CE8; // type:object size:0x10 scope:local data:string +@1256 = .data:0x816A1CF8; // type:object size:0x16 scope:local data:string +@1257 = .data:0x816A1D10; // type:object size:0xC scope:local data:string +@1258 = .data:0x816A1D1C; // type:object size:0x9 scope:local data:string +@1259 = .data:0x816A1D28; // type:object size:0x10 scope:local data:string +@1260 = .data:0x816A1D38; // type:object size:0x18 scope:local data:string +@1261 = .data:0x816A1D50; // type:object size:0x1A scope:local data:string +@1262 = .data:0x816A1D6C; // type:object size:0x1A scope:local data:string +@1264 = .data:0x816A1D88; // type:object size:0xB scope:local data:string +@1265 = .data:0x816A1D94; // type:object size:0xA scope:local data:string +@1266 = .data:0x816A1DA0; // type:object size:0xA scope:local data:string +@1267 = .data:0x816A1DAC; // type:object size:0xA scope:local data:string +@1268 = .data:0x816A1DB8; // type:object size:0xA scope:local data:string +@1269 = .data:0x816A1DC4; // type:object size:0xA scope:local data:string +@1270 = .data:0x816A1DD0; // type:object size:0x15 scope:local data:string +@1271 = .data:0x816A1DE8; // type:object size:0x1B scope:local data:string +@1272 = .data:0x816A1E04; // type:object size:0x1B scope:local data:string +@1274 = .data:0x816A1E20; // type:object size:0x19 scope:local data:string +@1275 = .data:0x816A1E3C; // type:object size:0xC scope:local data:string +@1276 = .data:0x816A1E48; // type:object size:0xE scope:local data:string +@1277 = .data:0x816A1E58; // type:object size:0x1A scope:local data:string +@1278 = .data:0x816A1E74; // type:object size:0x1A scope:local data:string +@1279 = .data:0x816A1E90; // type:object size:0x68 scope:local +@1338 = .data:0x816A1EF8; // type:object size:0x50 scope:local data:string +@1340 = .data:0x816A1F48; // type:object size:0x12 scope:local data:string +@1341 = .data:0x816A1F60; // type:object size:0x58 scope:local data:string +__OSExceptionLocations = .data:0x816A1FB8; // type:object size:0x3C scope:local +@1407 = .data:0x816A1FF4; // type:object size:0x1B scope:local data:string +@1408 = .data:0x816A2010; // type:object size:0x2E scope:local data:string +@1409 = .data:0x816A2040; // type:object size:0x2F scope:local data:string +@1410 = .data:0x816A2070; // type:object size:0x1B scope:local data:string ShutdownFunctionInfo = .data:0x816A2090; // type:object size:0x10 scope:local DSPInitCode = .data:0x816A20A0; // type:object size:0x80 scope:local -@878 = .data:0x816A2120; // type:object size:0x29 scope:local data:string -lbl_816A2358 = .data:0x816A2358; // type:object size:0x1B8 -@721 = .data:0x816A2510; // type:object size:0x23 scope:local data:string -@629 = .data:0x816A2538; // type:object size:0x16 scope:local data:string -@703 = .data:0x816A2814; // type:object size:0x40 scope:local -lbl_816A2858 = .data:0x816A2858; // type:object size:0x60 -lbl_816A28B8 = .data:0x816A28B8; // type:object size:0x18 -lbl_816A28D0 = .data:0x816A28D0; // type:object size:0x28 -lbl_816A28F8 = .data:0x816A28F8; // type:object size:0x98 -lbl_816A2990 = .data:0x816A2990; // type:object size:0x44 -lbl_816A29D4 = .data:0x816A29D4; // type:object size:0x1D4 -HankakuToCode = .data:0x816A2BA8; // type:object size:0x180 -Zenkaku2Code = .data:0x816A2D28; // type:object size:0x98A -InterruptPrioTable = .data:0x816A36B8; // type:object size:0x30 data:4byte +@416 = .data:0x816A2120; // type:object size:0x29 scope:local data:string +...data.0 = .data:0x816A2120; // type:label scope:local +@424 = .data:0x816A2150; // type:object size:0x18 scope:local data:string +@425 = .data:0x816A2168; // type:object size:0x1B scope:local data:string +@426 = .data:0x816A2188; // type:object size:0x30 scope:local data:string +@427 = .data:0x816A21B8; // type:object size:0x3C scope:local data:string +@428 = .data:0x816A21F4; // type:object size:0x37 scope:local data:string +@429 = .data:0x816A222C; // type:object size:0x3F scope:local data:string +@430 = .data:0x816A226C; // type:object size:0x29 scope:local data:string +@431 = .data:0x816A2298; // type:object size:0x1D scope:local data:string +@432 = .data:0x816A22B8; // type:object size:0x19 scope:local data:string +@444 = .data:0x816A22D4; // type:object size:0x19 scope:local data:string +@445 = .data:0x816A22F0; // type:object size:0x19 scope:local data:string +@446 = .data:0x816A230C; // type:object size:0x16 scope:local data:string +@447 = .data:0x816A2324; // type:object size:0x2E scope:local data:string +@559 = .data:0x816A2358; // type:object size:0x44 scope:local data:string +...data.0 = .data:0x816A2358; // type:label scope:local +@560 = .data:0x816A23A0; // type:object size:0x30 scope:local data:string +@561 = .data:0x816A23D0; // type:object size:0x2F scope:local data:string +@562 = .data:0x816A2400; // type:object size:0x2F scope:local data:string +@563 = .data:0x816A2430; // type:object size:0x11 scope:local data:string +@564 = .data:0x816A2444; // type:object size:0x21 scope:local data:string +@565 = .data:0x816A2468; // type:object size:0x12 scope:local data:string +@566 = .data:0x816A247C; // type:object size:0x19 scope:local data:string +@567 = .data:0x816A2498; // type:object size:0x12 scope:local data:string +@568 = .data:0x816A24AC; // type:object size:0x1D scope:local data:string +@569 = .data:0x816A24CC; // type:object size:0x26 scope:local data:string +@570 = .data:0x816A24F4; // type:object size:0x1C scope:local data:string +@575 = .data:0x816A2510; // type:object size:0x23 scope:local data:string +@470 = .data:0x816A2538; // type:object size:0x16 scope:local data:string +...data.0 = .data:0x816A2538; // type:label scope:local +@471 = .data:0x816A2550; // type:object size:0x26 scope:local data:string +@472 = .data:0x816A2578; // type:object size:0x1C scope:local data:string +@530 = .data:0x816A2594; // type:object size:0x1D scope:local data:string +@531 = .data:0x816A25B4; // type:object size:0x17 scope:local data:string +@533 = .data:0x816A25CC; // type:object size:0x31 scope:local data:string +@534 = .data:0x816A2600; // type:object size:0x10 scope:local data:string +@535 = .data:0x816A2610; // type:object size:0x60 scope:local data:string +@536 = .data:0x816A2670; // type:object size:0x4C scope:local data:string +@537 = .data:0x816A26BC; // type:object size:0x62 scope:local data:string +@538 = .data:0x816A2720; // type:object size:0x60 scope:local data:string +@539 = .data:0x816A2780; // type:object size:0x1F scope:local data:string +@540 = .data:0x816A27A0; // type:object size:0x1F scope:local data:string +@541 = .data:0x816A27C0; // type:object size:0x1B scope:local data:string +@542 = .data:0x816A27DC; // type:object size:0x35 scope:local data:string +@544 = .data:0x816A2814; // type:object size:0x40 scope:local +@902 = .data:0x816A2858; // type:object size:0x24 scope:local data:string +...data.0 = .data:0x816A2858; // type:label scope:local +@904 = .data:0x816A287C; // type:object size:0x39 scope:local data:string +@966 = .data:0x816A28B8; // type:object size:0x16 scope:local data:string +@995 = .data:0x816A28D0; // type:object size:0x26 scope:local data:string +@996 = .data:0x816A28F8; // type:object size:0x9 scope:local data:string +@1053 = .data:0x816A2904; // type:object size:0x2C scope:local data:string +@1054 = .data:0x816A2930; // type:object size:0x2E scope:local data:string +@1055 = .data:0x816A2960; // type:object size:0x2E scope:local data:string +@1061 = .data:0x816A2990; // type:object size:0x41 scope:local data:string +@1070 = .data:0x816A29D4; // type:object size:0x41 scope:local data:string +@1079 = .data:0x816A2A18; // type:object size:0x41 scope:local data:string +@1081 = .data:0x816A2A5C; // type:object size:0x45 scope:local data:string +@1083 = .data:0x816A2AA4; // type:object size:0x51 scope:local data:string +@1085 = .data:0x816A2AF8; // type:object size:0x11 scope:local data:string +@1087 = .data:0x816A2B0C; // type:object size:0xB scope:local data:string +@1089 = .data:0x816A2B18; // type:object size:0x47 scope:local data:string +@1091 = .data:0x816A2B60; // type:object size:0x44 scope:local data:string +HankakuToCode = .data:0x816A2BA8; // type:object size:0x180 scope:local +Zenkaku2Code = .data:0x816A2D28; // type:object size:0x98A scope:local +InterruptPrioTable = .data:0x816A36B8; // type:object size:0x30 scope:local data:4byte ShutdownFunctionInfo = .data:0x816A36E8; // type:object size:0x10 scope:local -lbl_816A36F8 = .data:0x816A36F8; // type:object size:0xC -lbl_816A3704 = .data:0x816A3704; // type:object size:0x1AC -jumptable_816738A8 = .data:0x816A38B0; // type:object size:0x20 scope:local -lbl_816A3980 = .data:0x816A3980; // type:object size:0x810 +@574 = .data:0x816A36F8; // type:object size:0xA scope:local data:string +...data.0 = .data:0x816A36F8; // type:label scope:local +@576 = .data:0x816A3704; // type:object size:0x29 scope:local data:string +@578 = .data:0x816A3730; // type:object size:0x2F scope:local data:string +@580 = .data:0x816A3760; // type:object size:0x36 scope:local data:string +@652 = .data:0x816A3798; // type:object size:0x1D scope:local data:string +@653 = .data:0x816A37B8; // type:object size:0x1B scope:local data:string +@654 = .data:0x816A37D4; // type:object size:0x17 scope:local data:string +@655 = .data:0x816A37EC; // type:object size:0x2D scope:local data:string +@656 = .data:0x816A381C; // type:object size:0x1D scope:local data:string +@657 = .data:0x816A383C; // type:object size:0x25 scope:local data:string +@658 = .data:0x816A3864; // type:object size:0x19 scope:local data:string +@659 = .data:0x816A3880; // type:object size:0x2E scope:local data:string +@661 = .data:0x816A38B0; // type:object size:0x20 scope:local +@665 = .data:0x816A38D0; // type:object size:0x31 scope:local data:string +@673 = .data:0x816A3904; // type:object size:0x3B scope:local data:string +@675 = .data:0x816A3940; // type:object size:0x3A scope:local data:string +@2024 = .data:0x816A3980; // type:object size:0x5F scope:local data:string +...data.0 = .data:0x816A3980; // type:label scope:local +@2025 = .data:0x816A39E0; // type:object size:0xB scope:local data:string +@2027 = .data:0x816A39EC; // type:object size:0x5F scope:local data:string +@2028 = .data:0x816A3A4C; // type:object size:0x46 scope:local data:string +@2029 = .data:0x816A3A94; // type:object size:0x7E scope:local data:string +@2030 = .data:0x816A3B14; // type:object size:0x7E scope:local data:string +@2031 = .data:0x816A3B94; // type:object size:0x7A scope:local data:string +@2032 = .data:0x816A3C10; // type:object size:0x7A scope:local data:string +@2033 = .data:0x816A3C8C; // type:object size:0x51 scope:local data:string +@2034 = .data:0x816A3CE0; // type:object size:0x71 scope:local data:string +@2035 = .data:0x816A3D54; // type:object size:0x39 scope:local data:string +@2036 = .data:0x816A3D90; // type:object size:0x49 scope:local data:string +@2037 = .data:0x816A3DDC; // type:object size:0x51 scope:local data:string +@2038 = .data:0x816A3E30; // type:object size:0x52 scope:local data:string +@2039 = .data:0x816A3E84; // type:object size:0x59 scope:local data:string +@2040 = .data:0x816A3EE0; // type:object size:0x42 scope:local data:string +@2041 = .data:0x816A3F24; // type:object size:0x3A scope:local data:string +@2042 = .data:0x816A3F60; // type:object size:0x3A scope:local data:string +@2043 = .data:0x816A3F9C; // type:object size:0x44 scope:local data:string +@2044 = .data:0x816A3FE0; // type:object size:0x44 scope:local data:string +@2045 = .data:0x816A4024; // type:object size:0x3B scope:local data:string +@2046 = .data:0x816A4060; // type:object size:0x3F scope:local data:string +@2047 = .data:0x816A40A0; // type:object size:0x67 scope:local data:string +@2048 = .data:0x816A4108; // type:object size:0x45 scope:local data:string +@2049 = .data:0x816A4150; // type:object size:0x3D scope:local data:string YearDays = .data:0x816A4190; // type:object size:0x30 scope:local LeapYearDays = .data:0x816A41C0; // type:object size:0x30 scope:local UcsAnsiTable = .data:0x816A41F0; // type:object size:0x40 scope:local data:2byte -Ucs00 = .data:0x816A4230; // type:object size:0x200 scope:local -Ucs03 = .data:0x816A4430; // type:object size:0x200 scope:local -Ucs04 = .data:0x816A4630; // type:object size:0x200 scope:local -Ucs20 = .data:0x816A4830; // type:object size:0x200 scope:local -Ucs21 = .data:0x816A4A30; // type:object size:0x200 scope:local -Ucs22 = .data:0x816A4C30; // type:object size:0x200 scope:local -Ucs23 = .data:0x816A4E30; // type:object size:0x200 scope:local -Ucs25 = .data:0x816A5030; // type:object size:0x200 scope:local -Ucs26 = .data:0x816A5230; // type:object size:0x200 scope:local -Ucs30 = .data:0x816A5430; // type:object size:0x200 scope:local -Ucs4E = .data:0x816A5630; // type:object size:0x200 scope:local -Ucs4F = .data:0x816A5830; // type:object size:0x200 scope:local -Ucs50 = .data:0x816A5A30; // type:object size:0x200 scope:local -Ucs51 = .data:0x816A5C30; // type:object size:0x200 scope:local -Ucs52 = .data:0x816A5E30; // type:object size:0x200 scope:local -Ucs53 = .data:0x816A6030; // type:object size:0x200 scope:local -Ucs54 = .data:0x816A6230; // type:object size:0x200 scope:local -Ucs55 = .data:0x816A6430; // type:object size:0x200 scope:local -Ucs56 = .data:0x816A6630; // type:object size:0x200 scope:local -Ucs57 = .data:0x816A6830; // type:object size:0x200 scope:local -Ucs58 = .data:0x816A6A30; // type:object size:0x200 scope:local -Ucs59 = .data:0x816A6C30; // type:object size:0x200 scope:local -Ucs5A = .data:0x816A6E30; // type:object size:0x200 scope:local -Ucs5B = .data:0x816A7030; // type:object size:0x200 scope:local -Ucs5C = .data:0x816A7230; // type:object size:0x200 scope:local -Ucs5D = .data:0x816A7430; // type:object size:0x200 scope:local -Ucs5E = .data:0x816A7630; // type:object size:0x200 scope:local -Ucs5F = .data:0x816A7830; // type:object size:0x200 scope:local -Ucs60 = .data:0x816A7A30; // type:object size:0x200 scope:local -Ucs61 = .data:0x816A7C30; // type:object size:0x200 scope:local -Ucs62 = .data:0x816A7E30; // type:object size:0x200 scope:local -Ucs63 = .data:0x816A8030; // type:object size:0x200 scope:local -Ucs64 = .data:0x816A8230; // type:object size:0x200 scope:local -Ucs65 = .data:0x816A8430; // type:object size:0x200 scope:local -Ucs66 = .data:0x816A8630; // type:object size:0x200 scope:local -Ucs67 = .data:0x816A8830; // type:object size:0x200 scope:local -Ucs68 = .data:0x816A8A30; // type:object size:0x200 scope:local -Ucs69 = .data:0x816A8C30; // type:object size:0x200 scope:local -Ucs6A = .data:0x816A8E30; // type:object size:0x200 scope:local -Ucs6B = .data:0x816A9030; // type:object size:0x200 scope:local -Ucs6C = .data:0x816A9230; // type:object size:0x200 scope:local -Ucs6D = .data:0x816A9430; // type:object size:0x200 scope:local -Ucs6E = .data:0x816A9630; // type:object size:0x200 scope:local -Ucs6F = .data:0x816A9830; // type:object size:0x200 scope:local -Ucs70 = .data:0x816A9A30; // type:object size:0x200 scope:local -Ucs71 = .data:0x816A9C30; // type:object size:0x200 scope:local -Ucs72 = .data:0x816A9E30; // type:object size:0x200 scope:local -Ucs73 = .data:0x816AA030; // type:object size:0x200 scope:local -Ucs74 = .data:0x816AA230; // type:object size:0x200 scope:local -Ucs75 = .data:0x816AA430; // type:object size:0x200 scope:local -Ucs76 = .data:0x816AA630; // type:object size:0x200 scope:local -Ucs77 = .data:0x816AA830; // type:object size:0x200 scope:local -Ucs78 = .data:0x816AAA30; // type:object size:0x200 scope:local -Ucs79 = .data:0x816AAC30; // type:object size:0x200 scope:local -Ucs7A = .data:0x816AAE30; // type:object size:0x200 scope:local -Ucs7B = .data:0x816AB030; // type:object size:0x200 scope:local -Ucs7C = .data:0x816AB230; // type:object size:0x200 scope:local -Ucs7D = .data:0x816AB430; // type:object size:0x200 scope:local -Ucs7E = .data:0x816AB630; // type:object size:0x200 scope:local -Ucs7F = .data:0x816AB830; // type:object size:0x200 scope:local -Ucs80 = .data:0x816ABA30; // type:object size:0x200 scope:local -Ucs81 = .data:0x816ABC30; // type:object size:0x200 scope:local -Ucs82 = .data:0x816ABE30; // type:object size:0x200 scope:local -Ucs83 = .data:0x816AC030; // type:object size:0x200 scope:local -Ucs84 = .data:0x816AC230; // type:object size:0x200 scope:local -Ucs85 = .data:0x816AC430; // type:object size:0x200 scope:local -Ucs86 = .data:0x816AC630; // type:object size:0x200 scope:local -Ucs87 = .data:0x816AC830; // type:object size:0x200 scope:local -Ucs88 = .data:0x816ACA30; // type:object size:0x200 scope:local -Ucs89 = .data:0x816ACC30; // type:object size:0x200 scope:local -Ucs8A = .data:0x816ACE30; // type:object size:0x200 scope:local -Ucs8B = .data:0x816AD030; // type:object size:0x200 scope:local -Ucs8C = .data:0x816AD230; // type:object size:0x200 scope:local -Ucs8D = .data:0x816AD430; // type:object size:0x200 scope:local -Ucs8E = .data:0x816AD630; // type:object size:0x200 scope:local -Ucs8F = .data:0x816AD830; // type:object size:0x200 scope:local -Ucs90 = .data:0x816ADA30; // type:object size:0x200 scope:local -Ucs91 = .data:0x816ADC30; // type:object size:0x200 scope:local -Ucs92 = .data:0x816ADE30; // type:object size:0x200 scope:local -Ucs93 = .data:0x816AE030; // type:object size:0x200 scope:local -Ucs94 = .data:0x816AE230; // type:object size:0x200 scope:local -Ucs95 = .data:0x816AE430; // type:object size:0x200 scope:local -Ucs96 = .data:0x816AE630; // type:object size:0x200 scope:local -Ucs97 = .data:0x816AE830; // type:object size:0x200 scope:local -Ucs98 = .data:0x816AEA30; // type:object size:0x200 scope:local -Ucs99 = .data:0x816AEC30; // type:object size:0x200 scope:local -Ucs9A = .data:0x816AEE30; // type:object size:0x200 scope:local -Ucs9B = .data:0x816AF030; // type:object size:0x200 scope:local -Ucs9C = .data:0x816AF230; // type:object size:0x200 scope:local -Ucs9D = .data:0x816AF430; // type:object size:0x200 scope:local -Ucs9E = .data:0x816AF630; // type:object size:0x200 scope:local -Ucs9F = .data:0x816AF830; // type:object size:0x200 scope:local -UcsFF = .data:0x816AFA30; // type:object size:0x200 scope:local -UcsSjisTable = .data:0x816AFC30; // type:object size:0x400 scope:local -@955 = .data:0x816B0030; // type:object size:0x13 scope:local data:string -@956 = .data:0x816B0044; // type:object size:0x13 scope:local data:string -lbl_816B0058 = .data:0x816B0058; // type:object size:0xC data:string -lbl_816B0064 = .data:0x816B0064; // type:object size:0x38 -lbl_816B009C = .data:0x816B009C; // type:object size:0x38 -lbl_816B00D4 = .data:0x816B00D4; // type:object size:0x14 data:string -lbl_816B00E8 = .data:0x816B00E8; // type:object size:0x10 -lbl_816B00F8 = .data:0x816B00F8; // type:object size:0x2C -jumptable_816B0124 = .data:0x816B0124; // type:object size:0x1C scope:local -lbl_816B0140 = .data:0x816B0140; // type:object size:0x28 data:string -@1040 = .data:0x816B0168; // type:object size:0x32 scope:local data:string -lbl_816B02D0 = .data:0x816B02D0; // type:object size:0x20 -lbl_816B02F0 = .data:0x816B02F0; // type:object size:0x14 -@1547 = .data:0x816B0304; // type:object size:0xD scope:local data:string -@1549 = .data:0x816B0314; // type:object size:0x1B scope:local data:string +Ucs00 = .data:0x816A4230; // type:object size:0x200 scope:local noreloc +Ucs03 = .data:0x816A4430; // type:object size:0x200 scope:local noreloc +Ucs04 = .data:0x816A4630; // type:object size:0x200 scope:local noreloc +Ucs20 = .data:0x816A4830; // type:object size:0x200 scope:local noreloc +Ucs21 = .data:0x816A4A30; // type:object size:0x200 scope:local noreloc +Ucs22 = .data:0x816A4C30; // type:object size:0x200 scope:local noreloc +Ucs23 = .data:0x816A4E30; // type:object size:0x200 scope:local noreloc +Ucs25 = .data:0x816A5030; // type:object size:0x200 scope:local noreloc +Ucs26 = .data:0x816A5230; // type:object size:0x200 scope:local noreloc +Ucs30 = .data:0x816A5430; // type:object size:0x200 scope:local noreloc +Ucs4E = .data:0x816A5630; // type:object size:0x200 scope:local noreloc +Ucs4F = .data:0x816A5830; // type:object size:0x200 scope:local noreloc +Ucs50 = .data:0x816A5A30; // type:object size:0x200 scope:local noreloc +Ucs51 = .data:0x816A5C30; // type:object size:0x200 scope:local noreloc +Ucs52 = .data:0x816A5E30; // type:object size:0x200 scope:local noreloc +Ucs53 = .data:0x816A6030; // type:object size:0x200 scope:local noreloc +Ucs54 = .data:0x816A6230; // type:object size:0x200 scope:local noreloc +Ucs55 = .data:0x816A6430; // type:object size:0x200 scope:local noreloc +Ucs56 = .data:0x816A6630; // type:object size:0x200 scope:local noreloc +Ucs57 = .data:0x816A6830; // type:object size:0x200 scope:local noreloc +Ucs58 = .data:0x816A6A30; // type:object size:0x200 scope:local noreloc +Ucs59 = .data:0x816A6C30; // type:object size:0x200 scope:local noreloc +Ucs5A = .data:0x816A6E30; // type:object size:0x200 scope:local noreloc +Ucs5B = .data:0x816A7030; // type:object size:0x200 scope:local noreloc +Ucs5C = .data:0x816A7230; // type:object size:0x200 scope:local noreloc +Ucs5D = .data:0x816A7430; // type:object size:0x200 scope:local noreloc +Ucs5E = .data:0x816A7630; // type:object size:0x200 scope:local noreloc +Ucs5F = .data:0x816A7830; // type:object size:0x200 scope:local noreloc +Ucs60 = .data:0x816A7A30; // type:object size:0x200 scope:local noreloc +Ucs61 = .data:0x816A7C30; // type:object size:0x200 scope:local noreloc +Ucs62 = .data:0x816A7E30; // type:object size:0x200 scope:local noreloc +Ucs63 = .data:0x816A8030; // type:object size:0x200 scope:local noreloc +Ucs64 = .data:0x816A8230; // type:object size:0x200 scope:local noreloc +Ucs65 = .data:0x816A8430; // type:object size:0x200 scope:local noreloc +Ucs66 = .data:0x816A8630; // type:object size:0x200 scope:local noreloc +Ucs67 = .data:0x816A8830; // type:object size:0x200 scope:local noreloc +Ucs68 = .data:0x816A8A30; // type:object size:0x200 scope:local noreloc +Ucs69 = .data:0x816A8C30; // type:object size:0x200 scope:local noreloc +Ucs6A = .data:0x816A8E30; // type:object size:0x200 scope:local noreloc +Ucs6B = .data:0x816A9030; // type:object size:0x200 scope:local noreloc +Ucs6C = .data:0x816A9230; // type:object size:0x200 scope:local noreloc +Ucs6D = .data:0x816A9430; // type:object size:0x200 scope:local noreloc +Ucs6E = .data:0x816A9630; // type:object size:0x200 scope:local noreloc +Ucs6F = .data:0x816A9830; // type:object size:0x200 scope:local noreloc +Ucs70 = .data:0x816A9A30; // type:object size:0x200 scope:local noreloc +Ucs71 = .data:0x816A9C30; // type:object size:0x200 scope:local noreloc +Ucs72 = .data:0x816A9E30; // type:object size:0x200 scope:local noreloc +Ucs73 = .data:0x816AA030; // type:object size:0x200 scope:local noreloc +Ucs74 = .data:0x816AA230; // type:object size:0x200 scope:local noreloc +Ucs75 = .data:0x816AA430; // type:object size:0x200 scope:local noreloc +Ucs76 = .data:0x816AA630; // type:object size:0x200 scope:local noreloc +Ucs77 = .data:0x816AA830; // type:object size:0x200 scope:local noreloc +Ucs78 = .data:0x816AAA30; // type:object size:0x200 scope:local noreloc +Ucs79 = .data:0x816AAC30; // type:object size:0x200 scope:local noreloc +Ucs7A = .data:0x816AAE30; // type:object size:0x200 scope:local noreloc +Ucs7B = .data:0x816AB030; // type:object size:0x200 scope:local noreloc +Ucs7C = .data:0x816AB230; // type:object size:0x200 scope:local noreloc +Ucs7D = .data:0x816AB430; // type:object size:0x200 scope:local noreloc +Ucs7E = .data:0x816AB630; // type:object size:0x200 scope:local noreloc +Ucs7F = .data:0x816AB830; // type:object size:0x200 scope:local noreloc +Ucs80 = .data:0x816ABA30; // type:object size:0x200 scope:local noreloc +Ucs81 = .data:0x816ABC30; // type:object size:0x200 scope:local noreloc +Ucs82 = .data:0x816ABE30; // type:object size:0x200 scope:local noreloc +Ucs83 = .data:0x816AC030; // type:object size:0x200 scope:local noreloc +Ucs84 = .data:0x816AC230; // type:object size:0x200 scope:local noreloc +Ucs85 = .data:0x816AC430; // type:object size:0x200 scope:local noreloc +Ucs86 = .data:0x816AC630; // type:object size:0x200 scope:local noreloc +Ucs87 = .data:0x816AC830; // type:object size:0x200 scope:local noreloc +Ucs88 = .data:0x816ACA30; // type:object size:0x200 scope:local noreloc +Ucs89 = .data:0x816ACC30; // type:object size:0x200 scope:local noreloc +Ucs8A = .data:0x816ACE30; // type:object size:0x200 scope:local noreloc +Ucs8B = .data:0x816AD030; // type:object size:0x200 scope:local noreloc +Ucs8C = .data:0x816AD230; // type:object size:0x200 scope:local noreloc +Ucs8D = .data:0x816AD430; // type:object size:0x200 scope:local noreloc +Ucs8E = .data:0x816AD630; // type:object size:0x200 scope:local noreloc +Ucs8F = .data:0x816AD830; // type:object size:0x200 scope:local noreloc +Ucs90 = .data:0x816ADA30; // type:object size:0x200 scope:local noreloc +Ucs91 = .data:0x816ADC30; // type:object size:0x200 scope:local noreloc +Ucs92 = .data:0x816ADE30; // type:object size:0x200 scope:local noreloc +Ucs93 = .data:0x816AE030; // type:object size:0x200 scope:local noreloc +Ucs94 = .data:0x816AE230; // type:object size:0x200 scope:local noreloc +Ucs95 = .data:0x816AE430; // type:object size:0x200 scope:local noreloc +Ucs96 = .data:0x816AE630; // type:object size:0x200 scope:local noreloc +Ucs97 = .data:0x816AE830; // type:object size:0x200 scope:local noreloc +Ucs98 = .data:0x816AEA30; // type:object size:0x200 scope:local noreloc +Ucs99 = .data:0x816AEC30; // type:object size:0x200 scope:local noreloc +Ucs9A = .data:0x816AEE30; // type:object size:0x200 scope:local noreloc +Ucs9B = .data:0x816AF030; // type:object size:0x200 scope:local noreloc +Ucs9C = .data:0x816AF230; // type:object size:0x200 scope:local noreloc +Ucs9D = .data:0x816AF430; // type:object size:0x200 scope:local noreloc +Ucs9E = .data:0x816AF630; // type:object size:0x200 scope:local noreloc +Ucs9F = .data:0x816AF830; // type:object size:0x200 scope:local noreloc +UcsFF = .data:0x816AFA30; // type:object size:0x200 scope:local noreloc +UcsSjisTable = .data:0x816AFC30; // type:object size:0x400 scope:local noreloc +@586 = .data:0x816B0030; // type:object size:0x13 scope:local data:string +@587 = .data:0x816B0044; // type:object size:0x13 scope:local data:string +@591 = .data:0x816B0058; // type:object size:0xC scope:local data:string +@592 = .data:0x816B0064; // type:object size:0x37 scope:local data:string +@602 = .data:0x816B009C; // type:object size:0x35 scope:local data:string +@634 = .data:0x816B00D4; // type:object size:0x22 scope:local data:string +@776 = .data:0x816B00F8; // type:object size:0x2B scope:local data:string +@826 = .data:0x816B0124; // type:object size:0x1C scope:local +@544 = .data:0x816B0140; // type:object size:0x28 scope:local data:string +@414 = .data:0x816B0168; // type:object size:0x32 scope:local data:string +...data.0 = .data:0x816B0168; // type:label scope:local +@415 = .data:0x816B019C; // type:object size:0x32 scope:local data:string +@416 = .data:0x816B01D0; // type:object size:0x3F scope:local data:string +@419 = .data:0x816B0210; // type:object size:0x16 scope:local data:string +@421 = .data:0x816B0228; // type:object size:0x14 scope:local data:string +@423 = .data:0x816B023C; // type:object size:0x16 scope:local data:string +@425 = .data:0x816B0254; // type:object size:0x15 scope:local data:string +@427 = .data:0x816B026C; // type:object size:0x16 scope:local data:string +@429 = .data:0x816B0284; // type:object size:0x1A scope:local data:string +@431 = .data:0x816B02A0; // type:object size:0x15 scope:local data:string +@433 = .data:0x816B02B8; // type:object size:0x11 scope:local data:string +@560 = .data:0x816B02D0; // type:object size:0x1A scope:local data:string +@830 = .data:0x816B02F0; // type:object size:0x11 scope:local data:string +@906 = .data:0x816B0304; // type:object size:0xD scope:local data:string +@908 = .data:0x816B0314; // type:object size:0x1B scope:local data:string lbl_816B0330 = .data:0x816B0330; // type:object size:0x48 data:string lbl_816B0378 = .data:0x816B0378; // type:object size:0x47 data:string Si = .data:0x816B03C0; // type:object size:0x14 scope:local data:4byte @@ -17749,7 +17957,7 @@ lbl_816B1D1C = .data:0x816B1D1C; // type:object size:0x14 @3872 = .data:0x816B1D30; // type:object size:0x32 scope:local data:string lbl_816B1D90 = .data:0x816B1D90; // type:object size:0xE60 lbl_816B2BF0 = .data:0x816B2BF0; // type:object size:0x48 -lbl_816B2C38 = .data:0x816B2C38; // type:object size:0x48 +@223 = .data:0x816B2C38; // type:object size:0x47 scope:local data:string __AXMixCycles = .data:0x816B2C80; // type:object size:0x80 scope:local __AXRmtMixCycles = .data:0x816B2D00; // type:object size:0x10 scope:local __AXCompressorTable = .data:0x816B2D20; // type:object size:0xFC0 @@ -17808,8 +18016,8 @@ base64_array = .data:0x816B74A0; // type:object size:0x80 scope:local jumptable_816B7520 = .data:0x816B7520; // type:object size:0x60 scope:local jumptable_816B7588 = .data:0x816B7588; // type:object size:0x68 scope:local jumptable_816B75F0 = .data:0x816B75F0; // type:object size:0x40 scope:local -lbl_816B7630 = .data:0x816B7630; // type:object size:0x24 -lbl_816B7654 = .data:0x816B7654; // type:object size:0x4C +@1009 = .data:0x816B7630; // type:object size:0x22 scope:local data:string +@1068 = .data:0x816B7654; // type:object size:0x46 scope:local data:string @1687 = .data:0x816B76A0; // type:object size:0x21 scope:local data:string lbl_816B76C8 = .data:0x816B76C8; // type:object size:0x48 data:string ShutdownFunctionInfo = .data:0x816B7710; // type:object size:0x10 scope:local @@ -18257,10 +18465,10 @@ jumptable_816C39D0 = .data:0x816C39D0; // type:object size:0x84 scope:local jumptable_816C3A54 = .data:0x816C3A54; // type:object size:0x24 scope:local @wstringBase0 = .data:0x816C3A78; // type:object size:0x58 gDBCommTable = .data:0x816C3AD0; // type:object size:0x28 -lbl_816C3B00 = .sdata2:0x816C3B00; // type:object size:0x4 align:4 data:float -lbl_816C3B04 = .sdata2:0x816C3B04; // type:object size:0x4 align:4 data:float -lbl_816C3B08 = .sdata2:0x816C3B08; // type:object size:0x4 align:4 data:float -lbl_816C3B0C = .sdata2:0x816C3B0C; // type:object size:0x4 align:4 data:float +@85 = .sdata2:0x816C3B00; // type:object size:0x4 scope:local align:4 data:float +@86 = .sdata2:0x816C3B04; // type:object size:0x4 scope:local align:4 data:float +@87 = .sdata2:0x816C3B08; // type:object size:0x4 scope:local align:4 data:float +@88 = .sdata2:0x816C3B0C; // type:object size:0x4 scope:local align:4 data:float lbl_816C3B10 = .sdata2:0x816C3B10; // type:object size:0x4 align:4 data:float lbl_816C3B18 = .sdata2:0x816C3B18; // type:object size:0x8 align:8 data:double lbl_816C3B20 = .sdata2:0x816C3B20; // type:object size:0x4 align:4 data:float @@ -18289,8 +18497,8 @@ lbl_816C3B80 = .sdata2:0x816C3B80; // type:object size:0x4 align:4 data:float lbl_816C3B84 = .sdata2:0x816C3B84; // type:object size:0x4 align:4 data:float lbl_816C3B88 = .sdata2:0x816C3B88; // type:object size:0x4 align:4 data:float lbl_816C3B8C = .sdata2:0x816C3B8C; // type:object size:0x4 align:4 data:float -lbl_816C3B90 = .sdata2:0x816C3B90; // type:object size:0x4 align:4 data:float -lbl_816C3B94 = .sdata2:0x816C3B94; // type:object size:0x4 align:4 data:float +@1046 = .sdata2:0x816C3B90; // type:object size:0x4 scope:local align:4 data:float +@1047 = .sdata2:0x816C3B94; // type:object size:0x4 scope:local align:4 data:float lbl_816C3B98 = .sdata2:0x816C3B98; // type:object size:0x8 data:4byte lbl_816C3BA0 = .sdata2:0x816C3BA0; // type:object size:0x4 data:4byte lbl_816C3BA4 = .sdata2:0x816C3BA4; // type:object size:0x4 data:4byte @@ -18315,23 +18523,23 @@ lbl_816C3BE8 = .sdata2:0x816C3BE8; // type:object size:0x1 data:byte lbl_816C3BE9 = .sdata2:0x816C3BE9; // type:object size:0x1 data:byte lbl_816C3BEA = .sdata2:0x816C3BEA; // type:object size:0x1 data:byte lbl_816C3BEB = .sdata2:0x816C3BEB; // type:object size:0x5 data:byte -lbl_816C3BF0 = .sdata2:0x816C3BF0; // type:object size:0x4 align:4 data:float -lbl_816C3BF4 = .sdata2:0x816C3BF4; // type:object size:0x4 align:4 data:float -lbl_816C3BF8 = .sdata2:0x816C3BF8; // type:object size:0x4 align:4 data:float -lbl_816C3BFC = .sdata2:0x816C3BFC; // type:object size:0x4 align:4 data:float -lbl_816C3C00 = .sdata2:0x816C3C00; // type:object size:0x8 align:4 data:float -lbl_816C3C08 = .sdata2:0x816C3C08; // type:object size:0x4 align:4 data:float -lbl_816C3C0C = .sdata2:0x816C3C0C; // type:object size:0x4 align:4 data:float -lbl_816C3C10 = .sdata2:0x816C3C10; // type:object size:0x8 align:8 data:double -lbl_816C3C18 = .sdata2:0x816C3C18; // type:object size:0x4 align:4 data:float -lbl_816C3C1C = .sdata2:0x816C3C1C; // type:object size:0x4 align:4 data:float -lbl_816C3C20 = .sdata2:0x816C3C20; // type:object size:0x4 align:4 data:float -lbl_816C3C24 = .sdata2:0x816C3C24; // type:object size:0x4 align:4 data:float -lbl_816C3C28 = .sdata2:0x816C3C28; // type:object size:0x4 align:4 data:float -lbl_816C3C2C = .sdata2:0x816C3C2C; // type:object size:0x4 align:4 data:float -lbl_816C3C30 = .sdata2:0x816C3C30; // type:object size:0x4 align:4 data:float -lbl_816C3C34 = .sdata2:0x816C3C34; // type:object size:0x4 align:4 data:float -lbl_816C3C38 = .sdata2:0x816C3C38; // type:object size:0x8 align:4 data:float +@3799 = .sdata2:0x816C3BF0; // type:object size:0x4 scope:local align:4 data:float +@3800 = .sdata2:0x816C3BF4; // type:object size:0x4 scope:local align:4 data:float +@3860 = .sdata2:0x816C3BF8; // type:object size:0x4 scope:local align:4 data:float +@3861 = .sdata2:0x816C3BFC; // type:object size:0x4 scope:local align:4 data:float +@3862 = .sdata2:0x816C3C00; // type:object size:0x4 scope:local align:4 data:float +@3801 = .sdata2:0x816C3C08; // type:object size:0x4 scope:local align:4 data:float +@3846 = .sdata2:0x816C3C0C; // type:object size:0x4 scope:local align:4 data:float +@6961 = .sdata2:0x816C3C10; // type:object size:0x8 scope:local align:8 data:double +@7355 = .sdata2:0x816C3C18; // type:object size:0x4 scope:local align:4 data:float +@7356 = .sdata2:0x816C3C1C; // type:object size:0x4 scope:local align:4 data:float +@7607 = .sdata2:0x816C3C20; // type:object size:0x4 scope:local align:4 data:float +@7608 = .sdata2:0x816C3C24; // type:object size:0x4 scope:local align:4 data:float +@7609 = .sdata2:0x816C3C28; // type:object size:0x4 scope:local align:4 data:float +@7900 = .sdata2:0x816C3C2C; // type:object size:0x4 scope:local align:4 data:float +@7901 = .sdata2:0x816C3C30; // type:object size:0x4 scope:local align:4 data:float +@7902 = .sdata2:0x816C3C34; // type:object size:0x4 scope:local align:4 data:float +@7903 = .sdata2:0x816C3C38; // type:object size:0x4 scope:local align:4 data:float lbl_816C3C40 = .sdata2:0x816C3C40; // type:object size:0x4 align:4 data:float lbl_816C3C44 = .sdata2:0x816C3C44; // type:object size:0x4 align:4 data:float lbl_816C3C48 = .sdata2:0x816C3C48; // type:object size:0x1 data:byte @@ -18399,17 +18607,14 @@ lbl_816C3D60 = .sdata2:0x816C3D60; // type:object size:0x4 align:4 data:float lbl_816C3D64 = .sdata2:0x816C3D64; // type:object size:0x4 align:4 data:float lbl_816C3D68 = .sdata2:0x816C3D68; // type:object size:0x4 align:4 data:float lbl_816C3D70 = .sdata2:0x816C3D70; // type:object size:0x8 align:8 data:double -lbl_816C3D78 = .sdata2:0x816C3D78; // type:object size:0x4 align:4 data:float -lbl_816C3D7C = .sdata2:0x816C3D7C; // type:object size:0x1 data:byte -lbl_816C3D7D = .sdata2:0x816C3D7D; // type:object size:0x1 data:byte -lbl_816C3D7E = .sdata2:0x816C3D7E; // type:object size:0x1 data:byte -lbl_816C3D7F = .sdata2:0x816C3D7F; // type:object size:0x1 data:byte -lbl_816C3D80 = .sdata2:0x816C3D80; // type:object size:0x8 align:4 data:float -lbl_816C3D88 = .sdata2:0x816C3D88; // type:object size:0x4 align:4 data:float -lbl_816C3D8C = .sdata2:0x816C3D8C; // type:object size:0x4 align:4 data:float -lbl_816C3D90 = .sdata2:0x816C3D90; // type:object size:0x8 align:8 data:double -lbl_816C3D98 = .sdata2:0x816C3D98; // type:object size:0x4 align:4 data:float -lbl_816C3D9C = .sdata2:0x816C3D9C; // type:object size:0x4 align:4 data:float +@3131 = .sdata2:0x816C3D78; // type:object size:0x4 scope:local align:4 data:float +@2370 = .sdata2:0x816C3D7C; // type:object size:0x4 scope:local data:byte +@3533 = .sdata2:0x816C3D80; // type:object size:0x4 scope:local align:4 data:float +@4735 = .sdata2:0x816C3D88; // type:object size:0x4 scope:local align:4 data:float +@4736 = .sdata2:0x816C3D8C; // type:object size:0x4 scope:local align:4 data:float +@4740 = .sdata2:0x816C3D90; // type:object size:0x8 scope:local align:8 data:double +@3747 = .sdata2:0x816C3D98; // type:object size:0x4 scope:local align:4 data:float +@3748 = .sdata2:0x816C3D9C; // type:object size:0x4 scope:local align:4 data:float lbl_816C3DA0 = .sdata2:0x816C3DA0; // type:object size:0x4 align:4 data:float lbl_816C3DA4 = .sdata2:0x816C3DA4; // type:object size:0x4 align:4 data:float lbl_816C3DA8 = .sdata2:0x816C3DA8; // type:object size:0x4 align:4 data:float @@ -18452,7 +18657,7 @@ lbl_816C3E54 = .sdata2:0x816C3E54; // type:object size:0x4 align:4 data:float lbl_816C3E58 = .sdata2:0x816C3E58; // type:object size:0x4 align:4 data:float lbl_816C3E5C = .sdata2:0x816C3E5C; // type:object size:0x4 align:4 data:float lbl_816C3E60 = .sdata2:0x816C3E60; // type:object size:0x8 align:4 data:float -lbl_816C3E68 = .sdata2:0x816C3E68; // type:object size:0x8 align:4 data:float +@165 = .sdata2:0x816C3E68; // type:object size:0x4 scope:local align:4 data:float lbl_816C3E70 = .sdata2:0x816C3E70; // type:object size:0x4 align:4 data:float lbl_816C3E74 = .sdata2:0x816C3E74; // type:object size:0x1 data:byte lbl_816C3E75 = .sdata2:0x816C3E75; // type:object size:0x1 data:byte @@ -19171,17 +19376,17 @@ lbl_816C4B50 = .sdata2:0x816C4B50; // type:object size:0x4 align:4 data:float lbl_816C4B58 = .sdata2:0x816C4B58; // type:object size:0x8 align:8 data:double lbl_816C4B60 = .sdata2:0x816C4B60; // type:object size:0x8 align:4 data:float lbl_816C4B68 = .sdata2:0x816C4B68; // type:object size:0x8 align:4 data:float -lbl_816C4B70 = .sdata2:0x816C4B70; // type:object size:0x4 align:4 data:float -lbl_816C4B74 = .sdata2:0x816C4B74; // type:object size:0x4 align:4 data:float -lbl_816C4B78 = .sdata2:0x816C4B78; // type:object size:0x4 align:4 data:float -lbl_816C4B7C = .sdata2:0x816C4B7C; // type:object size:0x4 align:4 data:float -lbl_816C4B80 = .sdata2:0x816C4B80; // type:object size:0x4 align:4 data:float -lbl_816C4B84 = .sdata2:0x816C4B84; // type:object size:0x4 align:4 data:float -lbl_816C4B88 = .sdata2:0x816C4B88; // type:object size:0x4 align:4 data:float -lbl_816C4B8C = .sdata2:0x816C4B8C; // type:object size:0x4 align:4 data:float -lbl_816C4B90 = .sdata2:0x816C4B90; // type:object size:0x8 align:4 data:float -lbl_816C4B98 = .sdata2:0x816C4B98; // type:object size:0x4 align:4 data:float -lbl_816C4B9C = .sdata2:0x816C4B9C; // type:object size:0x4 align:4 data:float +@238 = .sdata2:0x816C4B70; // type:object size:0x4 scope:local align:4 data:float +@239 = .sdata2:0x816C4B74; // type:object size:0x4 scope:local align:4 data:float +@586 = .sdata2:0x816C4B78; // type:object size:0x4 scope:local align:4 data:float +@587 = .sdata2:0x816C4B7C; // type:object size:0x4 scope:local align:4 data:float +@608 = .sdata2:0x816C4B80; // type:object size:0x4 scope:local align:4 data:float +@609 = .sdata2:0x816C4B84; // type:object size:0x4 scope:local align:4 data:float +@611 = .sdata2:0x816C4B88; // type:object size:0x4 scope:local align:4 data:float +@630 = .sdata2:0x816C4B8C; // type:object size:0x4 scope:local align:4 data:float +@631 = .sdata2:0x816C4B90; // type:object size:0x4 scope:local align:4 data:float +@239 = .sdata2:0x816C4B98; // type:object size:0x4 scope:local align:4 data:float +@240 = .sdata2:0x816C4B9C; // type:object size:0x4 scope:local align:4 data:float lbl_816C4BA0 = .sdata2:0x816C4BA0; // type:object size:0x4 align:4 data:float lbl_816C4BA4 = .sdata2:0x816C4BA4; // type:object size:0x4 align:4 data:float lbl_816C4BA8 = .sdata2:0x816C4BA8; // type:object size:0x1 data:byte @@ -19309,12 +19514,9 @@ lbl_816C4CA0 = .sdata2:0x816C4CA0; // type:object size:0x8 align:4 data:float lbl_816C4CA8 = .sdata2:0x816C4CA8; // type:object size:0x4 align:4 data:float lbl_816C4CAC = .sdata2:0x816C4CAC; // type:object size:0x4 align:4 data:float lbl_816C4CB0 = .sdata2:0x816C4CB0; // type:object size:0x8 align:8 data:double -lbl_816C4CB8 = .sdata2:0x816C4CB8; // type:object size:0x2 data:2byte -lbl_816C4CBA = .sdata2:0x816C4CBA; // type:object size:0x2 data:2byte -lbl_816C4CBC = .sdata2:0x816C4CBC; // type:object size:0x2 data:2byte -lbl_816C4CBE = .sdata2:0x816C4CBE; // type:object size:0x2 data:2byte -lbl_816C4CC0 = .sdata2:0x816C4CC0; // type:object size:0x4 align:4 data:float -lbl_816C4CC8 = .sdata2:0x816C4CC8; // type:object size:0x8 align:8 data:double +@499 = .sdata2:0x816C4CB8; // type:object size:0x8 scope:local data:2byte +@815 = .sdata2:0x816C4CC0; // type:object size:0x4 scope:local align:4 data:float +@817 = .sdata2:0x816C4CC8; // type:object size:0x8 scope:local align:8 data:double __EXIFreq = .sdata2:0x816C4CD0; // type:object size:0x4 data:4byte lbl_816C4CD8 = .sdata2:0x816C4CD8; // type:object size:0x4 align:4 data:float lbl_816C4CDC = .sdata2:0x816C4CDC; // type:object size:0x4 align:4 data:float @@ -19721,13 +19923,13 @@ LOAD_GLYPH_ALL__Q44nw4r2ut6detail15ArchiveFontBase = .sbss2:0x816C56D8; // type: DefaultBlackColor = .sbss2:0x816C56E0; // type:object size:0x8 scope:local data:2byte bta_dm_pm_cfg = .sbss2:0x816C56E8; // type:object size:0x8 bd_addr_null = .sbss2:0x816C56F0; // type:object size:0x8 -lbl_816C5700 = .sdata:0x816C5700; // type:object size:0x4 data:string +@27 = .sdata:0x816C5700; // type:object size:0x4 scope:local data:string RBRFileType_Txt = .sdata:0x816C5704; // type:object size:0x4 data:4byte -lbl_816C5708 = .sdata:0x816C5708; // type:object size:0x4 data:string +@28 = .sdata:0x816C5708; // type:object size:0x4 scope:local data:string RBRFileType_Odh = .sdata:0x816C570C; // type:object size:0x4 data:4byte -lbl_816C5710 = .sdata:0x816C5710; // type:object size:0x4 data:string +@29 = .sdata:0x816C5710; // type:object size:0x4 scope:local data:string RBRFileType_Dat = .sdata:0x816C5714; // type:object size:0x4 data:4byte -lbl_816C5718 = .sdata:0x816C5718; // type:object size:0x4 data:string +@30 = .sdata:0x816C5718; // type:object size:0x4 scope:local data:string RBRFileType_Log = .sdata:0x816C571C; // type:object size:0x4 data:4byte lbl_816C5720 = .sdata:0x816C5720; // type:object size:0x8 data:string lbl_816C5728 = .sdata:0x816C5728; // type:object size:0x3 data:string @@ -19739,16 +19941,16 @@ lbl_816C5744 = .sdata:0x816C5744; // type:object size:0x4 lbl_816C5748 = .sdata:0x816C5748; // type:object size:0x3 data:string lbl_816C574B = .sdata:0x816C574B; // type:object size:0x5 data:string lbl_816C5750 = .sdata:0x816C5750; // type:object size:0x8 -lbl_816C5758 = .sdata:0x816C5758; // type:object size:0x3 data:string -lbl_816C575B = .sdata:0x816C575B; // type:object size:0x5 data:string -lbl_816C5760 = .sdata:0x816C5760; // type:object size:0x2 data:string -lbl_816C5762 = .sdata:0x816C5762; // type:object size:0x6 +@4748 = .sdata:0x816C5758; // type:object size:0x3 scope:local data:string +@4761 = .sdata:0x816C575B; // type:object size:0x5 scope:local data:string +@4858 = .sdata:0x816C5760; // type:object size:0x2 scope:local data:string +@4929 = .sdata:0x816C5762; // type:object size:0x5 scope:local data:string lbl_816C5768 = .sdata:0x816C5768; // type:object size:0x8 -lbl_816C5770 = .sdata:0x816C5770; // type:object size:0x8 -lbl_816C5778 = .sdata:0x816C5778; // type:object size:0x1 -lbl_816C5779 = .sdata:0x816C5779; // type:object size:0x3 data:string -lbl_816C577C = .sdata:0x816C577C; // type:object size:0xC -lbl_816C5788 = .sdata:0x816C5788; // type:object size:0x8 +@3918 = .sdata:0x816C5770; // type:object size:0x3 scope:local data:string +@3950 = .sdata:0x816C5778; // type:object size:0x1 scope:local +@3952 = .sdata:0x816C5779; // type:object size:0x3 scope:local data:string +@4014 = .sdata:0x816C577C; // type:object size:0x8 scope:local data:string +@3646 = .sdata:0x816C5788; // type:object size:0x5 scope:local data:string lbl_816C5790 = .sdata:0x816C5790; // type:object size:0x4 data:string lbl_816C5794 = .sdata:0x816C5794; // type:object size:0x4 data:string lbl_816C5798 = .sdata:0x816C5798; // type:object size:0x6 @@ -19757,27 +19959,27 @@ lbl_816C57A4 = .sdata:0x816C57A4; // type:object size:0x4 data:wstring lbl_816C57A8 = .sdata:0x816C57A8; // type:object size:0x8 lbl_816C57B0 = .sdata:0x816C57B0; // type:object size:0x6 data:wstring lbl_816C57B6 = .sdata:0x816C57B6; // type:object size:0xA -lbl_816C57C0 = .sdata:0x816C57C0; // type:object size:0x4 data:string -lbl_816C57C4 = .sdata:0x816C57C4; // type:object size:0x7 data:string -lbl_816C57CB = .sdata:0x816C57CB; // type:object size:0xD -lbl_816C57D8 = .sdata:0x816C57D8; // type:object size:0x8 data:string -lbl_816C57E0 = .sdata:0x816C57E0; // type:object size:0x6 data:string -lbl_816C57E6 = .sdata:0x816C57E6; // type:object size:0xA -lbl_816C57F0 = .sdata:0x816C57F0; // type:object size:0x7 data:string -lbl_816C57F7 = .sdata:0x816C57F7; // type:object size:0x7 data:string -lbl_816C57FE = .sdata:0x816C57FE; // type:object size:0x7 data:string -lbl_816C5805 = .sdata:0x816C5805; // type:object size:0x4 data:string -lbl_816C5809 = .sdata:0x816C5809; // type:object size:0x8 data:string -lbl_816C5811 = .sdata:0x816C5811; // type:object size:0x7 data:string -lbl_816C5818 = .sdata:0x816C5818; // type:object size:0x7 data:string -lbl_816C581F = .sdata:0x816C581F; // type:object size:0x8 data:string -lbl_816C5827 = .sdata:0x816C5827; // type:object size:0x7 data:string -lbl_816C582E = .sdata:0x816C582E; // type:object size:0x7 data:string -lbl_816C5835 = .sdata:0x816C5835; // type:object size:0x7 data:string -lbl_816C583C = .sdata:0x816C583C; // type:object size:0x7 data:string -lbl_816C5843 = .sdata:0x816C5843; // type:object size:0x7 data:string -lbl_816C584A = .sdata:0x816C584A; // type:object size:0x6 data:string -lbl_816C5850 = .sdata:0x816C5850; // type:object size:0x6 data:string +@3802 = .sdata:0x816C57C0; // type:object size:0x4 scope:local data:string +@3857 = .sdata:0x816C57C4; // type:object size:0x7 scope:local data:string +@3858 = .sdata:0x816C57CB; // type:object size:0x7 scope:local data:string +@3845 = .sdata:0x816C57D8; // type:object size:0x8 scope:local data:string +@3847 = .sdata:0x816C57E0; // type:object size:0x6 scope:local data:string +@3848 = .sdata:0x816C57E6; // type:object size:0x7 scope:local data:string +@3595 = .sdata:0x816C57F0; // type:object size:0x7 scope:local data:string +@3596 = .sdata:0x816C57F7; // type:object size:0x7 scope:local data:string +@3597 = .sdata:0x816C57FE; // type:object size:0x7 scope:local data:string +@6805 = .sdata:0x816C5805; // type:object size:0x4 scope:local data:string +@6808 = .sdata:0x816C5809; // type:object size:0x8 scope:local data:string +@6811 = .sdata:0x816C5811; // type:object size:0x7 scope:local data:string +@6813 = .sdata:0x816C5818; // type:object size:0x7 scope:local data:string +@6814 = .sdata:0x816C581F; // type:object size:0x8 scope:local data:string +@6815 = .sdata:0x816C5827; // type:object size:0x7 scope:local data:string +@7351 = .sdata:0x816C582E; // type:object size:0x7 scope:local data:string +@7353 = .sdata:0x816C5835; // type:object size:0x7 scope:local data:string +@7354 = .sdata:0x816C583C; // type:object size:0x7 scope:local data:string +@7452 = .sdata:0x816C5843; // type:object size:0x7 scope:local data:string +@7508 = .sdata:0x816C584A; // type:object size:0x6 scope:local data:string +@7667 = .sdata:0x816C5850; // type:object size:0x6 scope:local data:string c_banner_file_name__Q23ipl12NandSDWorker = .sdata:0x816C5858; // type:object size:0x4 data:4byte lbl_816C585C = .sdata:0x816C585C; // type:object size:0x8 c_nocopy_folder_name__Q23ipl12NandSDWorker = .sdata:0x816C5864; // type:object size:0x4 data:4byte @@ -19813,7 +20015,7 @@ lbl_816C58E5 = .sdata:0x816C58E5; // type:object size:0x5 data:string lbl_816C58EA = .sdata:0x816C58EA; // type:object size:0x6 data:string lbl_816C58F0 = .sdata:0x816C58F0; // type:object size:0x5 data:string lbl_816C58F5 = .sdata:0x816C58F5; // type:object size:0xB -lbl_816C5900 = .sdata:0x816C5900; // type:object size:0x4 data:string +@3796 = .sdata:0x816C5900; // type:object size:0x4 scope:local data:string lbl_816C5908 = .sdata:0x816C5908; // type:object size:0x8 lbl_816C5910 = .sdata:0x816C5910; // type:object size:0x4 data:4byte lbl_816C5914 = .sdata:0x816C5914; // type:object size:0x5 data:string @@ -19856,7 +20058,7 @@ lbl_816C59A5 = .sdata:0x816C59A5; // type:object size:0x5 data:string lbl_816C59AA = .sdata:0x816C59AA; // type:object size:0x6 data:string lbl_816C59B0 = .sdata:0x816C59B0; // type:object size:0x7 data:string lbl_816C59B7 = .sdata:0x816C59B7; // type:object size:0x9 -lbl_816C59C0 = .sdata:0x816C59C0; // type:object size:0x4 data:string +@5060 = .sdata:0x816C59C0; // type:object size:0x4 scope:local data:string lbl_816C59C8 = .sdata:0x816C59C8; // type:object size:0x5 data:string sProtocolName__Q23www9arcreader = .sdata:0x816C59D0; // type:object size:0x4 data:4byte lbl_816C59D4 = .sdata:0x816C59D4; // type:object size:0x7 data:string @@ -19946,10 +20148,10 @@ lbl_816C5BE5 = .sdata:0x816C5BE5; // type:object size:0x7 data:string lbl_816C5BEC = .sdata:0x816C5BEC; // type:object size:0x4 data:string lbl_816C5BF0 = .sdata:0x816C5BF0; // type:object size:0x8 data:string lbl_816C5BF8 = .sdata:0x816C5BF8; // type:object size:0x8 data:string -lbl_816C5C00 = .sdata:0x816C5C00; // type:object size:0x5 data:string -lbl_816C5C05 = .sdata:0x816C5C05; // type:object size:0x4 data:string -lbl_816C5C09 = .sdata:0x816C5C09; // type:object size:0x5 data:string -lbl_816C5C0E = .sdata:0x816C5C0E; // type:object size:0x7 data:string +@465 = .sdata:0x816C5C00; // type:object size:0x5 scope:local data:string +@466 = .sdata:0x816C5C05; // type:object size:0x4 scope:local data:string +@467 = .sdata:0x816C5C09; // type:object size:0x5 scope:local data:string +@468 = .sdata:0x816C5C0E; // type:object size:0x7 scope:local data:string BS2BootCaching = .sdata:0x816C5C18; // type:object size:0x4 data:4byte BS2WaitSpinup = .sdata:0x816C5C1C; // type:object size:0x4 data:4byte lbl_816C5C20 = .sdata:0x816C5C20; // type:object size:0x4 data:4byte @@ -19991,7 +20193,7 @@ lbl_816C5CE4 = .sdata:0x816C5CE4; // type:object size:0x4 data:string lbl_816C5CE8 = .sdata:0x816C5CE8; // type:object size:0x2 lbl_816C5CEA = .sdata:0x816C5CEA; // type:object size:0x6 data:string lbl_816C5CF0 = .sdata:0x816C5CF0; // type:object size:0x8 data:wstring -lbl_816C5CF8 = .sdata:0x816C5CF8; // type:object size:0x8 +@3778 = .sdata:0x816C5CF8; // type:object size:0x4 scope:local data:string lbl_816C5D00 = .sdata:0x816C5D00; // type:object size:0x4 data:string lbl_816C5D04 = .sdata:0x816C5D04; // type:object size:0x7 data:string lbl_816C5D0B = .sdata:0x816C5D0B; // type:object size:0x8 data:string @@ -20202,29 +20404,29 @@ lbl_816C6212 = .sdata:0x816C6212; // type:object size:0x6 data:string lbl_816C6218 = .sdata:0x816C6218; // type:object size:0x7 data:string lbl_816C621F = .sdata:0x816C621F; // type:object size:0x8 data:string lbl_816C6227 = .sdata:0x816C6227; // type:object size:0x9 -lbl_816C6230 = .sdata:0x816C6230; // type:object size:0x8 data:string -lbl_816C6238 = .sdata:0x816C6238; // type:object size:0x8 data:string -lbl_816C6240 = .sdata:0x816C6240; // type:object size:0x8 data:string -lbl_816C6248 = .sdata:0x816C6248; // type:object size:0x4 data:string -lbl_816C624C = .sdata:0x816C624C; // type:object size:0x6 data:string -lbl_816C6252 = .sdata:0x816C6252; // type:object size:0xE +@3587 = .sdata:0x816C6230; // type:object size:0x8 scope:local data:string +@3597 = .sdata:0x816C6238; // type:object size:0x8 scope:local data:string +@3598 = .sdata:0x816C6240; // type:object size:0x8 scope:local data:string +@4299 = .sdata:0x816C6248; // type:object size:0x4 scope:local data:string +@4302 = .sdata:0x816C624C; // type:object size:0x6 scope:local data:string +@4304 = .sdata:0x816C6252; // type:object size:0x7 scope:local data:string lbl_816C6260 = .sdata:0x816C6260; // type:object size:0x2 lbl_816C6262 = .sdata:0x816C6262; // type:object size:0x6 -lbl_816C6268 = .sdata:0x816C6268; // type:object size:0x6 data:string -lbl_816C626E = .sdata:0x816C626E; // type:object size:0x6 data:string -lbl_816C6274 = .sdata:0x816C6274; // type:object size:0x6 data:string -lbl_816C627A = .sdata:0x816C627A; // type:object size:0x6 data:string -lbl_816C6280 = .sdata:0x816C6280; // type:object size:0x6 data:string -lbl_816C6286 = .sdata:0x816C6286; // type:object size:0x6 data:string -lbl_816C628C = .sdata:0x816C628C; // type:object size:0x6 data:string -lbl_816C6292 = .sdata:0x816C6292; // type:object size:0x6 data:string -lbl_816C6298 = .sdata:0x816C6298; // type:object size:0x6 data:string -lbl_816C629E = .sdata:0x816C629E; // type:object size:0x6 data:string -lbl_816C62A4 = .sdata:0x816C62A4; // type:object size:0x6 data:string -lbl_816C62AA = .sdata:0x816C62AA; // type:object size:0x6 data:string -lbl_816C62B0 = .sdata:0x816C62B0; // type:object size:0x4 data:string -lbl_816C62B4 = .sdata:0x816C62B4; // type:object size:0x6 data:string -lbl_816C62BA = .sdata:0x816C62BA; // type:object size:0xE +@3592 = .sdata:0x816C6268; // type:object size:0x6 scope:local data:string +@3593 = .sdata:0x816C626E; // type:object size:0x6 scope:local data:string +@3594 = .sdata:0x816C6274; // type:object size:0x6 scope:local data:string +@3595 = .sdata:0x816C627A; // type:object size:0x6 scope:local data:string +@3596 = .sdata:0x816C6280; // type:object size:0x6 scope:local data:string +@3597 = .sdata:0x816C6286; // type:object size:0x6 scope:local data:string +@3598 = .sdata:0x816C628C; // type:object size:0x6 scope:local data:string +@3599 = .sdata:0x816C6292; // type:object size:0x6 scope:local data:string +@3600 = .sdata:0x816C6298; // type:object size:0x6 scope:local data:string +@3601 = .sdata:0x816C629E; // type:object size:0x6 scope:local data:string +@3602 = .sdata:0x816C62A4; // type:object size:0x6 scope:local data:string +@3603 = .sdata:0x816C62AA; // type:object size:0x6 scope:local data:string +@4318 = .sdata:0x816C62B0; // type:object size:0x4 scope:local data:string +@4324 = .sdata:0x816C62B4; // type:object size:0x6 scope:local data:string +@4326 = .sdata:0x816C62BA; // type:object size:0x7 scope:local data:string lbl_816C62C8 = .sdata:0x816C62C8; // type:object size:0x4 data:string lbl_816C62CC = .sdata:0x816C62CC; // type:object size:0xC lbl_816C62D8 = .sdata:0x816C62D8; // type:object size:0x4 data:string @@ -20502,11 +20704,11 @@ lbl_816C6938 = .sdata:0x816C6938; // type:object size:0x8 lbl_816C6940 = .sdata:0x816C6940; // type:object size:0x4 data:4byte lbl_816C6944 = .sdata:0x816C6944; // type:object size:0x4 data:4byte lbl_816C6948 = .sdata:0x816C6948; // type:object size:0x8 -lbl_816C6950 = .sdata:0x816C6950; // type:object size:0x8 -lbl_816C6958 = .sdata:0x816C6958; // type:object size:0x8 -lbl_816C6960 = .sdata:0x816C6960; // type:object size:0x4 data:string -lbl_816C6964 = .sdata:0x816C6964; // type:object size:0x8 data:string -lbl_816C696C = .sdata:0x816C696C; // type:object size:0xC +@3655 = .sdata:0x816C6950; // type:object size:0x4 scope:local data:string +scBtnSoundType__Q23ipl5scene = .sdata:0x816C6958; // type:object size:0x8 scope:local +@4382 = .sdata:0x816C6960; // type:object size:0x4 scope:local data:string +@4385 = .sdata:0x816C6964; // type:object size:0x8 scope:local data:string +@4392 = .sdata:0x816C696C; // type:object size:0x6 scope:local data:string lbl_816C6978 = .sdata:0x816C6978; // type:object size:0x4 data:string lbl_816C697C = .sdata:0x816C697C; // type:object size:0xC lbl_816C6988 = .sdata:0x816C6988; // type:object size:0x2 @@ -20851,7 +21053,7 @@ __NCDUnofficialVersion = .sdata:0x816C71A4; // type:object size:0x4 data:4byte padding$ = .sdata:0x816C71A8; // type:object size:0x1 scope:local lbl_816C71B0 = .sdata:0x816C71B0; // type:object size:0x8 lbl_816C71B8 = .sdata:0x816C71B8; // type:object size:0x8 -lbl_816C71C0 = .sdata:0x816C71C0; // type:object size:0x8 data:4byte +NETRexPPCVersionPrintableString = .sdata:0x816C71C0; // type:object size:0x4 data:4byte lbl_816C71C8 = .sdata:0x816C71C8; // type:object size:0x8 lbl_816C71D0 = .sdata:0x816C71D0; // type:object size:0x8 data:string lbl_816C71D8 = .sdata:0x816C71D8; // type:object size:0x4 @@ -21004,25 +21206,25 @@ lbl_816C74F8 = .sdata:0x816C74F8; // type:object size:0x8 lbl_816C7500 = .sdata:0x816C7500; // type:object size:0x4 lbl_816C7504 = .sdata:0x816C7504; // type:object size:0x4 __OSVersion = .sdata:0x816C7508; // type:object size:0x4 data:4byte -@1730 = .sdata:0x816C750C; // type:object size:0x7 scope:local data:string -@1740 = .sdata:0x816C7514; // type:object size:0x6 scope:local data:string -lbl_816C751C = .sdata:0x816C751C; // type:object size:0x4 data:string -lbl_816C7520 = .sdata:0x816C7520; // type:object size:0x8 -lbl_816C7528 = .sdata:0x816C7528; // type:object size:0x8 -lbl_816C7530 = .sdata:0x816C7530; // type:object size:0x8 data:4byte +@1263 = .sdata:0x816C750C; // type:object size:0x7 scope:local data:string +@1273 = .sdata:0x816C7514; // type:object size:0x6 scope:local data:string +@1337 = .sdata:0x816C751C; // type:object size:0x4 scope:local data:string +@1339 = .sdata:0x816C7520; // type:object size:0x5 scope:local data:string +@710 = .sdata:0x816C7528; // type:object size:0x5 scope:local data:string +AppGameNameForSysMenu = .sdata:0x816C7530; // type:object size:0x4 scope:local data:4byte __OSCurrHeap = .sdata:0x816C7538; // type:object size:0x4 data:4byte -__OSArenaLo = .sdata:0x816C7540; // type:object size:0x4 scope:local data:4byte +__OSArenaLo = .sdata:0x816C7540; // type:object size:0x4 scope:global data:4byte s_mem2ArenaLo = .sdata:0x816C7544; // type:object size:0x4 scope:local data:4byte __OSFpscrEnableBits = .sdata:0x816C7548; // type:object size:0x4 data:4byte -@691 = .sdata:0x816C754C; // type:object size:0x2 scope:local data:string -lbl_816C7550 = .sdata:0x816C7550; // type:object size:0x8 data:string +@532 = .sdata:0x816C754C; // type:object size:0x2 scope:local data:string +@1056 = .sdata:0x816C7550; // type:object size:0x8 scope:local data:string FontEncode = .sdata:0x816C7558; // type:object size:0x2 scope:local data:2byte -lbl_816C7560 = .sdata:0x816C7560; // type:object size:0x8 +@660 = .sdata:0x816C7560; // type:object size:0x1 scope:local SwitchThreadCallback = .sdata:0x816C7568; // type:object size:0x4 scope:local data:4byte -lbl_816C756C = .sdata:0x816C756C; // type:object size:0x4 +@2026 = .sdata:0x816C756C; // type:object size:0x1 scope:local IpcBufferLo = .sdata:0x816C7570; // type:object size:0x4 scope:local data:4byte PlayRecordState = .sdata:0x816C7578; // type:object size:0x4 scope:local data:4byte -@1548 = .sdata:0x816C7580; // type:object size:0x8 scope:local data:string +@907 = .sdata:0x816C7580; // type:object size:0x8 scope:local data:string __EXIVersion = .sdata:0x816C7588; // type:object size:0x4 scope:global data:4byte __SIVersion = .sdata:0x816C7590; // type:object size:0x4 scope:global data:4byte __VIVersion = .sdata:0x816C7598; // type:object size:0x4 data:4byte @@ -21069,7 +21271,7 @@ DmaCommand = .sdata:0x816C765C; // type:object size:0x4 scope:local data:4byte DiFD = .sdata:0x816C7660; // type:object size:0x8 data:4byte lbl_816C7668 = .sdata:0x816C7668; // type:object size:0x8 data:string __AIVersion = .sdata:0x816C7670; // type:object size:0x8 data:4byte -__AXVersion = .sdata:0x816C7678; // type:object size:0x8 data:4byte +__AXVersion = .sdata:0x816C7678; // type:object size:0x4 data:4byte axDspInitVector = .sdata:0x816C7680; // type:object size:0x2 data:2byte axDspResumeVector = .sdata:0x816C7682; // type:object size:0x2 data:2byte axDspSlaveLength = .sdata:0x816C7684; // type:object size:0x2 data:2byte @@ -21135,7 +21337,7 @@ lbl_816C7828 = .sdata:0x816C7828; // type:object size:0x8 lbl_816C7830 = .sdata:0x816C7830; // type:object size:0x8 __ENCVersion = .sdata:0x816C7838; // type:object size:0x4 data:4byte enc_tbl_jp_loaded = .sdata:0x816C7840; // type:object size:0x4 data:4byte -lbl_816C7848 = .sdata:0x816C7848; // type:object size:0x6 data:string +@1008 = .sdata:0x816C7848; // type:object size:0x6 scope:local data:string __esFd = .sdata:0x816C7850; // type:object size:0x4 scope:local data:4byte lbl_816C7858 = .sdata:0x816C7858; // type:object size:0x8 data:string __mailboxAck = .sdata:0x816C7860; // type:object size:0x4 scope:local data:4byte @@ -21412,7 +21614,7 @@ enc_tbl_kr_mbtowc2 = .sbss:0x816C7D68; // type:object size:0x4 enc_offset_kr2 = .sbss:0x816C7D6C; // type:object size:0x4 enc_tbl_uhc_loaded = .sbss:0x816C7D70; // type:object size:0x4 data:4byte enc_tbl_uhc_mbtowc = .sbss:0x816C7D74; // type:object size:0x4 -enc_offset_uhc = .sbss:0x816C7D78; // type:object size:0x8 +enc_offset_uhc = .sbss:0x816C7D78; // type:object size:0x4 mpBuf__Q33ipl10controller7Manager = .sbss:0x816C7D80; // type:object size:0x4 data:4byte mpParentHeap__Q33ipl10controller7Manager = .sbss:0x816C7D84; // type:object size:0x4 data:4byte mpHeap__Q33ipl10controller7Manager = .sbss:0x816C7D88; // type:object size:0x4 data:4byte @@ -21428,8 +21630,8 @@ user_used_fsblocks__Q23ipl8nandwall = .sbss:0x816C7DB0; // type:object size:0x4 user_used_inodes__Q23ipl8nandwall = .sbss:0x816C7DB4; // type:object size:0x4 data:4byte global_free_inode__Q23ipl8nandwall = .sbss:0x816C7DB8; // type:object size:0x4 data:4byte global_free_fsblock__Q23ipl8nandwall = .sbss:0x816C7DBC; // type:object size:0x4 data:4byte -lbl_816C7DC0 = .sbss:0x816C7DC0; // type:object size:0x8 -lbl_816C7DC8 = .sbss:0x816C7DC8; // type:object size:0x8 +sDlgBtn1Size__3ipl = .sbss:0x816C7DC0; // type:object size:0x8 scope:local +sDlgBtn1SmlSize__3ipl = .sbss:0x816C7DC8; // type:object size:0x8 scope:local lbl_816C7DD0 = .sbss:0x816C7DD0; // type:object size:0x1 data:byte s_sd_state__Q23ipl12NandSDWorker = .sbss:0x816C7DD8; // type:object size:0x4 data:4byte lbl_816C7DDC = .sbss:0x816C7DDC; // type:object size:0x4 data:4byte @@ -21925,13 +22127,13 @@ __OSInIPL = .sbss:0x816C86D8; // type:object size:0x4 data:4byte __OSInNandBoot = .sbss:0x816C86DC; // type:object size:0x4 data:4byte __OSIsGcam = .sbss:0x816C86E0; // type:object size:0x4 data:4byte AreWeInitialized = .sbss:0x816C86E4; // type:object size:0x4 scope:local data:4byte -OSExceptionTable = .sbss:0x816C86E8; // type:object size:0x8 data:4byte +OSExceptionTable = .sbss:0x816C86E8; // type:object size:0x4 data:4byte ZeroPS = .sbss:0x816C86F0; // type:object size:0x8 scope:local ZeroF = .sbss:0x816C86F8; // type:object size:0x8 scope:local align:8 data:double GameNameBuffer = .sbss:0x816C8700; // type:object size:0x5 scope:local data:byte BI2DebugFlagHolder = .sbss:0x816C8708; // type:object size:0x4 scope:local data:4byte BI2DebugFlag = .sbss:0x816C870C; // type:object size:0x4 scope:local data:4byte -BootInfo = .sbss:0x816C8710; // type:object size:0x8 scope:local data:4byte +BootInfo = .sbss:0x816C8710; // type:object size:0x4 scope:local data:4byte __OSStartTime = .sbss:0x816C8718; // type:object size:0x8 data:4byte AlarmQueue = .sbss:0x816C8720; // type:object size:0x8 scope:local data:4byte ArenaEnd = .sbss:0x816C8728; // type:object size:0x4 scope:local data:4byte @@ -21949,20 +22151,20 @@ __OSLastInterruptSrr0 = .sbss:0x816C8758; // type:object size:0x4 scope:global d __OSLastInterrupt = .sbss:0x816C875C; // type:object size:0x2 scope:global data:2byte __OSLastInterruptTime = .sbss:0x816C8760; // type:object size:0x8 scope:global data:4byte InterruptHandlerTable = .sbss:0x816C8768; // type:object size:0x4 scope:local data:4byte -bootThisDol = .sbss:0x816C8770; // type:object size:0x8 scope:local data:4byte +__OSIsReturnToIdle = .sbss:0x816C8770; // type:object size:0x4 data:4byte ShutdownFunctionQueue = .sbss:0x816C8778; // type:object size:0x8 scope:local data:4byte Reschedule = .sbss:0x816C8780; // type:object size:0x4 scope:local data:4byte RunQueueHint = .sbss:0x816C8784; // type:object size:0x4 scope:local data:4byte RunQueueBits = .sbss:0x816C8788; // type:object size:0x4 scope:local data:4byte -IpcBufferHi = .sbss:0x816C8790; // type:object size:0x8 scope:local data:4byte -ResetDown = .sbss:0x816C8798; // type:object size:0x4 scope:local data:4byte -StmReady = .sbss:0x816C879C; // type:object size:0x4 scope:local data:4byte -StmImDesc = .sbss:0x816C87A0; // type:object size:0x4 scope:local data:4byte -StmEhDesc = .sbss:0x816C87A4; // type:object size:0x4 scope:local data:4byte -StmEhRegistered = .sbss:0x816C87A8; // type:object size:0x4 scope:local data:4byte -StmVdInUse = .sbss:0x816C87AC; // type:object size:0x4 scope:local data:4byte -PowerCallback = .sbss:0x816C87B0; // type:object size:0x4 scope:local data:4byte -ResetCallback = .sbss:0x816C87B4; // type:object size:0x4 scope:local data:4byte +IpcBufferHi = .sbss:0x816C8790; // type:object size:0x4 scope:local data:4byte +ResetDown = .sbss:0x816C8798; // type:object size:0x4 scope:global data:4byte +StmReady = .sbss:0x816C879C; // type:object size:0x4 scope:global data:4byte +StmImDesc = .sbss:0x816C87A0; // type:object size:0x4 scope:global data:4byte +StmEhDesc = .sbss:0x816C87A4; // type:object size:0x4 scope:global data:4byte +StmEhRegistered = .sbss:0x816C87A8; // type:object size:0x4 scope:global data:4byte +StmVdInUse = .sbss:0x816C87AC; // type:object size:0x4 scope:global data:4byte +PowerCallback = .sbss:0x816C87B0; // type:object size:0x4 scope:global data:4byte +ResetCallback = .sbss:0x816C87B4; // type:object size:0x4 scope:global data:4byte PlayRecordGet = .sbss:0x816C87B8; // type:object size:0x4 scope:local data:4byte PlayRecordError = .sbss:0x816C87BC; // type:object size:0x4 scope:local data:4byte PlayRecordTerminate = .sbss:0x816C87C0; // type:object size:0x4 scope:local data:4byte @@ -21972,7 +22174,7 @@ PlayRecordLastError = .sbss:0x816C87CC; // type:object size:0x4 scope:local data PlayRecordLastCloseTime = .sbss:0x816C87D0; // type:object size:0x8 scope:local data:4byte __OSExpireAIFade = .sbss:0x816C87D8; // type:object size:0x4 data:4byte __OSExpireSetExpiredFlag = .sbss:0x816C87DC; // type:object size:0x4 data:4byte -__OSExpireCallback = .sbss:0x816C87E0; // type:object size:0x4 data:4byte +__OSExpireThread = .sbss:0x816C87E0; // type:object size:0x4 data:4byte __OSExpireTime = .sbss:0x816C87E8; // type:object size:0x8 data:4byte IDSerialPort1 = .sbss:0x816C87F0; // type:object size:0x4 scope:local data:4byte Enabled = .sbss:0x816C87F8; // type:object size:0x4 scope:local data:4byte @@ -22093,7 +22295,7 @@ LastState = .sbss:0x816C8A14; // type:object size:0x4 scope:local data:4byte ExistFlag = .sbss:0x816C8A18; // type:object size:0x4 scope:local data:4byte NextOffset = .sbss:0x816C8A1C; // type:object size:0x4 scope:local data:4byte Callback = .sbss:0x816C8A20; // type:object size:0x4 scope:local data:4byte -FatalFunc = .sbss:0x816C8A28; // type:object size:0x8 data:4byte +FatalFunc = .sbss:0x816C8A28; // type:object size:0x4 scope:local data:4byte requestInProgress = .sbss:0x816C8A30; // type:object size:0x1 scope:local data:byte callbackInProgress = .sbss:0x816C8A31; // type:object size:0x1 scope:local data:byte freeCommandBuf = .sbss:0x816C8A34; // type:object size:0x4 scope:local data:4byte @@ -22231,7 +22433,7 @@ hi$689 = .sbss:0x816C8C80; // type:object size:0x4 scope:local data:4byte hId = .sbss:0x816C8C84; // type:object size:0x4 scope:local data:4byte recalibrated$956 = .sbss:0x816C8C88; // type:object size:0x4 scope:local data:4byte SamplingCallback = .sbss:0x816C8C8C; // type:object size:0x4 scope:local data:4byte -__PADSpec = .sbss:0x816C8C90; // type:object size:0x4 scope:local data:4byte +__PADSpec = .sbss:0x816C8C90; // type:object size:0x4 data:4byte BarrelBits = .sbss:0x816C8C94; // type:object size:0x4 scope:local data:4byte PendingBits = .sbss:0x816C8C98; // type:object size:0x4 scope:local data:4byte CheckingBits = .sbss:0x816C8C9C; // type:object size:0x4 scope:local data:4byte diff --git a/config/43K/config.yml b/config/43K/config.yml index fd5794df..701a1143 100644 --- a/config/43K/config.yml +++ b/config/43K/config.yml @@ -53,6 +53,10 @@ extract: binary: backToWiiMenu.arc header: backToWiiMenu_arc.inc + - symbol: DSPInitCode + binary: dsp\initCode.bin + header: DSPInitCode.inc + - symbol: axDspSlave binary: ax\dspSlave.bin header: axDspSlave.inc diff --git a/config/43K/splits.txt b/config/43K/splits.txt index 993a3ca5..c32e8cd6 100644 --- a/config/43K/splits.txt +++ b/config/43K/splits.txt @@ -243,7 +243,7 @@ src/system/TVRC.cpp: .sbss start:0x8166CD18 end:0x8166CD90 src/system/iplTVRCManager.cpp: - .text start:0x81360CE4 end:0x81361A80 + .text start:0x81360CE4 end:0x81361AA0 .data start:0x816119D0 end:0x81611A40 .sbss start:0x8166CD90 end:0x8166CD98 @@ -251,7 +251,7 @@ src/system/_DATA_.c: .data start:0x81611A40 end:0x816160A0 src/utility/iplTree.cpp: - .text start:0x81361A80 end:0x81361BE4 + .text start:0x81361AA0 end:0x81361BE4 .data start:0x816160A0 end:0x816160C0 src/utility/iplFrameController.cpp: @@ -1583,162 +1583,162 @@ libs/RevoEX/src/ssl/ssl_api.c: libs/RevoEX/src/ssl/ssl_mutex.c: .text start:0x8148E574 end:0x8148E580 -libs/RevoEX/src/vf/pf_clib.c: +libs/RevoEX/src/vf/api/pf_clib.c: .text start:0x8148E580 end:0x8148E880 -libs/RevoEX/src/vf/pf_code.c: +libs/RevoEX/src/vf/api/pf_code.c: .text start:0x8148E880 end:0x8148E89C .rodata start:0x815F2580 end:0x815F25E0 -libs/RevoEX/src/vf/pf_service.c: +libs/RevoEX/src/vf/api/pf_service.c: .text start:0x8148E89C end:0x8148E9B4 -libs/RevoEX/src/vf/pf_str.c: +libs/RevoEX/src/vf/api/pf_str.c: .text start:0x8148E9B4 end:0x8148EEE8 -libs/RevoEX/src/vf/pf_w_clib.c: +libs/RevoEX/src/vf/api/pf_w_clib.c: .text start:0x8148EEE8 end:0x8148EF7C -libs/RevoEX/src/vf/pf_driver.c: +libs/RevoEX/src/vf/api/pf_driver.c: .text start:0x8148EF7C end:0x8148FA64 -libs/RevoEX/src/vf/pdm_bpb.c: +libs/RevoEX/src/vf/api/pdm_bpb.c: .text start:0x8148FA64 end:0x814903C8 -libs/RevoEX/src/vf/pdm_disk.c: +libs/RevoEX/src/vf/api/pdm_disk.c: .text start:0x814903C8 end:0x81491998 -libs/RevoEX/src/vf/pdm_partition.c: +libs/RevoEX/src/vf/api/pdm_partition.c: .text start:0x81491998 end:0x81493174 -libs/RevoEX/src/vf/pdm_mbr.c: +libs/RevoEX/src/vf/api/pdm_mbr.c: .text start:0x81493174 end:0x8149372C -libs/RevoEX/src/vf/pdm_dskmng.c: +libs/RevoEX/src/vf/api/pdm_dskmng.c: .bss start:0x810CAFA0 end:0x810CBB70 .text start:0x8149372C end:0x81493950 -libs/RevoEX/src/vf/pf_cache.c: +libs/RevoEX/src/vf/api/pf_cache.c: .text start:0x81493950 end:0x8149553C -libs/RevoEX/src/vf/pf_cluster.c: +libs/RevoEX/src/vf/api/pf_cluster.c: .text start:0x8149553C end:0x81495C8C -libs/RevoEX/src/vf/pf_dir.c: +libs/RevoEX/src/vf/api/pf_dir.c: .text start:0x81495C8C end:0x814970B4 .sdata start:0x8166C308 end:0x8166C318 -libs/RevoEX/src/vf/pf_entry.c: +libs/RevoEX/src/vf/api/pf_entry.c: .text start:0x814970B4 end:0x81498CA4 .data start:0x81642B40 end:0x81642B50 .sdata2 start:0x816696A0 end:0x816696A8 -libs/RevoEX/src/vf/pf_entry_iterator.c: +libs/RevoEX/src/vf/api/pf_entry_iterator.c: .text start:0x81498CA4 end:0x8149AE14 .sdata start:0x8166C318 end:0x8166C340 -libs/RevoEX/src/vf/pf_fat.c: +libs/RevoEX/src/vf/api/pf_fat.c: .text start:0x8149AE14 end:0x8149DDDC .rodata start:0x815F25E0 end:0x815F2620 -libs/RevoEX/src/vf/pf_fat12.c: +libs/RevoEX/src/vf/api/pf_fat12.c: .text start:0x8149DDDC end:0x8149E914 -libs/RevoEX/src/vf/pf_fat16.c: +libs/RevoEX/src/vf/api/pf_fat16.c: .text start:0x8149E914 end:0x8149EEA0 -libs/RevoEX/src/vf/pf_fat32.c: +libs/RevoEX/src/vf/api/pf_fat32.c: .text start:0x8149EEA0 end:0x8149F4F4 -libs/RevoEX/src/vf/pf_fatfs.c: +libs/RevoEX/src/vf/api/pf_fatfs.c: .text start:0x8149F4F4 end:0x8149F4F8 -libs/RevoEX/src/vf/pf_file.c: +libs/RevoEX/src/vf/api/pf_file.c: .text start:0x8149F4F8 end:0x814A2BDC -libs/RevoEX/src/vf/pf_path.c: +libs/RevoEX/src/vf/api/pf_path.c: .text start:0x814A2BDC end:0x814A5568 .sdata2 start:0x816696A8 end:0x816696B8 .sdata start:0x8166C340 end:0x8166C370 -libs/RevoEX/src/vf/pf_sector.c: +libs/RevoEX/src/vf/api/pf_sector.c: .text start:0x814A5568 end:0x814A5E10 -libs/RevoEX/src/vf/pf_volume.c: +libs/RevoEX/src/vf/api/pf_volume.c: .bss start:0x810CBB70 end:0x810F38C0 .text start:0x814A5E10 end:0x814A7EC0 -libs/RevoEX/src/vf/pf_cp932.c: +libs/RevoEX/src/vf/api/pf_cp932.c: .text start:0x814A7EC0 end:0x814A83A4 .rodata start:0x815F2620 end:0x815F6898 -libs/RevoEX/src/vf/pf_attach.c: +libs/RevoEX/src/vf/api/pf_attach.c: .text start:0x814A83A4 end:0x814A8594 -libs/RevoEX/src/vf/pf_chdir.c: +libs/RevoEX/src/vf/api/pf_chdir.c: .text start:0x814A8594 end:0x814A85E4 -libs/RevoEX/src/vf/pf_create.c: +libs/RevoEX/src/vf/api/pf_create.c: .text start:0x814A85E4 end:0x814A8648 -libs/RevoEX/src/vf/pf_detach.c: +libs/RevoEX/src/vf/api/pf_detach.c: .text start:0x814A8648 end:0x814A8670 -libs/RevoEX/src/vf/pf_errnum.c: +libs/RevoEX/src/vf/api/pf_errnum.c: .text start:0x814A8670 end:0x814A8694 -libs/RevoEX/src/vf/pf_fclose.c: +libs/RevoEX/src/vf/api/pf_fclose.c: .text start:0x814A8694 end:0x814A86B8 -libs/RevoEX/src/vf/pf_finfo.c: +libs/RevoEX/src/vf/api/pf_finfo.c: .text start:0x814A86B8 end:0x814A86DC -libs/RevoEX/src/vf/pf_fopen.c: +libs/RevoEX/src/vf/api/pf_fopen.c: .text start:0x814A86DC end:0x814A8788 -libs/RevoEX/src/vf/pf_format.c: +libs/RevoEX/src/vf/api/pf_format.c: .text start:0x814A8788 end:0x814A87B0 -libs/RevoEX/src/vf/pf_fread.c: +libs/RevoEX/src/vf/api/pf_fread.c: .text start:0x814A87B0 end:0x814A87D8 -libs/RevoEX/src/vf/pf_fseek.c: +libs/RevoEX/src/vf/api/pf_fseek.c: .text start:0x814A87D8 end:0x814A87FC -libs/RevoEX/src/vf/pf_fsfirst.c: +libs/RevoEX/src/vf/api/pf_fsfirst.c: .text start:0x814A87FC end:0x814A8870 -libs/RevoEX/src/vf/pf_fsnext.c: +libs/RevoEX/src/vf/api/pf_fsnext.c: .text start:0x814A8870 end:0x814A8894 -libs/RevoEX/src/vf/pf_fwrite.c: +libs/RevoEX/src/vf/api/pf_fwrite.c: .text start:0x814A8894 end:0x814A88BC -libs/RevoEX/src/vf/pf_getdev.c: +libs/RevoEX/src/vf/api/pf_getdev.c: .text start:0x814A88BC end:0x814A88E4 -libs/RevoEX/src/vf/pf_init_prfile2.c: +libs/RevoEX/src/vf/api/pf_init_prfile2.c: .text start:0x814A88E4 end:0x814A8924 -libs/RevoEX/src/vf/pf_mkdir.c: +libs/RevoEX/src/vf/api/pf_mkdir.c: .text start:0x814A8924 end:0x814A8974 -libs/RevoEX/src/vf/pf_remove.c: +libs/RevoEX/src/vf/api/pf_remove.c: .text start:0x814A8974 end:0x814A89C4 -libs/RevoEX/src/vf/pf_rmdir.c: +libs/RevoEX/src/vf/api/pf_rmdir.c: .text start:0x814A89C4 end:0x814A8A14 -libs/RevoEX/src/vf/pf_sync.c: +libs/RevoEX/src/vf/api/pf_sync.c: .text start:0x814A8A14 end:0x814A8A3C -libs/RevoEX/src/vf/pf_unmount.c: +libs/RevoEX/src/vf/api/pf_unmount.c: .text start:0x814A8A3C end:0x814A8A64 -libs/RevoEX/src/vf/pf_filelock.c: +libs/RevoEX/src/vf/api/pf_filelock.c: .text start:0x814A8A64 end:0x814A8A78 -libs/RevoEX/src/vf/pf_system.c: +libs/RevoEX/src/vf/api/pf_system.c: .text start:0x814A8A78 end:0x814A8AF0 .sbss start:0x8166D488 end:0x8166D490 @@ -1768,13 +1768,13 @@ libs/RevoEX/src/vf/d_common.c: .bss start:0x810F3C50 end:0x810F3E58 .text start:0x814ADBF0 end:0x814AE80C -libs/RevoEX/src/vf/nand_drv.c: +libs/RevoEX/src/vf/driver/nand_drv.c: .bss start:0x810F3E58 end:0x810F4000 .text start:0x814AE80C end:0x814B177C .rodata start:0x815F6968 end:0x815F6988 .sbss start:0x8166D4B8 end:0x8166D4C0 -libs/RevoEX/src/vf/sd_drv.c: +libs/RevoEX/src/vf/driver/sd_drv.c: .bss start:0x810F4000 end:0x810F43C0 .text start:0x814B177C end:0x814B2594 .rodata start:0x815F6988 end:0x815F69A8 @@ -1891,11 +1891,53 @@ libs/RVLFaceLib/src/RFL_Format.c: extabindex start:0x813312E4 end:0x8133135C .text start:0x814C2CC0 end:0x814C3200 -libs/RVLMiddleware/TMC_JPEG/src/decapi.c: - .text start:0x814C3200 end:0x814CFDDC - .rodata start:0x815F7870 end:0x815F7AE0 +libs/RVLMiddleware/TMC_JPEG/src/buffer/mkhdec3.c: + .text start:0x814C3200 end:0x814C36CC + +libs/RVLMiddleware/TMC_JPEG/src/buffer/buffer_system.c: + .text start:0x814C36CC end:0x814C4058 + +libs/RVLMiddleware/TMC_JPEG/src/buffer/getcode.c: + .text start:0x814C4058 end:0x814C4194 + +libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var.c: + .text start:0x814C4194 end:0x814C4CB0 + +libs/RVLMiddleware/TMC_JPEG/src/api/decapi.c: + .text start:0x814C4CB0 end:0x814C50FC + +libs/RVLMiddleware/TMC_JPEG/src/jpegdec/jdec.c: + .text start:0x814C50FC end:0x814C54F8 + +libs/RVLMiddleware/TMC_JPEG/src/jpegdec/jdec_main.c: + .text start:0x814C54F8 end:0x814C6ADC + .rodata start:0x815F7870 end:0x815F7970 + +libs/RVLMiddleware/TMC_JPEG/src/jpegdec/jpformat.c: + .rodata start:0x815F7970 end:0x815F7AE0 .sdata2 start:0x81669810 end:0x81669818 +libs/RVLMiddleware/TMC_JPEG/src/exif/exif_parse.c: + .text start:0x814C6ADC end:0x814C7EBC + +libs/RVLMiddleware/TMC_JPEG/src/reschange/iqdec_resolution_change_a3.c: + .text start:0x814C7EBC end:0x814C8248 + +libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var.c: + .text start:0x814C8248 end:0x814C8954 + +libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8.c: + .text start:0x814C8954 end:0x814CC7A0 + +libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565.c: + .text start:0x814CC7A0 end:0x814CDFC8 + +libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8.c: + .text start:0x814CDFC8 end:0x814CF98C + +libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32.c: + .text start:0x814CF98C end:0x814CFDDC + libs/NW4R/src/snd/snd_AxManager.cpp: .bss start:0x810F43C0 end:0x810FE7D8 .text start:0x814CFDDC end:0x814D16B8 @@ -2485,6 +2527,7 @@ libs/RVL_SDK/src/os/OSPlayRecord.c: .bss start:0x81114120 end:0x81114320 .text start:0x8150FB7C end:0x8151046C .data start:0x81654740 end:0x81654788 + .sdata start:0x8166C498 end:0x8166C4A0 .sbss start:0x8166D6D0 end:0x8166D6F0 libs/RVL_SDK/src/os/OSStateFlags.c: @@ -2505,7 +2548,7 @@ libs/RVL_SDK/src/os/OSPlayTime.c: .text start:0x81510B40 end:0x815113C0 .data start:0x81654938 end:0x81654978 .sdata2 start:0x81669C30 end:0x81669C40 - .sdata start:0x8166C498 end:0x8166C4A8 + .sdata start:0x8166C4A0 end:0x8166C4A8 .sbss start:0x8166D6F0 end:0x8166D708 libs/RVL_SDK/src/os/__ppc_eabi_init.cpp: @@ -3390,451 +3433,451 @@ libs/RVL_SDK/src/cnt/cnt.c: .rodata start:0x81606940 end:0x81606BB8 .data start:0x81664CE0 end:0x81664DE0 -libs/RVL_SDK/src/fa/pf_clib.c: +libs/RVL_SDK/src/fa/api/pf_clib.c: .text start:0x8159ED00 end:0x8159F13C -libs/RVL_SDK/src/fa/pf_code.c: +libs/RVL_SDK/src/fa/api/pf_code.c: .text start:0x8159F13C end:0x8159F158 .rodata start:0x81606BB8 end:0x81606C18 -libs/RVL_SDK/src/fa/pf_service.c: +libs/RVL_SDK/src/fa/api/pf_service.c: .text start:0x8159F158 end:0x8159F290 -libs/RVL_SDK/src/fa/pf_str.c: +libs/RVL_SDK/src/fa/api/pf_str.c: .text start:0x8159F290 end:0x8159F7F4 -libs/RVL_SDK/src/fa/pf_driver.c: +libs/RVL_SDK/src/fa/api/pf_driver.c: .text start:0x8159F7F4 end:0x815A00F8 -libs/RVL_SDK/src/fa/pdm_api.c: +libs/RVL_SDK/src/fa/api/pdm_api.c: .text start:0x815A00F8 end:0x815A01A0 -libs/RVL_SDK/src/fa/pdm_bpb.c: +libs/RVL_SDK/src/fa/api/pdm_bpb.c: .text start:0x815A01A0 end:0x815A068C -libs/RVL_SDK/src/fa/pdm_disk.c: +libs/RVL_SDK/src/fa/api/pdm_disk.c: .bss start:0x81175B98 end:0x81176560 .text start:0x815A068C end:0x815A0E78 -libs/RVL_SDK/src/fa/pdm_partition.c: +libs/RVL_SDK/src/fa/api/pdm_partition.c: .text start:0x815A0E78 end:0x815A1CFC -libs/RVL_SDK/src/fa/pf_cache.c: +libs/RVL_SDK/src/fa/api/pf_cache.c: .text start:0x815A1CFC end:0x815A39E0 -libs/RVL_SDK/src/fa/pf_cluster.c: +libs/RVL_SDK/src/fa/api/pf_cluster.c: .text start:0x815A39E0 end:0x815A4BA8 -libs/RVL_SDK/src/fa/pf_dir.c: +libs/RVL_SDK/src/fa/api/pf_dir.c: .text start:0x815A4BA8 end:0x815A95C8 .sdata2 start:0x81669FE0 end:0x81669FE8 .sdata start:0x8166C950 end:0x8166C970 -libs/RVL_SDK/src/fa/pf_entry.c: +libs/RVL_SDK/src/fa/api/pf_entry.c: .text start:0x815A95C8 end:0x815AAF4C .data start:0x81664DE0 end:0x81664DF0 .sdata2 start:0x81669FE8 end:0x81669FF0 -libs/RVL_SDK/src/fa/pf_entry_iterator.c: +libs/RVL_SDK/src/fa/api/pf_entry_iterator.c: .text start:0x815AAF4C end:0x815ACE14 .sdata start:0x8166C970 end:0x8166C988 -libs/RVL_SDK/src/fa/pf_fat.c: +libs/RVL_SDK/src/fa/api/pf_fat.c: .text start:0x815ACE14 end:0x815AFF30 .rodata start:0x81606C18 end:0x81606C58 -libs/RVL_SDK/src/fa/pf_fat12.c: +libs/RVL_SDK/src/fa/api/pf_fat12.c: .text start:0x815AFF30 end:0x815B07A4 -libs/RVL_SDK/src/fa/pf_fat16.c: +libs/RVL_SDK/src/fa/api/pf_fat16.c: .text start:0x815B07A4 end:0x815B0BE8 -libs/RVL_SDK/src/fa/pf_fat32.c: +libs/RVL_SDK/src/fa/api/pf_fat32.c: .text start:0x815B0BE8 end:0x815B10D8 -libs/RVL_SDK/src/fa/pf_fatfs.c: +libs/RVL_SDK/src/fa/api/pf_fatfs.c: .text start:0x815B10D8 end:0x815B10DC -libs/RVL_SDK/src/fa/pf_file.c: +libs/RVL_SDK/src/fa/api/pf_file.c: .text start:0x815B10DC end:0x815B5678 -libs/RVL_SDK/src/fa/pf_path.c: +libs/RVL_SDK/src/fa/api/pf_path.c: .text start:0x815B5678 end:0x815B84D8 .sdata2 start:0x81669FF0 end:0x81669FF8 .sdata start:0x8166C988 end:0x8166C9B8 -libs/RVL_SDK/src/fa/pf_sector.c: +libs/RVL_SDK/src/fa/api/pf_sector.c: .text start:0x815B84D8 end:0x815B8C00 -libs/RVL_SDK/src/fa/pf_volume.c: +libs/RVL_SDK/src/fa/api/pf_volume.c: .bss start:0x81176560 end:0x811A9D60 .text start:0x815B8C00 end:0x815BD248 .data start:0x81664DF0 end:0x81664E00 .sdata2 start:0x81669FF8 end:0x8166A000 .sdata start:0x8166C9B8 end:0x8166C9C0 -libs/RVL_SDK/src/fa/pf_volume_apiadd.c: +libs/RVL_SDK/src/fa/api/pf_volume_apiadd.c: .text start:0x815BD248 end:0x815BD2C0 -libs/RVL_SDK/src/fa/pf_cp932.c: +libs/RVL_SDK/src/fa/api/pf_cp932.c: .text start:0x815BD2C0 end:0x815BD7D0 .rodata start:0x81606C58 end:0x8160AED0 -libs/RVL_SDK/src/fa/pf_api_util.c: +libs/RVL_SDK/src/fa/api/pf_api_util.c: .text start:0x815BD7D0 end:0x815BD980 .data start:0x81664E00 end:0x81664EA0 -libs/RVL_SDK/src/fa/pf_attach.c: +libs/RVL_SDK/src/fa/api/pf_attach.c: .text start:0x815BD980 end:0x815BDA30 -libs/RVL_SDK/src/fa/pf_buffering.c: +libs/RVL_SDK/src/fa/api/pf_buffering.c: .text start:0x815BDA30 end:0x815BDA5C -libs/RVL_SDK/src/fa/pf_cdelete.c: +libs/RVL_SDK/src/fa/api/pf_cdelete.c: .text start:0x815BDA5C end:0x815BDAD8 -libs/RVL_SDK/src/fa/pf_chdir.c: +libs/RVL_SDK/src/fa/api/pf_chdir.c: .text start:0x815BDAD8 end:0x815BDB28 -libs/RVL_SDK/src/fa/pf_chdmod.c: +libs/RVL_SDK/src/fa/api/pf_chdmod.c: .text start:0x815BDB28 end:0x815BDB88 -libs/RVL_SDK/src/fa/pf_chmod.c: +libs/RVL_SDK/src/fa/api/pf_chmod.c: .text start:0x815BDB88 end:0x815BDBE8 -libs/RVL_SDK/src/fa/pf_cinsert.c: +libs/RVL_SDK/src/fa/api/pf_cinsert.c: .text start:0x815BDBE8 end:0x815BDC64 -libs/RVL_SDK/src/fa/pf_closedir.c: +libs/RVL_SDK/src/fa/api/pf_closedir.c: .text start:0x815BDC64 end:0x815BDC88 -libs/RVL_SDK/src/fa/pf_combine.c: +libs/RVL_SDK/src/fa/api/pf_combine.c: .text start:0x815BDC88 end:0x815BDD04 -libs/RVL_SDK/src/fa/pf_create.c: +libs/RVL_SDK/src/fa/api/pf_create.c: .text start:0x815BDD04 end:0x815BDD60 -libs/RVL_SDK/src/fa/pf_createdir.c: +libs/RVL_SDK/src/fa/api/pf_createdir.c: .text start:0x815BDD60 end:0x815BDDD4 -libs/RVL_SDK/src/fa/pf_cut.c: +libs/RVL_SDK/src/fa/api/pf_cut.c: .text start:0x815BDDD4 end:0x815BDE5C -libs/RVL_SDK/src/fa/pf_derrnum.c: +libs/RVL_SDK/src/fa/api/pf_derrnum.c: .text start:0x815BDE5C end:0x815BDE84 -libs/RVL_SDK/src/fa/pf_detach.c: +libs/RVL_SDK/src/fa/api/pf_detach.c: .text start:0x815BDE84 end:0x815BDEAC -libs/RVL_SDK/src/fa/pf_divide.c: +libs/RVL_SDK/src/fa/api/pf_divide.c: .text start:0x815BDEAC end:0x815BDF3C -libs/RVL_SDK/src/fa/pf_errnum.c: +libs/RVL_SDK/src/fa/api/pf_errnum.c: .text start:0x815BDF3C end:0x815BDF60 -libs/RVL_SDK/src/fa/pf_fadjust.c: +libs/RVL_SDK/src/fa/api/pf_fadjust.c: .text start:0x815BDF60 end:0x815BDF84 -libs/RVL_SDK/src/fa/pf_fappend.c: +libs/RVL_SDK/src/fa/api/pf_fappend.c: .text start:0x815BDF84 end:0x815BDFAC -libs/RVL_SDK/src/fa/pf_fchdir.c: +libs/RVL_SDK/src/fa/api/pf_fchdir.c: .text start:0x815BDFAC end:0x815BDFD0 -libs/RVL_SDK/src/fa/pf_fclose.c: +libs/RVL_SDK/src/fa/api/pf_fclose.c: .text start:0x815BDFD0 end:0x815BDFF4 -libs/RVL_SDK/src/fa/pf_fconcat.c: +libs/RVL_SDK/src/fa/api/pf_fconcat.c: .text start:0x815BDFF4 end:0x815BE070 -libs/RVL_SDK/src/fa/pf_feof.c: +libs/RVL_SDK/src/fa/api/pf_feof.c: .text start:0x815BE070 end:0x815BE094 -libs/RVL_SDK/src/fa/pf_ferror.c: +libs/RVL_SDK/src/fa/api/pf_ferror.c: .text start:0x815BE094 end:0x815BE0B8 -libs/RVL_SDK/src/fa/pf_finfo.c: +libs/RVL_SDK/src/fa/api/pf_finfo.c: .text start:0x815BE0B8 end:0x815BE0DC -libs/RVL_SDK/src/fa/pf_flock.c: +libs/RVL_SDK/src/fa/api/pf_flock.c: .text start:0x815BE0DC end:0x815BE104 -libs/RVL_SDK/src/fa/pf_fopen.c: +libs/RVL_SDK/src/fa/api/pf_fopen.c: .text start:0x815BE104 end:0x815BE1A0 -libs/RVL_SDK/src/fa/pf_format.c: +libs/RVL_SDK/src/fa/api/pf_format.c: .text start:0x815BE1A0 end:0x815BE1C8 -libs/RVL_SDK/src/fa/pf_fread.c: +libs/RVL_SDK/src/fa/api/pf_fread.c: .text start:0x815BE1C8 end:0x815BE1F0 -libs/RVL_SDK/src/fa/pf_fseek.c: +libs/RVL_SDK/src/fa/api/pf_fseek.c: .text start:0x815BE1F0 end:0x815BE214 -libs/RVL_SDK/src/fa/pf_fsetclstlink.c: +libs/RVL_SDK/src/fa/api/pf_fsetclstlink.c: .text start:0x815BE214 end:0x815BE238 -libs/RVL_SDK/src/fa/pf_fsexec.c: +libs/RVL_SDK/src/fa/api/pf_fsexec.c: .text start:0x815BE238 end:0x815BE25C -libs/RVL_SDK/src/fa/pf_fsfirst.c: +libs/RVL_SDK/src/fa/api/pf_fsfirst.c: .text start:0x815BE25C end:0x815BE2D0 -libs/RVL_SDK/src/fa/pf_fsnext.c: +libs/RVL_SDK/src/fa/api/pf_fsnext.c: .text start:0x815BE2D0 end:0x815BE2F4 -libs/RVL_SDK/src/fa/pf_fstat.c: +libs/RVL_SDK/src/fa/api/pf_fstat.c: .text start:0x815BE2F4 end:0x815BE354 -libs/RVL_SDK/src/fa/pf_fsync.c: +libs/RVL_SDK/src/fa/api/pf_fsync.c: .text start:0x815BE354 end:0x815BE378 -libs/RVL_SDK/src/fa/pf_fwrite.c: +libs/RVL_SDK/src/fa/api/pf_fwrite.c: .text start:0x815BE378 end:0x815BE3A0 -libs/RVL_SDK/src/fa/pf_getdev.c: +libs/RVL_SDK/src/fa/api/pf_getdev.c: .text start:0x815BE3A0 end:0x815BE3C8 -libs/RVL_SDK/src/fa/pf_getvol.c: +libs/RVL_SDK/src/fa/api/pf_getvol.c: .text start:0x815BE3C8 end:0x815BE3F0 -libs/RVL_SDK/src/fa/pf_getvolcfg.c: +libs/RVL_SDK/src/fa/api/pf_getvolcfg.c: .text start:0x815BE3F0 end:0x815BE418 -libs/RVL_SDK/src/fa/pf_init_prfile2.c: +libs/RVL_SDK/src/fa/api/pf_init_prfile2.c: .text start:0x815BE418 end:0x815BE458 -libs/RVL_SDK/src/fa/pf_insert.c: +libs/RVL_SDK/src/fa/api/pf_insert.c: .text start:0x815BE458 end:0x815BE520 -libs/RVL_SDK/src/fa/pf_iswriteprotected.c: +libs/RVL_SDK/src/fa/api/pf_iswriteprotected.c: .text start:0x815BE520 end:0x815BE564 -libs/RVL_SDK/src/fa/pf_mkdir.c: +libs/RVL_SDK/src/fa/api/pf_mkdir.c: .text start:0x815BE564 end:0x815BE5B4 -libs/RVL_SDK/src/fa/pf_mount.c: +libs/RVL_SDK/src/fa/api/pf_mount.c: .text start:0x815BE5B4 end:0x815BE5DC -libs/RVL_SDK/src/fa/pf_move.c: +libs/RVL_SDK/src/fa/api/pf_move.c: .text start:0x815BE5DC end:0x815BE658 -libs/RVL_SDK/src/fa/pf_opendir.c: +libs/RVL_SDK/src/fa/api/pf_opendir.c: .text start:0x815BE658 end:0x815BE6B0 -libs/RVL_SDK/src/fa/pf_readdir.c: +libs/RVL_SDK/src/fa/api/pf_readdir.c: .text start:0x815BE6B0 end:0x815BE6D4 -libs/RVL_SDK/src/fa/pf_regctx.c: +libs/RVL_SDK/src/fa/api/pf_regctx.c: .text start:0x815BE6D4 end:0x815BE6F8 -libs/RVL_SDK/src/fa/pf_remove.c: +libs/RVL_SDK/src/fa/api/pf_remove.c: .text start:0x815BE6F8 end:0x815BE748 -libs/RVL_SDK/src/fa/pf_rename.c: +libs/RVL_SDK/src/fa/api/pf_rename.c: .text start:0x815BE748 end:0x815BE7C4 -libs/RVL_SDK/src/fa/pf_rewinddir.c: +libs/RVL_SDK/src/fa/api/pf_rewinddir.c: .text start:0x815BE7C4 end:0x815BE7EC -libs/RVL_SDK/src/fa/pf_rmdir.c: +libs/RVL_SDK/src/fa/api/pf_rmdir.c: .text start:0x815BE7EC end:0x815BE83C -libs/RVL_SDK/src/fa/pf_rmvvol.c: +libs/RVL_SDK/src/fa/api/pf_rmvvol.c: .text start:0x815BE83C end:0x815BE864 -libs/RVL_SDK/src/fa/pf_seekdir.c: +libs/RVL_SDK/src/fa/api/pf_seekdir.c: .text start:0x815BE864 end:0x815BE888 -libs/RVL_SDK/src/fa/pf_setclstlink.c: +libs/RVL_SDK/src/fa/api/pf_setclstlink.c: .text start:0x815BE888 end:0x815BE8B0 -libs/RVL_SDK/src/fa/pf_setcode.c: +libs/RVL_SDK/src/fa/api/pf_setcode.c: .text start:0x815BE8B0 end:0x815BE8D4 -libs/RVL_SDK/src/fa/pf_setencode.c: +libs/RVL_SDK/src/fa/api/pf_setencode.c: .text start:0x815BE8D4 end:0x815BE8F8 -libs/RVL_SDK/src/fa/pf_settailbuf.c: +libs/RVL_SDK/src/fa/api/pf_settailbuf.c: .text start:0x815BE8F8 end:0x815BE920 -libs/RVL_SDK/src/fa/pf_setupfsi.c: +libs/RVL_SDK/src/fa/api/pf_setupfsi.c: .text start:0x815BE920 end:0x815BE94C -libs/RVL_SDK/src/fa/pf_setvol.c: +libs/RVL_SDK/src/fa/api/pf_setvol.c: .text start:0x815BE94C end:0x815BE9A8 -libs/RVL_SDK/src/fa/pf_setvolcfg.c: +libs/RVL_SDK/src/fa/api/pf_setvolcfg.c: .text start:0x815BE9A8 end:0x815BE9D0 -libs/RVL_SDK/src/fa/pf_sync.c: +libs/RVL_SDK/src/fa/api/pf_sync.c: .text start:0x815BE9D0 end:0x815BE9F8 -libs/RVL_SDK/src/fa/pf_telldir.c: +libs/RVL_SDK/src/fa/api/pf_telldir.c: .text start:0x815BE9F8 end:0x815BEA1C -libs/RVL_SDK/src/fa/pf_unmount.c: +libs/RVL_SDK/src/fa/api/pf_unmount.c: .text start:0x815BEA1C end:0x815BEA44 -libs/RVL_SDK/src/fa/pf_unregctx.c: +libs/RVL_SDK/src/fa/api/pf_unregctx.c: .text start:0x815BEA44 end:0x815BEA68 -libs/RVL_SDK/src/fa/pf_xdivide.c: +libs/RVL_SDK/src/fa/api/pf_xdivide.c: .text start:0x815BEA68 end:0x815BEAF8 -libs/RVL_SDK/src/fa/pf_w_api_util.c: +libs/RVL_SDK/src/fa/api/pf_w_api_util.c: .text start:0x815BEAF8 end:0x815BEBC8 -libs/RVL_SDK/src/fa/pf_w_cdelete.c: +libs/RVL_SDK/src/fa/api/pf_w_cdelete.c: .text start:0x815BEBC8 end:0x815BEC44 -libs/RVL_SDK/src/fa/pf_w_chdir.c: +libs/RVL_SDK/src/fa/api/pf_w_chdir.c: .text start:0x815BEC44 end:0x815BEC94 -libs/RVL_SDK/src/fa/pf_w_chdmod.c: +libs/RVL_SDK/src/fa/api/pf_w_chdmod.c: .text start:0x815BEC94 end:0x815BECF4 -libs/RVL_SDK/src/fa/pf_w_chmod.c: +libs/RVL_SDK/src/fa/api/pf_w_chmod.c: .text start:0x815BECF4 end:0x815BED54 -libs/RVL_SDK/src/fa/pf_w_cinsert.c: +libs/RVL_SDK/src/fa/api/pf_w_cinsert.c: .text start:0x815BED54 end:0x815BEDD0 -libs/RVL_SDK/src/fa/pf_w_combine.c: +libs/RVL_SDK/src/fa/api/pf_w_combine.c: .text start:0x815BEDD0 end:0x815BEE4C -libs/RVL_SDK/src/fa/pf_w_create.c: +libs/RVL_SDK/src/fa/api/pf_w_create.c: .text start:0x815BEE4C end:0x815BEEA8 -libs/RVL_SDK/src/fa/pf_w_createdir.c: +libs/RVL_SDK/src/fa/api/pf_w_createdir.c: .text start:0x815BEEA8 end:0x815BEF1C -libs/RVL_SDK/src/fa/pf_w_cut.c: +libs/RVL_SDK/src/fa/api/pf_w_cut.c: .text start:0x815BEF1C end:0x815BEFA4 -libs/RVL_SDK/src/fa/pf_w_divide.c: +libs/RVL_SDK/src/fa/api/pf_w_divide.c: .text start:0x815BEFA4 end:0x815BF034 -libs/RVL_SDK/src/fa/pf_w_fconcat.c: +libs/RVL_SDK/src/fa/api/pf_w_fconcat.c: .text start:0x815BF034 end:0x815BF0B0 -libs/RVL_SDK/src/fa/pf_w_fopen.c: +libs/RVL_SDK/src/fa/api/pf_w_fopen.c: .text start:0x815BF0B0 end:0x815BF14C -libs/RVL_SDK/src/fa/pf_w_fsexec.c: +libs/RVL_SDK/src/fa/api/pf_w_fsexec.c: .text start:0x815BF14C end:0x815BF170 -libs/RVL_SDK/src/fa/pf_w_fsfirst.c: +libs/RVL_SDK/src/fa/api/pf_w_fsfirst.c: .text start:0x815BF170 end:0x815BF1E4 -libs/RVL_SDK/src/fa/pf_w_fsnext.c: +libs/RVL_SDK/src/fa/api/pf_w_fsnext.c: .text start:0x815BF1E4 end:0x815BF208 -libs/RVL_SDK/src/fa/pf_w_fstat.c: +libs/RVL_SDK/src/fa/api/pf_w_fstat.c: .text start:0x815BF208 end:0x815BF268 -libs/RVL_SDK/src/fa/pf_w_insert.c: +libs/RVL_SDK/src/fa/api/pf_w_insert.c: .text start:0x815BF268 end:0x815BF330 -libs/RVL_SDK/src/fa/pf_w_mkdir.c: +libs/RVL_SDK/src/fa/api/pf_w_mkdir.c: .text start:0x815BF330 end:0x815BF380 -libs/RVL_SDK/src/fa/pf_w_move.c: +libs/RVL_SDK/src/fa/api/pf_w_move.c: .text start:0x815BF380 end:0x815BF3FC -libs/RVL_SDK/src/fa/pf_w_opendir.c: +libs/RVL_SDK/src/fa/api/pf_w_opendir.c: .text start:0x815BF3FC end:0x815BF454 -libs/RVL_SDK/src/fa/pf_w_remove.c: +libs/RVL_SDK/src/fa/api/pf_w_remove.c: .text start:0x815BF454 end:0x815BF4A4 -libs/RVL_SDK/src/fa/pf_w_rename.c: +libs/RVL_SDK/src/fa/api/pf_w_rename.c: .text start:0x815BF4A4 end:0x815BF520 -libs/RVL_SDK/src/fa/pf_w_rmdir.c: +libs/RVL_SDK/src/fa/api/pf_w_rmdir.c: .text start:0x815BF520 end:0x815BF570 -libs/RVL_SDK/src/fa/pf_w_xdivide.c: +libs/RVL_SDK/src/fa/api/pf_w_xdivide.c: .text start:0x815BF570 end:0x815BF600 -libs/RVL_SDK/src/fa/pf_filelock.c: +libs/RVL_SDK/src/fa/api/pf_filelock.c: .text start:0x815BF600 end:0x815BF764 -libs/RVL_SDK/src/fa/pf_stub.c: +libs/RVL_SDK/src/fa/api/pf_stub.c: .text start:0x815BF764 end:0x815BFB4C -libs/RVL_SDK/src/fa/pf_system.c: +libs/RVL_SDK/src/fa/api/pf_system.c: .bss start:0x811A9D60 end:0x811AC100 .text start:0x815BFB4C end:0x815BFBE4 -libs/RVL_SDK/src/fa/pf_stub_standard.c: +libs/RVL_SDK/src/fa/api/pf_stub_standard.c: .text start:0x815BFBE4 end:0x815C0168 .data start:0x81664EA0 end:0x81664FE8 -libs/RVL_SDK/src/fa/pfs_attach.c: +libs/RVL_SDK/src/fa/api/pfs_attach.c: .text start:0x815C0168 end:0x815C01B8 -libs/RVL_SDK/src/fa/pfs_buffering.c: +libs/RVL_SDK/src/fa/api/pfs_buffering.c: .text start:0x815C01B8 end:0x815C0208 -libs/RVL_SDK/src/fa/pfs_create.c: +libs/RVL_SDK/src/fa/api/pfs_create.c: .text start:0x815C0208 end:0x815C0254 -libs/RVL_SDK/src/fa/pfs_createdir.c: +libs/RVL_SDK/src/fa/api/pfs_createdir.c: .text start:0x815C0254 end:0x815C02A8 -libs/RVL_SDK/src/fa/pfs_detach.c: +libs/RVL_SDK/src/fa/api/pfs_detach.c: .text start:0x815C02A8 end:0x815C02F4 -libs/RVL_SDK/src/fa/pfs_errnum.c: +libs/RVL_SDK/src/fa/api/pfs_errnum.c: .text start:0x815C02F4 end:0x815C033C -libs/RVL_SDK/src/fa/pfs_fclose.c: +libs/RVL_SDK/src/fa/api/pfs_fclose.c: .text start:0x815C033C end:0x815C0388 -libs/RVL_SDK/src/fa/pfs_finfot.c: +libs/RVL_SDK/src/fa/api/pfs_finfot.c: .text start:0x815C0388 end:0x815C03D8 -libs/RVL_SDK/src/fa/pfs_fopen.c: +libs/RVL_SDK/src/fa/api/pfs_fopen.c: .text start:0x815C03D8 end:0x815C0428 -libs/RVL_SDK/src/fa/pfs_format.c: +libs/RVL_SDK/src/fa/api/pfs_format.c: .text start:0x815C0428 end:0x815C0478 -libs/RVL_SDK/src/fa/pfs_fread.c: +libs/RVL_SDK/src/fa/api/pfs_fread.c: .text start:0x815C0478 end:0x815C04D0 -libs/RVL_SDK/src/fa/pfs_fseek.c: +libs/RVL_SDK/src/fa/api/pfs_fseek.c: .text start:0x815C04D0 end:0x815C0524 -libs/RVL_SDK/src/fa/pfs_fsfirst.c: +libs/RVL_SDK/src/fa/api/pfs_fsfirst.c: .text start:0x815C0524 end:0x815C0578 -libs/RVL_SDK/src/fa/pfs_fsnext.c: +libs/RVL_SDK/src/fa/api/pfs_fsnext.c: .text start:0x815C0578 end:0x815C05C4 -libs/RVL_SDK/src/fa/pfs_fstat.c: +libs/RVL_SDK/src/fa/api/pfs_fstat.c: .text start:0x815C05C4 end:0x815C0614 -libs/RVL_SDK/src/fa/pfs_fwrite.c: +libs/RVL_SDK/src/fa/api/pfs_fwrite.c: .text start:0x815C0614 end:0x815C066C -libs/RVL_SDK/src/fa/pfs_getdev.c: +libs/RVL_SDK/src/fa/api/pfs_getdev.c: .text start:0x815C066C end:0x815C06BC -libs/RVL_SDK/src/fa/pfs_init_prfile2.c: +libs/RVL_SDK/src/fa/api/pfs_init_prfile2.c: .text start:0x815C06BC end:0x815C06C0 -libs/RVL_SDK/src/fa/pfs_mount.c: +libs/RVL_SDK/src/fa/api/pfs_mount.c: .text start:0x815C06C0 end:0x815C070C -libs/RVL_SDK/src/fa/pfs_remove.c: +libs/RVL_SDK/src/fa/api/pfs_remove.c: .text start:0x815C070C end:0x815C0758 -libs/RVL_SDK/src/fa/pfs_unmount.c: +libs/RVL_SDK/src/fa/api/pfs_unmount.c: .text start:0x815C0758 end:0x815C07A8 -libs/RVL_SDK/src/fa/pf_stub_unicode.c: +libs/RVL_SDK/src/fa/api/pf_stub_unicode.c: .text start:0x815C07A8 end:0x815C09E8 .data start:0x81664FE8 end:0x81665048 @@ -3917,39 +3960,39 @@ libs/RVL_SDK/src/fa/FASetThreadPriority.c: libs/RVL_SDK/src/fa/FAUnmount.c: .text start:0x815C11A0 end:0x815C11F0 -libs/RVL_SDK/src/fa/pfk_api.c: +libs/RVL_SDK/src/fa/kernel/pfk_api.c: .text start:0x815C11F0 end:0x815C1658 .data start:0x816650A8 end:0x81665378 -libs/RVL_SDK/src/fa/nand_drv.c: +libs/RVL_SDK/src/fa/driver/nand_drv.c: .bss start:0x811AC1E8 end:0x811AD7E0 .text start:0x815C1658 end:0x815C3180 .rodata start:0x8160AED0 end:0x8160AEF0 .sdata start:0x8166C9D0 end:0x8166C9D8 .sbss start:0x8166DCE0 end:0x8166DD00 -libs/RVL_SDK/src/fa/sd_drv.c: +libs/RVL_SDK/src/fa/driver/sd_drv.c: .bss start:0x811AD7E0 end:0x811ADA40 .text start:0x815C3180 end:0x815C5F70 .rodata start:0x8160AEF0 end:0x8160B060 .data start:0x81665378 end:0x81665D88 .sbss start:0x8166DD00 end:0x8166DD28 -libs/RVL_SDK/src/fa/pfd_cmn.c: +libs/RVL_SDK/src/fa/driver/pfd_cmn.c: .text start:0x815C5F70 end:0x815C6088 -libs/RVL_SDK/src/fa/msc_drv.c: +libs/RVL_SDK/src/fa/driver/msc_drv.c: .text start:0x815C6088 end:0x815C609C .sbss start:0x8166DD28 end:0x8166DD30 -libs/RVL_SDK/src/fa/puh_msc.c: +libs/RVL_SDK/src/fa/msc/puh_msc.c: .text start:0x815C609C end:0x815C6354 .sbss start:0x8166DD30 end:0x8166DD40 -libs/RVL_SDK/src/fa/puh_msc_cmd.c: +libs/RVL_SDK/src/fa/msc/puh_msc_cmd.c: .text start:0x815C6354 end:0x815C6730 -libs/RVL_SDK/src/fa/puh_msc_blk.c: +libs/RVL_SDK/src/fa/msc/puh_msc_blk.c: .bss start:0x811ADA40 end:0x811ADBC0 .text start:0x815C6730 end:0x815C6F48 .data start:0x81665D88 end:0x81665DA8 @@ -3978,24 +4021,24 @@ libs/RVL_SDK/src/nup/nup_mem.cpp: .text start:0x815CBAAC end:0x815CBBB4 .sbss start:0x8166DD70 end:0x8166DD78 -libs/RVL_SDK/src/scutil/scutil.c: +libs/RVL_SDK/src/scutil/idToIsoA2.c: .text start:0x815CBBB4 end:0x815CBC0C .data start:0x816664A8 end:0x81666770 .sdata start:0x8166CA18 end:0x8166CBE8 -libs/RVL_SDK/src/usbutil/uh_ker_mem.c: +libs/RVL_SDK/src/usbcmn/puh_ker_mem.c: .text start:0x815CBC0C end:0x815CBC70 -libs/RVL_SDK/src/usbutil/uh_ker_msg.c: +libs/RVL_SDK/src/usbcmn/puh_ker_msg.c: .bss start:0x811ADC40 end:0x811ADC58 .text start:0x815CBC70 end:0x815CBCF4 -libs/RVL_SDK/src/usbutil/uh_ker_sem.c: +libs/RVL_SDK/src/usbcmn/puh_ker_sem.c: .bss start:0x811ADC58 end:0x811ADD90 .text start:0x815CBCF4 end:0x815CBFF4 .sbss start:0x8166DD78 end:0x8166DD80 -libs/RVL_SDK/src/usbutil/uh_ker_tsk.c: +libs/RVL_SDK/src/usbcmn/puh_ker_tsk.c: .bss start:0x811ADD90 end:0x811AE420 .text start:0x815CBFF4 end:0x815CC07C @@ -4370,11 +4413,8 @@ libs/MSL/src/math/e_rem_pio2.c: .rodata start:0x8160C0B0 end:0x8160C238 .sdata2 start:0x8166A438 end:0x8166A490 -libs/MSL/src/math/s_fmin.c: - .text start:0x815E33F0 end:0x815E345C - -libs/MSL/src/math/s_fmax.c: - .text start:0x815E345C end:0x815E34C8 +libs/MSL/src/math/fminmaxdim.c: + .text start:0x815E33F0 end:0x815E34C8 libs/MSL/src/math/k_cos.c: .text start:0x815E34C8 end:0x815E35D8 diff --git a/config/43K/symbols.txt b/config/43K/symbols.txt index 86d4236d..2ac142cc 100644 --- a/config/43K/symbols.txt +++ b/config/43K/symbols.txt @@ -188,23 +188,27 @@ sException__Q24nw4r2db = .bss:0x8110F1C0; // type:object size:0x360 scope:local sThreadBuffer__Q24nw4r2db = .bss:0x8110F520; // type:object size:0x4000 scope:local texCoords$7499 = .bss:0x81113520; // type:object size:0x20 scope:local align:4 data:float __OSRebootParams = .bss:0x81113540; // type:object size:0x1C data:4byte -DriveBlock = .bss:0x81113560; // type:object size:0x30 scope:local -__OSErrorTable = .bss:0x811135B0; // type:object size:0x50 data:4byte +...bss.0 = .bss:0x81113540; // type:label scope:local +DriveInfo = .bss:0x81113560; // type:object size:0x20 scope:local +DriveBlock = .bss:0x81113580; // type:object size:0x30 scope:local +__OSErrorTable = .bss:0x811135B0; // type:object size:0x44 data:4byte Scb = .bss:0x81113600; // type:object size:0x54 scope:local data:2byte DefaultThread = .bss:0x81113658; // type:object size:0x318 scope:local data:4byte +...bss.0 = .bss:0x81113658; // type:label scope:local RunQueue = .bss:0x81113970; // type:object size:0x100 scope:local data:4byte IdleContext = .bss:0x81113A70; // type:object size:0x2C8 scope:local IdleThread = .bss:0x81113D38; // type:object size:0x318 scope:local -StmEhInBuf = .bss:0x81114060; // type:object size:0x20 scope:local -StmEhOutBuf = .bss:0x81114080; // type:object size:0x20 scope:local data:4byte -StmImInBuf = .bss:0x811140A0; // type:object size:0x20 scope:local data:4byte -StmImOutBuf = .bss:0x811140C0; // type:object size:0x20 scope:local -StmVdInBuf = .bss:0x811140E0; // type:object size:0x20 scope:local data:4byte -StmVdOutBuf = .bss:0x81114100; // type:object size:0x20 scope:local +StmEhInBuf = .bss:0x81114060; // type:object size:0x20 scope:global +StmEhOutBuf = .bss:0x81114080; // type:object size:0x20 scope:global data:4byte +StmImInBuf = .bss:0x811140A0; // type:object size:0x20 scope:global data:4byte +StmImOutBuf = .bss:0x811140C0; // type:object size:0x20 scope:global +StmVdInBuf = .bss:0x811140E0; // type:object size:0x20 scope:global data:4byte +StmVdOutBuf = .bss:0x81114100; // type:object size:0x20 scope:global PlayRecord = .bss:0x81114120; // type:object size:0x80 scope:local data:4byte +...bss.0 = .bss:0x81114120; // type:label scope:local PlayRecordAlarm = .bss:0x811141A0; // type:object size:0x30 scope:local data:4byte FileInfo = .bss:0x811141D0; // type:object size:0x8C scope:local data:4byte -Block = .bss:0x8111425C; // type:object size:0xC4 scope:local data:4byte +Block = .bss:0x8111425C; // type:object size:0xBC scope:local data:4byte StateFlags = .bss:0x81114320; // type:object size:0x20 scope:local data:4byte __OSExpireAlarm = .bss:0x81114340; // type:object size:0x30 data:4byte Ecb = .bss:0x81114370; // type:object size:0xC0 scope:local data:4byte @@ -353,10 +357,10 @@ g_pfd_sddrv_buf = .bss:0x811AD840; // type:object size:0x200 uhg_msc_blk_device_tbl = .bss:0x811ADA40; // type:object size:0x180 data:4byte __reqMutex = .bss:0x811ADBC0; // type:object size:0x18 __sdPaths = .bss:0x811ADBE0; // type:object size:0x60 -uh_ker_msg_mng = .bss:0x811ADC40; // type:object size:0x14 -uh_ker_sem_mng = .bss:0x811ADC58; // type:object size:0xA8 data:4byte -uh_func_ker_sem = .bss:0x811ADD00; // type:object size:0x90 -uh_ker_tsk_mng = .bss:0x811ADD90; // type:object size:0x688 +st_uhs_ker_msg_mng = .bss:0x811ADC40; // type:object size:0x14 +st_uhs_ker_sem_mng = .bss:0x811ADC58; // type:object size:0xA8 data:4byte +st_uhf_ker_sem = .bss:0x811ADD00; // type:object size:0x90 +st_uhs_ker_tsk_mng = .bss:0x811ADD90; // type:object size:0x688 kbdKeyMaps = .bss:0x811AE420; // type:object size:0x400 kbdCmdBuf = .bss:0x811AE820; // type:object size:0x180 kbdData = .bss:0x811AE9A0; // type:object size:0x9A0 @@ -366,7 +370,7 @@ _CNTCACHEMutex = .bss:0x811AF3C0; // type:object size:0x18 sHeapList__Q23EGG4Heap = .bss:0x811AF3D8; // type:object size:0xC sRootMutex__Q23EGG4Heap = .bss:0x811AF3E4; // type:object size:0x18 sThreadList__Q23EGG6Thread = .bss:0x811AF400; // type:object size:0x10 -fragmentinfo = .bss:0x811AF410; // type:object size:0xC scope:local data:4byte +fragmentInfo = .bss:0x811AF410; // type:object size:0xC scope:local data:4byte protopool$343 = .bss:0x811AF420; // type:object size:0x38 data:4byte stderr_buff = .bss:0x811AF458; // type:object size:0x100 stdout_buff = .bss:0x811AF558; // type:object size:0x100 @@ -376,12 +380,12 @@ extracted_name$392 = .bss:0x811AF778; // type:object size:0x20 asctime_result$536 = .bss:0x811AF798; // type:object size:0x1A gmtime_tm$597 = .bss:0x811AF7B4; // type:object size:0x24 localtime_tm$618 = .bss:0x811AF7D8; // type:object size:0x24 data:4byte -IsTRKConnected = .bss:0x811AF800; // type:object size:0x4 data:4byte -TRK_Use_BBA = .bss:0x811AF808; // type:object size:0x4 data:byte -bUseSerialIO = .bss:0x811AF810; // type:object size:0x1 data:byte +IsTRKConnected = .bss:0x811AF800; // type:object size:0x4 scope:local data:4byte +TRK_Use_BBA = .bss:0x811AF808; // type:object size:0x1 data:byte +bUseSerialIO = .bss:0x811AF810; // type:object size:0x1 scope:local data:byte __start = .init:0x81330000; // type:function size:0xA8 scope:weak -__init_registers = .init:0x813300A8; // type:function size:0x90 scope:local -__init_data = .init:0x81330138; // type:function size:0xA0 scope:local +__init_registers = .init:0x813300A8; // type:function size:0x90 scope:global +__init_data = .init:0x81330138; // type:function size:0xA0 scope:global __init_hardware = .init:0x813301D8; // type:function size:0x24 __flush_cache = .init:0x813301FC; // type:function size:0x34 memcpy = .init:0x81330230; // type:function size:0x50 @@ -546,10 +550,10 @@ _bss_init_info = .init:0x813303E8; // type:object size:0x20 scope:global data:4b @etb_813308F0 = extab:0x813308F0; // type:object size:0x8 scope:local hidden @etb_813308F8 = extab:0x813308F8; // type:object size:0x8 scope:local hidden @etb_81330900 = extab:0x81330900; // type:object size:0x8 scope:local hidden -@etb_81330908 = extab:0x81330908; // type:object size:0x18 scope:local hidden -@etb_81330920 = extab:0x81330920; // type:object size:0x8 scope:local hidden -@etb_81330928 = extab:0x81330928; // type:object size:0x18 scope:local hidden -@etb_81330940 = extab:0x81330940; // type:object size:0x8 scope:local hidden +@86 = extab:0x81330908; // type:object size:0x18 scope:local hidden +@97 = extab:0x81330920; // type:object size:0x8 scope:local hidden +@128 = extab:0x81330928; // type:object size:0x18 scope:local hidden +@146 = extab:0x81330940; // type:object size:0x8 scope:local hidden @etb_81330948 = extab:0x81330948; // type:object size:0x8 scope:local hidden @etb_81330950 = extab:0x81330950; // type:object size:0x8 scope:local hidden @etb_81330958 = extab:0x81330958; // type:object size:0x8 scope:local hidden @@ -793,10 +797,10 @@ _bss_init_info = .init:0x813303E8; // type:object size:0x20 scope:global data:4b @eti_81331338 = extabindex:0x81331338; // type:object size:0xC scope:local hidden @eti_81331344 = extabindex:0x81331344; // type:object size:0xC scope:local hidden @eti_81331350 = extabindex:0x81331350; // type:object size:0xC scope:local hidden -@eti_8133135C = extabindex:0x8133135C; // type:object size:0xC scope:local hidden -@eti_81331368 = extabindex:0x81331368; // type:object size:0xC scope:local hidden -@eti_81331374 = extabindex:0x81331374; // type:object size:0xC scope:local hidden -@eti_81331380 = extabindex:0x81331380; // type:object size:0xC scope:local hidden +@87 = extabindex:0x8133135C; // type:object size:0xC scope:local hidden +@98 = extabindex:0x81331368; // type:object size:0xC scope:local hidden +@129 = extabindex:0x81331374; // type:object size:0xC scope:local hidden +@147 = extabindex:0x81331380; // type:object size:0xC scope:local hidden @eti_8133138C = extabindex:0x8133138C; // type:object size:0xC scope:local hidden @eti_81331398 = extabindex:0x81331398; // type:object size:0xC scope:local hidden @eti_813313A4 = extabindex:0x813313A4; // type:object size:0xC scope:local hidden @@ -1368,21 +1372,21 @@ calc__Q23ipl11PointerCoreFPQ23ipl7Pointer = .text:0x81343BE8; // type:function s draw__Q23ipl11PointerCoreFv = .text:0x81343C4C; // type:function size:0x54 changeType__Q23ipl11PointerCoreFii = .text:0x81343CA0; // type:function size:0x10 __ct__Q23ipl12DialogWindowFPQ23EGG4Heap = .text:0x81343CB0; // type:function size:0x858 -__ct__Q33ipl3gui11PaneManagerFPQ23gui12EventHandlerPCQ34nw4r3lyt8DrawInfoPQ23EGG4HeapPQ23EGG9Allocatorb = .text:0x81344508; // type:function size:0xB0 -__dt__Q23gui9InterfaceFv = .text:0x813445B8; // type:function size:0x40 -setManager__Q23gui12EventHandlerFPQ23gui7Manager = .text:0x813445F8; // type:function size:0x8 +__ct__Q33ipl3gui11PaneManagerFPQ23gui12EventHandlerPCQ34nw4r3lyt8DrawInfoPQ23EGG4HeapPQ23EGG9Allocatorb = .text:0x81344508; // type:function size:0xB0 scope:weak +__dt__Q23gui9InterfaceFv = .text:0x813445B8; // type:function size:0x40 scope:weak +setManager__Q23gui12EventHandlerFPQ23gui7Manager = .text:0x813445F8; // type:function size:0x8 scope:weak init__Q23ipl12DialogWindowFv = .text:0x81344600; // type:function size:0x104 calc__Q23ipl12DialogWindowFv = .text:0x81344704; // type:function size:0xA8 stt_fadein__Q23ipl12DialogWindowFv = .text:0x813447AC; // type:function size:0x50 stt_normal__Q23ipl12DialogWindowFv = .text:0x813447FC; // type:function size:0x200 stt_select__Q23ipl12DialogWindowFv = .text:0x813449FC; // type:function size:0xF4 stt_fadeout__Q23ipl12DialogWindowFv = .text:0x81344AF0; // type:function size:0x94 -setEventHandler__Q23gui7ManagerFPQ23gui12EventHandler = .text:0x81344B84; // type:function size:0x2C +setEventHandler__Q23gui7ManagerFPQ23gui12EventHandler = .text:0x81344B84; // type:function size:0x2C scope:weak set_alpha__Q23ipl12DialogWindowFPQ34nw4r3lyt4PaneUc = .text:0x81344BB0; // type:function size:0x60 stt_prepare_pagefade__Q23ipl12DialogWindowFv = .text:0x81344C10; // type:function size:0x108 -stt_pagefade__Q23ipl12DialogWindowFv = .text:0x81344D18; // type:function size:0x5E4 scope:local -DynamicCast__Q24nw4r2utFPQ34nw4r3lyt4Pane_PQ34nw4r3lyt7TextBox = .text:0x813452FC; // type:function size:0x7C -GetRuntimeTypeInfo__Q34nw4r3lyt4PaneCFv = .text:0x81345378; // type:function size:0x8 +stt_pagefade__Q23ipl12DialogWindowFv = .text:0x81344D18; // type:function size:0x5E4 scope:global +DynamicCast__Q24nw4r2utFPQ34nw4r3lyt4Pane_PQ34nw4r3lyt7TextBox = .text:0x813452FC; // type:function size:0x7C scope:weak +GetRuntimeTypeInfo__Q34nw4r3lyt4PaneCFv = .text:0x81345378; // type:function size:0x8 scope:weak draw__Q23ipl12DialogWindowFv = .text:0x81345380; // type:function size:0x108 set_text__Q23ipl12DialogWindowFPCcPCw = .text:0x81345488; // type:function size:0x64 set_message__Q23ipl12DialogWindowFUl = .text:0x813454EC; // type:function size:0x5C @@ -1405,7 +1409,7 @@ __ct__Q34nw4r3lyt4SizeFff = .text:0x81345E9C; // type:function size:0xC scope:we callBtn1__Q23ipl12DialogWindowFUlUlf = .text:0x81345EA8; // type:function size:0xC4 callBtn2__Q23ipl12DialogWindowFUlUlUlb = .text:0x81345F6C; // type:function size:0x98 callBtn2NoShade__Q23ipl12DialogWindowFPCwUlUlb = .text:0x81346004; // type:function size:0xA8 -callBtn2__Q23ipl12DialogWindowFPQ33ipl12DialogWindow4Pageii = .text:0x813460AC; // type:function size:0x174 +callBtn2Multi__Q23ipl12DialogWindowFPQ33ipl12DialogWindow4Pageii = .text:0x813460AC; // type:function size:0x174 callBtn2__Q23ipl12DialogWindowFPCwUlUlb = .text:0x81346220; // type:function size:0xA0 callBtn3__Q23ipl12DialogWindowFUlUlUlUl = .text:0x813462C0; // type:function size:0xA0 callSBtn2__Q23ipl12DialogWindowFUlUlUlb = .text:0x81346360; // type:function size:0xC4 @@ -1417,23 +1421,23 @@ start_left_event__Q23ipl12DialogWindowFPCc = .text:0x81346890; // type:function start_trig_event__Q23ipl12DialogWindowFPCc = .text:0x813469D4; // type:function size:0x264 get_button_no__Q23ipl12DialogWindowFPCc = .text:0x81346C38; // type:function size:0x78 onEvent__Q23ipl12DialogWindowFUlUlPv = .text:0x81346CB0; // type:function size:0xE4 -getPane__Q23gui13PaneComponentFv = .text:0x81346D94; // type:function size:0x8 +getPane__Q23gui13PaneComponentFv = .text:0x81346D94; // type:function size:0x8 scope:weak terminate__Q23ipl12DialogWindowFv = .text:0x81346D9C; // type:function size:0x24 -draw__Q23gui9InterfaceFRA3_A4_f = .text:0x81346DC0; // type:function size:0x4 -create__Q23gui9InterfaceFv = .text:0x81346DC4; // type:function size:0x4 -changeEventHandler__Q23gui7ManagerFPQ23gui12EventHandler = .text:0x81346DC8; // type:function size:0x54 -onEvent__Q23gui7ManagerFUlUliPv = .text:0x81346E1C; // type:function size:0x80 -setLatestEventCtrlNo__Q23gui12EventHandlerFi = .text:0x81346E9C; // type:function size:0x8 -onEvent__Q23gui12EventHandlerFUlUlPv = .text:0x81346EA4; // type:function size:0x4 -update__Q23gui7ManagerFiPC10KPADStatusffPv = .text:0x81346EA8; // type:function size:0x8 -setDrawInfo__Q23gui11PaneManagerFPCQ34nw4r3lyt8DrawInfo = .text:0x81346EB0; // type:function size:0x8 -getDrawInfo__Q23gui11PaneManagerFv = .text:0x81346EB8; // type:function size:0x8 -__dt__Q33ipl3gui11PaneManagerFv = .text:0x81346EC0; // type:function size:0x58 -getLatestEventCtrlNo__Q23gui12EventHandlerFv = .text:0x81346F18; // type:function size:0x8 -draw__Q23gui9InterfaceFv = .text:0x81346F20; // type:function size:0x4 -calc__Q23gui9InterfaceFv = .text:0x81346F24; // type:function size:0x4 -init__Q23gui9InterfaceFv = .text:0x81346F28; // type:function size:0x4 -__sinit_\iplDialogWindow_cpp = .text:0x81346F2C; // type:function size:0x3C scope:weak +draw__Q23gui9InterfaceFRA3_A4_f = .text:0x81346DC0; // type:function size:0x4 scope:weak +create__Q23gui9InterfaceFv = .text:0x81346DC4; // type:function size:0x4 scope:weak +changeEventHandler__Q23gui7ManagerFPQ23gui12EventHandler = .text:0x81346DC8; // type:function size:0x54 scope:weak +onEvent__Q23gui7ManagerFUlUliPv = .text:0x81346E1C; // type:function size:0x80 scope:weak +setLatestEventCtrlNo__Q23gui12EventHandlerFi = .text:0x81346E9C; // type:function size:0x8 scope:weak +onEvent__Q23gui12EventHandlerFUlUlPv = .text:0x81346EA4; // type:function size:0x4 scope:weak +update__Q23gui7ManagerFiPC10KPADStatusffPv = .text:0x81346EA8; // type:function size:0x8 scope:weak +setDrawInfo__Q23gui11PaneManagerFPCQ34nw4r3lyt8DrawInfo = .text:0x81346EB0; // type:function size:0x8 scope:weak +getDrawInfo__Q23gui11PaneManagerFv = .text:0x81346EB8; // type:function size:0x8 scope:weak +__dt__Q33ipl3gui11PaneManagerFv = .text:0x81346EC0; // type:function size:0x58 scope:weak +getLatestEventCtrlNo__Q23gui12EventHandlerFv = .text:0x81346F18; // type:function size:0x8 scope:weak +draw__Q23gui9InterfaceFv = .text:0x81346F20; // type:function size:0x4 scope:weak +calc__Q23gui9InterfaceFv = .text:0x81346F24; // type:function size:0x4 scope:weak +init__Q23gui9InterfaceFv = .text:0x81346F28; // type:function size:0x4 scope:weak +__sinit_\iplDialogWindow_cpp = .text:0x81346F2C; // type:function size:0x3C scope:local SECallback__3iplFi = .text:0x81346F68; // type:function size:0x9C scope:local __ct__Q23ipl14HomeButtonMenuFPQ23EGG4Heap = .text:0x81347004; // type:function size:0x1B4 DrawBanIcon__Q23ipl14HomeButtonMenuFUc = .text:0x813471B8; // type:function size:0xB4 @@ -1904,7 +1908,7 @@ NANDCheck = .text:0x8135FB30; // type:function size:0x10 __ct__Q33ipl3bs27ManagerFPQ23EGG4Heap = .text:0x8135FB40; // type:function size:0x94 __dt__Q33ipl3bs27ManagerFv = .text:0x8135FBD4; // type:function size:0x64 update__Q33ipl3bs27ManagerFv = .text:0x8135FC38; // type:function size:0x10C -isRsrcLoaded__Q23ipl6SystemFv = .text:0x8135FD44; // type:function size:0x38 +isRsrcLoaded__Q23ipl6SystemFv = .text:0x8135FD44; // type:function size:0x38 scope:weak getDiskBannerBuffer__Q33ipl3bs27ManagerFPPv = .text:0x8135FD7C; // type:function size:0x34 startUpdate__Q33ipl3bs27ManagerFv = .text:0x8135FDB0; // type:function size:0x9C reserveRVLGame__Q33ipl3bs27ManagerFv = .text:0x8135FE4C; // type:function size:0xC @@ -1949,11 +1953,11 @@ __ct__Q33ipl7utility4TreeFv = .text:0x81361AA0; // type:function size:0x24 attach__Q33ipl7utility4TreeFPQ33ipl7utility4Tree = .text:0x81361AC4; // type:function size:0x3C insert__Q33ipl7utility4TreeFPQ33ipl7utility4TreePQ33ipl7utility4Tree = .text:0x81361B00; // type:function size:0x38 detach__Q33ipl7utility4TreeFv = .text:0x81361B38; // type:function size:0x4C -getPrev__Q33ipl7utility4TreeFv = .text:0x81361B84; // type:function size:0x8 -getNext__Q33ipl7utility4TreeFv = .text:0x81361B8C; // type:function size:0x8 -getChild__Q33ipl7utility4TreeFv = .text:0x81361B94; // type:function size:0x8 -getParent__Q33ipl7utility4TreeFv = .text:0x81361B9C; // type:function size:0x8 -__dt__Q33ipl7utility4TreeFv = .text:0x81361BA4; // type:function size:0x40 +getPrev__Q33ipl7utility4TreeFv = .text:0x81361B84; // type:function size:0x8 scope:weak +getNext__Q33ipl7utility4TreeFv = .text:0x81361B8C; // type:function size:0x8 scope:weak +getChild__Q33ipl7utility4TreeFv = .text:0x81361B94; // type:function size:0x8 scope:weak +getParent__Q33ipl7utility4TreeFv = .text:0x81361B9C; // type:function size:0x8 scope:weak +__dt__Q33ipl7utility4TreeFv = .text:0x81361BA4; // type:function size:0x40 scope:weak init__Q33ipl7utility15FrameControllerFifff = .text:0x81361BE4; // type:function size:0x20 initFrame__Q33ipl7utility15FrameControllerFv = .text:0x81361C04; // type:function size:0x20 calc__Q33ipl7utility15FrameControllerFv = .text:0x81361C24; // type:function size:0x170 @@ -2077,49 +2081,49 @@ ReadFlags__Q33ipl7utility7CSFlagsFPQ33ipl7utility11CSFlagsData = .text:0x813677F WriteFlags__Q33ipl7utility7CSFlagsFPQ33ipl7utility11CSFlagsData = .text:0x813678F4; // type:function size:0xF0 UpdateFlagsFile__Q33ipl7utility7CSFlagsFv = .text:0x813679E4; // type:function size:0xB8 SetEULAFlag__Q33ipl7utility7CSFlagsFPQ33ipl7utility11CSFlagsData = .text:0x81367A9C; // type:function size:0x50 -drawLine___FfffffUcR8_GXColor = .text:0x81367AEC; // type:function size:0x1C0 scope:local +drawLine___FfffffUcR8_GXColor = .text:0x81367AEC; // type:function size:0x1C0 scope:global update__Q23gui9ComponentFiffUlUlUlPv = .text:0x81367CAC; // type:function size:0x2C0 -isVisible__Q23gui9ComponentFv = .text:0x81367F6C; // type:function size:0x8 -isPointed__Q23gui9ComponentFi = .text:0x81367F74; // type:function size:0xC -onMove__Q23gui9ComponentFiff = .text:0x81367F80; // type:function size:0x18 -getID__Q23gui9ComponentFv = .text:0x81367F98; // type:function size:0x8 -setPointed__Q23gui9ComponentFib = .text:0x81367FA0; // type:function size:0xC -onPoint__Q23gui9ComponentFi = .text:0x81367FAC; // type:function size:0x14 -offPoint__Q23gui9ComponentFi = .text:0x81367FC0; // type:function size:0x14 -onDrag__Q23gui9ComponentFff = .text:0x81367FD4; // type:function size:0x4 +isVisible__Q23gui9ComponentFv = .text:0x81367F6C; // type:function size:0x8 scope:weak +isPointed__Q23gui9ComponentFi = .text:0x81367F74; // type:function size:0xC scope:weak +onMove__Q23gui9ComponentFiff = .text:0x81367F80; // type:function size:0x18 scope:weak +getID__Q23gui9ComponentFv = .text:0x81367F98; // type:function size:0x8 scope:weak +setPointed__Q23gui9ComponentFib = .text:0x81367FA0; // type:function size:0xC scope:weak +onPoint__Q23gui9ComponentFi = .text:0x81367FAC; // type:function size:0x14 scope:weak +offPoint__Q23gui9ComponentFi = .text:0x81367FC0; // type:function size:0x14 scope:weak +onDrag__Q23gui9ComponentFff = .text:0x81367FD4; // type:function size:0x4 scope:weak __dt__Q23gui7ManagerFv = .text:0x81367FD8; // type:function size:0xB4 init__Q23gui7ManagerFv = .text:0x8136808C; // type:function size:0x68 -init__Q23gui9ComponentFv = .text:0x813680F4; // type:function size:0x54 +init__Q23gui9ComponentFv = .text:0x813680F4; // type:function size:0x54 scope:weak addComponent__Q23gui7ManagerFPQ23gui9Component = .text:0x81368148; // type:function size:0xBC -setManager__Q23gui9ComponentFPQ23gui7Manager = .text:0x81368204; // type:function size:0x8 +setManager__Q23gui9ComponentFPQ23gui7Manager = .text:0x81368204; // type:function size:0x8 scope:weak getComponent__Q23gui7ManagerFUl = .text:0x8136820C; // type:function size:0x2C update__Q23gui7ManagerFiffUlUlUlPv = .text:0x81368238; // type:function size:0x1B0 -isTriggerTarger__Q23gui9ComponentFv = .text:0x813683E8; // type:function size:0x8 -onTrig__Q23gui9ComponentFiUlR3Vec = .text:0x813683F0; // type:function size:0x4C +isTriggerTarger__Q23gui9ComponentFv = .text:0x813683E8; // type:function size:0x8 scope:weak +onTrig__Q23gui9ComponentFiUlR3Vec = .text:0x813683F0; // type:function size:0x4C scope:weak calc__Q23gui7ManagerFv = .text:0x8136843C; // type:function size:0x68 draw__Q23gui7ManagerFv = .text:0x813684A4; // type:function size:0x68 setAllComponentTriggerTarget__Q23gui7ManagerFb = .text:0x8136850C; // type:function size:0x70 -setTriggerTarget__Q23gui9ComponentFb = .text:0x8136857C; // type:function size:0x8 +setTriggerTarget__Q23gui9ComponentFb = .text:0x8136857C; // type:function size:0x8 scope:weak setDraggingButton__Q23gui7ManagerFUl = .text:0x81368584; // type:function size:0x70 -setDraggingButton__Q23gui9ComponentFUl = .text:0x813685F4; // type:function size:0x8 +setDraggingButton__Q23gui9ComponentFUl = .text:0x813685F4; // type:function size:0x8 scope:weak __dt__Q23gui11PaneManagerFv = .text:0x813685FC; // type:function size:0xEC -__dt__Q23gui13PaneComponentFv = .text:0x813686E8; // type:function size:0x40 +__dt__Q23gui13PaneComponentFv = .text:0x813686E8; // type:function size:0x40 scope:weak __dt__Q23gui9ComponentFv = .text:0x81368728; // type:function size:0x40 createLayoutScene__Q23gui11PaneManagerFRCQ34nw4r3lyt6Layout = .text:0x81368768; // type:function size:0x20 walkInChildren__Q23gui11PaneManagerFRQ34nw4r2ut28LinkList = .text:0x81368788; // type:function size:0x1E4 -__ct__Q23gui13PaneComponentFUl = .text:0x8136896C; // type:function size:0x78 -setPane__Q23gui13PaneComponentFPQ34nw4r3lyt4Pane = .text:0x813689E4; // type:function size:0x8 -IsDerivedFrom__Q44nw4r2ut6detail15RuntimeTypeInfoCFPCQ44nw4r2ut6detail15RuntimeTypeInfo = .text:0x813689EC; // type:function size:0x28 +__ct__Q23gui13PaneComponentFUl = .text:0x8136896C; // type:function size:0x78 scope:weak +setPane__Q23gui13PaneComponentFPQ34nw4r3lyt4Pane = .text:0x813689E4; // type:function size:0x8 scope:weak +IsDerivedFrom__Q44nw4r2ut6detail15RuntimeTypeInfoCFPCQ44nw4r2ut6detail15RuntimeTypeInfo = .text:0x813689EC; // type:function size:0x28 scope:weak getPaneComponentByPane__Q23gui11PaneManagerFPQ34nw4r3lyt4Pane = .text:0x81368A14; // type:function size:0x70 setAllBoundingBoxComponentTriggerTarget__Q23gui11PaneManagerFb = .text:0x81368A84; // type:function size:0xAC contain__Q23gui13PaneComponentFff = .text:0x81368B30; // type:function size:0x128 draw__Q23gui13PaneComponentFv = .text:0x81368C58; // type:function size:0x18C is_visible__3guiFPQ34nw4r3lyt4Pane = .text:0x81368DE4; // type:function size:0x30 scope:local isVisible__Q23gui13PaneComponentFv = .text:0x81368E14; // type:function size:0x8 -setFlightDuration__Q23gui9ComponentFiUs = .text:0x81368E1C; // type:function size:0x10 -getFlightDuration__Q23gui9ComponentFi = .text:0x81368E2C; // type:function size:0x10 -update__Q23gui9ComponentFiPC10KPADStatusffPv = .text:0x81368E3C; // type:function size:0x8 -isDragging__Q23gui9ComponentFi = .text:0x81368E44; // type:function size:0xC +setFlightDuration__Q23gui9ComponentFiUs = .text:0x81368E1C; // type:function size:0x10 scope:weak +getFlightDuration__Q23gui9ComponentFi = .text:0x81368E2C; // type:function size:0x10 scope:weak +update__Q23gui9ComponentFiPC10KPADStatusffPv = .text:0x81368E3C; // type:function size:0x8 scope:weak +isDragging__Q23gui9ComponentFi = .text:0x81368E44; // type:function size:0xC scope:weak __ct__Q33ipl6layout8AnimatorFPQ34nw4r3lyt13AnimTransformbb = .text:0x81368E50; // type:function size:0x100 calc__Q33ipl6layout8AnimatorFv = .text:0x81368F50; // type:function size:0x54 setFlag__Q33ipl6layout8AnimatorFb = .text:0x81368FA4; // type:function size:0x4 @@ -2127,18 +2131,18 @@ setFrame__Q33ipl6layout8AnimatorFv = .text:0x81368FA8; // type:function size:0x1 initAnmFrame__Q33ipl6layout8AnimatorFv = .text:0x81368FB8; // type:function size:0x3C initAnmFrame__Q33ipl6layout8AnimatorFf = .text:0x81368FF4; // type:function size:0x10 __ct__Q33ipl6layout12PaneAnimatorFPQ34nw4r3lyt13AnimTransformPQ34nw4r3lyt4Panebb = .text:0x81369004; // type:function size:0x54 -__dt__Q33ipl6layout8AnimatorFv = .text:0x81369058; // type:function size:0x40 +__dt__Q33ipl6layout8AnimatorFv = .text:0x81369058; // type:function size:0x40 scope:weak bind__Q33ipl6layout12PaneAnimatorFv = .text:0x81369098; // type:function size:0x24 setFlag__Q33ipl6layout12PaneAnimatorFb = .text:0x813690BC; // type:function size:0x28 __ct__Q33ipl6layout13GroupAnimatorFPQ34nw4r3lyt13AnimTransformPQ34nw4r3lyt5Groupbb = .text:0x813690E4; // type:function size:0x54 bind__Q33ipl6layout13GroupAnimatorFv = .text:0x81369138; // type:function size:0x90 -GetBeginIter__Q34nw4r2ut39LinkListFv = .text:0x813691C8; // type:function size:0x8 -GetEndIter__Q34nw4r2ut39LinkListFv = .text:0x813691D0; // type:function size:0x8 -__ne__Q24nw4r2utFQ44nw4r2ut39LinkList8IteratorQ44nw4r2ut39LinkList8Iterator = .text:0x813691D8; // type:function size:0x18 +GetBeginIter__Q34nw4r2ut39LinkListFv = .text:0x813691C8; // type:function size:0x8 scope:weak +GetEndIter__Q34nw4r2ut39LinkListFv = .text:0x813691D0; // type:function size:0x8 scope:weak +__ne__Q24nw4r2utFQ44nw4r2ut39LinkList8IteratorQ44nw4r2ut39LinkList8Iterator = .text:0x813691D8; // type:function size:0x18 scope:weak setFlag__Q33ipl6layout13GroupAnimatorFb = .text:0x813691F0; // type:function size:0x98 __ct__Q33ipl6layout6ObjectFPQ23EGG4HeapPvPCcPCc = .text:0x81369288; // type:function size:0xE0 -__ct__Q34nw4r3lyt15ArcResourceLinkFv = .text:0x81369368; // type:function size:0x10 -__dt__Q34nw4r3lyt15ArcResourceLinkFv = .text:0x81369378; // type:function size:0x40 +__ct__Q34nw4r3lyt15ArcResourceLinkFv = .text:0x81369368; // type:function size:0x10 scope:weak +__dt__Q34nw4r3lyt15ArcResourceLinkFv = .text:0x81369378; // type:function size:0x40 scope:weak __ct__Q33ipl6layout6ObjectFPQ23EGG4HeapPQ33ipl4nand10LayoutFilePCcPCc = .text:0x813693B8; // type:function size:0x128 __dt__Q33ipl6layout6ObjectFv = .text:0x813694E0; // type:function size:0x124 init___Q33ipl6layout6ObjectFPCc = .text:0x81369604; // type:function size:0xFC @@ -2163,7 +2167,7 @@ isPlaying__Q33ipl6layout6ObjectCFi = .text:0x81369E64; // type:function size:0x9 attach__Q33ipl6layout6ObjectFPvPCc = .text:0x81369EFC; // type:function size:0x60 attach_font__Q33ipl6layout6ObjectFv = .text:0x81369F5C; // type:function size:0xFC initLocationAdjust__Q33ipl6layout6ObjectFv = .text:0x8136A058; // type:function size:0x114 -__as__Q34nw4r4math4VEC2FRCQ34nw4r4math4VEC2 = .text:0x8136A16C; // type:function size:0x14 +__as__Q34nw4r4math4VEC2FRCQ34nw4r4math4VEC2 = .text:0x8136A16C; // type:function size:0x14 scope:weak adjustHeap__Q33ipl6layout6ObjectFv = .text:0x8136A180; // type:function size:0x14 destroyHeap__Q33ipl6layout6ObjectFv = .text:0x8136A194; // type:function size:0x14 create__Q33ipl6layout6ObjectFPQ23EGG4HeapUlPQ33ipl4nand10LayoutFilePCcPCc = .text:0x8136A1A8; // type:function size:0x7C @@ -2826,8 +2830,8 @@ calcFadeout__Q33ipl5scene8BackMenuFv = .text:0x8138DF7C; // type:function size:0 draw__Q33ipl5scene8BackMenuFv = .text:0x8138E064; // type:function size:0x50 calcCommonAfter__Q33ipl5scene14FaderSceneBaseFv = .text:0x8138E0B4; // type:function size:0x4 initCalcNormal__Q33ipl5scene14FaderSceneBaseFv = .text:0x8138E0B8; // type:function size:0x4 -__dt__Q33ipl5scene8BackMenuFv = .text:0x8138E0BC; // type:function size:0x5C -@20@__dt__Q33ipl5scene8BackMenuFv = .text:0x8138E118; // type:function size:0x8 +__dt__Q33ipl5scene8BackMenuFv = .text:0x8138E0BC; // type:function size:0x5C scope:weak +@20@__dt__Q33ipl5scene8BackMenuFv = .text:0x8138E118; // type:function size:0x8 scope:weak __ct__Q33ipl5scene5BoardFPQ23EGG4Heap = .text:0x8138E120; // type:function size:0x108 __dt__Q43ipl5scene5Board7ObjListFv = .text:0x8138E228; // type:function size:0x68 __dt__Q33ipl5scene11BoardObjectFv = .text:0x8138E290; // type:function size:0x40 @@ -3710,7 +3714,7 @@ draw__Q33ipl5scene8skHealthFv = .text:0x813BD1C4; // type:function size:0x50 check_safe_mode__Q33ipl5scene8skHealthFv = .text:0x813BD214; // type:function size:0x118 finish_safe_mode_check__Q33ipl5scene8skHealthCFv = .text:0x813BD32C; // type:function size:0x88 initCalcFadeout__Q33ipl5scene14FaderSceneBaseFv = .text:0x813BD3B4; // type:function size:0x4 -@20@__dt__Q33ipl5scene8skHealthFv = .text:0x813BD3B8; // type:function size:0x8 +@20@__dt__Q33ipl5scene8skHealthFv = .text:0x813BD3B8; // type:function size:0x8 scope:weak __ct__Q33ipl5scene12KitayamaTestFPQ23EGG4Heapi = .text:0x813BD3C0; // type:function size:0x6C __dt__Q33ipl5scene12KitayamaTestFv = .text:0x813BD42C; // type:function size:0x5C prepare__Q33ipl5scene12KitayamaTestFv = .text:0x813BD488; // type:function size:0x4 @@ -3774,7 +3778,7 @@ calcFadein__Q33ipl5scene9LimitOverFv = .text:0x813C1398; // type:function size:0 calcNormal__Q33ipl5scene9LimitOverFv = .text:0x813C1548; // type:function size:0x11C calcFadeout__Q33ipl5scene9LimitOverFv = .text:0x813C1664; // type:function size:0xC8 draw__Q33ipl5scene9LimitOverFv = .text:0x813C172C; // type:function size:0x50 -@20@__dt__Q33ipl5scene9LimitOverFv = .text:0x813C177C; // type:function size:0x8 +@20@__dt__Q33ipl5scene9LimitOverFv = .text:0x813C177C; // type:function size:0x8 scope:weak __ct__Q33ipl5scene17MailAddressSelectFPQ23EGG4Heap = .text:0x813C1784; // type:function size:0x8C __dt__Q33ipl5scene17MailAddressSelectFv = .text:0x813C1810; // type:function size:0x5C prepare__Q33ipl5scene17MailAddressSelectFv = .text:0x813C186C; // type:function size:0x4C @@ -4266,8 +4270,8 @@ __dt__Q33ipl5scene14ParentalDialogFv = .text:0x813D9ACC; // type:function size:0 @20@__dt__Q33ipl5scene14ParentalDialogFv = .text:0x813D9B28; // type:function size:0x8 calc__Q33ipl5scene6RebootFv = .text:0x813D9B30; // type:function size:0x10C draw__Q33ipl5scene4BaseFv = .text:0x813D9C3C; // type:function size:0x4 -__dt__Q33ipl5scene6RebootFv = .text:0x813D9C40; // type:function size:0x58 -@20@__dt__Q33ipl5scene6RebootFv = .text:0x813D9C98; // type:function size:0x8 +__dt__Q33ipl5scene6RebootFv = .text:0x813D9C40; // type:function size:0x58 scope:weak +@20@__dt__Q33ipl5scene6RebootFv = .text:0x813D9C98; // type:function size:0x8 scope:weak create__Q33ipl5scene9RootSceneFv = .text:0x813D9CA0; // type:function size:0x14 proc_boot_scene__Q33ipl5scene9RootSceneFPiPi = .text:0x813D9CB4; // type:function size:0x1AC __dt__Q33ipl5scene9RootSceneFv = .text:0x813D9E60; // type:function size:0x58 @@ -4839,7 +4843,7 @@ Init__Q33ipl5scene11USBAPThreadFPUsPUc = .text:0x813FBDD4; // type:function size cancel__Q33ipl5scene11USBAPThreadFv = .text:0x813FBE54; // type:function size:0x4 is__Q33ipl5scene11USBAPThreadFv = .text:0x813FBE58; // type:function size:0x4 setData__Q33ipl5scene11USBAPThreadFPCwPUc = .text:0x813FBE5C; // type:function size:0x40 -USBAPThread_813FCA08__Q33ipl5scene11USBAPThreadFv = .text:0x813FBE9C; // type:function size:0x4 scope:local +callback__Q33ipl5scene11USBAPThreadFv = .text:0x813FBE9C; // type:function size:0x4 __ct__Q33ipl5scene10AOSSThreadFPQ23EGG4Heap = .text:0x813FBEA0; // type:function size:0x94 destroy__Q33ipl5scene10AOSSThreadFi = .text:0x813FBF34; // type:function size:0x84 __dt__Q33ipl5scene10AOSSThreadFv = .text:0x813FBFB8; // type:function size:0x70 @@ -4931,7 +4935,7 @@ create__Q33ipl5scene9SettingBgFv = .text:0x81406208; // type:function size:0xA4 calc__Q33ipl5scene9SettingBgFv = .text:0x814062AC; // type:function size:0x8 draw__Q33ipl5scene9SettingBgFv = .text:0x814062B4; // type:function size:0x50 __dt__Q33ipl5scene9SettingBgFv = .text:0x81406304; // type:function size:0x58 -@20@__dt__Q33ipl5scene9SettingBgFv = .text:0x8140635C; // type:function size:0x8 +@20@__dt__Q33ipl5scene9SettingBgFv = .text:0x8140635C; // type:function size:0x8 scope:weak __ct__Q33ipl5scene13SettingButtonFPQ23EGG4Heapi = .text:0x81406364; // type:function size:0x9C prepare__Q33ipl5scene13SettingButtonFv = .text:0x81406400; // type:function size:0x4C create__Q33ipl5scene13SettingButtonFv = .text:0x8140644C; // type:function size:0x288 @@ -4953,8 +4957,8 @@ reserve__Q33ipl5scene13SettingButtonFiUl = .text:0x81406E8C; // type:function si isPlaying__Q33ipl5scene13SettingButtonCFv = .text:0x81406EE0; // type:function size:0x3C calcFadeout__Q33ipl5scene14FaderSceneBaseFv = .text:0x81406F1C; // type:function size:0x8 __dt__Q33ipl5scene13SettingButtonFv = .text:0x81406F24; // type:function size:0x5C -@20@__dt__Q33ipl5scene13SettingButtonFv = .text:0x81406F80; // type:function size:0x8 -@88@onEvent__Q33ipl5scene13SettingButtonFUlUlPv = .text:0x81406F88; // type:function size:0x8 +@20@__dt__Q33ipl5scene13SettingButtonFv = .text:0x81406F80; // type:function size:0x8 scope:weak +@88@onEvent__Q33ipl5scene13SettingButtonFUlUlPv = .text:0x81406F88; // type:function size:0x8 scope:weak __ct__Q33ipl5scene13SettingSelectFPQ23EGG4Heapi = .text:0x81406F90; // type:function size:0x88 prepare__Q33ipl5scene13SettingSelectFv = .text:0x81407018; // type:function size:0x4C create__Q33ipl5scene13SettingSelectFv = .text:0x81407064; // type:function size:0x6C4 @@ -5002,7 +5006,7 @@ do_destroy__Q33ipl5scene4BaseFv = .text:0x814092E8; // type:function size:0x60 createChildScene__Q33ipl5scene4BaseFiPQ33ipl5scene4BasePQ33ipl5scene4BasePv = .text:0x81409348; // type:function size:0x70 reserveSceneChange__Q33ipl5scene4BaseFiPv = .text:0x814093B8; // type:function size:0x9C reserveAllSceneDestruction__Q33ipl5scene4BaseFiPv = .text:0x81409454; // type:function size:0x28 -@20@__dt__Q33ipl5scene4BaseFv = .text:0x8140947C; // type:function size:0x8 +@20@__dt__Q33ipl5scene4BaseFv = .text:0x8140947C; // type:function size:0x8 scope:weak size__Q33ipl5scene7CreatorFi = .text:0x81409484; // type:function size:0x44 create__Q33ipl5scene7CreatorFiPQ23EGG4HeapPv = .text:0x814094C8; // type:function size:0x4F0 clear__Q33ipl5scene7CommandFv = .text:0x814099B8; // type:function size:0x48 @@ -5036,8 +5040,8 @@ __ml__Q43ipl7utility4Tree16reverse_iteratorFv = .text:0x8140A674; // type:functi pop__Q33ipl7utility29QueueFv = .text:0x8140A67C; // type:function size:0x4C __ct__Q33ipl5scene14FaderSceneBaseFPQ23EGG4Heap = .text:0x8140A6C8; // type:function size:0x4C calc__Q33ipl5scene14FaderSceneBaseFv = .text:0x8140A714; // type:function size:0x14C -calcNormal__Q33ipl5scene14FaderSceneBaseFv = .text:0x8140A860; // type:function size:0x8 -@20@__dt__Q33ipl5scene14FaderSceneBaseFv = .text:0x8140A868; // type:function size:0x8 +calcNormal__Q33ipl5scene14FaderSceneBaseFv = .text:0x8140A860; // type:function size:0x8 scope:weak +@20@__dt__Q33ipl5scene14FaderSceneBaseFv = .text:0x8140A868; // type:function size:0x8 scope:weak onNigaoeButton__Q33ipl5scene17InputFormObserverFv = .text:0x8140A870; // type:function size:0x14 pointNigaoeButton__Q33ipl5scene17InputFormObserverFv = .text:0x8140A884; // type:function size:0x14 leftNigaoeButton__Q33ipl5scene17InputFormObserverFv = .text:0x8140A898; // type:function size:0x14 @@ -7539,8 +7543,8 @@ NWC24ReadMsgText = .text:0x81481E44; // type:function size:0x5C NWC24ReadMsgTextEx = .text:0x81481EA0; // type:function size:0xB8 ReadMsgTextInternal = .text:0x81481F58; // type:function size:0x2C8 scope:local NWC24ReadMsgAttached = .text:0x81482220; // type:function size:0x16C -NWC24_814A95D4 = .text:0x8148238C; // type:function size:0x13C -NWC24_814A9710 = .text:0x814824C8; // type:function size:0x140 +ReadBase64Data = .text:0x8148238C; // type:function size:0x13C +ReadQPText = .text:0x814824C8; // type:function size:0x140 NWC24ReadMsgSubjectPublic = .text:0x81482608; // type:function size:0x1A0 NWC24ReadMsgTextPublic = .text:0x814827A8; // type:function size:0x118 NWC24SetMsgSubjectPublic = .text:0x814828C0; // type:function size:0x1C8 @@ -8461,21 +8465,21 @@ TMCJPEGDEC_imageend = .text:0x814C584C; // type:function size:0xA0 TMCJPEGDEC_scanstart = .text:0x814C58EC; // type:function size:0xD4 TMCJPEGDEC_scan_varinit = .text:0x814C59C0; // type:function size:0x204 TMCJPEGDEC_restart_interval = .text:0x814C5BC4; // type:function size:0x174 -TMCJPEG_814ECF80 = .text:0x814C5D38; // type:function size:0x2DC scope:local -TMCJPEG_814ED25C = .text:0x814C6014; // type:function size:0x1E0 scope:local -TMCJPEG_814ED43C = .text:0x814C61F4; // type:function size:0x148 scope:local -TMCJPEG_814ED584 = .text:0x814C633C; // type:function size:0x37C scope:local -TMCJPEG_814ED900 = .text:0x814C66B8; // type:function size:0x1C0 scope:local +TMCJPEGDEC_parse_para = .text:0x814C5D38; // type:function size:0x2DC scope:local +TMCJPEGDEC_parse_dht = .text:0x814C6014; // type:function size:0x1E0 scope:local +TMCJPEGDEC_parse_dqt = .text:0x814C61F4; // type:function size:0x148 scope:local +TMCJPEGDEC_parse_sof = .text:0x814C633C; // type:function size:0x37C scope:local +TMCJPEGDEC_parse_sos = .text:0x814C66B8; // type:function size:0x1C0 scope:local TMCJPEGDEC_err_restart = .text:0x814C6878; // type:function size:0x1CC TMCJPEGDEC_set_entropytbl = .text:0x814C6A44; // type:function size:0x98 TMCCJPEGDecGetOffsetEXIF = .text:0x814C6ADC; // type:function size:0x26C TMCCJPEGDecGetInfoEXIF = .text:0x814C6D48; // type:function size:0x210 -TMCJPEG_814EE1A0 = .text:0x814C6F58; // type:function size:0x350 scope:local -TMCJPEG_814EE4F0 = .text:0x814C72A8; // type:function size:0x784 scope:local -TMCJPEG_814EEC74 = .text:0x814C7A2C; // type:function size:0x3C8 scope:local -TMCJPEG_814EF03C = .text:0x814C7DF4; // type:function size:0xC8 scope:local +TMCJPEGDEC_exif_parse = .text:0x814C6F58; // type:function size:0x350 scope:local +TMCJPEGDEC_IFD0_tag_parse = .text:0x814C72A8; // type:function size:0x784 scope:local +TMCJPEGDEC_IFD1_tag_parse = .text:0x814C7A2C; // type:function size:0x3C8 scope:local +TMCJPEGDEC_ThumbnailCheck = .text:0x814C7DF4; // type:function size:0xC8 scope:local TMCJPEGDEC_decode_iquant_rc = .text:0x814C7EBC; // type:function size:0x29C -TMCJPEG_814EF3A0 = .text:0x814C8158; // type:function size:0xF0 scope:local +TMCJPEGDEC_vl_decode_rc = .text:0x814C8158; // type:function size:0xF0 scope:local TMCJPEGDEC_IdctBlock4x4 = .text:0x814C8248; // type:function size:0x220 TMCJPEGDEC_IdctBlock2x2 = .text:0x814C8468; // type:function size:0x11C TMCJPEGDEC_IdctBlock1x1 = .text:0x814C8584; // type:function size:0x44 @@ -8496,31 +8500,31 @@ TMCJPEG_814F32E4 = .text:0x814CC09C; // type:function size:0x1C0 scope:local TMCJPEG_814F34A4 = .text:0x814CC25C; // type:function size:0x288 scope:local TMCJPEG_814F372C = .text:0x814CC4E4; // type:function size:0x2BC scope:local TMCJPEGDEC_set_converterRGB565 = .text:0x814CC7A0; // type:function size:0x2A8 -TMCJPEG_814F3C90 = .text:0x814CCA48; // type:function size:0x364 scope:local -TMCJPEG_814F3FF4 = .text:0x814CCDAC; // type:function size:0x1A8 scope:local -TMCJPEG_814F419C = .text:0x814CCF54; // type:function size:0x220 scope:local -TMCJPEG_814F43BC = .text:0x814CD174; // type:function size:0x1AC scope:local -TMCJPEG_814F4568 = .text:0x814CD320; // type:function size:0x234 scope:local -TMCJPEG_814F479C = .text:0x814CD554; // type:function size:0x1C8 scope:local -TMCJPEG_814F4964 = .text:0x814CD71C; // type:function size:0x188 scope:local -TMCJPEG_814F4AEC = .text:0x814CD8A4; // type:function size:0x1B4 scope:local -TMCJPEG_814F4CA0 = .text:0x814CDA58; // type:function size:0x16C scope:local -TMCJPEG_814F4E0C = .text:0x814CDBC4; // type:function size:0x1A0 scope:local -TMCJPEG_814F4FAC = .text:0x814CDD64; // type:function size:0x118 scope:local -TMCJPEG_814F50C4 = .text:0x814CDE7C; // type:function size:0x14C scope:local +TMCJPEGDEC_converterYUV411toRGB565 = .text:0x814CCA48; // type:function size:0x364 scope:local +TMCJPEGDEC_converterYUV411toRGB565edge = .text:0x814CCDAC; // type:function size:0x1A8 scope:local +TMCJPEGDEC_converterYUV422toRGB565 = .text:0x814CCF54; // type:function size:0x220 scope:local +TMCJPEGDEC_converterYUV422toRGB565edge = .text:0x814CD174; // type:function size:0x1AC scope:local +TMCJPEGDEC_converterYUV420toRGB565 = .text:0x814CD320; // type:function size:0x234 scope:local +TMCJPEGDEC_converterYUV420toRGB565edge = .text:0x814CD554; // type:function size:0x1C8 scope:local +TMCJPEGDEC_converterYUV211toRGB565 = .text:0x814CD71C; // type:function size:0x188 scope:local +TMCJPEGDEC_converterYUV211toRGB565edge = .text:0x814CD8A4; // type:function size:0x1B4 scope:local +TMCJPEGDEC_converterYUV444toRGB565 = .text:0x814CDA58; // type:function size:0x16C scope:local +TMCJPEGDEC_converterYUV444toRGB565edge = .text:0x814CDBC4; // type:function size:0x1A0 scope:local +TMCJPEGDEC_converterYUV400toRGB565 = .text:0x814CDD64; // type:function size:0x118 scope:local +TMCJPEGDEC_converterYUV400toRGB565edge = .text:0x814CDE7C; // type:function size:0x14C scope:local TMCJPEGDEC_set_converterRGBA8 = .text:0x814CDFC8; // type:function size:0x2A8 -TMCJPEG_814F54B8 = .text:0x814CE270; // type:function size:0x3C8 scope:local -TMCJPEG_814F5880 = .text:0x814CE638; // type:function size:0x1C0 scope:local -TMCJPEG_814F5A40 = .text:0x814CE7F8; // type:function size:0x250 scope:local -TMCJPEG_814F5C90 = .text:0x814CEA48; // type:function size:0x1C4 scope:local -TMCJPEG_814F5E54 = .text:0x814CEC0C; // type:function size:0x264 scope:local -TMCJPEG_814F60B8 = .text:0x814CEE70; // type:function size:0x1E0 scope:local -TMCJPEG_814F6298 = .text:0x814CF050; // type:function size:0x1A0 scope:local -TMCJPEG_814F6438 = .text:0x814CF1F0; // type:function size:0x1CC scope:local -TMCJPEG_814F6604 = .text:0x814CF3BC; // type:function size:0x184 scope:local -TMCJPEG_814F6788 = .text:0x814CF540; // type:function size:0x1B8 scope:local -TMCJPEG_814F6940 = .text:0x814CF6F8; // type:function size:0x130 scope:local -TMCJPEG_814F6A70 = .text:0x814CF828; // type:function size:0x164 scope:local +TMCJPEGDEC_converterYUV411toRGBA8 = .text:0x814CE270; // type:function size:0x3C8 scope:local +TMCJPEGDEC_converterYUV411toRGBA8edge = .text:0x814CE638; // type:function size:0x1C0 scope:local +TMCJPEGDEC_converterYUV422toRGBA8 = .text:0x814CE7F8; // type:function size:0x250 scope:local +TMCJPEGDEC_converterYUV422toRGBA8edge = .text:0x814CEA48; // type:function size:0x1C4 scope:local +TMCJPEGDEC_converterYUV420toRGBA8 = .text:0x814CEC0C; // type:function size:0x264 scope:local +TMCJPEGDEC_converterYUV420toRGBA8edge = .text:0x814CEE70; // type:function size:0x1E0 scope:local +TMCJPEGDEC_converterYUV211toRGBA8 = .text:0x814CF050; // type:function size:0x1A0 scope:local +TMCJPEGDEC_converterYUV211toRGBA8edge = .text:0x814CF1F0; // type:function size:0x1CC scope:local +TMCJPEGDEC_converterYUV444toRGBA8 = .text:0x814CF3BC; // type:function size:0x184 scope:local +TMCJPEGDEC_converterYUV444toRGBA8edge = .text:0x814CF540; // type:function size:0x1B8 scope:local +TMCJPEGDEC_converterYUV400toRGBA8 = .text:0x814CF6F8; // type:function size:0x130 scope:local +TMCJPEGDEC_converterYUV400toRGBA8edge = .text:0x814CF828; // type:function size:0x164 scope:local TMCJPEGDEC_decode_iquant = .text:0x814CF98C; // type:function size:0x450 __ct__Q44nw4r3snd6detail9AxManagerFv = .text:0x814CFDDC; // type:function size:0x530 __ct__Q34nw4r2ut30LinkListFv = .text:0x814D030C; // type:function size:0x20 @@ -8775,7 +8779,7 @@ detail_GetRequiredStreamBufferSize__Q34nw4r3snd18MemorySoundArchiveCFv = .text:0 Close__Q44nw4r3snd18MemorySoundArchive16MemoryFileStreamFv = .text:0x814DA7D4; // type:function size:0x14 Read__Q44nw4r3snd18MemorySoundArchive16MemoryFileStreamFPvUl = .text:0x814DA7E8; // type:function size:0x58 Seek__Q44nw4r3snd18MemorySoundArchive16MemoryFileStreamFlUl = .text:0x814DA840; // type:function size:0x4C -UNUSED_81501AD4__Q44nw4r3snd18MemorySoundArchive16MemoryFileStreamFv = .text:0x814DA88C; // type:function size:0x4 +UNUSED_81501AD4 = .text:0x814DA88C; // type:function size:0x4 GetRuntimeTypeInfo__Q34nw4r2ut10FileStreamCFv = .text:0x814DA890; // type:function size:0x8 GetSize__Q44nw4r3snd18MemorySoundArchive16MemoryFileStreamCFv = .text:0x814DA898; // type:function size:0x8 Tell__Q44nw4r3snd18MemorySoundArchive16MemoryFileStreamCFv = .text:0x814DA8A0; // type:function size:0x8 @@ -9725,10 +9729,10 @@ __OSGetIOSRev = .text:0x8150439C; // type:function size:0x6C OSGetConsoleType = .text:0x81504408; // type:function size:0x284 ClearArena = .text:0x8150468C; // type:function size:0x1DC scope:local ClearMEM2Arena = .text:0x81504868; // type:function size:0x1E4 scope:local -InquiryCallback = .text:0x81504A4C; // type:function size:0x3C scope:local +InquiryCallback = .text:0x81504A4C; // type:function size:0x3C scope:global ReportOSInfo = .text:0x81504A88; // type:function size:0x2AC scope:local OSInit = .text:0x81504D34; // type:function size:0x438 -OSExceptionInit = .text:0x8150516C; // type:function size:0x280 scope:local +OSExceptionInit = .text:0x8150516C; // type:function size:0x280 scope:global __OSDBIntegrator = .text:0x815053EC; // type:function size:0x24 scope:local __OSDBINTSTART = .text:0x815053EC; // type:label scope:global __OSDBJump = .text:0x81505410; // type:function size:0x4 scope:local @@ -9779,7 +9783,7 @@ OSSetMEM2ArenaLo = .text:0x81506180; // type:function size:0x8 OSSetArenaLo = .text:0x81506188; // type:function size:0x8 OSAllocFromMEM1ArenaLo = .text:0x81506190; // type:function size:0x34 OSAllocFromMEM2ArenaLo = .text:0x815061C4; // type:function size:0x34 -__AIClockInit = .text:0x815061F8; // type:function size:0x220 scope:local +__AIClockInit = .text:0x815061F8; // type:function size:0x220 scope:global __OSInitAudioSystem = .text:0x81506418; // type:function size:0x1C8 __OSStopAudioSystem = .text:0x815065E0; // type:function size:0xCC DCEnable = .text:0x815066AC; // type:function size:0x14 scope:global @@ -9810,18 +9814,18 @@ OSDumpContext = .text:0x81507000; // type:function size:0x260 scope:global OSSwitchFPUContext = .text:0x81507260; // type:function size:0x84 scope:local __OSContextInit = .text:0x815072E4; // type:function size:0x48 OSFillFPUContext = .text:0x8150732C; // type:function size:0x12C -OSReport = .text:0x81507458; // type:function size:0x8C scope:weak +OSReport = .text:0x81507458; // type:function size:0x8C scope:global OSVReport = .text:0x815074E4; // type:function size:0x4 OSPanic = .text:0x815074E8; // type:function size:0x12C OSSetErrorHandler = .text:0x81507614; // type:function size:0x288 scope:global __OSUnhandledException = .text:0x8150789C; // type:function size:0x2F0 scope:global -PackArgs = .text:0x81507B8C; // type:function size:0x180 scope:local +PackArgs = .text:0x81507B8C; // type:function size:0x180 __OSGetExecParams = .text:0x81507D0C; // type:function size:0x24 __OSCheckCompanyCode = .text:0x81507D30; // type:function size:0x114 __OSCheckTmdCountryCode = .text:0x81507E44; // type:function size:0x4C __OSGetValidTicketIndex = .text:0x81507E90; // type:function size:0x1F0 __OSLaunchTitle = .text:0x81508080; // type:function size:0x11C -LaunchCommon = .text:0x8150819C; // type:function size:0x4A8 scope:local +LaunchCommon = .text:0x8150819C; // type:function size:0x4A8 scope:global __OSLaunchTitlevForSystem = .text:0x81508644; // type:function size:0xA8 __OSLaunchTitlelForSystem = .text:0x815086EC; // type:function size:0x12C __OSReturnToMenul = .text:0x81508818; // type:function size:0x108 @@ -9829,12 +9833,14 @@ GetFontCode = .text:0x81508920; // type:function size:0x134 scope:local Decode = .text:0x81508A54; // type:function size:0x1A4 scope:local OSGetFontEncode = .text:0x81508BF8; // type:function size:0x54 OSSetFontEncode = .text:0x81508C4C; // type:function size:0x80 -ReadFont = .text:0x81508CCC; // type:function size:0x300 scope:local +ReadFont = .text:0x81508CCC; // type:function size:0x300 scope:global OSLoadFont = .text:0x81508FCC; // type:function size:0x128 ParseStringS = .text:0x815090F4; // type:function size:0xFC scope:local ParseStringW = .text:0x815091F0; // type:function size:0x1BC scope:local OSGetFontTexel = .text:0x815093AC; // type:function size:0x290 OSDisableInterrupts = .text:0x8150963C; // type:function size:0x14 +__RAS_OSDisableInterrupts_begin = .text:0x8150963C; // type:label scope:global +__RAS_OSDisableInterrupts_end = .text:0x81509648; // type:label scope:global OSEnableInterrupts = .text:0x81509650; // type:function size:0x14 OSRestoreInterrupts = .text:0x81509664; // type:function size:0x24 __OSSetInterruptHandler = .text:0x81509688; // type:function size:0x14 @@ -9854,8 +9860,8 @@ OSGetPhysicalMem1Size = .text:0x8150A0AC; // type:function size:0xC OSGetPhysicalMem2Size = .text:0x8150A0B8; // type:function size:0xC OSGetConsoleSimulatedMem1Size = .text:0x8150A0C4; // type:function size:0xC scope:global OSGetConsoleSimulatedMem2Size = .text:0x8150A0D0; // type:function size:0xC scope:global -OnShutdown = .text:0x8150A0DC; // type:function size:0x3C -MEMIntrruptHandler = .text:0x8150A118; // type:function size:0x48 scope:local +OnShutdown = .text:0x8150A0DC; // type:function size:0x3C scope:local +MEMIntrruptHandler = .text:0x8150A118; // type:function size:0x48 scope:global OSProtectRange = .text:0x8150A160; // type:function size:0xC8 ConfigMEM1_24MB = .text:0x8150A228; // type:function size:0x80 scope:local ConfigMEM1_48MB = .text:0x8150A2A8; // type:function size:0x80 scope:local @@ -9893,7 +9899,7 @@ WriteSramCallback = .text:0x8150B770; // type:function size:0x138 scope:local __OSInitSram = .text:0x8150B8A8; // type:function size:0x200 __OSLockSram = .text:0x8150BAA8; // type:function size:0x50 __OSLockSramEx = .text:0x8150BAF8; // type:function size:0x50 -UnlockSram = .text:0x8150BB48; // type:function size:0x2E0 scope:local +UnlockSram = .text:0x8150BB48; // type:function size:0x2E0 scope:global __OSUnlockSram = .text:0x8150BE28; // type:function size:0x8 __OSUnlockSramEx = .text:0x8150BE30; // type:function size:0x8 __OSSyncSram = .text:0x8150BE38; // type:function size:0x10 @@ -9915,7 +9921,7 @@ __OSClearRTCFlags = .text:0x8150C758; // type:function size:0x110 OSInitSemaphore = .text:0x8150C868; // type:function size:0x58 OSWaitSemaphore = .text:0x8150C8C0; // type:function size:0x70 OSSignalSemaphore = .text:0x8150C930; // type:function size:0x60 -SystemCallVector = .text:0x8150C990; // type:function size:0x20 scope:local +SystemCallVector = .text:0x8150C990; // type:function size:0x20 scope:global __OSSystemCallVectorStart = .text:0x8150C990; // type:label scope:global __OSSystemCallVectorEnd = .text:0x8150C9AC; // type:label scope:global __OSInitSystemCall = .text:0x8150C9B0; // type:function size:0x60 @@ -9930,9 +9936,9 @@ OSDisableScheduler = .text:0x8150CD64; // type:function size:0x3C scope:global OSEnableScheduler = .text:0x8150CDA0; // type:function size:0x3C scope:global UnsetRun = .text:0x8150CDDC; // type:function size:0x68 scope:local __OSGetEffectivePriority = .text:0x8150CE44; // type:function size:0x3C -SetEffectivePriority = .text:0x8150CE80; // type:function size:0x1B4 scope:local +SetEffectivePriority = .text:0x8150CE80; // type:function size:0x1B4 scope:global __OSPromoteThread = .text:0x8150D034; // type:function size:0x50 -SelectThread = .text:0x8150D084; // type:function size:0x228 scope:local +SelectThread = .text:0x8150D084; // type:function size:0x228 scope:global __OSReschedule = .text:0x8150D2AC; // type:function size:0x18 scope:global OSYieldThread = .text:0x8150D2C4; // type:function size:0x3C OSCreateThread = .text:0x8150D300; // type:function size:0x26C @@ -9946,7 +9952,7 @@ OSSleepThread = .text:0x8150DE34; // type:function size:0xEC OSWakeupThread = .text:0x8150DF20; // type:function size:0xF4 OSSetThreadPriority = .text:0x8150E014; // type:function size:0xEC OSGetThreadPriority = .text:0x8150E100; // type:function size:0x8 -CheckThreadQueue = .text:0x8150E108; // type:function size:0x98 scope:local +CheckThreadQueue = .text:0x8150E108; // type:function size:0x98 scope:global OSCheckActiveThreads = .text:0x8150E1A0; // type:function size:0x758 OSSetThreadSpecific = .text:0x8150E8F8; // type:function size:0x30 OSGetThreadSpecific = .text:0x8150E928; // type:function size:0x38 @@ -9977,16 +9983,16 @@ __OSHotReset = .text:0x8150F7A4; // type:function size:0x70 __OSSetVIForceDimming = .text:0x8150F814; // type:function size:0xF8 __OSSetIdleLEDMode = .text:0x8150F90C; // type:function size:0x40 __OSUnRegisterStateEvent = .text:0x8150F94C; // type:function size:0x78 -__OSVIDimReplyHandler = .text:0x8150F9C4; // type:function size:0x10 scope:local -__OSDefaultResetCallback = .text:0x8150F9D4; // type:function size:0x4 scope:local -__OSDefaultPowerCallback = .text:0x8150F9D8; // type:function size:0x4 scope:local -__OSStateEventHandler = .text:0x8150F9DC; // type:function size:0x154 scope:local +__OSVIDimReplyHandler = .text:0x8150F9C4; // type:function size:0x10 scope:global +__OSDefaultResetCallback = .text:0x8150F9D4; // type:function size:0x4 scope:global +__OSDefaultPowerCallback = .text:0x8150F9D8; // type:function size:0x4 scope:global +__OSStateEventHandler = .text:0x8150F9DC; // type:function size:0x154 scope:global __get_clock = .text:0x8150FB30; // type:function size:0x4 __get_time = .text:0x8150FB34; // type:function size:0x40 __to_gm_time = .text:0x8150FB74; // type:function size:0x8 __OSCreatePlayRecord = .text:0x8150FB7C; // type:function size:0x11C __OSReadPlayRecord = .text:0x8150FC98; // type:function size:0xDC -PlayRecordAlarmCallback = .text:0x8150FD74; // type:function size:0xC scope:local +PlayRecordAlarmCallback = .text:0x8150FD74; // type:function size:0xC scope:global PlayRecordCallback = .text:0x8150FD80; // type:function size:0x4B0 scope:local __OSStartPlayRecord = .text:0x81510230; // type:function size:0x54 __OSStopPlayRecord = .text:0x81510284; // type:function size:0x1E8 @@ -9998,11 +10004,11 @@ __OSSyncTimeWithNetRM = .text:0x81510798; // type:function size:0x8 __OSCreateNandbootInfo = .text:0x815107A0; // type:function size:0xB0 __OSWriteNandbootInfo = .text:0x81510850; // type:function size:0x158 __OSReadNandbootInfo = .text:0x815109A8; // type:function size:0x198 -__OSPlayTimeRebootCallback = .text:0x81510B40; // type:function size:0x88 scope:local -__OSPlayTimeFadeLastAIDCallback = .text:0x81510BC8; // type:function size:0x1BC scope:local -__OSWriteExpiredFlag = .text:0x81510D84; // type:function size:0x114 scope:local -__OSPlayTimeRebootThread = .text:0x81510E98; // type:function size:0xEC scope:local -__OSPlayTimeAlarmExpired = .text:0x81510F84; // type:function size:0x11C scope:local +__OSPlayTimeRebootCallback = .text:0x81510B40; // type:function size:0x88 scope:global +__OSPlayTimeFadeLastAIDCallback = .text:0x81510BC8; // type:function size:0x1BC scope:global +__OSWriteExpiredFlag = .text:0x81510D84; // type:function size:0x114 scope:global +__OSPlayTimeRebootThread = .text:0x81510E98; // type:function size:0xEC scope:global +__OSPlayTimeAlarmExpired = .text:0x81510F84; // type:function size:0x11C scope:global __OSGetPlayTime = .text:0x815110A0; // type:function size:0x1C8 __OSInitPlayTime = .text:0x81511268; // type:function size:0x158 __init_user = .text:0x815113C0; // type:function size:0x20 @@ -10010,7 +10016,7 @@ __init_cpp = .text:0x815113E0; // type:function size:0x48 scope:local exit = .text:0x81511428; // type:function size:0x4C SetExiInterruptMask = .text:0x81511474; // type:function size:0xF0 scope:local EXIImm = .text:0x81511564; // type:function size:0x27C scope:global -EXIImmEx = .text:0x815117E0; // type:function size:0xA4 scope:local +EXIImmEx = .text:0x815117E0; // type:function size:0xA4 EXIDma = .text:0x81511884; // type:function size:0xF8 EXISync = .text:0x8151197C; // type:function size:0x27C scope:global EXISetExiCallback = .text:0x81511BF8; // type:function size:0x84 @@ -13064,12 +13070,12 @@ __va_arg = .text:0x815D1B04; // type:function size:0xC8 scope:global __register_global_object = .text:0x815D1BCC; // type:function size:0x18 scope:global __destroy_global_chain = .text:0x815D1BE4; // type:function size:0x48 scope:global __construct_new_array = .text:0x815D1C2C; // type:function size:0x104 -__dt__26__partial_array_destructorFv = .text:0x815D1D30; // type:function size:0xBC +__dt__26__partial_array_destructorFv = .text:0x815D1D30; // type:function size:0xBC scope:weak __construct_array = .text:0x815D1DEC; // type:function size:0xF8 __destroy_arr = .text:0x815D1EE4; // type:function size:0x78 __ptmf_scall = .text:0x815D1F5C; // type:function size:0x28 __cvt_fp2unsigned = .text:0x815D1F84; // type:function size:0x5C -__save_fpr = .text:0x815D1FE0; // type:function size:0x4C scope:global +__save_fpr = .text:0x815D1FE0; // type:function size:0x4C scope:local _savefpr_14 = .text:0x815D1FE0; // type:label scope:global _savefpr_15 = .text:0x815D1FE4; // type:label scope:global _savefpr_16 = .text:0x815D1FE8; // type:label scope:global @@ -13088,7 +13094,7 @@ _savefpr_28 = .text:0x815D2018; // type:label scope:global _savefpr_29 = .text:0x815D201C; // type:label scope:global _savefpr_30 = .text:0x815D2020; // type:label scope:global _savefpr_31 = .text:0x815D2024; // type:label scope:global -__restore_fpr = .text:0x815D202C; // type:function size:0x4C scope:global +__restore_fpr = .text:0x815D202C; // type:function size:0x4C scope:local _restfpr_14 = .text:0x815D202C; // type:label scope:global _restfpr_15 = .text:0x815D2030; // type:label scope:global _restfpr_16 = .text:0x815D2034; // type:label scope:global @@ -13107,7 +13113,7 @@ _restfpr_28 = .text:0x815D2064; // type:label scope:global _restfpr_29 = .text:0x815D2068; // type:label scope:global _restfpr_30 = .text:0x815D206C; // type:label scope:global _restfpr_31 = .text:0x815D2070; // type:label scope:global -__save_gpr = .text:0x815D2078; // type:function size:0x4C scope:global +__save_gpr = .text:0x815D2078; // type:function size:0x4C scope:local _savegpr_14 = .text:0x815D2078; // type:label scope:global _savegpr_15 = .text:0x815D207C; // type:label scope:global _savegpr_16 = .text:0x815D2080; // type:label scope:global @@ -13126,7 +13132,7 @@ _savegpr_28 = .text:0x815D20B0; // type:label scope:global _savegpr_29 = .text:0x815D20B4; // type:label scope:global _savegpr_30 = .text:0x815D20B8; // type:label scope:global _savegpr_31 = .text:0x815D20BC; // type:label scope:global -__restore_gpr = .text:0x815D20C4; // type:function size:0x4C scope:global +__restore_gpr = .text:0x815D20C4; // type:function size:0x4C scope:local _restgpr_14 = .text:0x815D20C4; // type:label scope:global _restgpr_15 = .text:0x815D20C8; // type:label scope:global _restgpr_16 = .text:0x815D20CC; // type:label scope:global @@ -13349,10 +13355,10 @@ __ieee754_sqrt = .text:0x815E5920; // type:function size:0x248 nan = .text:0x815E5B68; // type:function size:0x4 sqrt = .text:0x815E5B6C; // type:function size:0x4 GetTRKConnected = .text:0x815E5B70; // type:function size:0x10 -TRKAccessFile = .text:0x815E5B80; // type:function size:0x8 -TRKOpenFile = .text:0x815E5B88; // type:function size:0x8 -TRKCloseFile = .text:0x815E5B90; // type:function size:0x8 -TRKPositionFile = .text:0x815E5B98; // type:function size:0x8 +TRKAccessFile = .text:0x815E5B80; // type:function +TRKOpenFile = .text:0x815E5B88; // type:function +TRKCloseFile = .text:0x815E5B90; // type:function +TRKPositionFile = .text:0x815E5B98; // type:function __TRK_write_console = .text:0x815E5BA0; // type:function size:0xBC __read_console = .text:0x815E5C5C; // type:function size:0xBC EnableMetroTRKInterrupts = .text:0x815E5D18; // type:function size:0x20 @@ -13579,8 +13585,8 @@ scMethodList__Q33ipl2cs4anim = .rodata:0x815F18B8; // type:object size:0x78 scop scPropertyList__Q33ipl2cs4anim = .rodata:0x815F1930; // type:object size:0x30 scope:local data:4byte scMethodList__Q33ipl2cs5sound = .rodata:0x815F1960; // type:object size:0x10 scope:local data:4byte lbl_815F1970 = .rodata:0x815F1970; // type:object size:0x10 -crc16_table = .rodata:0x815F1980; // type:object size:0x20 data:2byte -crc32_table = .rodata:0x815F19A0; // type:object size:0x40 data:4byte +crc16_table = .rodata:0x815F1980; // type:object size:0x20 scope:local data:2byte +crc32_table = .rodata:0x815F19A0; // type:object size:0x40 scope:local data:4byte sha1template$2339 = .rodata:0x815F19E0; // type:object size:0x20 scope:local AESiSubShiftTable = .rodata:0x815F1A00; // type:object size:0x100 scope:local AESiInvSubShiftTable = .rodata:0x815F1B00; // type:object size:0x100 scope:local @@ -13742,7 +13748,7 @@ kprLookupTable437 = .rodata:0x8160B0F8; // type:object size:0x100 scReverbHiParam__Q23EGG10AudioFxMgr = .rodata:0x8160B1F8; // type:object size:0x18 scChorusParam__Q23EGG10AudioFxMgr = .rodata:0x8160B210; // type:object size:0x10 __constants = .rodata:0x8160B220; // type:object size:0x18 align:8 data:double -@stringBase0 = .rodata:0x8160B238; // type:object size:0x70 scope:local data:string_table +@stringBase0 = .rodata:0x8160B238; // type:object size:0x6F scope:local data:string_table fix_pool_sizes = .rodata:0x8160B2A8; // type:object size:0x18 data:4byte @stringBase0 = .rodata:0x8160B2C0; // type:object size:0xDD scope:local data:string_table __ctype_mapC = .rodata:0x8160B3A0; // type:object size:0x200 @@ -13815,9 +13821,9 @@ lbl_8160CCA6 = .data:0x8160CCA6; // type:object size:0x16 data:string jumptable_8160CCBC = .data:0x8160CCBC; // type:object size:0x30 scope:local __vt__Q33ipl7channel7Manager = .data:0x8160CCEC; // type:object size:0xC lbl_8160CCF8 = .data:0x8160CCF8; // type:object size:0x188 -lbl_8160CE80 = .data:0x8160CE80; // type:object size:0xC data:string -lbl_8160CE8C = .data:0x8160CE8C; // type:object size:0xC -jumptable_8160CE98 = .data:0x8160CE98; // type:object size:0x30 scope:local +@4747 = .data:0x8160CE80; // type:object size:0xC scope:local data:string +@4857 = .data:0x8160CE8C; // type:object size:0x9 scope:local data:string +@4931 = .data:0x8160CE98; // type:object size:0x30 scope:local __vt__Q33ipl4nand10LayoutFile = .data:0x8160CEC8; // type:object size:0x20 __vt__Q33ipl4nand8LangFile = .data:0x8160CEE8; // type:object size:0x20 __vt__Q33ipl4nand4File = .data:0x8160CF08; // type:object size:0x54 @@ -13825,19 +13831,24 @@ __vt__Q33ipl4nand4Base = .data:0x8160CF5C; // type:object size:0x20 lbl_8160CF80 = .data:0x8160CF80; // type:object size:0x16 data:string lbl_8160CF96 = .data:0x8160CF96; // type:object size:0x12 data:string __vt__Q33ipl4nand10SharedFile = .data:0x8160CFA8; // type:object size:0x54 -lbl_8160D000 = .data:0x8160D000; // type:object size:0x1A data:string -lbl_8160D01A = .data:0x8160D01A; // type:object size:0x10 data:string +@3883 = .data:0x8160D000; // type:object size:0x1A scope:local data:string +@3917 = .data:0x8160D01A; // type:object size:0x10 scope:local data:string __vt__Q33ipl4nand8MetaFile = .data:0x8160D02C; // type:object size:0x54 -lbl_8160D080 = .data:0x8160D080; // type:object size:0x13 data:string -lbl_8160D093 = .data:0x8160D093; // type:object size:0x55 -lbl_8160D0E8 = .data:0x8160D0E8; // type:object size:0xB0 +@3951 = .data:0x8160D080; // type:object size:0x13 scope:local data:string +@4002 = .data:0x8160D093; // type:object size:0x4E scope:local data:string +@3634 = .data:0x8160D0E8; // type:object size:0x30 scope:local data:string +...data.0 = .data:0x8160D0E8; // type:label scope:local +@3635 = .data:0x8160D118; // type:object size:0x2E scope:local data:string +@3636 = .data:0x8160D146; // type:object size:0x28 scope:local data:string +@3637 = .data:0x8160D16E; // type:object size:0x28 scope:local data:string sRMO_Ntsc_640x456IntDf__3ipl = .data:0x8160D198; // type:object size:0x3C scope:local +...data.0 = .data:0x8160D198; // type:label scope:local sRMO_Ntsc_640x456Prog__3ipl = .data:0x8160D1D4; // type:object size:0x3C scope:local sRMO_Pal50_640x456IntDf__3ipl = .data:0x8160D210; // type:object size:0x3C scope:local sRMO_Pal60_640x456IntDf__3ipl = .data:0x8160D24C; // type:object size:0x3C scope:local sRMO_Pal60_640x456Prog__3ipl = .data:0x8160D288; // type:object size:0x3C scope:local -jumptable_8160D2C8 = .data:0x8160D2C8; // type:object size:0x28 scope:local -lbl_8160D2F0 = .data:0x8160D2F0; // type:object size:0x13 data:string +@3748 = .data:0x8160D2C8; // type:object size:0x28 scope:local +@3856 = .data:0x8160D2F0; // type:object size:0x13 scope:local data:string lbl_8160D308 = .data:0x8160D308; // type:object size:0x14 jumptable_8160D31C = .data:0x8160D31C; // type:object size:0x94 scope:local lbl_8160D3B0 = .data:0x8160D3B0; // type:object size:0xD data:string @@ -13849,32 +13860,68 @@ lbl_8160D408 = .data:0x8160D408; // type:object size:0x15E lbl_8160D566 = .data:0x8160D566; // type:object size:0x30 data:string lbl_8160D596 = .data:0x8160D596; // type:object size:0x16 jumptable_8160D5AC = .data:0x8160D5AC; // type:object size:0x9C scope:local -lbl_8160D648 = .data:0x8160D648; // type:object size:0xD data:string -lbl_8160D655 = .data:0x8160D655; // type:object size:0xD data:string -lbl_8160D662 = .data:0x8160D662; // type:object size:0xD data:string -lbl_8160D66F = .data:0x8160D66F; // type:object size:0xD data:string -lbl_8160D67C = .data:0x8160D67C; // type:object size:0xD data:string -lbl_8160D689 = .data:0x8160D689; // type:object size:0xD data:string -lbl_8160D696 = .data:0x8160D696; // type:object size:0xD data:string -lbl_8160D6A3 = .data:0x8160D6A3; // type:object size:0xD data:string -lbl_8160D6B0 = .data:0x8160D6B0; // type:object size:0x14 -scLayoutName__3ipl = .data:0x8160D6C4; // type:object size:0x24 -lbl_8160D6E8 = .data:0x8160D6E8; // type:object size:0xB data:string -lbl_8160D6F3 = .data:0x8160D6F3; // type:object size:0xD -mscBtnName__Q23ipl12DialogWindow = .data:0x8160D700; // type:object size:0x42A -lbl_8160DB2A = .data:0x8160DB2A; // type:object size:0x14 data:string -lbl_8160DB3E = .data:0x8160DB3E; // type:object size:0x9 data:string -lbl_8160DB47 = .data:0x8160DB47; // type:object size:0xB data:string -lbl_8160DB52 = .data:0x8160DB52; // type:object size:0x9 data:string -lbl_8160DB5B = .data:0x8160DB5B; // type:object size:0x10 data:string -lbl_8160DB6B = .data:0x8160DB6B; // type:object size:0x14 data:string -lbl_8160DB7F = .data:0x8160DB7F; // type:object size:0x16 data:string -lbl_8160DB95 = .data:0x8160DB95; // type:object size:0xF data:string -lbl_8160DBA4 = .data:0x8160DBA4; // type:object size:0x10 -__vt__Q33ipl3gui11PaneManager = .data:0x8160DBB4; // type:object size:0x5C +@3546 = .data:0x8160D648; // type:object size:0xD scope:local data:string +@3547 = .data:0x8160D655; // type:object size:0xD scope:local data:string +@3548 = .data:0x8160D662; // type:object size:0xD scope:local data:string +@3549 = .data:0x8160D66F; // type:object size:0xD scope:local data:string +@3550 = .data:0x8160D67C; // type:object size:0xD scope:local data:string +@3551 = .data:0x8160D689; // type:object size:0xD scope:local data:string +@3552 = .data:0x8160D696; // type:object size:0xD scope:local data:string +@3553 = .data:0x8160D6A3; // type:object size:0xD scope:local data:string +@3554 = .data:0x8160D6B0; // type:object size:0x13 scope:local data:string +scLayoutName__3ipl = .data:0x8160D6C4; // type:object size:0x24 scope:local +@3801 = .data:0x8160D6E8; // type:object size:0xB scope:local data:string +@3859 = .data:0x8160D6F3; // type:object size:0x9 scope:local data:string +mscBtnName__Q23ipl12DialogWindow = .data:0x8160D700; // type:object size:0xC data:4byte +...data.0 = .data:0x8160D700; // type:label scope:local +@6806 = .data:0x8160D70C; // type:object size:0x19 scope:local data:string +@6807 = .data:0x8160D725; // type:object size:0x22 scope:local data:string +@6809 = .data:0x8160D747; // type:object size:0x23 scope:local data:string +@6810 = .data:0x8160D76A; // type:object size:0x1E scope:local data:string +@6812 = .data:0x8160D788; // type:object size:0x21 scope:local data:string +@6816 = .data:0x8160D7A9; // type:object size:0x19 scope:local data:string +@6817 = .data:0x8160D7C2; // type:object size:0x22 scope:local data:string +@6818 = .data:0x8160D7E4; // type:object size:0x23 scope:local data:string +@6819 = .data:0x8160D807; // type:object size:0x25 scope:local data:string +@6820 = .data:0x8160D82C; // type:object size:0xC scope:local data:string +@6821 = .data:0x8160D838; // type:object size:0x26 scope:local data:string +@6822 = .data:0x8160D85E; // type:object size:0x26 scope:local data:string +@6823 = .data:0x8160D884; // type:object size:0xD scope:local data:string +@6824 = .data:0x8160D891; // type:object size:0x19 scope:local data:string +@6825 = .data:0x8160D8AA; // type:object size:0x22 scope:local data:string +@6826 = .data:0x8160D8CC; // type:object size:0x23 scope:local data:string +@6827 = .data:0x8160D8EF; // type:object size:0x25 scope:local data:string +@6828 = .data:0x8160D914; // type:object size:0x26 scope:local data:string +@6829 = .data:0x8160D93A; // type:object size:0x26 scope:local data:string +@6830 = .data:0x8160D960; // type:object size:0xC scope:local data:string +@6831 = .data:0x8160D96C; // type:object size:0xD scope:local data:string +@6832 = .data:0x8160D979; // type:object size:0x19 scope:local data:string +@6833 = .data:0x8160D992; // type:object size:0x22 scope:local data:string +@6834 = .data:0x8160D9B4; // type:object size:0x23 scope:local data:string +@6835 = .data:0x8160D9D7; // type:object size:0x25 scope:local data:string +@6836 = .data:0x8160D9FC; // type:object size:0x26 scope:local data:string +@6837 = .data:0x8160DA22; // type:object size:0x26 scope:local data:string +@6838 = .data:0x8160DA48; // type:object size:0xC scope:local data:string +@6839 = .data:0x8160DA54; // type:object size:0xD scope:local data:string +@6840 = .data:0x8160DA61; // type:object size:0x18 scope:local data:string +@6841 = .data:0x8160DA79; // type:object size:0x21 scope:local data:string +@6842 = .data:0x8160DA9A; // type:object size:0x22 scope:local data:string +@6843 = .data:0x8160DABC; // type:object size:0x24 scope:local data:string +@6844 = .data:0x8160DAE0; // type:object size:0x25 scope:local data:string +@6845 = .data:0x8160DB05; // type:object size:0x25 scope:local data:string +@6958 = .data:0x8160DB2A; // type:object size:0x14 scope:local data:string +@7350 = .data:0x8160DB3E; // type:object size:0x9 scope:local data:string +@7352 = .data:0x8160DB47; // type:object size:0xB scope:local data:string +@7398 = .data:0x8160DB52; // type:object size:0x9 scope:local data:string +@7548 = .data:0x8160DB5B; // type:object size:0x10 scope:local data:string +@7549 = .data:0x8160DB6B; // type:object size:0x14 scope:local data:string +@7769 = .data:0x8160DB7F; // type:object size:0x16 scope:local data:string +@7844 = .data:0x8160DB95; // type:object size:0xF scope:local data:string +@7845 = .data:0x8160DBA4; // type:object size:0xF scope:local data:string +__vt__Q33ipl3gui11PaneManager = .data:0x8160DBB4; // type:object size:0x5C scope:weak __vt__Q23ipl12DialogWindow = .data:0x8160DC10; // type:object size:0x18 -__vt__Q23gui12EventHandler = .data:0x8160DC28; // type:object size:0x18 -__vt__Q23gui9Interface = .data:0x8160DC40; // type:object size:0x20 +__vt__Q23gui12EventHandler = .data:0x8160DC28; // type:object size:0x18 scope:weak +__vt__Q23gui9Interface = .data:0x8160DC40; // type:object size:0x20 scope:weak lbl_8160DC60 = .data:0x8160DC60; // type:object size:0x12 data:string lbl_8160DC78 = .data:0x8160DC78; // type:object size:0xB data:string lbl_8160DC83 = .data:0x8160DC83; // type:object size:0xB data:string @@ -13946,10 +13993,10 @@ jumptable_81610EF8 = .data:0x81610EF8; // type:object size:0x38 scope:local __vt__Q33ipl8keyboard7Manager = .data:0x81610F30; // type:object size:0x4C __vt__Q33ipl8keyboard13EventObserver = .data:0x81610F7C; // type:object size:0x28 @STRING_2@onOutOfLength__Q29textinput13EventObserverFv = .data:0x81610FA4; // type:object size:0xD data:string -lbl_81610FB8 = .data:0x81610FB8; // type:object size:0xF data:string -lbl_81610FC7 = .data:0x81610FC7; // type:object size:0xD -jumptable_81610FD4 = .data:0x81610FD4; // type:object size:0x28 scope:local -lbl_81610FFC = .data:0x81610FFC; // type:object size:0x1C +@3797 = .data:0x81610FB8; // type:object size:0xF scope:local data:string +@3837 = .data:0x81610FC7; // type:object size:0xB scope:local data:string +@3839 = .data:0x81610FD4; // type:object size:0x28 scope:local +@3841 = .data:0x81610FFC; // type:object size:0x1B scope:local data:string lbl_81611018 = .data:0x81611018; // type:object size:0x12 data:string lbl_8161102A = .data:0x8161102A; // type:object size:0x1E data:string lbl_81611048 = .data:0x81611048; // type:object size:0x56 @@ -13977,7 +14024,7 @@ lbl_8161187C = .data:0x8161187C; // type:object size:0x22 data:string lbl_8161189E = .data:0x8161189E; // type:object size:0x2C data:string lbl_816118CA = .data:0x816118CA; // type:object size:0x2C data:string lbl_816118F6 = .data:0x816118F6; // type:object size:0x2A -jumptable_81611920 = .data:0x81611920; // type:object size:0xA0 scope:local +@4061 = .data:0x81611920; // type:object size:0xA0 scope:local __vt__Q33ipl3bs27Manager = .data:0x816119C0; // type:object size:0xC lbl_816119D0 = .data:0x816119D0; // type:object size:0x23 data:string lbl_816119F3 = .data:0x816119F3; // type:object size:0xD @@ -13993,7 +14040,7 @@ ipl_error_spa_bmg = .data:0x81613120; // type:object size:0x420 data:byte norelo ipl_error_kor_bmg = .data:0x81613540; // type:object size:0x220 data:byte noreloc ipl_error_chn_bmg = .data:0x81613760; // type:object size:0x1C0 data:byte noreloc fatalDlg_ash = .data:0x81613920; // type:object size:0x2780 data:byte noreloc -__vt__Q33ipl7utility4Tree = .data:0x816160A0; // type:object size:0x1C +__vt__Q33ipl7utility4Tree = .data:0x816160A0; // type:object size:0x1C scope:weak mLangPath__Q33ipl7utility8Language = .data:0x816160C0; // type:object size:0x28 lbl_816160E8 = .data:0x816160E8; // type:object size:0x11 data:string lbl_816160F9 = .data:0x816160F9; // type:object size:0x17 data:string @@ -14019,7 +14066,11 @@ __vt__Q23gui13PaneComponent = .data:0x816175C8; // type:object size:0x74 __vt__Q23gui11PaneManager = .data:0x8161763C; // type:object size:0x5C __vt__Q23gui7Manager = .data:0x81617698; // type:object size:0x44 __vt__Q23gui9Component = .data:0x816176DC; // type:object size:0x6C -lbl_81617748 = .data:0x81617748; // type:object size:0x64 +@5061 = .data:0x81617748; // type:object size:0x24 scope:local data:string +...data.0 = .data:0x81617748; // type:label scope:local +@5062 = .data:0x8161776C; // type:object size:0xB scope:local data:string +@5063 = .data:0x81617777; // type:object size:0x29 scope:local data:string +@5064 = .data:0x816177A0; // type:object size:0xB scope:local data:string __vt__Q33ipl6layout6Object = .data:0x816177AC; // type:object size:0xC __vt__Q33ipl6layout13GroupAnimator = .data:0x816177B8; // type:object size:0x18 __vt__Q33ipl6layout12PaneAnimator = .data:0x816177D0; // type:object size:0x18 @@ -14158,7 +14209,7 @@ lbl_81618864 = .data:0x81618864; // type:object size:0x5D lbl_816188C1 = .data:0x816188C1; // type:object size:0x6D lbl_8161892E = .data:0x8161892E; // type:object size:0x2A __vt__Q37ext_ead3www14SurfaceManager = .data:0x81618958; // type:object size:0x17 -lbl_81618970 = .data:0x81618970; // type:object size:0x24 +@530 = .data:0x81618970; // type:object size:0x21 scope:local data:string __vt__Q37ext_ead3www9ut_thread = .data:0x81618994; // type:object size:0x28 lbl_816189C0 = .data:0x816189C0; // type:object size:0x38 lbl_816189F8 = .data:0x816189F8; // type:object size:0x1E data:string @@ -14400,7 +14451,7 @@ __vt__Q310homebutton3gui11PaneManager = .data:0x8161A560; // type:object size:0x __vt__Q310homebutton3gui7Manager = .data:0x8161A5B4; // type:object size:0x3C __vt__Q310homebutton3gui9Component = .data:0x8161A5F0; // type:object size:0x5C __vt__Q210homebutton9RemoteSpk = .data:0x8161A650; // type:object size:0x10 -lbl_8161A660 = .data:0x8161A660; // type:object size:0x2F data:string +@464 = .data:0x8161A660; // type:object size:0x2F scope:local data:string lbl_8161A690 = .data:0x8161A690; // type:object size:0x1D4 jumptable_8161A864 = .data:0x8161A864; // type:object size:0x94 scope:local lbl_8161A8F8 = .data:0x8161A8F8; // type:object size:0x9 @@ -14506,9 +14557,9 @@ lbl_8161D4A4 = .data:0x8161D4A4; // type:object size:0xC data:wstring __vt__Q33ipl5scene17AddressInputEvent = .data:0x8161D4B0; // type:object size:0x18 __vt__Q33ipl5scene16AddressEditEvent = .data:0x8161D4C8; // type:object size:0x18 __vt__Q33ipl5scene11AddressEdit = .data:0x8161D4E0; // type:object size:0x120 -lbl_8161D600 = .data:0x8161D600; // type:object size:0x17 data:string -lbl_8161D617 = .data:0x8161D617; // type:object size:0x19 -__vt__Q33ipl5scene8BackMenu = .data:0x8161D630; // type:object size:0x70 +@3779 = .data:0x8161D600; // type:object size:0x17 scope:local data:string +@3780 = .data:0x8161D617; // type:object size:0x17 scope:local data:string +__vt__Q33ipl5scene8BackMenu = .data:0x8161D630; // type:object size:0x6C backToWiiMenu_arc = .data:0x8161D6A0; // type:object size:0x2720 data:byte noreloc lbl_8161FDC0 = .data:0x8161FDC0; // type:object size:0xA data:string lbl_8161FDCA = .data:0x8161FDCA; // type:object size:0xA data:string @@ -15002,32 +15053,37 @@ lbl_81624652 = .data:0x81624652; // type:object size:0x12 __vt__Q33ipl5scene21FaceSelectButtonEvent = .data:0x81624664; // type:object size:0x1C __vt__Q33ipl5scene15FaceSelectEvent = .data:0x81624680; // type:object size:0x18 __vt__Q33ipl5scene10FaceSelect = .data:0x81624698; // type:object size:0x100 -lbl_81624798 = .data:0x81624798; // type:object size:0xB data:string -lbl_816247A3 = .data:0x816247A3; // type:object size:0xB data:string -lbl_816247AE = .data:0x816247AE; // type:object size:0xB data:string -lbl_816247B9 = .data:0x816247B9; // type:object size:0xB data:string -lbl_816247C4 = .data:0x816247C4; // type:object size:0xB data:string -lbl_816247CF = .data:0x816247CF; // type:object size:0xB data:string -lbl_816247DA = .data:0x816247DA; // type:object size:0xB data:string -lbl_816247E5 = .data:0x816247E5; // type:object size:0xB data:string -lbl_816247F0 = .data:0x816247F0; // type:object size:0xC +@3588 = .data:0x81624798; // type:object size:0xB scope:local data:string +...data.0 = .data:0x81624798; // type:label scope:local +@3589 = .data:0x816247A3; // type:object size:0xB scope:local data:string +@3590 = .data:0x816247AE; // type:object size:0xB scope:local data:string +@3591 = .data:0x816247B9; // type:object size:0xB scope:local data:string +@3592 = .data:0x816247C4; // type:object size:0xB scope:local data:string +@3593 = .data:0x816247CF; // type:object size:0xB scope:local data:string +@3594 = .data:0x816247DA; // type:object size:0xB scope:local data:string +@3595 = .data:0x816247E5; // type:object size:0xB scope:local data:string +@3596 = .data:0x816247F0; // type:object size:0xB scope:local data:string has_pane_name__Q23ipl5scene = .data:0x816247FC; // type:object size:0x30 -lbl_8162482C = .data:0x8162482C; // type:object size:0x9 data:string -lbl_81624835 = .data:0x81624835; // type:object size:0xC data:string -lbl_81624841 = .data:0x81624841; // type:object size:0xC data:string -lbl_8162484D = .data:0x8162484D; // type:object size:0xC data:string -lbl_81624859 = .data:0x81624859; // type:object size:0xC data:string -lbl_81624865 = .data:0x81624865; // type:object size:0xC data:string -lbl_81624871 = .data:0x81624871; // type:object size:0xC data:string -lbl_8162487D = .data:0x8162487D; // type:object size:0xC data:string -lbl_81624889 = .data:0x81624889; // type:object size:0xC data:string -lbl_81624895 = .data:0x81624895; // type:object size:0xC data:string -lbl_816248A1 = .data:0x816248A1; // type:object size:0x9 data:string -lbl_816248AA = .data:0x816248AA; // type:object size:0xA +@3599 = .data:0x8162482C; // type:object size:0x9 scope:local data:string +@3600 = .data:0x81624835; // type:object size:0xC scope:local data:string +@3601 = .data:0x81624841; // type:object size:0xC scope:local data:string +@3602 = .data:0x8162484D; // type:object size:0xC scope:local data:string +@3603 = .data:0x81624859; // type:object size:0xC scope:local data:string +@3604 = .data:0x81624865; // type:object size:0xC scope:local data:string +@3605 = .data:0x81624871; // type:object size:0xC scope:local data:string +@3606 = .data:0x8162487D; // type:object size:0xC scope:local data:string +@3607 = .data:0x81624889; // type:object size:0xC scope:local data:string +@3608 = .data:0x81624895; // type:object size:0xC scope:local data:string +@3609 = .data:0x816248A1; // type:object size:0x9 scope:local data:string +@3610 = .data:0x816248AA; // type:object size:0x9 scope:local data:string push_pane_name__Q23ipl5scene = .data:0x816248B4; // type:object size:0x30 -lbl_816248E4 = .data:0x816248E4; // type:object size:0xC -jumptable_816248F0 = .data:0x816248F0; // type:object size:0x30 scope:local -lbl_81624970 = .data:0x81624970; // type:object size:0x10 data:string +@4217 = .data:0x816248E4; // type:object size:0xB scope:local data:string +@4242 = .data:0x816248F0; // type:object size:0x30 scope:local +@4300 = .data:0x81624920; // type:object size:0xF scope:local data:string +@4301 = .data:0x8162492F; // type:object size:0x16 scope:local data:string +@4303 = .data:0x81624945; // type:object size:0x14 scope:local data:string +@4305 = .data:0x81624959; // type:object size:0x17 scope:local data:string +@4337 = .data:0x81624970; // type:object size:0x10 scope:local data:string __vt__Q33ipl5scene8skHealth = .data:0x81624980; // type:object size:0x68 lbl_816249E8 = .data:0x816249E8; // type:object size:0x1D data:string lbl_81624A05 = .data:0x81624A05; // type:object size:0x1BB @@ -15045,38 +15101,46 @@ lbl_8162529F = .data:0x8162529F; // type:object size:0xF data:string lbl_816252AE = .data:0x816252AE; // type:object size:0x12A __vt__Q33ipl5scene12LetterWriter = .data:0x816253D8; // type:object size:0xC8 __vt__Q49textinput6extend4memo19NigaoeEventObserver = .data:0x816254A0; // type:object size:0x18 -lbl_816254B8 = .data:0x816254B8; // type:object size:0x30 -lbl_816254E8 = .data:0x816254E8; // type:object size:0xB data:string -lbl_816254F3 = .data:0x816254F3; // type:object size:0xB data:string -lbl_816254FE = .data:0x816254FE; // type:object size:0xB data:string -lbl_81625509 = .data:0x81625509; // type:object size:0xB data:string -lbl_81625514 = .data:0x81625514; // type:object size:0xB data:string -lbl_8162551F = .data:0x8162551F; // type:object size:0xB data:string -lbl_8162552A = .data:0x8162552A; // type:object size:0xB data:string -lbl_81625535 = .data:0x81625535; // type:object size:0xB data:string -lbl_81625540 = .data:0x81625540; // type:object size:0xB data:string -lbl_8162554B = .data:0x8162554B; // type:object size:0xB data:string -lbl_81625556 = .data:0x81625556; // type:object size:0xB data:string -lbl_81625561 = .data:0x81625561; // type:object size:0xB data:string +wide_pane_names__Q23ipl5scene = .data:0x816254B8; // type:object size:0x30 scope:local +...data.0 = .data:0x816254B8; // type:label scope:local +@3604 = .data:0x816254E8; // type:object size:0xB scope:local data:string +@3605 = .data:0x816254F3; // type:object size:0xB scope:local data:string +@3606 = .data:0x816254FE; // type:object size:0xB scope:local data:string +@3607 = .data:0x81625509; // type:object size:0xB scope:local data:string +@3608 = .data:0x81625514; // type:object size:0xB scope:local data:string +@3609 = .data:0x8162551F; // type:object size:0xB scope:local data:string +@3610 = .data:0x8162552A; // type:object size:0xB scope:local data:string +@3611 = .data:0x81625535; // type:object size:0xB scope:local data:string +@3612 = .data:0x81625540; // type:object size:0xB scope:local data:string +@3613 = .data:0x8162554B; // type:object size:0xB scope:local data:string +@3614 = .data:0x81625556; // type:object size:0xB scope:local data:string +@3615 = .data:0x81625561; // type:object size:0xB scope:local data:string lo_pane_name__Q23ipl5scene = .data:0x8162556C; // type:object size:0x30 -lbl_8162559C = .data:0x8162559C; // type:object size:0xC data:string -lbl_816255A8 = .data:0x816255A8; // type:object size:0xC data:string -lbl_816255B4 = .data:0x816255B4; // type:object size:0xC data:string -lbl_816255C0 = .data:0x816255C0; // type:object size:0xC data:string -lbl_816255CC = .data:0x816255CC; // type:object size:0xC data:string -lbl_816255D8 = .data:0x816255D8; // type:object size:0xC data:string -lbl_816255E4 = .data:0x816255E4; // type:object size:0xC data:string -lbl_816255F0 = .data:0x816255F0; // type:object size:0xC data:string -lbl_816255FC = .data:0x816255FC; // type:object size:0xC data:string -lbl_81625608 = .data:0x81625608; // type:object size:0xC data:string -lbl_81625614 = .data:0x81625614; // type:object size:0xC data:string -lbl_81625620 = .data:0x81625620; // type:object size:0xC data:string +@3616 = .data:0x8162559C; // type:object size:0xC scope:local data:string +@3617 = .data:0x816255A8; // type:object size:0xC scope:local data:string +@3618 = .data:0x816255B4; // type:object size:0xC scope:local data:string +@3619 = .data:0x816255C0; // type:object size:0xC scope:local data:string +@3620 = .data:0x816255CC; // type:object size:0xC scope:local data:string +@3621 = .data:0x816255D8; // type:object size:0xC scope:local data:string +@3622 = .data:0x816255E4; // type:object size:0xC scope:local data:string +@3623 = .data:0x816255F0; // type:object size:0xC scope:local data:string +@3624 = .data:0x816255FC; // type:object size:0xC scope:local data:string +@3625 = .data:0x81625608; // type:object size:0xC scope:local data:string +@3626 = .data:0x81625614; // type:object size:0xC scope:local data:string +@3627 = .data:0x81625620; // type:object size:0xC scope:local data:string lopush_pane_name__Q23ipl5scene = .data:0x8162562C; // type:object size:0x30 -lbl_8162565C = .data:0x8162565C; // type:object size:0x10 -jumptable_8162566C = .data:0x8162566C; // type:object size:0x30 scope:local -lbl_8162571D = .data:0x8162571D; // type:object size:0x14 data:string -lbl_81625731 = .data:0x81625731; // type:object size:0x13 -__vt__Q33ipl5scene9LimitOver = .data:0x81625744; // type:object size:0x6C +@4195 = .data:0x8162565C; // type:object size:0xE scope:local data:string +@4215 = .data:0x8162566C; // type:object size:0x30 scope:local +@4319 = .data:0x8162569C; // type:object size:0x11 scope:local data:string +@4320 = .data:0x816256AD; // type:object size:0xB scope:local data:string +@4321 = .data:0x816256B8; // type:object size:0xB scope:local data:string +@4322 = .data:0x816256C3; // type:object size:0xB scope:local data:string +@4323 = .data:0x816256CE; // type:object size:0x19 scope:local data:string +@4325 = .data:0x816256E7; // type:object size:0x1C scope:local data:string +@4327 = .data:0x81625703; // type:object size:0x1A scope:local data:string +@4357 = .data:0x8162571D; // type:object size:0x14 scope:local data:string +@4367 = .data:0x81625731; // type:object size:0x10 scope:local data:string +__vt__Q33ipl5scene9LimitOver = .data:0x81625744; // type:object size:0x68 lbl_816257B0 = .data:0x816257B0; // type:object size:0x9 data:string lbl_816257B9 = .data:0x816257B9; // type:object size:0xB data:string lbl_816257C4 = .data:0x816257C4; // type:object size:0xC @@ -15365,7 +15429,7 @@ lbl_81628D82 = .data:0x81628D82; // type:object size:0xF data:string lbl_81628D91 = .data:0x81628D91; // type:object size:0xF data:string __vt__Q33ipl5scene19ParentalDialogEvent = .data:0x81628DA0; // type:object size:0x18 __vt__Q33ipl5scene14ParentalDialog = .data:0x81628DB8; // type:object size:0x100 -lbl_81628EB8 = .data:0x81628EB8; // type:object size:0x10 +@3657 = .data:0x81628EB8; // type:object size:0xE scope:local data:string __vt__Q33ipl5scene6Reboot = .data:0x81628EC8; // type:object size:0x4C __vt__Q33ipl5scene9RootScene = .data:0x81628F18; // type:object size:0x4C lbl_81628F68 = .data:0x81628F68; // type:object size:0x9 data:string @@ -15644,15 +15708,27 @@ jumptable_8162CCA0 = .data:0x8162CCA0; // type:object size:0x28 scope:local jumptable_8162CCC8 = .data:0x8162CCC8; // type:object size:0x84 scope:local jumptable_8162CD4C = .data:0x8162CD4C; // type:object size:0x2C scope:local lbl_8162CD78 = .data:0x8162CD78; // type:object size:0x40 -lbl_8162CDB8 = .data:0x8162CDB8; // type:object size:0xC data:string -lbl_8162CDC4 = .data:0x8162CDC4; // type:object size:0x14 +@3647 = .data:0x8162CDB8; // type:object size:0xC scope:local data:string +@3656 = .data:0x8162CDC4; // type:object size:0x13 scope:local data:string __vt__Q33ipl5scene9SettingBg = .data:0x8162CDD8; // type:object size:0x4C -lbl_8162CE28 = .data:0x8162CE28; // type:object size:0xF data:string -lbl_8162CE37 = .data:0x8162CE37; // type:object size:0xF data:string -lbl_8162CE46 = .data:0x8162CE46; // type:object size:0x112 -lbl_8162CF58 = .data:0x8162CF58; // type:object size:0xC data:string -lbl_8162CF64 = .data:0x8162CF64; // type:object size:0x16 data:string -lbl_8162CF7A = .data:0x8162CF7A; // type:object size:0x6A +@3640 = .data:0x8162CE28; // type:object size:0xF scope:local data:string +...data.0 = .data:0x8162CE28; // type:label scope:local +@3641 = .data:0x8162CE37; // type:object size:0xF scope:local data:string +@4345 = .data:0x8162CE46; // type:object size:0xD scope:local data:string +@4383 = .data:0x8162CE53; // type:object size:0x12 scope:local data:string +@4384 = .data:0x8162CE65; // type:object size:0x19 scope:local data:string +@4386 = .data:0x8162CE7E; // type:object size:0x1E scope:local data:string +@4387 = .data:0x8162CE9C; // type:object size:0xC scope:local data:string +@4388 = .data:0x8162CEA8; // type:object size:0x1F scope:local data:string +@4389 = .data:0x8162CEC7; // type:object size:0x1B scope:local data:string +@4390 = .data:0x8162CEE2; // type:object size:0xD scope:local data:string +@4391 = .data:0x8162CEEF; // type:object size:0x1C scope:local data:string +@4393 = .data:0x8162CF0B; // type:object size:0x1A scope:local data:string +@4394 = .data:0x8162CF25; // type:object size:0x19 scope:local data:string +@4395 = .data:0x8162CF3E; // type:object size:0x1A scope:local data:string +@4396 = .data:0x8162CF58; // type:object size:0xC scope:local data:string +@4467 = .data:0x8162CF64; // type:object size:0x16 scope:local data:string +@4563 = .data:0x8162CF7A; // type:object size:0xC scope:local data:string __vt__Q33ipl5scene13SettingButton = .data:0x8162CFE4; // type:object size:0x84 lbl_8162D0A0 = .data:0x8162D0A0; // type:object size:0x10 data:string lbl_8162D0B0 = .data:0x8162D0B0; // type:object size:0xD data:string @@ -16758,7 +16834,7 @@ t$2350 = .data:0x81641370; // type:object size:0x100 scope:local data:4byte k$2351 = .data:0x81641470; // type:object size:0xC0 scope:local data:4byte lbl_81641530 = .data:0x81641530; // type:object size:0x58 lbl_81641588 = .data:0x81641588; // type:object size:0x20 -lbl_816415A8 = .data:0x816415A8; // type:object size:0x38 +@1 = .data:0x816415A8; // type:object size:0x37 scope:local data:string lbl_816415E0 = .data:0x816415E0; // type:object size:0x48 lbl_81641628 = .data:0x81641628; // type:object size:0x28 lbl_81641650 = .data:0x81641650; // type:object size:0x30 @@ -17028,143 +17104,275 @@ __vt__Q34nw4r3lyt18AnimTransformBasic = .data:0x81646218; // type:object size:0x lbl_81646238 = .data:0x81646238; // type:object size:0x48 __vt__Q34nw4r3lyt16ResourceAccessor = .data:0x81646280; // type:object size:0x18 __vt__Q34nw4r3lyt24MultiArcResourceAccessor = .data:0x81646298; // type:object size:0x18 -lbl_816462B0 = .data:0x816462B0; // type:object size:0x37 data:string -@1 = .data:0x816462E8; // type:object size:0x47 scope:local data:string -@1746 = .data:0x816464D8; // type:object size:0x68 scope:local -__OSExceptionLocations = .data:0x81646540; // type:object size:0x3C scope:local data:string +@411 = .data:0x816462B0; // type:object size:0x37 scope:local data:string +@405 = .data:0x816462E8; // type:object size:0x47 scope:local data:string +...data.0 = .data:0x816462E8; // type:label scope:local +@1255 = .data:0x81646330; // type:object size:0x10 scope:local data:string +@1256 = .data:0x81646340; // type:object size:0x16 scope:local data:string +@1257 = .data:0x81646358; // type:object size:0xC scope:local data:string +@1258 = .data:0x81646364; // type:object size:0x9 scope:local data:string +@1259 = .data:0x81646370; // type:object size:0x10 scope:local data:string +@1260 = .data:0x81646380; // type:object size:0x18 scope:local data:string +@1261 = .data:0x81646398; // type:object size:0x1A scope:local data:string +@1262 = .data:0x816463B4; // type:object size:0x1A scope:local data:string +@1264 = .data:0x816463D0; // type:object size:0xB scope:local data:string +@1265 = .data:0x816463DC; // type:object size:0xA scope:local data:string +@1266 = .data:0x816463E8; // type:object size:0xA scope:local data:string +@1267 = .data:0x816463F4; // type:object size:0xA scope:local data:string +@1268 = .data:0x81646400; // type:object size:0xA scope:local data:string +@1269 = .data:0x8164640C; // type:object size:0xA scope:local data:string +@1270 = .data:0x81646418; // type:object size:0x15 scope:local data:string +@1271 = .data:0x81646430; // type:object size:0x1B scope:local data:string +@1272 = .data:0x8164644C; // type:object size:0x1B scope:local data:string +@1274 = .data:0x81646468; // type:object size:0x19 scope:local data:string +@1275 = .data:0x81646484; // type:object size:0xC scope:local data:string +@1276 = .data:0x81646490; // type:object size:0xE scope:local data:string +@1277 = .data:0x816464A0; // type:object size:0x1A scope:local data:string +@1278 = .data:0x816464BC; // type:object size:0x1A scope:local data:string +@1279 = .data:0x816464D8; // type:object size:0x68 scope:local +@1338 = .data:0x81646540; // type:object size:0x50 scope:local data:string +@1340 = .data:0x81646590; // type:object size:0x12 scope:local data:string +@1341 = .data:0x816465A8; // type:object size:0x58 scope:local data:string +__OSExceptionLocations = .data:0x81646600; // type:object size:0x3C scope:local data:string +@1407 = .data:0x8164663C; // type:object size:0x1B scope:local data:string +@1408 = .data:0x81646658; // type:object size:0x2E scope:local data:string +@1409 = .data:0x81646688; // type:object size:0x2F scope:local data:string +@1410 = .data:0x816466B8; // type:object size:0x1B scope:local data:string ShutdownFunctionInfo = .data:0x816466D8; // type:object size:0x10 scope:local DSPInitCode = .data:0x816466E8; // type:object size:0x80 scope:local -@878 = .data:0x81646768; // type:object size:0x29 scope:local data:string -lbl_816469A0 = .data:0x816469A0; // type:object size:0x1B8 -@721 = .data:0x81646B58; // type:object size:0x23 scope:local data:string -@629 = .data:0x81646B80; // type:object size:0x16 scope:local data:string -@703 = .data:0x81646E5C; // type:object size:0x40 scope:local -lbl_81646EA0 = .data:0x81646EA0; // type:object size:0x60 -lbl_81646F00 = .data:0x81646F00; // type:object size:0x18 -lbl_81646F18 = .data:0x81646F18; // type:object size:0x28 -lbl_81646F40 = .data:0x81646F40; // type:object size:0x98 -lbl_81646FD8 = .data:0x81646FD8; // type:object size:0x44 -lbl_8164701C = .data:0x8164701C; // type:object size:0x1D4 -HankakuToCode = .data:0x816471F0; // type:object size:0x180 -Zenkaku2Code = .data:0x81647370; // type:object size:0x98A -InterruptPrioTable = .data:0x81647D00; // type:object size:0x30 data:4byte +@416 = .data:0x81646768; // type:object size:0x29 scope:local data:string +...data.0 = .data:0x81646768; // type:label scope:local +@424 = .data:0x81646798; // type:object size:0x18 scope:local data:string +@425 = .data:0x816467B0; // type:object size:0x1B scope:local data:string +@426 = .data:0x816467D0; // type:object size:0x30 scope:local data:string +@427 = .data:0x81646800; // type:object size:0x3C scope:local data:string +@428 = .data:0x8164683C; // type:object size:0x37 scope:local data:string +@429 = .data:0x81646874; // type:object size:0x3F scope:local data:string +@430 = .data:0x816468B4; // type:object size:0x29 scope:local data:string +@431 = .data:0x816468E0; // type:object size:0x1D scope:local data:string +@432 = .data:0x81646900; // type:object size:0x19 scope:local data:string +@444 = .data:0x8164691C; // type:object size:0x19 scope:local data:string +@445 = .data:0x81646938; // type:object size:0x19 scope:local data:string +@446 = .data:0x81646954; // type:object size:0x16 scope:local data:string +@447 = .data:0x8164696C; // type:object size:0x2E scope:local data:string +@559 = .data:0x816469A0; // type:object size:0x44 scope:local data:string +...data.0 = .data:0x816469A0; // type:label scope:local +@560 = .data:0x816469E8; // type:object size:0x30 scope:local data:string +@561 = .data:0x81646A18; // type:object size:0x2F scope:local data:string +@562 = .data:0x81646A48; // type:object size:0x2F scope:local data:string +@563 = .data:0x81646A78; // type:object size:0x11 scope:local data:string +@564 = .data:0x81646A8C; // type:object size:0x21 scope:local data:string +@565 = .data:0x81646AB0; // type:object size:0x12 scope:local data:string +@566 = .data:0x81646AC4; // type:object size:0x19 scope:local data:string +@567 = .data:0x81646AE0; // type:object size:0x12 scope:local data:string +@568 = .data:0x81646AF4; // type:object size:0x1D scope:local data:string +@569 = .data:0x81646B14; // type:object size:0x26 scope:local data:string +@570 = .data:0x81646B3C; // type:object size:0x1C scope:local data:string +@575 = .data:0x81646B58; // type:object size:0x23 scope:local data:string +@470 = .data:0x81646B80; // type:object size:0x16 scope:local data:string +...data.0 = .data:0x81646B80; // type:label scope:local +@471 = .data:0x81646B98; // type:object size:0x26 scope:local data:string +@472 = .data:0x81646BC0; // type:object size:0x1C scope:local data:string +@530 = .data:0x81646BDC; // type:object size:0x1D scope:local data:string +@531 = .data:0x81646BFC; // type:object size:0x17 scope:local data:string +@533 = .data:0x81646C14; // type:object size:0x31 scope:local data:string +@534 = .data:0x81646C48; // type:object size:0x10 scope:local data:string +@535 = .data:0x81646C58; // type:object size:0x60 scope:local data:string +@536 = .data:0x81646CB8; // type:object size:0x4C scope:local data:string +@537 = .data:0x81646D04; // type:object size:0x62 scope:local data:string +@538 = .data:0x81646D68; // type:object size:0x60 scope:local data:string +@539 = .data:0x81646DC8; // type:object size:0x1F scope:local data:string +@540 = .data:0x81646DE8; // type:object size:0x1F scope:local data:string +@541 = .data:0x81646E08; // type:object size:0x1B scope:local data:string +@542 = .data:0x81646E24; // type:object size:0x35 scope:local data:string +@544 = .data:0x81646E5C; // type:object size:0x40 scope:local +@902 = .data:0x81646EA0; // type:object size:0x24 scope:local data:string +...data.0 = .data:0x81646EA0; // type:label scope:local +@904 = .data:0x81646EC4; // type:object size:0x39 scope:local data:string +@966 = .data:0x81646F00; // type:object size:0x16 scope:local data:string +@995 = .data:0x81646F18; // type:object size:0x26 scope:local data:string +@996 = .data:0x81646F40; // type:object size:0x9 scope:local data:string +@1053 = .data:0x81646F4C; // type:object size:0x2C scope:local data:string +@1054 = .data:0x81646F78; // type:object size:0x2E scope:local data:string +@1055 = .data:0x81646FA8; // type:object size:0x2E scope:local data:string +@1061 = .data:0x81646FD8; // type:object size:0x41 scope:local data:string +@1070 = .data:0x8164701C; // type:object size:0x41 scope:local data:string +@1079 = .data:0x81647060; // type:object size:0x41 scope:local data:string +@1081 = .data:0x816470A4; // type:object size:0x45 scope:local data:string +@1083 = .data:0x816470EC; // type:object size:0x51 scope:local data:string +@1085 = .data:0x81647140; // type:object size:0x11 scope:local data:string +@1087 = .data:0x81647154; // type:object size:0xB scope:local data:string +@1089 = .data:0x81647160; // type:object size:0x47 scope:local data:string +@1091 = .data:0x816471A8; // type:object size:0x44 scope:local data:string +HankakuToCode = .data:0x816471F0; // type:object size:0x180 scope:local +Zenkaku2Code = .data:0x81647370; // type:object size:0x98A scope:local +InterruptPrioTable = .data:0x81647D00; // type:object size:0x30 scope:local data:4byte ShutdownFunctionInfo = .data:0x81647D30; // type:object size:0x10 scope:local -lbl_81647D40 = .data:0x81647D40; // type:object size:0xC -lbl_81647D4C = .data:0x81647D4C; // type:object size:0x1AC -jumptable_816738A8 = .data:0x81647EF8; // type:object size:0x20 scope:local -lbl_81647FC8 = .data:0x81647FC8; // type:object size:0x810 +@574 = .data:0x81647D40; // type:object size:0xA scope:local data:string +...data.0 = .data:0x81647D40; // type:label scope:local +@576 = .data:0x81647D4C; // type:object size:0x29 scope:local data:string +@578 = .data:0x81647D78; // type:object size:0x2F scope:local data:string +@580 = .data:0x81647DA8; // type:object size:0x36 scope:local data:string +@652 = .data:0x81647DE0; // type:object size:0x1D scope:local data:string +@653 = .data:0x81647E00; // type:object size:0x1B scope:local data:string +@654 = .data:0x81647E1C; // type:object size:0x17 scope:local data:string +@655 = .data:0x81647E34; // type:object size:0x2D scope:local data:string +@656 = .data:0x81647E64; // type:object size:0x1D scope:local data:string +@657 = .data:0x81647E84; // type:object size:0x25 scope:local data:string +@658 = .data:0x81647EAC; // type:object size:0x19 scope:local data:string +@659 = .data:0x81647EC8; // type:object size:0x2E scope:local data:string +@661 = .data:0x81647EF8; // type:object size:0x20 scope:local +@665 = .data:0x81647F18; // type:object size:0x31 scope:local data:string +@673 = .data:0x81647F4C; // type:object size:0x3B scope:local data:string +@675 = .data:0x81647F88; // type:object size:0x3A scope:local data:string +@2024 = .data:0x81647FC8; // type:object size:0x5F scope:local data:string +...data.0 = .data:0x81647FC8; // type:label scope:local +@2025 = .data:0x81648028; // type:object size:0xB scope:local data:string +@2027 = .data:0x81648034; // type:object size:0x5F scope:local data:string +@2028 = .data:0x81648094; // type:object size:0x46 scope:local data:string +@2029 = .data:0x816480DC; // type:object size:0x7E scope:local data:string +@2030 = .data:0x8164815C; // type:object size:0x7E scope:local data:string +@2031 = .data:0x816481DC; // type:object size:0x7A scope:local data:string +@2032 = .data:0x81648258; // type:object size:0x7A scope:local data:string +@2033 = .data:0x816482D4; // type:object size:0x51 scope:local data:string +@2034 = .data:0x81648328; // type:object size:0x71 scope:local data:string +@2035 = .data:0x8164839C; // type:object size:0x39 scope:local data:string +@2036 = .data:0x816483D8; // type:object size:0x49 scope:local data:string +@2037 = .data:0x81648424; // type:object size:0x51 scope:local data:string +@2038 = .data:0x81648478; // type:object size:0x52 scope:local data:string +@2039 = .data:0x816484CC; // type:object size:0x59 scope:local data:string +@2040 = .data:0x81648528; // type:object size:0x42 scope:local data:string +@2041 = .data:0x8164856C; // type:object size:0x3A scope:local data:string +@2042 = .data:0x816485A8; // type:object size:0x3A scope:local data:string +@2043 = .data:0x816485E4; // type:object size:0x44 scope:local data:string +@2044 = .data:0x81648628; // type:object size:0x44 scope:local data:string +@2045 = .data:0x8164866C; // type:object size:0x3B scope:local data:string +@2046 = .data:0x816486A8; // type:object size:0x3F scope:local data:string +@2047 = .data:0x816486E8; // type:object size:0x67 scope:local data:string +@2048 = .data:0x81648750; // type:object size:0x45 scope:local data:string +@2049 = .data:0x81648798; // type:object size:0x3D scope:local data:string YearDays = .data:0x816487D8; // type:object size:0x30 scope:local LeapYearDays = .data:0x81648808; // type:object size:0x30 scope:local UcsAnsiTable = .data:0x81648838; // type:object size:0x40 scope:local data:2byte -Ucs00 = .data:0x81648878; // type:object size:0x200 scope:local -Ucs03 = .data:0x81648A78; // type:object size:0x200 scope:local -Ucs04 = .data:0x81648C78; // type:object size:0x200 scope:local -Ucs20 = .data:0x81648E78; // type:object size:0x200 scope:local -Ucs21 = .data:0x81649078; // type:object size:0x200 scope:local -Ucs22 = .data:0x81649278; // type:object size:0x200 scope:local -Ucs23 = .data:0x81649478; // type:object size:0x200 scope:local -Ucs25 = .data:0x81649678; // type:object size:0x200 scope:local -Ucs26 = .data:0x81649878; // type:object size:0x200 scope:local -Ucs30 = .data:0x81649A78; // type:object size:0x200 scope:local -Ucs4E = .data:0x81649C78; // type:object size:0x200 scope:local -Ucs4F = .data:0x81649E78; // type:object size:0x200 scope:local -Ucs50 = .data:0x8164A078; // type:object size:0x200 scope:local -Ucs51 = .data:0x8164A278; // type:object size:0x200 scope:local -Ucs52 = .data:0x8164A478; // type:object size:0x200 scope:local -Ucs53 = .data:0x8164A678; // type:object size:0x200 scope:local -Ucs54 = .data:0x8164A878; // type:object size:0x200 scope:local -Ucs55 = .data:0x8164AA78; // type:object size:0x200 scope:local -Ucs56 = .data:0x8164AC78; // type:object size:0x200 scope:local -Ucs57 = .data:0x8164AE78; // type:object size:0x200 scope:local -Ucs58 = .data:0x8164B078; // type:object size:0x200 scope:local -Ucs59 = .data:0x8164B278; // type:object size:0x200 scope:local -Ucs5A = .data:0x8164B478; // type:object size:0x200 scope:local -Ucs5B = .data:0x8164B678; // type:object size:0x200 scope:local -Ucs5C = .data:0x8164B878; // type:object size:0x200 scope:local -Ucs5D = .data:0x8164BA78; // type:object size:0x200 scope:local -Ucs5E = .data:0x8164BC78; // type:object size:0x200 scope:local -Ucs5F = .data:0x8164BE78; // type:object size:0x200 scope:local -Ucs60 = .data:0x8164C078; // type:object size:0x200 scope:local -Ucs61 = .data:0x8164C278; // type:object size:0x200 scope:local -Ucs62 = .data:0x8164C478; // type:object size:0x200 scope:local -Ucs63 = .data:0x8164C678; // type:object size:0x200 scope:local -Ucs64 = .data:0x8164C878; // type:object size:0x200 scope:local -Ucs65 = .data:0x8164CA78; // type:object size:0x200 scope:local -Ucs66 = .data:0x8164CC78; // type:object size:0x200 scope:local -Ucs67 = .data:0x8164CE78; // type:object size:0x200 scope:local -Ucs68 = .data:0x8164D078; // type:object size:0x200 scope:local -Ucs69 = .data:0x8164D278; // type:object size:0x200 scope:local -Ucs6A = .data:0x8164D478; // type:object size:0x200 scope:local -Ucs6B = .data:0x8164D678; // type:object size:0x200 scope:local -Ucs6C = .data:0x8164D878; // type:object size:0x200 scope:local -Ucs6D = .data:0x8164DA78; // type:object size:0x200 scope:local -Ucs6E = .data:0x8164DC78; // type:object size:0x200 scope:local -Ucs6F = .data:0x8164DE78; // type:object size:0x200 scope:local -Ucs70 = .data:0x8164E078; // type:object size:0x200 scope:local -Ucs71 = .data:0x8164E278; // type:object size:0x200 scope:local -Ucs72 = .data:0x8164E478; // type:object size:0x200 scope:local -Ucs73 = .data:0x8164E678; // type:object size:0x200 scope:local -Ucs74 = .data:0x8164E878; // type:object size:0x200 scope:local -Ucs75 = .data:0x8164EA78; // type:object size:0x200 scope:local -Ucs76 = .data:0x8164EC78; // type:object size:0x200 scope:local -Ucs77 = .data:0x8164EE78; // type:object size:0x200 scope:local -Ucs78 = .data:0x8164F078; // type:object size:0x200 scope:local -Ucs79 = .data:0x8164F278; // type:object size:0x200 scope:local -Ucs7A = .data:0x8164F478; // type:object size:0x200 scope:local -Ucs7B = .data:0x8164F678; // type:object size:0x200 scope:local -Ucs7C = .data:0x8164F878; // type:object size:0x200 scope:local -Ucs7D = .data:0x8164FA78; // type:object size:0x200 scope:local -Ucs7E = .data:0x8164FC78; // type:object size:0x200 scope:local -Ucs7F = .data:0x8164FE78; // type:object size:0x200 scope:local -Ucs80 = .data:0x81650078; // type:object size:0x200 scope:local -Ucs81 = .data:0x81650278; // type:object size:0x200 scope:local -Ucs82 = .data:0x81650478; // type:object size:0x200 scope:local -Ucs83 = .data:0x81650678; // type:object size:0x200 scope:local -Ucs84 = .data:0x81650878; // type:object size:0x200 scope:local -Ucs85 = .data:0x81650A78; // type:object size:0x200 scope:local -Ucs86 = .data:0x81650C78; // type:object size:0x200 scope:local -Ucs87 = .data:0x81650E78; // type:object size:0x200 scope:local -Ucs88 = .data:0x81651078; // type:object size:0x200 scope:local -Ucs89 = .data:0x81651278; // type:object size:0x200 scope:local -Ucs8A = .data:0x81651478; // type:object size:0x200 scope:local -Ucs8B = .data:0x81651678; // type:object size:0x200 scope:local -Ucs8C = .data:0x81651878; // type:object size:0x200 scope:local -Ucs8D = .data:0x81651A78; // type:object size:0x200 scope:local -Ucs8E = .data:0x81651C78; // type:object size:0x200 scope:local -Ucs8F = .data:0x81651E78; // type:object size:0x200 scope:local -Ucs90 = .data:0x81652078; // type:object size:0x200 scope:local -Ucs91 = .data:0x81652278; // type:object size:0x200 scope:local -Ucs92 = .data:0x81652478; // type:object size:0x200 scope:local -Ucs93 = .data:0x81652678; // type:object size:0x200 scope:local -Ucs94 = .data:0x81652878; // type:object size:0x200 scope:local -Ucs95 = .data:0x81652A78; // type:object size:0x200 scope:local -Ucs96 = .data:0x81652C78; // type:object size:0x200 scope:local -Ucs97 = .data:0x81652E78; // type:object size:0x200 scope:local -Ucs98 = .data:0x81653078; // type:object size:0x200 scope:local -Ucs99 = .data:0x81653278; // type:object size:0x200 scope:local -Ucs9A = .data:0x81653478; // type:object size:0x200 scope:local -Ucs9B = .data:0x81653678; // type:object size:0x200 scope:local -Ucs9C = .data:0x81653878; // type:object size:0x200 scope:local -Ucs9D = .data:0x81653A78; // type:object size:0x200 scope:local -Ucs9E = .data:0x81653C78; // type:object size:0x200 scope:local -Ucs9F = .data:0x81653E78; // type:object size:0x200 scope:local -UcsFF = .data:0x81654078; // type:object size:0x200 scope:local -UcsSjisTable = .data:0x81654278; // type:object size:0x400 scope:local -@955 = .data:0x81654678; // type:object size:0x13 scope:local data:string -@956 = .data:0x8165468C; // type:object size:0x13 scope:local data:string -lbl_816546A0 = .data:0x816546A0; // type:object size:0xC data:string -lbl_816546AC = .data:0x816546AC; // type:object size:0x38 -lbl_816546E4 = .data:0x816546E4; // type:object size:0x38 -lbl_8165471C = .data:0x8165471C; // type:object size:0x14 data:string -lbl_81654730 = .data:0x81654730; // type:object size:0x10 -lbl_81654740 = .data:0x81654740; // type:object size:0x2C -jumptable_8165476C = .data:0x8165476C; // type:object size:0x1C scope:local -lbl_81654788 = .data:0x81654788; // type:object size:0x28 data:string -@1040 = .data:0x816547B0; // type:object size:0x32 scope:local data:string -lbl_81654918 = .data:0x81654918; // type:object size:0x20 -lbl_81654938 = .data:0x81654938; // type:object size:0x14 -@1547 = .data:0x8165494C; // type:object size:0xD scope:local data:string -@1549 = .data:0x8165495C; // type:object size:0x1B scope:local data:string +Ucs00 = .data:0x81648878; // type:object size:0x200 scope:local noreloc +Ucs03 = .data:0x81648A78; // type:object size:0x200 scope:local noreloc +Ucs04 = .data:0x81648C78; // type:object size:0x200 scope:local noreloc +Ucs20 = .data:0x81648E78; // type:object size:0x200 scope:local noreloc +Ucs21 = .data:0x81649078; // type:object size:0x200 scope:local noreloc +Ucs22 = .data:0x81649278; // type:object size:0x200 scope:local noreloc +Ucs23 = .data:0x81649478; // type:object size:0x200 scope:local noreloc +Ucs25 = .data:0x81649678; // type:object size:0x200 scope:local noreloc +Ucs26 = .data:0x81649878; // type:object size:0x200 scope:local noreloc +Ucs30 = .data:0x81649A78; // type:object size:0x200 scope:local noreloc +Ucs4E = .data:0x81649C78; // type:object size:0x200 scope:local noreloc +Ucs4F = .data:0x81649E78; // type:object size:0x200 scope:local noreloc +Ucs50 = .data:0x8164A078; // type:object size:0x200 scope:local noreloc +Ucs51 = .data:0x8164A278; // type:object size:0x200 scope:local noreloc +Ucs52 = .data:0x8164A478; // type:object size:0x200 scope:local noreloc +Ucs53 = .data:0x8164A678; // type:object size:0x200 scope:local noreloc +Ucs54 = .data:0x8164A878; // type:object size:0x200 scope:local noreloc +Ucs55 = .data:0x8164AA78; // type:object size:0x200 scope:local noreloc +Ucs56 = .data:0x8164AC78; // type:object size:0x200 scope:local noreloc +Ucs57 = .data:0x8164AE78; // type:object size:0x200 scope:local noreloc +Ucs58 = .data:0x8164B078; // type:object size:0x200 scope:local noreloc +Ucs59 = .data:0x8164B278; // type:object size:0x200 scope:local noreloc +Ucs5A = .data:0x8164B478; // type:object size:0x200 scope:local noreloc +Ucs5B = .data:0x8164B678; // type:object size:0x200 scope:local noreloc +Ucs5C = .data:0x8164B878; // type:object size:0x200 scope:local noreloc +Ucs5D = .data:0x8164BA78; // type:object size:0x200 scope:local noreloc +Ucs5E = .data:0x8164BC78; // type:object size:0x200 scope:local noreloc +Ucs5F = .data:0x8164BE78; // type:object size:0x200 scope:local noreloc +Ucs60 = .data:0x8164C078; // type:object size:0x200 scope:local noreloc +Ucs61 = .data:0x8164C278; // type:object size:0x200 scope:local noreloc +Ucs62 = .data:0x8164C478; // type:object size:0x200 scope:local noreloc +Ucs63 = .data:0x8164C678; // type:object size:0x200 scope:local noreloc +Ucs64 = .data:0x8164C878; // type:object size:0x200 scope:local noreloc +Ucs65 = .data:0x8164CA78; // type:object size:0x200 scope:local noreloc +Ucs66 = .data:0x8164CC78; // type:object size:0x200 scope:local noreloc +Ucs67 = .data:0x8164CE78; // type:object size:0x200 scope:local noreloc +Ucs68 = .data:0x8164D078; // type:object size:0x200 scope:local noreloc +Ucs69 = .data:0x8164D278; // type:object size:0x200 scope:local noreloc +Ucs6A = .data:0x8164D478; // type:object size:0x200 scope:local noreloc +Ucs6B = .data:0x8164D678; // type:object size:0x200 scope:local noreloc +Ucs6C = .data:0x8164D878; // type:object size:0x200 scope:local noreloc +Ucs6D = .data:0x8164DA78; // type:object size:0x200 scope:local noreloc +Ucs6E = .data:0x8164DC78; // type:object size:0x200 scope:local noreloc +Ucs6F = .data:0x8164DE78; // type:object size:0x200 scope:local noreloc +Ucs70 = .data:0x8164E078; // type:object size:0x200 scope:local noreloc +Ucs71 = .data:0x8164E278; // type:object size:0x200 scope:local noreloc +Ucs72 = .data:0x8164E478; // type:object size:0x200 scope:local noreloc +Ucs73 = .data:0x8164E678; // type:object size:0x200 scope:local noreloc +Ucs74 = .data:0x8164E878; // type:object size:0x200 scope:local noreloc +Ucs75 = .data:0x8164EA78; // type:object size:0x200 scope:local noreloc +Ucs76 = .data:0x8164EC78; // type:object size:0x200 scope:local noreloc +Ucs77 = .data:0x8164EE78; // type:object size:0x200 scope:local noreloc +Ucs78 = .data:0x8164F078; // type:object size:0x200 scope:local noreloc +Ucs79 = .data:0x8164F278; // type:object size:0x200 scope:local noreloc +Ucs7A = .data:0x8164F478; // type:object size:0x200 scope:local noreloc +Ucs7B = .data:0x8164F678; // type:object size:0x200 scope:local noreloc +Ucs7C = .data:0x8164F878; // type:object size:0x200 scope:local noreloc +Ucs7D = .data:0x8164FA78; // type:object size:0x200 scope:local noreloc +Ucs7E = .data:0x8164FC78; // type:object size:0x200 scope:local noreloc +Ucs7F = .data:0x8164FE78; // type:object size:0x200 scope:local noreloc +Ucs80 = .data:0x81650078; // type:object size:0x200 scope:local noreloc +Ucs81 = .data:0x81650278; // type:object size:0x200 scope:local noreloc +Ucs82 = .data:0x81650478; // type:object size:0x200 scope:local noreloc +Ucs83 = .data:0x81650678; // type:object size:0x200 scope:local noreloc +Ucs84 = .data:0x81650878; // type:object size:0x200 scope:local noreloc +Ucs85 = .data:0x81650A78; // type:object size:0x200 scope:local noreloc +Ucs86 = .data:0x81650C78; // type:object size:0x200 scope:local noreloc +Ucs87 = .data:0x81650E78; // type:object size:0x200 scope:local noreloc +Ucs88 = .data:0x81651078; // type:object size:0x200 scope:local noreloc +Ucs89 = .data:0x81651278; // type:object size:0x200 scope:local noreloc +Ucs8A = .data:0x81651478; // type:object size:0x200 scope:local noreloc +Ucs8B = .data:0x81651678; // type:object size:0x200 scope:local noreloc +Ucs8C = .data:0x81651878; // type:object size:0x200 scope:local noreloc +Ucs8D = .data:0x81651A78; // type:object size:0x200 scope:local noreloc +Ucs8E = .data:0x81651C78; // type:object size:0x200 scope:local noreloc +Ucs8F = .data:0x81651E78; // type:object size:0x200 scope:local noreloc +Ucs90 = .data:0x81652078; // type:object size:0x200 scope:local noreloc +Ucs91 = .data:0x81652278; // type:object size:0x200 scope:local noreloc +Ucs92 = .data:0x81652478; // type:object size:0x200 scope:local noreloc +Ucs93 = .data:0x81652678; // type:object size:0x200 scope:local noreloc +Ucs94 = .data:0x81652878; // type:object size:0x200 scope:local noreloc +Ucs95 = .data:0x81652A78; // type:object size:0x200 scope:local noreloc +Ucs96 = .data:0x81652C78; // type:object size:0x200 scope:local noreloc +Ucs97 = .data:0x81652E78; // type:object size:0x200 scope:local noreloc +Ucs98 = .data:0x81653078; // type:object size:0x200 scope:local noreloc +Ucs99 = .data:0x81653278; // type:object size:0x200 scope:local noreloc +Ucs9A = .data:0x81653478; // type:object size:0x200 scope:local noreloc +Ucs9B = .data:0x81653678; // type:object size:0x200 scope:local noreloc +Ucs9C = .data:0x81653878; // type:object size:0x200 scope:local noreloc +Ucs9D = .data:0x81653A78; // type:object size:0x200 scope:local noreloc +Ucs9E = .data:0x81653C78; // type:object size:0x200 scope:local noreloc +Ucs9F = .data:0x81653E78; // type:object size:0x200 scope:local noreloc +UcsFF = .data:0x81654078; // type:object size:0x200 scope:local noreloc +UcsSjisTable = .data:0x81654278; // type:object size:0x400 scope:local noreloc +@586 = .data:0x81654678; // type:object size:0x13 scope:local data:string +@587 = .data:0x8165468C; // type:object size:0x13 scope:local data:string +@591 = .data:0x816546A0; // type:object size:0xC scope:local data:string +@592 = .data:0x816546AC; // type:object size:0x37 scope:local data:string +@602 = .data:0x816546E4; // type:object size:0x35 scope:local data:string +@634 = .data:0x8165471C; // type:object size:0x22 scope:local data:string +@776 = .data:0x81654740; // type:object size:0x2B scope:local data:string +@826 = .data:0x8165476C; // type:object size:0x1C scope:local +@544 = .data:0x81654788; // type:object size:0x28 scope:local data:string +@414 = .data:0x816547B0; // type:object size:0x32 scope:local data:string +...data.0 = .data:0x816547B0; // type:label scope:local +@415 = .data:0x816547E4; // type:object size:0x32 scope:local data:string +@416 = .data:0x81654818; // type:object size:0x3F scope:local data:string +@419 = .data:0x81654858; // type:object size:0x16 scope:local data:string +@421 = .data:0x81654870; // type:object size:0x14 scope:local data:string +@423 = .data:0x81654884; // type:object size:0x16 scope:local data:string +@425 = .data:0x8165489C; // type:object size:0x15 scope:local data:string +@427 = .data:0x816548B4; // type:object size:0x16 scope:local data:string +@429 = .data:0x816548CC; // type:object size:0x1A scope:local data:string +@431 = .data:0x816548E8; // type:object size:0x15 scope:local data:string +@433 = .data:0x81654900; // type:object size:0x11 scope:local data:string +@560 = .data:0x81654918; // type:object size:0x1A scope:local data:string +@830 = .data:0x81654938; // type:object size:0x11 scope:local data:string +@906 = .data:0x8165494C; // type:object size:0xD scope:local data:string +@908 = .data:0x8165495C; // type:object size:0x1B scope:local data:string lbl_81654978 = .data:0x81654978; // type:object size:0x48 data:string lbl_816549C0 = .data:0x816549C0; // type:object size:0x47 data:string Si = .data:0x81654A08; // type:object size:0x14 scope:local data:4byte @@ -17242,7 +17450,7 @@ lbl_8165637C = .data:0x8165637C; // type:object size:0xF data:string @3872 = .data:0x81656390; // type:object size:0x32 scope:local data:string lbl_816563F0 = .data:0x816563F0; // type:object size:0xE60 lbl_81657250 = .data:0x81657250; // type:object size:0x47 data:string -lbl_81657298 = .data:0x81657298; // type:object size:0x47 data:string +@223 = .data:0x81657298; // type:object size:0x47 scope:local data:string __AXMixCycles = .data:0x816572E0; // type:object size:0x80 scope:local __AXRmtMixCycles = .data:0x81657360; // type:object size:0x10 scope:local __AXCompressorTable = .data:0x81657380; // type:object size:0xFC0 @@ -17301,8 +17509,8 @@ base64_array = .data:0x8165BB00; // type:object size:0x80 scope:local jumptable_8165BB80 = .data:0x8165BB80; // type:object size:0x60 scope:local jumptable_8165BBE8 = .data:0x8165BBE8; // type:object size:0x68 scope:local jumptable_8165BC50 = .data:0x8165BC50; // type:object size:0x40 scope:local -lbl_8165BC90 = .data:0x8165BC90; // type:object size:0x24 -lbl_8165BCB4 = .data:0x8165BCB4; // type:object size:0x4C +@1009 = .data:0x8165BC90; // type:object size:0x22 scope:local data:string +@1068 = .data:0x8165BCB4; // type:object size:0x46 scope:local data:string @1687 = .data:0x8165BD00; // type:object size:0x21 scope:local data:string lbl_8165BD28 = .data:0x8165BD28; // type:object size:0x48 data:string ShutdownFunctionInfo = .data:0x8165BD70; // type:object size:0x10 scope:local @@ -17757,10 +17965,10 @@ jumptable_81668928 = .data:0x81668928; // type:object size:0x84 scope:local jumptable_816689AC = .data:0x816689AC; // type:object size:0x24 scope:local @wstringBase0 = .data:0x816689D0; // type:object size:0x58 gDBCommTable = .data:0x81668A28; // type:object size:0x28 -lbl_81668A60 = .sdata2:0x81668A60; // type:object size:0x4 align:4 data:float -lbl_81668A64 = .sdata2:0x81668A64; // type:object size:0x4 align:4 data:float -lbl_81668A68 = .sdata2:0x81668A68; // type:object size:0x4 align:4 data:float -lbl_81668A6C = .sdata2:0x81668A6C; // type:object size:0x4 align:4 data:float +@85 = .sdata2:0x81668A60; // type:object size:0x4 scope:local align:4 data:float +@86 = .sdata2:0x81668A64; // type:object size:0x4 scope:local align:4 data:float +@87 = .sdata2:0x81668A68; // type:object size:0x4 scope:local align:4 data:float +@88 = .sdata2:0x81668A6C; // type:object size:0x4 scope:local align:4 data:float lbl_81668A70 = .sdata2:0x81668A70; // type:object size:0x4 align:4 data:float lbl_81668A78 = .sdata2:0x81668A78; // type:object size:0x8 align:8 data:double lbl_81668A80 = .sdata2:0x81668A80; // type:object size:0x4 align:4 data:float @@ -17789,8 +17997,8 @@ lbl_81668AE0 = .sdata2:0x81668AE0; // type:object size:0x4 align:4 data:float lbl_81668AE4 = .sdata2:0x81668AE4; // type:object size:0x4 align:4 data:float lbl_81668AE8 = .sdata2:0x81668AE8; // type:object size:0x4 align:4 data:float lbl_81668AEC = .sdata2:0x81668AEC; // type:object size:0x4 align:4 data:float -lbl_81668AF0 = .sdata2:0x81668AF0; // type:object size:0x4 align:4 data:float -lbl_81668AF4 = .sdata2:0x81668AF4; // type:object size:0x4 align:4 data:float +@1046 = .sdata2:0x81668AF0; // type:object size:0x4 scope:local align:4 data:float +@1047 = .sdata2:0x81668AF4; // type:object size:0x4 scope:local align:4 data:float lbl_81668AF8 = .sdata2:0x81668AF8; // type:object size:0x8 data:4byte lbl_81668B00 = .sdata2:0x81668B00; // type:object size:0x4 data:4byte lbl_81668B04 = .sdata2:0x81668B04; // type:object size:0x4 data:4byte @@ -17815,23 +18023,23 @@ lbl_81668B48 = .sdata2:0x81668B48; // type:object size:0x1 data:byte lbl_81668B49 = .sdata2:0x81668B49; // type:object size:0x1 data:byte lbl_81668B4A = .sdata2:0x81668B4A; // type:object size:0x1 data:byte lbl_81668B4B = .sdata2:0x81668B4B; // type:object size:0x5 data:byte -lbl_81668B50 = .sdata2:0x81668B50; // type:object size:0x4 align:4 data:float -lbl_81668B54 = .sdata2:0x81668B54; // type:object size:0x4 align:4 data:float -lbl_81668B58 = .sdata2:0x81668B58; // type:object size:0x4 align:4 data:float -lbl_81668B5C = .sdata2:0x81668B5C; // type:object size:0x4 align:4 data:float -lbl_81668B60 = .sdata2:0x81668B60; // type:object size:0x8 align:4 data:float -lbl_81668B68 = .sdata2:0x81668B68; // type:object size:0x4 align:4 data:float -lbl_81668B6C = .sdata2:0x81668B6C; // type:object size:0x4 align:4 data:float -lbl_81668B70 = .sdata2:0x81668B70; // type:object size:0x8 align:8 data:double -lbl_81668B78 = .sdata2:0x81668B78; // type:object size:0x4 align:4 data:float -lbl_81668B7C = .sdata2:0x81668B7C; // type:object size:0x4 align:4 data:float -lbl_81668B80 = .sdata2:0x81668B80; // type:object size:0x4 align:4 data:float -lbl_81668B84 = .sdata2:0x81668B84; // type:object size:0x4 align:4 data:float -lbl_81668B88 = .sdata2:0x81668B88; // type:object size:0x4 align:4 data:float -lbl_81668B8C = .sdata2:0x81668B8C; // type:object size:0x4 align:4 data:float -lbl_81668B90 = .sdata2:0x81668B90; // type:object size:0x4 align:4 data:float -lbl_81668B94 = .sdata2:0x81668B94; // type:object size:0x4 align:4 data:float -lbl_81668B98 = .sdata2:0x81668B98; // type:object size:0x8 align:4 data:float +@3799 = .sdata2:0x81668B50; // type:object size:0x4 scope:local align:4 data:float +@3800 = .sdata2:0x81668B54; // type:object size:0x4 scope:local align:4 data:float +@3860 = .sdata2:0x81668B58; // type:object size:0x4 scope:local align:4 data:float +@3861 = .sdata2:0x81668B5C; // type:object size:0x4 scope:local align:4 data:float +@3862 = .sdata2:0x81668B60; // type:object size:0x4 scope:local align:4 data:float +@3801 = .sdata2:0x81668B68; // type:object size:0x4 scope:local align:4 data:float +@3846 = .sdata2:0x81668B6C; // type:object size:0x4 scope:local align:4 data:float +@6961 = .sdata2:0x81668B70; // type:object size:0x8 scope:local align:8 data:double +@7355 = .sdata2:0x81668B78; // type:object size:0x4 scope:local align:4 data:float +@7356 = .sdata2:0x81668B7C; // type:object size:0x4 scope:local align:4 data:float +@7607 = .sdata2:0x81668B80; // type:object size:0x4 scope:local align:4 data:float +@7608 = .sdata2:0x81668B84; // type:object size:0x4 scope:local align:4 data:float +@7609 = .sdata2:0x81668B88; // type:object size:0x4 scope:local align:4 data:float +@7900 = .sdata2:0x81668B8C; // type:object size:0x4 scope:local align:4 data:float +@7901 = .sdata2:0x81668B90; // type:object size:0x4 scope:local align:4 data:float +@7902 = .sdata2:0x81668B94; // type:object size:0x4 scope:local align:4 data:float +@7903 = .sdata2:0x81668B98; // type:object size:0x4 scope:local align:4 data:float lbl_81668BA0 = .sdata2:0x81668BA0; // type:object size:0x4 align:4 data:float lbl_81668BA4 = .sdata2:0x81668BA4; // type:object size:0x4 align:4 data:float lbl_81668BA8 = .sdata2:0x81668BA8; // type:object size:0x1 data:byte @@ -17898,17 +18106,14 @@ lbl_81668CC0 = .sdata2:0x81668CC0; // type:object size:0x4 align:4 data:float lbl_81668CC4 = .sdata2:0x81668CC4; // type:object size:0x4 align:4 data:float lbl_81668CC8 = .sdata2:0x81668CC8; // type:object size:0x4 align:4 data:float lbl_81668CD0 = .sdata2:0x81668CD0; // type:object size:0x8 align:8 data:double -lbl_81668CD8 = .sdata2:0x81668CD8; // type:object size:0x4 align:4 data:float -lbl_81668CDC = .sdata2:0x81668CDC; // type:object size:0x1 data:byte -lbl_81668CDD = .sdata2:0x81668CDD; // type:object size:0x1 data:byte -lbl_81668CDE = .sdata2:0x81668CDE; // type:object size:0x1 data:byte -lbl_81668CDF = .sdata2:0x81668CDF; // type:object size:0x1 data:byte -lbl_81668CE0 = .sdata2:0x81668CE0; // type:object size:0x8 align:4 data:float -lbl_81668CE8 = .sdata2:0x81668CE8; // type:object size:0x4 align:4 data:float -lbl_81668CEC = .sdata2:0x81668CEC; // type:object size:0x4 align:4 data:float -lbl_81668CF0 = .sdata2:0x81668CF0; // type:object size:0x8 align:8 data:double -lbl_81668CF8 = .sdata2:0x81668CF8; // type:object size:0x4 align:4 data:float -lbl_81668CFC = .sdata2:0x81668CFC; // type:object size:0x4 align:4 data:float +@3131 = .sdata2:0x81668CD8; // type:object size:0x4 scope:local align:4 data:float +@2370 = .sdata2:0x81668CDC; // type:object size:0x4 scope:local data:byte +@3533 = .sdata2:0x81668CE0; // type:object size:0x4 scope:local align:4 data:float +@4735 = .sdata2:0x81668CE8; // type:object size:0x4 scope:local align:4 data:float +@4736 = .sdata2:0x81668CEC; // type:object size:0x4 scope:local align:4 data:float +@4740 = .sdata2:0x81668CF0; // type:object size:0x8 scope:local align:8 data:double +@3747 = .sdata2:0x81668CF8; // type:object size:0x4 scope:local align:4 data:float +@3748 = .sdata2:0x81668CFC; // type:object size:0x4 scope:local align:4 data:float lbl_81668D00 = .sdata2:0x81668D00; // type:object size:0x4 align:4 data:float lbl_81668D04 = .sdata2:0x81668D04; // type:object size:0x4 align:4 data:float lbl_81668D08 = .sdata2:0x81668D08; // type:object size:0x4 align:4 data:float @@ -17951,7 +18156,7 @@ lbl_81668DB4 = .sdata2:0x81668DB4; // type:object size:0x4 align:4 data:float lbl_81668DB8 = .sdata2:0x81668DB8; // type:object size:0x4 align:4 data:float lbl_81668DBC = .sdata2:0x81668DBC; // type:object size:0x4 align:4 data:float lbl_81668DC0 = .sdata2:0x81668DC0; // type:object size:0x8 align:4 data:float -lbl_81668DC8 = .sdata2:0x81668DC8; // type:object size:0x8 align:4 data:float +@165 = .sdata2:0x81668DC8; // type:object size:0x4 scope:local align:4 data:float lbl_81668DD0 = .sdata2:0x81668DD0; // type:object size:0x4 align:4 data:float lbl_81668DD4 = .sdata2:0x81668DD4; // type:object size:0x1 data:byte lbl_81668DD5 = .sdata2:0x81668DD5; // type:object size:0x1 data:byte @@ -18661,17 +18866,17 @@ lbl_81669AC0 = .sdata2:0x81669AC0; // type:object size:0x4 align:4 data:float lbl_81669AC8 = .sdata2:0x81669AC8; // type:object size:0x8 align:8 data:double lbl_81669AD0 = .sdata2:0x81669AD0; // type:object size:0x8 align:4 data:float lbl_81669AD8 = .sdata2:0x81669AD8; // type:object size:0x8 align:4 data:float -lbl_81669AE0 = .sdata2:0x81669AE0; // type:object size:0x4 align:4 data:float -lbl_81669AE4 = .sdata2:0x81669AE4; // type:object size:0x4 align:4 data:float -lbl_81669AE8 = .sdata2:0x81669AE8; // type:object size:0x4 align:4 data:float -lbl_81669AEC = .sdata2:0x81669AEC; // type:object size:0x4 align:4 data:float -lbl_81669AF0 = .sdata2:0x81669AF0; // type:object size:0x4 align:4 data:float -lbl_81669AF4 = .sdata2:0x81669AF4; // type:object size:0x4 align:4 data:float -lbl_81669AF8 = .sdata2:0x81669AF8; // type:object size:0x4 align:4 data:float -lbl_81669AFC = .sdata2:0x81669AFC; // type:object size:0x4 align:4 data:float -lbl_81669B00 = .sdata2:0x81669B00; // type:object size:0x8 align:4 data:float -lbl_81669B08 = .sdata2:0x81669B08; // type:object size:0x4 align:4 data:float -lbl_81669B0C = .sdata2:0x81669B0C; // type:object size:0x4 align:4 data:float +@238 = .sdata2:0x81669AE0; // type:object size:0x4 scope:local align:4 data:float +@239 = .sdata2:0x81669AE4; // type:object size:0x4 scope:local align:4 data:float +@586 = .sdata2:0x81669AE8; // type:object size:0x4 scope:local align:4 data:float +@587 = .sdata2:0x81669AEC; // type:object size:0x4 scope:local align:4 data:float +@608 = .sdata2:0x81669AF0; // type:object size:0x4 scope:local align:4 data:float +@609 = .sdata2:0x81669AF4; // type:object size:0x4 scope:local align:4 data:float +@611 = .sdata2:0x81669AF8; // type:object size:0x4 scope:local align:4 data:float +@630 = .sdata2:0x81669AFC; // type:object size:0x4 scope:local align:4 data:float +@631 = .sdata2:0x81669B00; // type:object size:0x4 scope:local align:4 data:float +@239 = .sdata2:0x81669B08; // type:object size:0x4 scope:local align:4 data:float +@240 = .sdata2:0x81669B0C; // type:object size:0x4 scope:local align:4 data:float lbl_81669B10 = .sdata2:0x81669B10; // type:object size:0x4 align:4 data:float lbl_81669B14 = .sdata2:0x81669B14; // type:object size:0x4 align:4 data:float lbl_81669B18 = .sdata2:0x81669B18; // type:object size:0x1 data:byte @@ -18799,12 +19004,9 @@ lbl_81669C10 = .sdata2:0x81669C10; // type:object size:0x8 align:4 data:float lbl_81669C18 = .sdata2:0x81669C18; // type:object size:0x4 align:4 data:float lbl_81669C1C = .sdata2:0x81669C1C; // type:object size:0x4 align:4 data:float lbl_81669C20 = .sdata2:0x81669C20; // type:object size:0x8 align:8 data:double -lbl_81669C28 = .sdata2:0x81669C28; // type:object size:0x2 data:2byte -lbl_81669C2A = .sdata2:0x81669C2A; // type:object size:0x2 data:2byte -lbl_81669C2C = .sdata2:0x81669C2C; // type:object size:0x2 data:2byte -lbl_81669C2E = .sdata2:0x81669C2E; // type:object size:0x2 data:2byte -lbl_81669C30 = .sdata2:0x81669C30; // type:object size:0x4 align:4 data:float -lbl_81669C38 = .sdata2:0x81669C38; // type:object size:0x8 align:8 data:double +@499 = .sdata2:0x81669C28; // type:object size:0x8 scope:local data:2byte +@815 = .sdata2:0x81669C30; // type:object size:0x4 scope:local align:4 data:float +@817 = .sdata2:0x81669C38; // type:object size:0x8 scope:local align:8 data:double __EXIFreq = .sdata2:0x81669C40; // type:object size:0x4 data:4byte lbl_81669C48 = .sdata2:0x81669C48; // type:object size:0x4 align:4 data:float lbl_81669C4C = .sdata2:0x81669C4C; // type:object size:0x4 align:4 data:float @@ -19209,13 +19411,13 @@ LOAD_GLYPH_ALL__Q44nw4r2ut6detail15ArchiveFontBase = .sbss2:0x8166A638; // type: DefaultBlackColor = .sbss2:0x8166A640; // type:object size:0x8 scope:local data:2byte bta_dm_pm_cfg = .sbss2:0x8166A648; // type:object size:0x8 bd_addr_null = .sbss2:0x8166A650; // type:object size:0x8 -lbl_8166A660 = .sdata:0x8166A660; // type:object size:0x4 data:string +@27 = .sdata:0x8166A660; // type:object size:0x4 scope:local data:string RBRFileType_Txt = .sdata:0x8166A664; // type:object size:0x4 data:4byte -lbl_8166A668 = .sdata:0x8166A668; // type:object size:0x4 data:string +@28 = .sdata:0x8166A668; // type:object size:0x4 scope:local data:string RBRFileType_Odh = .sdata:0x8166A66C; // type:object size:0x4 data:4byte -lbl_8166A670 = .sdata:0x8166A670; // type:object size:0x4 data:string +@29 = .sdata:0x8166A670; // type:object size:0x4 scope:local data:string RBRFileType_Dat = .sdata:0x8166A674; // type:object size:0x4 data:4byte -lbl_8166A678 = .sdata:0x8166A678; // type:object size:0x4 data:string +@30 = .sdata:0x8166A678; // type:object size:0x4 scope:local data:string RBRFileType_Log = .sdata:0x8166A67C; // type:object size:0x4 data:4byte lbl_8166A680 = .sdata:0x8166A680; // type:object size:0x8 data:string lbl_8166A688 = .sdata:0x8166A688; // type:object size:0x3 data:string @@ -19227,16 +19429,16 @@ lbl_8166A6A4 = .sdata:0x8166A6A4; // type:object size:0x4 lbl_8166A6A8 = .sdata:0x8166A6A8; // type:object size:0x3 data:string lbl_8166A6AB = .sdata:0x8166A6AB; // type:object size:0x5 data:string lbl_8166A6B0 = .sdata:0x8166A6B0; // type:object size:0x8 -lbl_8166A6B8 = .sdata:0x8166A6B8; // type:object size:0x3 data:string -lbl_8166A6BB = .sdata:0x8166A6BB; // type:object size:0x5 data:string -lbl_8166A6C0 = .sdata:0x8166A6C0; // type:object size:0x2 data:string -lbl_8166A6C2 = .sdata:0x8166A6C2; // type:object size:0x6 +@4748 = .sdata:0x8166A6B8; // type:object size:0x3 scope:local data:string +@4761 = .sdata:0x8166A6BB; // type:object size:0x5 scope:local data:string +@4858 = .sdata:0x8166A6C0; // type:object size:0x2 scope:local data:string +@4929 = .sdata:0x8166A6C2; // type:object size:0x5 scope:local data:string lbl_8166A6C8 = .sdata:0x8166A6C8; // type:object size:0x8 -lbl_8166A6D0 = .sdata:0x8166A6D0; // type:object size:0x8 -lbl_8166A6D8 = .sdata:0x8166A6D8; // type:object size:0x1 -lbl_8166A6D9 = .sdata:0x8166A6D9; // type:object size:0x3 data:string -lbl_8166A6DC = .sdata:0x8166A6DC; // type:object size:0xC -lbl_8166A6E8 = .sdata:0x8166A6E8; // type:object size:0x8 +@3918 = .sdata:0x8166A6D0; // type:object size:0x3 scope:local data:string +@3950 = .sdata:0x8166A6D8; // type:object size:0x1 scope:local +@3952 = .sdata:0x8166A6D9; // type:object size:0x3 scope:local data:string +@4014 = .sdata:0x8166A6DC; // type:object size:0x8 scope:local data:string +@3646 = .sdata:0x8166A6E8; // type:object size:0x5 scope:local data:string lbl_8166A6F0 = .sdata:0x8166A6F0; // type:object size:0x4 data:string lbl_8166A6F4 = .sdata:0x8166A6F4; // type:object size:0x4 data:string lbl_8166A6F8 = .sdata:0x8166A6F8; // type:object size:0x6 @@ -19245,27 +19447,27 @@ lbl_8166A704 = .sdata:0x8166A704; // type:object size:0x4 data:wstring lbl_8166A708 = .sdata:0x8166A708; // type:object size:0x8 lbl_8166A710 = .sdata:0x8166A710; // type:object size:0x6 data:wstring lbl_8166A716 = .sdata:0x8166A716; // type:object size:0xA -lbl_8166A720 = .sdata:0x8166A720; // type:object size:0x4 data:string -lbl_8166A724 = .sdata:0x8166A724; // type:object size:0x7 data:string -lbl_8166A72B = .sdata:0x8166A72B; // type:object size:0xD -lbl_8166A738 = .sdata:0x8166A738; // type:object size:0x8 data:string -lbl_8166A740 = .sdata:0x8166A740; // type:object size:0x6 data:string -lbl_8166A746 = .sdata:0x8166A746; // type:object size:0xA -lbl_8166A750 = .sdata:0x8166A750; // type:object size:0x7 data:string -lbl_8166A757 = .sdata:0x8166A757; // type:object size:0x7 data:string -lbl_8166A75E = .sdata:0x8166A75E; // type:object size:0x7 data:string -lbl_8166A765 = .sdata:0x8166A765; // type:object size:0x4 data:string -lbl_8166A769 = .sdata:0x8166A769; // type:object size:0x8 data:string -lbl_8166A771 = .sdata:0x8166A771; // type:object size:0x7 data:string -lbl_8166A778 = .sdata:0x8166A778; // type:object size:0x7 data:string -lbl_8166A77F = .sdata:0x8166A77F; // type:object size:0x8 data:string -lbl_8166A787 = .sdata:0x8166A787; // type:object size:0x7 data:string -lbl_8166A78E = .sdata:0x8166A78E; // type:object size:0x7 data:string -lbl_8166A795 = .sdata:0x8166A795; // type:object size:0x7 data:string -lbl_8166A79C = .sdata:0x8166A79C; // type:object size:0x7 data:string -lbl_8166A7A3 = .sdata:0x8166A7A3; // type:object size:0x7 data:string -lbl_8166A7AA = .sdata:0x8166A7AA; // type:object size:0x6 data:string -lbl_8166A7B0 = .sdata:0x8166A7B0; // type:object size:0x6 data:string +@3802 = .sdata:0x8166A720; // type:object size:0x4 scope:local data:string +@3857 = .sdata:0x8166A724; // type:object size:0x7 scope:local data:string +@3858 = .sdata:0x8166A72B; // type:object size:0x7 scope:local data:string +@3845 = .sdata:0x8166A738; // type:object size:0x8 scope:local data:string +@3847 = .sdata:0x8166A740; // type:object size:0x6 scope:local data:string +@3848 = .sdata:0x8166A746; // type:object size:0x7 scope:local data:string +@3595 = .sdata:0x8166A750; // type:object size:0x7 scope:local data:string +@3596 = .sdata:0x8166A757; // type:object size:0x7 scope:local data:string +@3597 = .sdata:0x8166A75E; // type:object size:0x7 scope:local data:string +@6805 = .sdata:0x8166A765; // type:object size:0x4 scope:local data:string +@6808 = .sdata:0x8166A769; // type:object size:0x8 scope:local data:string +@6811 = .sdata:0x8166A771; // type:object size:0x7 scope:local data:string +@6813 = .sdata:0x8166A778; // type:object size:0x7 scope:local data:string +@6814 = .sdata:0x8166A77F; // type:object size:0x8 scope:local data:string +@6815 = .sdata:0x8166A787; // type:object size:0x7 scope:local data:string +@7351 = .sdata:0x8166A78E; // type:object size:0x7 scope:local data:string +@7353 = .sdata:0x8166A795; // type:object size:0x7 scope:local data:string +@7354 = .sdata:0x8166A79C; // type:object size:0x7 scope:local data:string +@7452 = .sdata:0x8166A7A3; // type:object size:0x7 scope:local data:string +@7508 = .sdata:0x8166A7AA; // type:object size:0x6 scope:local data:string +@7667 = .sdata:0x8166A7B0; // type:object size:0x6 scope:local data:string c_banner_file_name__Q23ipl12NandSDWorker = .sdata:0x8166A7B8; // type:object size:0x4 data:4byte lbl_8166A7BC = .sdata:0x8166A7BC; // type:object size:0x8 c_nocopy_folder_name__Q23ipl12NandSDWorker = .sdata:0x8166A7C4; // type:object size:0x4 data:4byte @@ -19289,7 +19491,7 @@ lbl_8166A80F = .sdata:0x8166A80F; // type:object size:0x5 data:string lbl_8166A814 = .sdata:0x8166A814; // type:object size:0x4 data:string lbl_8166A818 = .sdata:0x8166A818; // type:object size:0x4 data:string lbl_8166A81C = .sdata:0x8166A81C; // type:object size:0x4 -lbl_8166A820 = .sdata:0x8166A820; // type:object size:0x8 +@3796 = .sdata:0x8166A820; // type:object size:0x4 scope:local data:string lbl_8166A828 = .sdata:0x8166A828; // type:object size:0x8 lbl_8166A830 = .sdata:0x8166A830; // type:object size:0x4 data:4byte lbl_8166A834 = .sdata:0x8166A834; // type:object size:0x5 data:string @@ -19332,7 +19534,7 @@ lbl_8166A8C5 = .sdata:0x8166A8C5; // type:object size:0x5 data:string lbl_8166A8CA = .sdata:0x8166A8CA; // type:object size:0x6 data:string lbl_8166A8D0 = .sdata:0x8166A8D0; // type:object size:0x7 data:string lbl_8166A8D7 = .sdata:0x8166A8D7; // type:object size:0x9 -lbl_8166A8E0 = .sdata:0x8166A8E0; // type:object size:0x4 data:string +@5060 = .sdata:0x8166A8E0; // type:object size:0x4 scope:local data:string lbl_8166A8E8 = .sdata:0x8166A8E8; // type:object size:0x5 data:string sProtocolName__Q23www9arcreader = .sdata:0x8166A8F0; // type:object size:0x4 data:4byte lbl_8166A8F4 = .sdata:0x8166A8F4; // type:object size:0x7 data:string @@ -19422,10 +19624,10 @@ lbl_8166AB05 = .sdata:0x8166AB05; // type:object size:0x7 data:string lbl_8166AB0C = .sdata:0x8166AB0C; // type:object size:0x4 data:string lbl_8166AB10 = .sdata:0x8166AB10; // type:object size:0x8 data:string lbl_8166AB18 = .sdata:0x8166AB18; // type:object size:0x8 data:string -lbl_8166AB20 = .sdata:0x8166AB20; // type:object size:0x5 data:string -lbl_8166AB25 = .sdata:0x8166AB25; // type:object size:0x4 data:string -lbl_8166AB29 = .sdata:0x8166AB29; // type:object size:0x5 data:string -lbl_8166AB2E = .sdata:0x8166AB2E; // type:object size:0x7 data:string +@465 = .sdata:0x8166AB20; // type:object size:0x5 scope:local data:string +@466 = .sdata:0x8166AB25; // type:object size:0x4 scope:local data:string +@467 = .sdata:0x8166AB29; // type:object size:0x5 scope:local data:string +@468 = .sdata:0x8166AB2E; // type:object size:0x7 scope:local data:string BS2BootCaching = .sdata:0x8166AB38; // type:object size:0x4 data:4byte BS2WaitSpinup = .sdata:0x8166AB3C; // type:object size:0x4 data:4byte lbl_8166AB40 = .sdata:0x8166AB40; // type:object size:0x4 data:4byte @@ -19467,7 +19669,7 @@ lbl_8166AC04 = .sdata:0x8166AC04; // type:object size:0x4 data:string lbl_8166AC08 = .sdata:0x8166AC08; // type:object size:0x2 lbl_8166AC0A = .sdata:0x8166AC0A; // type:object size:0x6 data:string lbl_8166AC10 = .sdata:0x8166AC10; // type:object size:0x8 data:wstring -lbl_8166AC18 = .sdata:0x8166AC18; // type:object size:0x8 +@3778 = .sdata:0x8166AC18; // type:object size:0x4 scope:local data:string lbl_8166AC20 = .sdata:0x8166AC20; // type:object size:0x4 data:string lbl_8166AC24 = .sdata:0x8166AC24; // type:object size:0x7 data:string lbl_8166AC2B = .sdata:0x8166AC2B; // type:object size:0x8 data:string @@ -19678,29 +19880,29 @@ lbl_8166B132 = .sdata:0x8166B132; // type:object size:0x6 data:string lbl_8166B138 = .sdata:0x8166B138; // type:object size:0x7 data:string lbl_8166B13F = .sdata:0x8166B13F; // type:object size:0x8 data:string lbl_8166B147 = .sdata:0x8166B147; // type:object size:0x9 -lbl_8166B150 = .sdata:0x8166B150; // type:object size:0x8 data:string -lbl_8166B158 = .sdata:0x8166B158; // type:object size:0x8 data:string -lbl_8166B160 = .sdata:0x8166B160; // type:object size:0x8 data:string -lbl_8166B168 = .sdata:0x8166B168; // type:object size:0x4 data:string -lbl_8166B16C = .sdata:0x8166B16C; // type:object size:0x6 data:string -lbl_8166B172 = .sdata:0x8166B172; // type:object size:0xE +@3587 = .sdata:0x8166B150; // type:object size:0x8 scope:local data:string +@3597 = .sdata:0x8166B158; // type:object size:0x8 scope:local data:string +@3598 = .sdata:0x8166B160; // type:object size:0x8 scope:local data:string +@4299 = .sdata:0x8166B168; // type:object size:0x4 scope:local data:string +@4302 = .sdata:0x8166B16C; // type:object size:0x6 scope:local data:string +@4304 = .sdata:0x8166B172; // type:object size:0x7 scope:local data:string lbl_8166B180 = .sdata:0x8166B180; // type:object size:0x2 lbl_8166B182 = .sdata:0x8166B182; // type:object size:0x6 -lbl_8166B188 = .sdata:0x8166B188; // type:object size:0x6 data:string -lbl_8166B18E = .sdata:0x8166B18E; // type:object size:0x6 data:string -lbl_8166B194 = .sdata:0x8166B194; // type:object size:0x6 data:string -lbl_8166B19A = .sdata:0x8166B19A; // type:object size:0x6 data:string -lbl_8166B1A0 = .sdata:0x8166B1A0; // type:object size:0x6 data:string -lbl_8166B1A6 = .sdata:0x8166B1A6; // type:object size:0x6 data:string -lbl_8166B1AC = .sdata:0x8166B1AC; // type:object size:0x6 data:string -lbl_8166B1B2 = .sdata:0x8166B1B2; // type:object size:0x6 data:string -lbl_8166B1B8 = .sdata:0x8166B1B8; // type:object size:0x6 data:string -lbl_8166B1BE = .sdata:0x8166B1BE; // type:object size:0x6 data:string -lbl_8166B1C4 = .sdata:0x8166B1C4; // type:object size:0x6 data:string -lbl_8166B1CA = .sdata:0x8166B1CA; // type:object size:0x6 data:string -lbl_8166B1D0 = .sdata:0x8166B1D0; // type:object size:0x4 data:string -lbl_8166B1D4 = .sdata:0x8166B1D4; // type:object size:0x6 data:string -lbl_8166B1DA = .sdata:0x8166B1DA; // type:object size:0xE +@3592 = .sdata:0x8166B188; // type:object size:0x6 scope:local data:string +@3593 = .sdata:0x8166B18E; // type:object size:0x6 scope:local data:string +@3594 = .sdata:0x8166B194; // type:object size:0x6 scope:local data:string +@3595 = .sdata:0x8166B19A; // type:object size:0x6 scope:local data:string +@3596 = .sdata:0x8166B1A0; // type:object size:0x6 scope:local data:string +@3597 = .sdata:0x8166B1A6; // type:object size:0x6 scope:local data:string +@3598 = .sdata:0x8166B1AC; // type:object size:0x6 scope:local data:string +@3599 = .sdata:0x8166B1B2; // type:object size:0x6 scope:local data:string +@3600 = .sdata:0x8166B1B8; // type:object size:0x6 scope:local data:string +@3601 = .sdata:0x8166B1BE; // type:object size:0x6 scope:local data:string +@3602 = .sdata:0x8166B1C4; // type:object size:0x6 scope:local data:string +@3603 = .sdata:0x8166B1CA; // type:object size:0x6 scope:local data:string +@4318 = .sdata:0x8166B1D0; // type:object size:0x4 scope:local data:string +@4324 = .sdata:0x8166B1D4; // type:object size:0x6 scope:local data:string +@4326 = .sdata:0x8166B1DA; // type:object size:0x7 scope:local data:string lbl_8166B1E8 = .sdata:0x8166B1E8; // type:object size:0x4 data:string lbl_8166B1EC = .sdata:0x8166B1EC; // type:object size:0xC lbl_8166B1F8 = .sdata:0x8166B1F8; // type:object size:0x4 data:string @@ -19978,11 +20180,11 @@ lbl_8166B858 = .sdata:0x8166B858; // type:object size:0x8 lbl_8166B860 = .sdata:0x8166B860; // type:object size:0x4 data:4byte lbl_8166B864 = .sdata:0x8166B864; // type:object size:0x4 data:4byte lbl_8166B868 = .sdata:0x8166B868; // type:object size:0x8 -lbl_8166B870 = .sdata:0x8166B870; // type:object size:0x8 -lbl_8166B878 = .sdata:0x8166B878; // type:object size:0x8 -lbl_8166B880 = .sdata:0x8166B880; // type:object size:0x4 data:string -lbl_8166B884 = .sdata:0x8166B884; // type:object size:0x8 data:string -lbl_8166B88C = .sdata:0x8166B88C; // type:object size:0xC +@3655 = .sdata:0x8166B870; // type:object size:0x4 scope:local data:string +scBtnSoundType__Q23ipl5scene = .sdata:0x8166B878; // type:object size:0x8 scope:local +@4382 = .sdata:0x8166B880; // type:object size:0x4 scope:local data:string +@4385 = .sdata:0x8166B884; // type:object size:0x8 scope:local data:string +@4392 = .sdata:0x8166B88C; // type:object size:0x6 scope:local data:string lbl_8166B898 = .sdata:0x8166B898; // type:object size:0x4 data:string lbl_8166B89C = .sdata:0x8166B89C; // type:object size:0xC lbl_8166B8A8 = .sdata:0x8166B8A8; // type:object size:0x2 @@ -20327,7 +20529,7 @@ __NCDUnofficialVersion = .sdata:0x8166C0C4; // type:object size:0x4 data:4byte padding$ = .sdata:0x8166C0C8; // type:object size:0x1 scope:local lbl_8166C0D0 = .sdata:0x8166C0D0; // type:object size:0x8 lbl_8166C0D8 = .sdata:0x8166C0D8; // type:object size:0x8 -lbl_8166C0E0 = .sdata:0x8166C0E0; // type:object size:0x8 data:4byte +NETRexPPCVersionPrintableString = .sdata:0x8166C0E0; // type:object size:0x4 data:4byte lbl_8166C0E8 = .sdata:0x8166C0E8; // type:object size:0x8 lbl_8166C0F0 = .sdata:0x8166C0F0; // type:object size:0x8 data:string lbl_8166C0F8 = .sdata:0x8166C0F8; // type:object size:0x4 @@ -20480,25 +20682,25 @@ lbl_8166C418 = .sdata:0x8166C418; // type:object size:0x8 lbl_8166C420 = .sdata:0x8166C420; // type:object size:0x4 lbl_8166C424 = .sdata:0x8166C424; // type:object size:0x4 __OSVersion = .sdata:0x8166C428; // type:object size:0x4 data:4byte -@1730 = .sdata:0x8166C42C; // type:object size:0x7 scope:local data:string -@1740 = .sdata:0x8166C434; // type:object size:0x6 scope:local data:string -lbl_8166C43C = .sdata:0x8166C43C; // type:object size:0x4 data:string -lbl_8166C440 = .sdata:0x8166C440; // type:object size:0x8 -lbl_8166C448 = .sdata:0x8166C448; // type:object size:0x8 -lbl_8166C450 = .sdata:0x8166C450; // type:object size:0x8 data:4byte +@1263 = .sdata:0x8166C42C; // type:object size:0x7 scope:local data:string +@1273 = .sdata:0x8166C434; // type:object size:0x6 scope:local data:string +@1337 = .sdata:0x8166C43C; // type:object size:0x4 scope:local data:string +@1339 = .sdata:0x8166C440; // type:object size:0x5 scope:local data:string +@710 = .sdata:0x8166C448; // type:object size:0x5 scope:local data:string +AppGameNameForSysMenu = .sdata:0x8166C450; // type:object size:0x4 scope:local data:4byte __OSCurrHeap = .sdata:0x8166C458; // type:object size:0x4 data:4byte -__OSArenaLo = .sdata:0x8166C460; // type:object size:0x4 scope:local data:4byte +__OSArenaLo = .sdata:0x8166C460; // type:object size:0x4 scope:global data:4byte s_mem2ArenaLo = .sdata:0x8166C464; // type:object size:0x4 scope:local data:4byte __OSFpscrEnableBits = .sdata:0x8166C468; // type:object size:0x4 data:4byte -@691 = .sdata:0x8166C46C; // type:object size:0x2 scope:local data:string -lbl_8166C470 = .sdata:0x8166C470; // type:object size:0x8 data:string +@532 = .sdata:0x8166C46C; // type:object size:0x2 scope:local data:string +@1056 = .sdata:0x8166C470; // type:object size:0x8 scope:local data:string FontEncode = .sdata:0x8166C478; // type:object size:0x2 scope:local data:2byte -lbl_8166C480 = .sdata:0x8166C480; // type:object size:0x8 +@660 = .sdata:0x8166C480; // type:object size:0x1 scope:local SwitchThreadCallback = .sdata:0x8166C488; // type:object size:0x4 scope:local data:4byte -lbl_8166C48C = .sdata:0x8166C48C; // type:object size:0x4 +@2026 = .sdata:0x8166C48C; // type:object size:0x1 scope:local IpcBufferLo = .sdata:0x8166C490; // type:object size:0x4 scope:local data:4byte PlayRecordState = .sdata:0x8166C498; // type:object size:0x4 scope:local data:4byte -@1548 = .sdata:0x8166C4A0; // type:object size:0x8 scope:local data:string +@907 = .sdata:0x8166C4A0; // type:object size:0x8 scope:local data:string __EXIVersion = .sdata:0x8166C4A8; // type:object size:0x4 scope:global data:4byte __SIVersion = .sdata:0x8166C4B0; // type:object size:0x4 scope:global data:4byte __VIVersion = .sdata:0x8166C4B8; // type:object size:0x4 data:4byte @@ -20545,7 +20747,7 @@ DmaCommand = .sdata:0x8166C57C; // type:object size:0x4 scope:local data:4byte DiFD = .sdata:0x8166C580; // type:object size:0x8 scope:local data:4byte lbl_8166C588 = .sdata:0x8166C588; // type:object size:0x8 data:string __AIVersion = .sdata:0x8166C590; // type:object size:0x8 data:4byte -__AXVersion = .sdata:0x8166C598; // type:object size:0x8 data:4byte +__AXVersion = .sdata:0x8166C598; // type:object size:0x4 data:4byte axDspInitVector = .sdata:0x8166C5A0; // type:object size:0x2 data:2byte axDspResumeVector = .sdata:0x8166C5A2; // type:object size:0x2 data:2byte axDspSlaveLength = .sdata:0x8166C5A4; // type:object size:0x2 data:2byte @@ -20611,7 +20813,7 @@ lbl_8166C748 = .sdata:0x8166C748; // type:object size:0x8 lbl_8166C750 = .sdata:0x8166C750; // type:object size:0x8 __ENCVersion = .sdata:0x8166C758; // type:object size:0x4 data:4byte enc_tbl_uhc_loaded = .sdata:0x8166C760; // type:object size:0x4 data:4byte -lbl_8166C768 = .sdata:0x8166C768; // type:object size:0x6 data:string +@1008 = .sdata:0x8166C768; // type:object size:0x6 scope:local data:string __esFd = .sdata:0x8166C770; // type:object size:0x4 scope:local data:4byte lbl_8166C778 = .sdata:0x8166C778; // type:object size:0x8 data:string __mailboxAck = .sdata:0x8166C780; // type:object size:0x4 scope:local data:4byte @@ -20902,8 +21104,8 @@ user_used_fsblocks__Q23ipl8nandwall = .sbss:0x8166CCC8; // type:object size:0x4 user_used_inodes__Q23ipl8nandwall = .sbss:0x8166CCCC; // type:object size:0x4 data:4byte global_free_inode__Q23ipl8nandwall = .sbss:0x8166CCD0; // type:object size:0x4 data:4byte global_free_fsblock__Q23ipl8nandwall = .sbss:0x8166CCD4; // type:object size:0x4 data:4byte -lbl_8166CCD8 = .sbss:0x8166CCD8; // type:object size:0x8 -lbl_8166CCE0 = .sbss:0x8166CCE0; // type:object size:0x8 +sDlgBtn1Size__3ipl = .sbss:0x8166CCD8; // type:object size:0x8 scope:local +sDlgBtn1SmlSize__3ipl = .sbss:0x8166CCE0; // type:object size:0x8 scope:local lbl_8166CCE8 = .sbss:0x8166CCE8; // type:object size:0x1 data:byte s_sd_state__Q23ipl12NandSDWorker = .sbss:0x8166CCF0; // type:object size:0x4 data:4byte lbl_8166CCF4 = .sbss:0x8166CCF4; // type:object size:0x4 data:4byte @@ -21398,13 +21600,13 @@ __OSInIPL = .sbss:0x8166D5F0; // type:object size:0x4 data:4byte __OSInNandBoot = .sbss:0x8166D5F4; // type:object size:0x4 data:4byte __OSIsGcam = .sbss:0x8166D5F8; // type:object size:0x4 data:4byte AreWeInitialized = .sbss:0x8166D5FC; // type:object size:0x4 scope:local data:4byte -OSExceptionTable = .sbss:0x8166D600; // type:object size:0x8 data:4byte +OSExceptionTable = .sbss:0x8166D600; // type:object size:0x4 data:4byte ZeroPS = .sbss:0x8166D608; // type:object size:0x8 scope:local ZeroF = .sbss:0x8166D610; // type:object size:0x8 scope:local align:8 data:double GameNameBuffer = .sbss:0x8166D618; // type:object size:0x5 scope:local data:byte BI2DebugFlagHolder = .sbss:0x8166D620; // type:object size:0x4 scope:local data:4byte BI2DebugFlag = .sbss:0x8166D624; // type:object size:0x4 scope:local data:4byte -BootInfo = .sbss:0x8166D628; // type:object size:0x8 scope:local data:4byte +BootInfo = .sbss:0x8166D628; // type:object size:0x4 scope:local data:4byte __OSStartTime = .sbss:0x8166D630; // type:object size:0x8 data:4byte AlarmQueue = .sbss:0x8166D638; // type:object size:0x8 scope:local data:4byte ArenaEnd = .sbss:0x8166D640; // type:object size:0x4 scope:local data:4byte @@ -21422,20 +21624,20 @@ __OSLastInterruptSrr0 = .sbss:0x8166D670; // type:object size:0x4 scope:global d __OSLastInterrupt = .sbss:0x8166D674; // type:object size:0x2 scope:global data:2byte __OSLastInterruptTime = .sbss:0x8166D678; // type:object size:0x8 scope:global data:4byte InterruptHandlerTable = .sbss:0x8166D680; // type:object size:0x4 scope:local data:4byte -bootThisDol = .sbss:0x8166D688; // type:object size:0x8 scope:local data:4byte +__OSIsReturnToIdle = .sbss:0x8166D688; // type:object size:0x4 data:4byte ShutdownFunctionQueue = .sbss:0x8166D690; // type:object size:0x8 scope:local data:4byte Reschedule = .sbss:0x8166D698; // type:object size:0x4 scope:local data:4byte RunQueueHint = .sbss:0x8166D69C; // type:object size:0x4 scope:local data:4byte RunQueueBits = .sbss:0x8166D6A0; // type:object size:0x4 scope:local data:4byte -IpcBufferHi = .sbss:0x8166D6A8; // type:object size:0x8 scope:local data:4byte -ResetDown = .sbss:0x8166D6B0; // type:object size:0x4 scope:local data:4byte -StmReady = .sbss:0x8166D6B4; // type:object size:0x4 scope:local data:4byte -StmImDesc = .sbss:0x8166D6B8; // type:object size:0x4 scope:local data:4byte -StmEhDesc = .sbss:0x8166D6BC; // type:object size:0x4 scope:local data:4byte -StmEhRegistered = .sbss:0x8166D6C0; // type:object size:0x4 scope:local data:4byte -StmVdInUse = .sbss:0x8166D6C4; // type:object size:0x4 scope:local data:4byte -PowerCallback = .sbss:0x8166D6C8; // type:object size:0x4 scope:local data:4byte -ResetCallback = .sbss:0x8166D6CC; // type:object size:0x4 scope:local data:4byte +IpcBufferHi = .sbss:0x8166D6A8; // type:object size:0x4 scope:local data:4byte +ResetDown = .sbss:0x8166D6B0; // type:object size:0x4 scope:global data:4byte +StmReady = .sbss:0x8166D6B4; // type:object size:0x4 scope:global data:4byte +StmImDesc = .sbss:0x8166D6B8; // type:object size:0x4 scope:global data:4byte +StmEhDesc = .sbss:0x8166D6BC; // type:object size:0x4 scope:global data:4byte +StmEhRegistered = .sbss:0x8166D6C0; // type:object size:0x4 scope:global data:4byte +StmVdInUse = .sbss:0x8166D6C4; // type:object size:0x4 scope:global data:4byte +PowerCallback = .sbss:0x8166D6C8; // type:object size:0x4 scope:global data:4byte +ResetCallback = .sbss:0x8166D6CC; // type:object size:0x4 scope:global data:4byte PlayRecordGet = .sbss:0x8166D6D0; // type:object size:0x4 scope:local data:4byte PlayRecordError = .sbss:0x8166D6D4; // type:object size:0x4 scope:local data:4byte PlayRecordTerminate = .sbss:0x8166D6D8; // type:object size:0x4 scope:local data:4byte @@ -21445,7 +21647,7 @@ PlayRecordLastError = .sbss:0x8166D6E4; // type:object size:0x4 scope:local data PlayRecordLastCloseTime = .sbss:0x8166D6E8; // type:object size:0x8 scope:local data:4byte __OSExpireAIFade = .sbss:0x8166D6F0; // type:object size:0x4 data:4byte __OSExpireSetExpiredFlag = .sbss:0x8166D6F4; // type:object size:0x4 data:4byte -__OSExpireCallback = .sbss:0x8166D6F8; // type:object size:0x4 data:4byte +__OSExpireThread = .sbss:0x8166D6F8; // type:object size:0x4 data:4byte __OSExpireTime = .sbss:0x8166D700; // type:object size:0x8 data:4byte IDSerialPort1 = .sbss:0x8166D708; // type:object size:0x4 scope:local data:4byte Enabled = .sbss:0x8166D710; // type:object size:0x4 scope:local data:4byte @@ -21566,7 +21768,7 @@ LastState = .sbss:0x8166D934; // type:object size:0x4 scope:local data:4byte ExistFlag = .sbss:0x8166D938; // type:object size:0x4 scope:local data:4byte NextOffset = .sbss:0x8166D93C; // type:object size:0x4 scope:local data:4byte Callback = .sbss:0x8166D940; // type:object size:0x4 scope:local data:4byte -FatalFunc = .sbss:0x8166D948; // type:object size:0x8 data:4byte +FatalFunc = .sbss:0x8166D948; // type:object size:0x4 scope:local data:4byte requestInProgress = .sbss:0x8166D950; // type:object size:0x1 scope:local data:byte callbackInProgress = .sbss:0x8166D951; // type:object size:0x1 scope:local data:byte freeCommandBuf = .sbss:0x8166D954; // type:object size:0x4 scope:local data:4byte @@ -21704,7 +21906,7 @@ hi$689 = .sbss:0x8166DBA0; // type:object size:0x4 scope:local data:4byte hId = .sbss:0x8166DBA4; // type:object size:0x4 scope:local data:4byte recalibrated$956 = .sbss:0x8166DBA8; // type:object size:0x4 scope:local data:4byte SamplingCallback = .sbss:0x8166DBAC; // type:object size:0x4 scope:local data:4byte -__PADSpec = .sbss:0x8166DBB0; // type:object size:0x4 scope:local data:4byte +__PADSpec = .sbss:0x8166DBB0; // type:object size:0x4 data:4byte BarrelBits = .sbss:0x8166DBB4; // type:object size:0x4 scope:local data:4byte PendingBits = .sbss:0x8166DBB8; // type:object size:0x4 scope:local data:4byte CheckingBits = .sbss:0x8166DBBC; // type:object size:0x4 scope:local data:4byte diff --git a/config/43U/config.yml b/config/43U/config.yml index 64b39ed9..eee80bcc 100644 --- a/config/43U/config.yml +++ b/config/43U/config.yml @@ -53,8 +53,11 @@ extract: binary: backToWiiMenu.arc header: backToWiiMenu_arc.inc + - symbol: DSPInitCode + binary: dsp\initCode.bin + header: DSPInitCode.inc + - symbol: axDspSlave - binary: ax\dspSlave.bin header: axDspSlave.inc - symbol: ca_dpki diff --git a/config/43U/splits.txt b/config/43U/splits.txt index d1a2a74c..b794e665 100644 --- a/config/43U/splits.txt +++ b/config/43U/splits.txt @@ -243,7 +243,7 @@ src/system/TVRC.cpp: .sbss start:0x81698700 end:0x81698778 src/system/iplTVRCManager.cpp: - .text start:0x81361950 end:0x813626EC + .text start:0x81361950 end:0x8136270C .data start:0x81639890 end:0x81639900 .sbss start:0x81698778 end:0x81698780 @@ -251,7 +251,7 @@ src/system/_DATA_.c: .data start:0x81639900 end:0x816411E8 src/utility/iplTree.cpp: - .text start:0x813626EC end:0x81362850 + .text start:0x8136270C end:0x81362850 .data start:0x816411E8 end:0x81641208 src/utility/iplFrameController.cpp: @@ -1244,7 +1244,7 @@ src/channelScript/systemmenu/iplCSSound.cpp: src/channelScript/systemmenu/iplCSImage.cpp: .text start:0x8145EF88 end:0x8145EFD4 -libs/RVLMiddleware/eZiText/src/zi8ezt.c: +libs/RVLMiddleware/eZiText/src/eztx.c: .text start:0x8145EFD4 end:0x8145F07C .rodata start:0x816178B0 end:0x81617900 .data start:0x8166AA20 end:0x8166AA58 @@ -1720,162 +1720,162 @@ libs/RevoEX/src/ssl/ssl_api.c: libs/RevoEX/src/ssl/ssl_mutex.c: .text start:0x814B57BC end:0x814B57C8 -libs/RevoEX/src/vf/pf_clib.c: +libs/RevoEX/src/vf/api/pf_clib.c: .text start:0x814B57C8 end:0x814B5AC8 -libs/RevoEX/src/vf/pf_code.c: +libs/RevoEX/src/vf/api/pf_code.c: .text start:0x814B5AC8 end:0x814B5AE4 .rodata start:0x81618D90 end:0x81618DF0 -libs/RevoEX/src/vf/pf_service.c: +libs/RevoEX/src/vf/api/pf_service.c: .text start:0x814B5AE4 end:0x814B5BFC -libs/RevoEX/src/vf/pf_str.c: +libs/RevoEX/src/vf/api/pf_str.c: .text start:0x814B5BFC end:0x814B6130 -libs/RevoEX/src/vf/pf_w_clib.c: +libs/RevoEX/src/vf/api/pf_w_clib.c: .text start:0x814B6130 end:0x814B61C4 -libs/RevoEX/src/vf/pf_driver.c: +libs/RevoEX/src/vf/api/pf_driver.c: .text start:0x814B61C4 end:0x814B6CAC -libs/RevoEX/src/vf/pdm_bpb.c: +libs/RevoEX/src/vf/api/pdm_bpb.c: .text start:0x814B6CAC end:0x814B7610 -libs/RevoEX/src/vf/pdm_disk.c: +libs/RevoEX/src/vf/api/pdm_disk.c: .text start:0x814B7610 end:0x814B8BE0 -libs/RevoEX/src/vf/pdm_partition.c: +libs/RevoEX/src/vf/api/pdm_partition.c: .text start:0x814B8BE0 end:0x814BA3BC -libs/RevoEX/src/vf/pdm_mbr.c: +libs/RevoEX/src/vf/api/pdm_mbr.c: .text start:0x814BA3BC end:0x814BA974 -libs/RevoEX/src/vf/pdm_dskmng.c: +libs/RevoEX/src/vf/api/pdm_dskmng.c: .bss start:0x810CCC20 end:0x810CD7F0 .text start:0x814BA974 end:0x814BAB98 -libs/RevoEX/src/vf/pf_cache.c: +libs/RevoEX/src/vf/api/pf_cache.c: .text start:0x814BAB98 end:0x814BC784 -libs/RevoEX/src/vf/pf_cluster.c: +libs/RevoEX/src/vf/api/pf_cluster.c: .text start:0x814BC784 end:0x814BCED4 -libs/RevoEX/src/vf/pf_dir.c: +libs/RevoEX/src/vf/api/pf_dir.c: .text start:0x814BCED4 end:0x814BE2FC .sdata start:0x81697CE8 end:0x81697CF8 -libs/RevoEX/src/vf/pf_entry.c: +libs/RevoEX/src/vf/api/pf_entry.c: .text start:0x814BE2FC end:0x814BFEEC .data start:0x8166E4F0 end:0x8166E500 .sdata2 start:0x81695048 end:0x81695050 -libs/RevoEX/src/vf/pf_entry_iterator.c: +libs/RevoEX/src/vf/api/pf_entry_iterator.c: .text start:0x814BFEEC end:0x814C205C .sdata start:0x81697CF8 end:0x81697D20 -libs/RevoEX/src/vf/pf_fat.c: +libs/RevoEX/src/vf/api/pf_fat.c: .text start:0x814C205C end:0x814C5024 .rodata start:0x81618DF0 end:0x81618E30 -libs/RevoEX/src/vf/pf_fat12.c: +libs/RevoEX/src/vf/api/pf_fat12.c: .text start:0x814C5024 end:0x814C5B5C -libs/RevoEX/src/vf/pf_fat16.c: +libs/RevoEX/src/vf/api/pf_fat16.c: .text start:0x814C5B5C end:0x814C60E8 -libs/RevoEX/src/vf/pf_fat32.c: +libs/RevoEX/src/vf/api/pf_fat32.c: .text start:0x814C60E8 end:0x814C673C -libs/RevoEX/src/vf/pf_fatfs.c: +libs/RevoEX/src/vf/api/pf_fatfs.c: .text start:0x814C673C end:0x814C6740 -libs/RevoEX/src/vf/pf_file.c: +libs/RevoEX/src/vf/api/pf_file.c: .text start:0x814C6740 end:0x814C9E24 -libs/RevoEX/src/vf/pf_path.c: +libs/RevoEX/src/vf/api/pf_path.c: .text start:0x814C9E24 end:0x814CC7B0 .sdata2 start:0x81695050 end:0x81695060 .sdata start:0x81697D20 end:0x81697D50 -libs/RevoEX/src/vf/pf_sector.c: +libs/RevoEX/src/vf/api/pf_sector.c: .text start:0x814CC7B0 end:0x814CD058 -libs/RevoEX/src/vf/pf_volume.c: +libs/RevoEX/src/vf/api/pf_volume.c: .bss start:0x810CD7F0 end:0x810F5540 .text start:0x814CD058 end:0x814CF108 -libs/RevoEX/src/vf/pf_cp932.c: +libs/RevoEX/src/vf/api/pf_cp932.c: .text start:0x814CF108 end:0x814CF5EC .rodata start:0x81618E30 end:0x8161D0A8 -libs/RevoEX/src/vf/pf_attach.c: +libs/RevoEX/src/vf/api/pf_attach.c: .text start:0x814CF5EC end:0x814CF7DC -libs/RevoEX/src/vf/pf_chdir.c: +libs/RevoEX/src/vf/api/pf_chdir.c: .text start:0x814CF7DC end:0x814CF82C -libs/RevoEX/src/vf/pf_create.c: +libs/RevoEX/src/vf/api/pf_create.c: .text start:0x814CF82C end:0x814CF890 -libs/RevoEX/src/vf/pf_detach.c: +libs/RevoEX/src/vf/api/pf_detach.c: .text start:0x814CF890 end:0x814CF8B8 -libs/RevoEX/src/vf/pf_errnum.c: +libs/RevoEX/src/vf/api/pf_errnum.c: .text start:0x814CF8B8 end:0x814CF8DC -libs/RevoEX/src/vf/pf_fclose.c: +libs/RevoEX/src/vf/api/pf_fclose.c: .text start:0x814CF8DC end:0x814CF900 -libs/RevoEX/src/vf/pf_finfo.c: +libs/RevoEX/src/vf/api/pf_finfo.c: .text start:0x814CF900 end:0x814CF924 -libs/RevoEX/src/vf/pf_fopen.c: +libs/RevoEX/src/vf/api/pf_fopen.c: .text start:0x814CF924 end:0x814CF9D0 -libs/RevoEX/src/vf/pf_format.c: +libs/RevoEX/src/vf/api/pf_format.c: .text start:0x814CF9D0 end:0x814CF9F8 -libs/RevoEX/src/vf/pf_fread.c: +libs/RevoEX/src/vf/api/pf_fread.c: .text start:0x814CF9F8 end:0x814CFA20 -libs/RevoEX/src/vf/pf_fseek.c: +libs/RevoEX/src/vf/api/pf_fseek.c: .text start:0x814CFA20 end:0x814CFA44 -libs/RevoEX/src/vf/pf_fsfirst.c: +libs/RevoEX/src/vf/api/pf_fsfirst.c: .text start:0x814CFA44 end:0x814CFAB8 -libs/RevoEX/src/vf/pf_fsnext.c: +libs/RevoEX/src/vf/api/pf_fsnext.c: .text start:0x814CFAB8 end:0x814CFADC -libs/RevoEX/src/vf/pf_fwrite.c: +libs/RevoEX/src/vf/api/pf_fwrite.c: .text start:0x814CFADC end:0x814CFB04 -libs/RevoEX/src/vf/pf_getdev.c: +libs/RevoEX/src/vf/api/pf_getdev.c: .text start:0x814CFB04 end:0x814CFB2C -libs/RevoEX/src/vf/pf_init_prfile2.c: +libs/RevoEX/src/vf/api/pf_init_prfile2.c: .text start:0x814CFB2C end:0x814CFB6C -libs/RevoEX/src/vf/pf_mkdir.c: +libs/RevoEX/src/vf/api/pf_mkdir.c: .text start:0x814CFB6C end:0x814CFBBC -libs/RevoEX/src/vf/pf_remove.c: +libs/RevoEX/src/vf/api/pf_remove.c: .text start:0x814CFBBC end:0x814CFC0C -libs/RevoEX/src/vf/pf_rmdir.c: +libs/RevoEX/src/vf/api/pf_rmdir.c: .text start:0x814CFC0C end:0x814CFC5C -libs/RevoEX/src/vf/pf_sync.c: +libs/RevoEX/src/vf/api/pf_sync.c: .text start:0x814CFC5C end:0x814CFC84 -libs/RevoEX/src/vf/pf_unmount.c: +libs/RevoEX/src/vf/api/pf_unmount.c: .text start:0x814CFC84 end:0x814CFCAC -libs/RevoEX/src/vf/pf_filelock.c: +libs/RevoEX/src/vf/api/pf_filelock.c: .text start:0x814CFCAC end:0x814CFCC0 -libs/RevoEX/src/vf/pf_system.c: +libs/RevoEX/src/vf/api/pf_system.c: .text start:0x814CFCC0 end:0x814CFD38 .sbss start:0x81698E70 end:0x81698E78 @@ -1905,13 +1905,13 @@ libs/RevoEX/src/vf/d_common.c: .bss start:0x810F58D0 end:0x810F5AD8 .text start:0x814D4E38 end:0x814D5A54 -libs/RevoEX/src/vf/nand_drv.c: +libs/RevoEX/src/vf/driver/nand_drv.c: .bss start:0x810F5AD8 end:0x810F5C80 .text start:0x814D5A54 end:0x814D89C4 .rodata start:0x8161D178 end:0x8161D198 .sbss start:0x81698EA0 end:0x81698EA8 -libs/RevoEX/src/vf/sd_drv.c: +libs/RevoEX/src/vf/driver/sd_drv.c: .bss start:0x810F5C80 end:0x810F6040 .text start:0x814D89C4 end:0x814D97DC .rodata start:0x8161D198 end:0x8161D1B8 @@ -2028,11 +2028,53 @@ libs/RVLFaceLib/src/RFL_Format.c: extabindex start:0x81331C44 end:0x81331CBC .text start:0x814E9F08 end:0x814EA448 -libs/RVLMiddleware/TMC_JPEG/src/decapi.c: - .text start:0x814EA448 end:0x814F7024 - .rodata start:0x8161E080 end:0x8161E2F0 +libs/RVLMiddleware/TMC_JPEG/src/buffer/mkhdec3.c: + .text start:0x814EA448 end:0x814EA914 + +libs/RVLMiddleware/TMC_JPEG/src/buffer/buffer_system.c: + .text start:0x814EA914 end:0x814EB2A0 + +libs/RVLMiddleware/TMC_JPEG/src/buffer/getcode.c: + .text start:0x814EB2A0 end:0x814EB3DC + +libs/RVLMiddleware/TMC_JPEG/src/buffer/idct_block_var.c: + .text start:0x814EB3DC end:0x814EBEF8 + +libs/RVLMiddleware/TMC_JPEG/src/api/decapi.c: + .text start:0x814EBEF8 end:0x814EC344 + +libs/RVLMiddleware/TMC_JPEG/src/jpegdec/jdec.c: + .text start:0x814EC344 end:0x814EC740 + +libs/RVLMiddleware/TMC_JPEG/src/jpegdec/jdec_main.c: + .text start:0x814EC740 end:0x814EDD24 + .rodata start:0x8161E080 end:0x8161E180 + +libs/RVLMiddleware/TMC_JPEG/src/jpegdec/jpformat.c: + .rodata start:0x8161E180 end:0x8161E2F0 .sdata2 start:0x816951B8 end:0x816951C0 +libs/RVLMiddleware/TMC_JPEG/src/exif/exif_parse.c: + .text start:0x814EDD24 end:0x814EF104 + +libs/RVLMiddleware/TMC_JPEG/src/reschange/iqdec_resolution_change_a3.c: + .text start:0x814EF104 end:0x814EF490 + +libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var.c: + .text start:0x814EF490 end:0x814EFB9C + +libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8.c: + .text start:0x814EFB9C end:0x814F39E8 + +libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGB565.c: + .text start:0x814F39E8 end:0x814F5210 + +libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoRGBA8.c: + .text start:0x814F5210 end:0x814F6BD4 + +libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32.c: + .text start:0x814F6BD4 end:0x814F7024 + libs/NW4R/src/snd/snd_AxManager.cpp: .bss start:0x810F6040 end:0x81100458 .text start:0x814F7024 end:0x814F8900 @@ -2622,6 +2664,7 @@ libs/RVL_SDK/src/os/OSPlayRecord.c: .bss start:0x81115DA0 end:0x81115FA0 .text start:0x81536DC4 end:0x815376B4 .data start:0x816800F0 end:0x81680138 + .sdata start:0x81697E78 end:0x81697E80 .sbss start:0x816990B8 end:0x816990D8 libs/RVL_SDK/src/os/OSStateFlags.c: @@ -2642,7 +2685,7 @@ libs/RVL_SDK/src/os/OSPlayTime.c: .text start:0x81537D88 end:0x81538608 .data start:0x816802E8 end:0x81680328 .sdata2 start:0x816955D8 end:0x816955E8 - .sdata start:0x81697E78 end:0x81697E88 + .sdata start:0x81697E80 end:0x81697E88 .sbss start:0x816990D8 end:0x816990F0 libs/RVL_SDK/src/os/__ppc_eabi_init.cpp: @@ -3527,451 +3570,451 @@ libs/RVL_SDK/src/cnt/cnt.c: .rodata start:0x8162E438 end:0x8162E6B0 .data start:0x81690680 end:0x81690780 -libs/RVL_SDK/src/fa/pf_clib.c: +libs/RVL_SDK/src/fa/api/pf_clib.c: .text start:0x815C5F9C end:0x815C63D8 -libs/RVL_SDK/src/fa/pf_code.c: +libs/RVL_SDK/src/fa/api/pf_code.c: .text start:0x815C63D8 end:0x815C63F4 .rodata start:0x8162E6B0 end:0x8162E710 -libs/RVL_SDK/src/fa/pf_service.c: +libs/RVL_SDK/src/fa/api/pf_service.c: .text start:0x815C63F4 end:0x815C652C -libs/RVL_SDK/src/fa/pf_str.c: +libs/RVL_SDK/src/fa/api/pf_str.c: .text start:0x815C652C end:0x815C6A90 -libs/RVL_SDK/src/fa/pf_driver.c: +libs/RVL_SDK/src/fa/api/pf_driver.c: .text start:0x815C6A90 end:0x815C7394 -libs/RVL_SDK/src/fa/pdm_api.c: +libs/RVL_SDK/src/fa/api/pdm_api.c: .text start:0x815C7394 end:0x815C743C -libs/RVL_SDK/src/fa/pdm_bpb.c: +libs/RVL_SDK/src/fa/api/pdm_bpb.c: .text start:0x815C743C end:0x815C7928 -libs/RVL_SDK/src/fa/pdm_disk.c: +libs/RVL_SDK/src/fa/api/pdm_disk.c: .bss start:0x81177818 end:0x811781E0 .text start:0x815C7928 end:0x815C8114 -libs/RVL_SDK/src/fa/pdm_partition.c: +libs/RVL_SDK/src/fa/api/pdm_partition.c: .text start:0x815C8114 end:0x815C8F98 -libs/RVL_SDK/src/fa/pf_cache.c: +libs/RVL_SDK/src/fa/api/pf_cache.c: .text start:0x815C8F98 end:0x815CAC7C -libs/RVL_SDK/src/fa/pf_cluster.c: +libs/RVL_SDK/src/fa/api/pf_cluster.c: .text start:0x815CAC7C end:0x815CBE44 -libs/RVL_SDK/src/fa/pf_dir.c: +libs/RVL_SDK/src/fa/api/pf_dir.c: .text start:0x815CBE44 end:0x815D0864 .sdata2 start:0x81695988 end:0x81695990 .sdata start:0x81698330 end:0x81698350 -libs/RVL_SDK/src/fa/pf_entry.c: +libs/RVL_SDK/src/fa/api/pf_entry.c: .text start:0x815D0864 end:0x815D21E8 .data start:0x81690780 end:0x81690790 .sdata2 start:0x81695990 end:0x81695998 -libs/RVL_SDK/src/fa/pf_entry_iterator.c: +libs/RVL_SDK/src/fa/api/pf_entry_iterator.c: .text start:0x815D21E8 end:0x815D40B0 .sdata start:0x81698350 end:0x81698368 -libs/RVL_SDK/src/fa/pf_fat.c: +libs/RVL_SDK/src/fa/api/pf_fat.c: .text start:0x815D40B0 end:0x815D71CC .rodata start:0x8162E710 end:0x8162E750 -libs/RVL_SDK/src/fa/pf_fat12.c: +libs/RVL_SDK/src/fa/api/pf_fat12.c: .text start:0x815D71CC end:0x815D7A40 -libs/RVL_SDK/src/fa/pf_fat16.c: +libs/RVL_SDK/src/fa/api/pf_fat16.c: .text start:0x815D7A40 end:0x815D7E84 -libs/RVL_SDK/src/fa/pf_fat32.c: +libs/RVL_SDK/src/fa/api/pf_fat32.c: .text start:0x815D7E84 end:0x815D8374 -libs/RVL_SDK/src/fa/pf_fatfs.c: +libs/RVL_SDK/src/fa/api/pf_fatfs.c: .text start:0x815D8374 end:0x815D8378 -libs/RVL_SDK/src/fa/pf_file.c: +libs/RVL_SDK/src/fa/api/pf_file.c: .text start:0x815D8378 end:0x815DC914 -libs/RVL_SDK/src/fa/pf_path.c: +libs/RVL_SDK/src/fa/api/pf_path.c: .text start:0x815DC914 end:0x815DF774 .sdata2 start:0x81695998 end:0x816959A0 .sdata start:0x81698368 end:0x81698398 -libs/RVL_SDK/src/fa/pf_sector.c: +libs/RVL_SDK/src/fa/api/pf_sector.c: .text start:0x815DF774 end:0x815DFE9C -libs/RVL_SDK/src/fa/pf_volume.c: +libs/RVL_SDK/src/fa/api/pf_volume.c: .bss start:0x811781E0 end:0x811AB9E0 .text start:0x815DFE9C end:0x815E44E4 .data start:0x81690790 end:0x816907A0 .sdata2 start:0x816959A0 end:0x816959A8 .sdata start:0x81698398 end:0x816983A0 -libs/RVL_SDK/src/fa/pf_volume_apiadd.c: +libs/RVL_SDK/src/fa/api/pf_volume_apiadd.c: .text start:0x815E44E4 end:0x815E455C -libs/RVL_SDK/src/fa/pf_cp932.c: +libs/RVL_SDK/src/fa/api/pf_cp932.c: .text start:0x815E455C end:0x815E4A6C .rodata start:0x8162E750 end:0x816329C8 -libs/RVL_SDK/src/fa/pf_api_util.c: +libs/RVL_SDK/src/fa/api/pf_api_util.c: .text start:0x815E4A6C end:0x815E4C1C .data start:0x816907A0 end:0x81690840 -libs/RVL_SDK/src/fa/pf_attach.c: +libs/RVL_SDK/src/fa/api/pf_attach.c: .text start:0x815E4C1C end:0x815E4CCC -libs/RVL_SDK/src/fa/pf_buffering.c: +libs/RVL_SDK/src/fa/api/pf_buffering.c: .text start:0x815E4CCC end:0x815E4CF8 -libs/RVL_SDK/src/fa/pf_cdelete.c: +libs/RVL_SDK/src/fa/api/pf_cdelete.c: .text start:0x815E4CF8 end:0x815E4D74 -libs/RVL_SDK/src/fa/pf_chdir.c: +libs/RVL_SDK/src/fa/api/pf_chdir.c: .text start:0x815E4D74 end:0x815E4DC4 -libs/RVL_SDK/src/fa/pf_chdmod.c: +libs/RVL_SDK/src/fa/api/pf_chdmod.c: .text start:0x815E4DC4 end:0x815E4E24 -libs/RVL_SDK/src/fa/pf_chmod.c: +libs/RVL_SDK/src/fa/api/pf_chmod.c: .text start:0x815E4E24 end:0x815E4E84 -libs/RVL_SDK/src/fa/pf_cinsert.c: +libs/RVL_SDK/src/fa/api/pf_cinsert.c: .text start:0x815E4E84 end:0x815E4F00 -libs/RVL_SDK/src/fa/pf_closedir.c: +libs/RVL_SDK/src/fa/api/pf_closedir.c: .text start:0x815E4F00 end:0x815E4F24 -libs/RVL_SDK/src/fa/pf_combine.c: +libs/RVL_SDK/src/fa/api/pf_combine.c: .text start:0x815E4F24 end:0x815E4FA0 -libs/RVL_SDK/src/fa/pf_create.c: +libs/RVL_SDK/src/fa/api/pf_create.c: .text start:0x815E4FA0 end:0x815E4FFC -libs/RVL_SDK/src/fa/pf_createdir.c: +libs/RVL_SDK/src/fa/api/pf_createdir.c: .text start:0x815E4FFC end:0x815E5070 -libs/RVL_SDK/src/fa/pf_cut.c: +libs/RVL_SDK/src/fa/api/pf_cut.c: .text start:0x815E5070 end:0x815E50F8 -libs/RVL_SDK/src/fa/pf_derrnum.c: +libs/RVL_SDK/src/fa/api/pf_derrnum.c: .text start:0x815E50F8 end:0x815E5120 -libs/RVL_SDK/src/fa/pf_detach.c: +libs/RVL_SDK/src/fa/api/pf_detach.c: .text start:0x815E5120 end:0x815E5148 -libs/RVL_SDK/src/fa/pf_divide.c: +libs/RVL_SDK/src/fa/api/pf_divide.c: .text start:0x815E5148 end:0x815E51D8 -libs/RVL_SDK/src/fa/pf_errnum.c: +libs/RVL_SDK/src/fa/api/pf_errnum.c: .text start:0x815E51D8 end:0x815E51FC -libs/RVL_SDK/src/fa/pf_fadjust.c: +libs/RVL_SDK/src/fa/api/pf_fadjust.c: .text start:0x815E51FC end:0x815E5220 -libs/RVL_SDK/src/fa/pf_fappend.c: +libs/RVL_SDK/src/fa/api/pf_fappend.c: .text start:0x815E5220 end:0x815E5248 -libs/RVL_SDK/src/fa/pf_fchdir.c: +libs/RVL_SDK/src/fa/api/pf_fchdir.c: .text start:0x815E5248 end:0x815E526C -libs/RVL_SDK/src/fa/pf_fclose.c: +libs/RVL_SDK/src/fa/api/pf_fclose.c: .text start:0x815E526C end:0x815E5290 -libs/RVL_SDK/src/fa/pf_fconcat.c: +libs/RVL_SDK/src/fa/api/pf_fconcat.c: .text start:0x815E5290 end:0x815E530C -libs/RVL_SDK/src/fa/pf_feof.c: +libs/RVL_SDK/src/fa/api/pf_feof.c: .text start:0x815E530C end:0x815E5330 -libs/RVL_SDK/src/fa/pf_ferror.c: +libs/RVL_SDK/src/fa/api/pf_ferror.c: .text start:0x815E5330 end:0x815E5354 -libs/RVL_SDK/src/fa/pf_finfo.c: +libs/RVL_SDK/src/fa/api/pf_finfo.c: .text start:0x815E5354 end:0x815E5378 -libs/RVL_SDK/src/fa/pf_flock.c: +libs/RVL_SDK/src/fa/api/pf_flock.c: .text start:0x815E5378 end:0x815E53A0 -libs/RVL_SDK/src/fa/pf_fopen.c: +libs/RVL_SDK/src/fa/api/pf_fopen.c: .text start:0x815E53A0 end:0x815E543C -libs/RVL_SDK/src/fa/pf_format.c: +libs/RVL_SDK/src/fa/api/pf_format.c: .text start:0x815E543C end:0x815E5464 -libs/RVL_SDK/src/fa/pf_fread.c: +libs/RVL_SDK/src/fa/api/pf_fread.c: .text start:0x815E5464 end:0x815E548C -libs/RVL_SDK/src/fa/pf_fseek.c: +libs/RVL_SDK/src/fa/api/pf_fseek.c: .text start:0x815E548C end:0x815E54B0 -libs/RVL_SDK/src/fa/pf_fsetclstlink.c: +libs/RVL_SDK/src/fa/api/pf_fsetclstlink.c: .text start:0x815E54B0 end:0x815E54D4 -libs/RVL_SDK/src/fa/pf_fsexec.c: +libs/RVL_SDK/src/fa/api/pf_fsexec.c: .text start:0x815E54D4 end:0x815E54F8 -libs/RVL_SDK/src/fa/pf_fsfirst.c: +libs/RVL_SDK/src/fa/api/pf_fsfirst.c: .text start:0x815E54F8 end:0x815E556C -libs/RVL_SDK/src/fa/pf_fsnext.c: +libs/RVL_SDK/src/fa/api/pf_fsnext.c: .text start:0x815E556C end:0x815E5590 -libs/RVL_SDK/src/fa/pf_fstat.c: +libs/RVL_SDK/src/fa/api/pf_fstat.c: .text start:0x815E5590 end:0x815E55F0 -libs/RVL_SDK/src/fa/pf_fsync.c: +libs/RVL_SDK/src/fa/api/pf_fsync.c: .text start:0x815E55F0 end:0x815E5614 -libs/RVL_SDK/src/fa/pf_fwrite.c: +libs/RVL_SDK/src/fa/api/pf_fwrite.c: .text start:0x815E5614 end:0x815E563C -libs/RVL_SDK/src/fa/pf_getdev.c: +libs/RVL_SDK/src/fa/api/pf_getdev.c: .text start:0x815E563C end:0x815E5664 -libs/RVL_SDK/src/fa/pf_getvol.c: +libs/RVL_SDK/src/fa/api/pf_getvol.c: .text start:0x815E5664 end:0x815E568C -libs/RVL_SDK/src/fa/pf_getvolcfg.c: +libs/RVL_SDK/src/fa/api/pf_getvolcfg.c: .text start:0x815E568C end:0x815E56B4 -libs/RVL_SDK/src/fa/pf_init_prfile2.c: +libs/RVL_SDK/src/fa/api/pf_init_prfile2.c: .text start:0x815E56B4 end:0x815E56F4 -libs/RVL_SDK/src/fa/pf_insert.c: +libs/RVL_SDK/src/fa/api/pf_insert.c: .text start:0x815E56F4 end:0x815E57BC -libs/RVL_SDK/src/fa/pf_iswriteprotected.c: +libs/RVL_SDK/src/fa/api/pf_iswriteprotected.c: .text start:0x815E57BC end:0x815E5800 -libs/RVL_SDK/src/fa/pf_mkdir.c: +libs/RVL_SDK/src/fa/api/pf_mkdir.c: .text start:0x815E5800 end:0x815E5850 -libs/RVL_SDK/src/fa/pf_mount.c: +libs/RVL_SDK/src/fa/api/pf_mount.c: .text start:0x815E5850 end:0x815E5878 -libs/RVL_SDK/src/fa/pf_move.c: +libs/RVL_SDK/src/fa/api/pf_move.c: .text start:0x815E5878 end:0x815E58F4 -libs/RVL_SDK/src/fa/pf_opendir.c: +libs/RVL_SDK/src/fa/api/pf_opendir.c: .text start:0x815E58F4 end:0x815E594C -libs/RVL_SDK/src/fa/pf_readdir.c: +libs/RVL_SDK/src/fa/api/pf_readdir.c: .text start:0x815E594C end:0x815E5970 -libs/RVL_SDK/src/fa/pf_regctx.c: +libs/RVL_SDK/src/fa/api/pf_regctx.c: .text start:0x815E5970 end:0x815E5994 -libs/RVL_SDK/src/fa/pf_remove.c: +libs/RVL_SDK/src/fa/api/pf_remove.c: .text start:0x815E5994 end:0x815E59E4 -libs/RVL_SDK/src/fa/pf_rename.c: +libs/RVL_SDK/src/fa/api/pf_rename.c: .text start:0x815E59E4 end:0x815E5A60 -libs/RVL_SDK/src/fa/pf_rewinddir.c: +libs/RVL_SDK/src/fa/api/pf_rewinddir.c: .text start:0x815E5A60 end:0x815E5A88 -libs/RVL_SDK/src/fa/pf_rmdir.c: +libs/RVL_SDK/src/fa/api/pf_rmdir.c: .text start:0x815E5A88 end:0x815E5AD8 -libs/RVL_SDK/src/fa/pf_rmvvol.c: +libs/RVL_SDK/src/fa/api/pf_rmvvol.c: .text start:0x815E5AD8 end:0x815E5B00 -libs/RVL_SDK/src/fa/pf_seekdir.c: +libs/RVL_SDK/src/fa/api/pf_seekdir.c: .text start:0x815E5B00 end:0x815E5B24 -libs/RVL_SDK/src/fa/pf_setclstlink.c: +libs/RVL_SDK/src/fa/api/pf_setclstlink.c: .text start:0x815E5B24 end:0x815E5B4C -libs/RVL_SDK/src/fa/pf_setcode.c: +libs/RVL_SDK/src/fa/api/pf_setcode.c: .text start:0x815E5B4C end:0x815E5B70 -libs/RVL_SDK/src/fa/pf_setencode.c: +libs/RVL_SDK/src/fa/api/pf_setencode.c: .text start:0x815E5B70 end:0x815E5B94 -libs/RVL_SDK/src/fa/pf_settailbuf.c: +libs/RVL_SDK/src/fa/api/pf_settailbuf.c: .text start:0x815E5B94 end:0x815E5BBC -libs/RVL_SDK/src/fa/pf_setupfsi.c: +libs/RVL_SDK/src/fa/api/pf_setupfsi.c: .text start:0x815E5BBC end:0x815E5BE8 -libs/RVL_SDK/src/fa/pf_setvol.c: +libs/RVL_SDK/src/fa/api/pf_setvol.c: .text start:0x815E5BE8 end:0x815E5C44 -libs/RVL_SDK/src/fa/pf_setvolcfg.c: +libs/RVL_SDK/src/fa/api/pf_setvolcfg.c: .text start:0x815E5C44 end:0x815E5C6C -libs/RVL_SDK/src/fa/pf_sync.c: +libs/RVL_SDK/src/fa/api/pf_sync.c: .text start:0x815E5C6C end:0x815E5C94 -libs/RVL_SDK/src/fa/pf_telldir.c: +libs/RVL_SDK/src/fa/api/pf_telldir.c: .text start:0x815E5C94 end:0x815E5CB8 -libs/RVL_SDK/src/fa/pf_unmount.c: +libs/RVL_SDK/src/fa/api/pf_unmount.c: .text start:0x815E5CB8 end:0x815E5CE0 -libs/RVL_SDK/src/fa/pf_unregctx.c: +libs/RVL_SDK/src/fa/api/pf_unregctx.c: .text start:0x815E5CE0 end:0x815E5D04 -libs/RVL_SDK/src/fa/pf_xdivide.c: +libs/RVL_SDK/src/fa/api/pf_xdivide.c: .text start:0x815E5D04 end:0x815E5D94 -libs/RVL_SDK/src/fa/pf_w_api_util.c: +libs/RVL_SDK/src/fa/api/pf_w_api_util.c: .text start:0x815E5D94 end:0x815E5E64 -libs/RVL_SDK/src/fa/pf_w_cdelete.c: +libs/RVL_SDK/src/fa/api/pf_w_cdelete.c: .text start:0x815E5E64 end:0x815E5EE0 -libs/RVL_SDK/src/fa/pf_w_chdir.c: +libs/RVL_SDK/src/fa/api/pf_w_chdir.c: .text start:0x815E5EE0 end:0x815E5F30 -libs/RVL_SDK/src/fa/pf_w_chdmod.c: +libs/RVL_SDK/src/fa/api/pf_w_chdmod.c: .text start:0x815E5F30 end:0x815E5F90 -libs/RVL_SDK/src/fa/pf_w_chmod.c: +libs/RVL_SDK/src/fa/api/pf_w_chmod.c: .text start:0x815E5F90 end:0x815E5FF0 -libs/RVL_SDK/src/fa/pf_w_cinsert.c: +libs/RVL_SDK/src/fa/api/pf_w_cinsert.c: .text start:0x815E5FF0 end:0x815E606C -libs/RVL_SDK/src/fa/pf_w_combine.c: +libs/RVL_SDK/src/fa/api/pf_w_combine.c: .text start:0x815E606C end:0x815E60E8 -libs/RVL_SDK/src/fa/pf_w_create.c: +libs/RVL_SDK/src/fa/api/pf_w_create.c: .text start:0x815E60E8 end:0x815E6144 -libs/RVL_SDK/src/fa/pf_w_createdir.c: +libs/RVL_SDK/src/fa/api/pf_w_createdir.c: .text start:0x815E6144 end:0x815E61B8 -libs/RVL_SDK/src/fa/pf_w_cut.c: +libs/RVL_SDK/src/fa/api/pf_w_cut.c: .text start:0x815E61B8 end:0x815E6240 -libs/RVL_SDK/src/fa/pf_w_divide.c: +libs/RVL_SDK/src/fa/api/pf_w_divide.c: .text start:0x815E6240 end:0x815E62D0 -libs/RVL_SDK/src/fa/pf_w_fconcat.c: +libs/RVL_SDK/src/fa/api/pf_w_fconcat.c: .text start:0x815E62D0 end:0x815E634C -libs/RVL_SDK/src/fa/pf_w_fopen.c: +libs/RVL_SDK/src/fa/api/pf_w_fopen.c: .text start:0x815E634C end:0x815E63E8 -libs/RVL_SDK/src/fa/pf_w_fsexec.c: +libs/RVL_SDK/src/fa/api/pf_w_fsexec.c: .text start:0x815E63E8 end:0x815E640C -libs/RVL_SDK/src/fa/pf_w_fsfirst.c: +libs/RVL_SDK/src/fa/api/pf_w_fsfirst.c: .text start:0x815E640C end:0x815E6480 -libs/RVL_SDK/src/fa/pf_w_fsnext.c: +libs/RVL_SDK/src/fa/api/pf_w_fsnext.c: .text start:0x815E6480 end:0x815E64A4 -libs/RVL_SDK/src/fa/pf_w_fstat.c: +libs/RVL_SDK/src/fa/api/pf_w_fstat.c: .text start:0x815E64A4 end:0x815E6504 -libs/RVL_SDK/src/fa/pf_w_insert.c: +libs/RVL_SDK/src/fa/api/pf_w_insert.c: .text start:0x815E6504 end:0x815E65CC -libs/RVL_SDK/src/fa/pf_w_mkdir.c: +libs/RVL_SDK/src/fa/api/pf_w_mkdir.c: .text start:0x815E65CC end:0x815E661C -libs/RVL_SDK/src/fa/pf_w_move.c: +libs/RVL_SDK/src/fa/api/pf_w_move.c: .text start:0x815E661C end:0x815E6698 -libs/RVL_SDK/src/fa/pf_w_opendir.c: +libs/RVL_SDK/src/fa/api/pf_w_opendir.c: .text start:0x815E6698 end:0x815E66F0 -libs/RVL_SDK/src/fa/pf_w_remove.c: +libs/RVL_SDK/src/fa/api/pf_w_remove.c: .text start:0x815E66F0 end:0x815E6740 -libs/RVL_SDK/src/fa/pf_w_rename.c: +libs/RVL_SDK/src/fa/api/pf_w_rename.c: .text start:0x815E6740 end:0x815E67BC -libs/RVL_SDK/src/fa/pf_w_rmdir.c: +libs/RVL_SDK/src/fa/api/pf_w_rmdir.c: .text start:0x815E67BC end:0x815E680C -libs/RVL_SDK/src/fa/pf_w_xdivide.c: +libs/RVL_SDK/src/fa/api/pf_w_xdivide.c: .text start:0x815E680C end:0x815E689C -libs/RVL_SDK/src/fa/pf_filelock.c: +libs/RVL_SDK/src/fa/api/pf_filelock.c: .text start:0x815E689C end:0x815E6A00 -libs/RVL_SDK/src/fa/pf_stub.c: +libs/RVL_SDK/src/fa/api/pf_stub.c: .text start:0x815E6A00 end:0x815E6DE8 -libs/RVL_SDK/src/fa/pf_system.c: +libs/RVL_SDK/src/fa/api/pf_system.c: .bss start:0x811AB9E0 end:0x811ADD80 .text start:0x815E6DE8 end:0x815E6E80 -libs/RVL_SDK/src/fa/pf_stub_standard.c: +libs/RVL_SDK/src/fa/api/pf_stub_standard.c: .text start:0x815E6E80 end:0x815E7404 .data start:0x81690840 end:0x81690988 -libs/RVL_SDK/src/fa/pfs_attach.c: +libs/RVL_SDK/src/fa/api/pfs_attach.c: .text start:0x815E7404 end:0x815E7454 -libs/RVL_SDK/src/fa/pfs_buffering.c: +libs/RVL_SDK/src/fa/api/pfs_buffering.c: .text start:0x815E7454 end:0x815E74A4 -libs/RVL_SDK/src/fa/pfs_create.c: +libs/RVL_SDK/src/fa/api/pfs_create.c: .text start:0x815E74A4 end:0x815E74F0 -libs/RVL_SDK/src/fa/pfs_createdir.c: +libs/RVL_SDK/src/fa/api/pfs_createdir.c: .text start:0x815E74F0 end:0x815E7544 -libs/RVL_SDK/src/fa/pfs_detach.c: +libs/RVL_SDK/src/fa/api/pfs_detach.c: .text start:0x815E7544 end:0x815E7590 -libs/RVL_SDK/src/fa/pfs_errnum.c: +libs/RVL_SDK/src/fa/api/pfs_errnum.c: .text start:0x815E7590 end:0x815E75D8 -libs/RVL_SDK/src/fa/pfs_fclose.c: +libs/RVL_SDK/src/fa/api/pfs_fclose.c: .text start:0x815E75D8 end:0x815E7624 -libs/RVL_SDK/src/fa/pfs_finfot.c: +libs/RVL_SDK/src/fa/api/pfs_finfot.c: .text start:0x815E7624 end:0x815E7674 -libs/RVL_SDK/src/fa/pfs_fopen.c: +libs/RVL_SDK/src/fa/api/pfs_fopen.c: .text start:0x815E7674 end:0x815E76C4 -libs/RVL_SDK/src/fa/pfs_format.c: +libs/RVL_SDK/src/fa/api/pfs_format.c: .text start:0x815E76C4 end:0x815E7714 -libs/RVL_SDK/src/fa/pfs_fread.c: +libs/RVL_SDK/src/fa/api/pfs_fread.c: .text start:0x815E7714 end:0x815E776C -libs/RVL_SDK/src/fa/pfs_fseek.c: +libs/RVL_SDK/src/fa/api/pfs_fseek.c: .text start:0x815E776C end:0x815E77C0 -libs/RVL_SDK/src/fa/pfs_fsfirst.c: +libs/RVL_SDK/src/fa/api/pfs_fsfirst.c: .text start:0x815E77C0 end:0x815E7814 -libs/RVL_SDK/src/fa/pfs_fsnext.c: +libs/RVL_SDK/src/fa/api/pfs_fsnext.c: .text start:0x815E7814 end:0x815E7860 -libs/RVL_SDK/src/fa/pfs_fstat.c: +libs/RVL_SDK/src/fa/api/pfs_fstat.c: .text start:0x815E7860 end:0x815E78B0 -libs/RVL_SDK/src/fa/pfs_fwrite.c: +libs/RVL_SDK/src/fa/api/pfs_fwrite.c: .text start:0x815E78B0 end:0x815E7908 -libs/RVL_SDK/src/fa/pfs_getdev.c: +libs/RVL_SDK/src/fa/api/pfs_getdev.c: .text start:0x815E7908 end:0x815E7958 -libs/RVL_SDK/src/fa/pfs_init_prfile2.c: +libs/RVL_SDK/src/fa/api/pfs_init_prfile2.c: .text start:0x815E7958 end:0x815E795C -libs/RVL_SDK/src/fa/pfs_mount.c: +libs/RVL_SDK/src/fa/api/pfs_mount.c: .text start:0x815E795C end:0x815E79A8 -libs/RVL_SDK/src/fa/pfs_remove.c: +libs/RVL_SDK/src/fa/api/pfs_remove.c: .text start:0x815E79A8 end:0x815E79F4 -libs/RVL_SDK/src/fa/pfs_unmount.c: +libs/RVL_SDK/src/fa/api/pfs_unmount.c: .text start:0x815E79F4 end:0x815E7A44 -libs/RVL_SDK/src/fa/pf_stub_unicode.c: +libs/RVL_SDK/src/fa/api/pf_stub_unicode.c: .text start:0x815E7A44 end:0x815E7C84 .data start:0x81690988 end:0x816909E8 @@ -4054,39 +4097,39 @@ libs/RVL_SDK/src/fa/FASetThreadPriority.c: libs/RVL_SDK/src/fa/FAUnmount.c: .text start:0x815E843C end:0x815E848C -libs/RVL_SDK/src/fa/pfk_api.c: +libs/RVL_SDK/src/fa/kernel/pfk_api.c: .text start:0x815E848C end:0x815E88F4 .data start:0x81690A48 end:0x81690D18 -libs/RVL_SDK/src/fa/nand_drv.c: +libs/RVL_SDK/src/fa/driver/nand_drv.c: .bss start:0x811ADE68 end:0x811AF460 .text start:0x815E88F4 end:0x815EA41C .rodata start:0x816329C8 end:0x816329E8 .sdata start:0x816983B0 end:0x816983B8 .sbss start:0x816996C0 end:0x816996E0 -libs/RVL_SDK/src/fa/sd_drv.c: +libs/RVL_SDK/src/fa/driver/sd_drv.c: .bss start:0x811AF460 end:0x811AF6C0 .text start:0x815EA41C end:0x815ED20C .rodata start:0x816329E8 end:0x81632B58 .data start:0x81690D18 end:0x81691728 .sbss start:0x816996E0 end:0x81699708 -libs/RVL_SDK/src/fa/pfd_cmn.c: +libs/RVL_SDK/src/fa/driver/pfd_cmn.c: .text start:0x815ED20C end:0x815ED324 -libs/RVL_SDK/src/fa/msc_drv.c: +libs/RVL_SDK/src/fa/driver/msc_drv.c: .text start:0x815ED324 end:0x815ED338 .sbss start:0x81699708 end:0x81699710 -libs/RVL_SDK/src/fa/puh_msc.c: +libs/RVL_SDK/src/fa/msc/puh_msc.c: .text start:0x815ED338 end:0x815ED5F0 .sbss start:0x81699710 end:0x81699720 -libs/RVL_SDK/src/fa/puh_msc_cmd.c: +libs/RVL_SDK/src/fa/msc/puh_msc_cmd.c: .text start:0x815ED5F0 end:0x815ED9CC -libs/RVL_SDK/src/fa/puh_msc_blk.c: +libs/RVL_SDK/src/fa/msc/puh_msc_blk.c: .bss start:0x811AF6C0 end:0x811AF840 .text start:0x815ED9CC end:0x815EE1E4 .data start:0x81691728 end:0x81691748 @@ -4115,24 +4158,24 @@ libs/RVL_SDK/src/nup/nup_mem.cpp: .text start:0x815F2D48 end:0x815F2E50 .sbss start:0x81699750 end:0x81699758 -libs/RVL_SDK/src/scutil/scutil.c: +libs/RVL_SDK/src/scutil/idToIsoA2.c: .text start:0x815F2E50 end:0x815F2EA8 .data start:0x81691E48 end:0x81692110 .sdata start:0x816983F8 end:0x816985C8 -libs/RVL_SDK/src/usbutil/uh_ker_mem.c: +libs/RVL_SDK/src/usbcmn/puh_ker_mem.c: .text start:0x815F2EA8 end:0x815F2F0C -libs/RVL_SDK/src/usbutil/uh_ker_msg.c: +libs/RVL_SDK/src/usbcmn/puh_ker_msg.c: .bss start:0x811AF8C0 end:0x811AF8D8 .text start:0x815F2F0C end:0x815F2F90 -libs/RVL_SDK/src/usbutil/uh_ker_sem.c: +libs/RVL_SDK/src/usbcmn/puh_ker_sem.c: .bss start:0x811AF8D8 end:0x811AFA10 .text start:0x815F2F90 end:0x815F3290 .sbss start:0x81699758 end:0x81699760 -libs/RVL_SDK/src/usbutil/uh_ker_tsk.c: +libs/RVL_SDK/src/usbcmn/puh_ker_tsk.c: .bss start:0x811AFA10 end:0x811B00A0 .text start:0x815F3290 end:0x815F3318 @@ -4507,11 +4550,8 @@ libs/MSL/src/math/e_rem_pio2.c: .rodata start:0x81633E30 end:0x81633FB8 .sdata2 start:0x81695DE0 end:0x81695E38 -libs/MSL/src/math/s_fmin.c: - .text start:0x8160A804 end:0x8160A870 - -libs/MSL/src/math/s_fmax.c: - .text start:0x8160A870 end:0x8160A8DC +libs/MSL/src/math/fminmaxdim.c: + .text start:0x8160A804 end:0x8160A8DC libs/MSL/src/math/k_cos.c: .text start:0x8160A8DC end:0x8160A9EC diff --git a/config/43U/symbols.txt b/config/43U/symbols.txt index 0ad7acbd..9fd7cd70 100644 --- a/config/43U/symbols.txt +++ b/config/43U/symbols.txt @@ -192,23 +192,27 @@ sException__Q24nw4r2db = .bss:0x81110E40; // type:object size:0x360 scope:local sThreadBuffer__Q24nw4r2db = .bss:0x811111A0; // type:object size:0x4000 scope:local texCoords$7499 = .bss:0x811151A0; // type:object size:0x20 scope:local align:4 data:float __OSRebootParams = .bss:0x811151C0; // type:object size:0x1C data:4byte -DriveBlock = .bss:0x811151E0; // type:object size:0x30 scope:local -__OSErrorTable = .bss:0x81115230; // type:object size:0x50 data:4byte +...bss.0 = .bss:0x811151C0; // type:label scope:local +DriveInfo = .bss:0x811151E0; // type:object size:0x20 scope:local +DriveBlock = .bss:0x81115200; // type:object size:0x30 scope:local +__OSErrorTable = .bss:0x81115230; // type:object size:0x44 data:4byte Scb = .bss:0x81115280; // type:object size:0x54 scope:local data:2byte DefaultThread = .bss:0x811152D8; // type:object size:0x318 scope:local data:4byte +...bss.0 = .bss:0x811152D8; // type:label scope:local RunQueue = .bss:0x811155F0; // type:object size:0x100 scope:local data:4byte IdleContext = .bss:0x811156F0; // type:object size:0x2C8 scope:local IdleThread = .bss:0x811159B8; // type:object size:0x318 scope:local -StmEhInBuf = .bss:0x81115CE0; // type:object size:0x20 scope:local -StmEhOutBuf = .bss:0x81115D00; // type:object size:0x20 scope:local data:4byte -StmImInBuf = .bss:0x81115D20; // type:object size:0x20 scope:local data:4byte -StmImOutBuf = .bss:0x81115D40; // type:object size:0x20 scope:local -StmVdInBuf = .bss:0x81115D60; // type:object size:0x20 scope:local data:4byte -StmVdOutBuf = .bss:0x81115D80; // type:object size:0x20 scope:local +StmEhInBuf = .bss:0x81115CE0; // type:object size:0x20 scope:global +StmEhOutBuf = .bss:0x81115D00; // type:object size:0x20 scope:global data:4byte +StmImInBuf = .bss:0x81115D20; // type:object size:0x20 scope:global data:4byte +StmImOutBuf = .bss:0x81115D40; // type:object size:0x20 scope:global +StmVdInBuf = .bss:0x81115D60; // type:object size:0x20 scope:global data:4byte +StmVdOutBuf = .bss:0x81115D80; // type:object size:0x20 scope:global PlayRecord = .bss:0x81115DA0; // type:object size:0x80 scope:local data:4byte +...bss.0 = .bss:0x81115DA0; // type:label scope:local PlayRecordAlarm = .bss:0x81115E20; // type:object size:0x30 scope:local data:4byte FileInfo = .bss:0x81115E50; // type:object size:0x8C scope:local data:4byte -Block = .bss:0x81115EDC; // type:object size:0xC4 scope:local data:4byte +Block = .bss:0x81115EDC; // type:object size:0xBC scope:local data:4byte StateFlags = .bss:0x81115FA0; // type:object size:0x20 scope:local data:4byte __OSExpireAlarm = .bss:0x81115FC0; // type:object size:0x30 data:4byte Ecb = .bss:0x81115FF0; // type:object size:0xC0 scope:local data:4byte @@ -357,10 +361,10 @@ g_pfd_sddrv_buf = .bss:0x811AF4C0; // type:object size:0x200 uhg_msc_blk_device_tbl = .bss:0x811AF6C0; // type:object size:0x180 data:4byte __reqMutex = .bss:0x811AF840; // type:object size:0x18 __sdPaths = .bss:0x811AF860; // type:object size:0x60 -uh_ker_msg_mng = .bss:0x811AF8C0; // type:object size:0x14 -uh_ker_sem_mng = .bss:0x811AF8D8; // type:object size:0xA8 data:4byte -uh_func_ker_sem = .bss:0x811AF980; // type:object size:0x90 -uh_ker_tsk_mng = .bss:0x811AFA10; // type:object size:0x688 +st_uhs_ker_msg_mng = .bss:0x811AF8C0; // type:object size:0x14 +st_uhs_ker_sem_mng = .bss:0x811AF8D8; // type:object size:0xA8 data:4byte +st_uhf_ker_sem = .bss:0x811AF980; // type:object size:0x90 +st_uhs_ker_tsk_mng = .bss:0x811AFA10; // type:object size:0x688 kbdKeyMaps = .bss:0x811B00A0; // type:object size:0x400 kbdCmdBuf = .bss:0x811B04A0; // type:object size:0x180 kbdData = .bss:0x811B0620; // type:object size:0x9A0 @@ -370,7 +374,7 @@ _CNTCACHEMutex = .bss:0x811B1040; // type:object size:0x18 sHeapList__Q23EGG4Heap = .bss:0x811B1058; // type:object size:0xC sRootMutex__Q23EGG4Heap = .bss:0x811B1064; // type:object size:0x18 sThreadList__Q23EGG6Thread = .bss:0x811B1080; // type:object size:0x10 -fragmentinfo = .bss:0x811B1090; // type:object size:0xC scope:local data:4byte +fragmentInfo = .bss:0x811B1090; // type:object size:0xC scope:local data:4byte protopool$343 = .bss:0x811B10A0; // type:object size:0x38 data:4byte stderr_buff = .bss:0x811B10D8; // type:object size:0x100 stdout_buff = .bss:0x811B11D8; // type:object size:0x100 @@ -380,12 +384,12 @@ extracted_name$392 = .bss:0x811B13F8; // type:object size:0x20 asctime_result$536 = .bss:0x811B1418; // type:object size:0x1A gmtime_tm$597 = .bss:0x811B1434; // type:object size:0x24 localtime_tm$618 = .bss:0x811B1458; // type:object size:0x24 data:4byte -IsTRKConnected = .bss:0x811B1480; // type:object size:0x4 data:4byte -TRK_Use_BBA = .bss:0x811B1488; // type:object size:0x4 data:byte -bUseSerialIO = .bss:0x811B1490; // type:object size:0x1 data:byte +IsTRKConnected = .bss:0x811B1480; // type:object size:0x4 scope:local data:4byte +TRK_Use_BBA = .bss:0x811B1488; // type:object size:0x1 data:byte +bUseSerialIO = .bss:0x811B1490; // type:object size:0x1 scope:local data:byte __start = .init:0x81330000; // type:function size:0xA8 scope:weak -__init_registers = .init:0x813300A8; // type:function size:0x90 scope:local -__init_data = .init:0x81330138; // type:function size:0xA0 scope:local +__init_registers = .init:0x813300A8; // type:function size:0x90 scope:global +__init_data = .init:0x81330138; // type:function size:0xA0 scope:global __init_hardware = .init:0x813301D8; // type:function size:0x24 __flush_cache = .init:0x813301FC; // type:function size:0x34 memcpy = .init:0x81330230; // type:function size:0x50 @@ -670,10 +674,10 @@ _bss_init_info = .init:0x813303E8; // type:object size:0x20 scope:global data:4b @etb_81330CB0 = extab:0x81330CB0; // type:object size:0x8 scope:local hidden @etb_81330CB8 = extab:0x81330CB8; // type:object size:0x8 scope:local hidden @etb_81330CC0 = extab:0x81330CC0; // type:object size:0x8 scope:local hidden -@etb_81330CC8 = extab:0x81330CC8; // type:object size:0x18 scope:local hidden -@etb_81330CE0 = extab:0x81330CE0; // type:object size:0x8 scope:local hidden -@etb_81330CE8 = extab:0x81330CE8; // type:object size:0x18 scope:local hidden -@etb_81330D00 = extab:0x81330D00; // type:object size:0x8 scope:local hidden +@86 = extab:0x81330CC8; // type:object size:0x18 scope:local hidden +@97 = extab:0x81330CE0; // type:object size:0x8 scope:local hidden +@128 = extab:0x81330CE8; // type:object size:0x18 scope:local hidden +@146 = extab:0x81330D00; // type:object size:0x8 scope:local hidden @etb_81330D08 = extab:0x81330D08; // type:object size:0x8 scope:local hidden @etb_81330D10 = extab:0x81330D10; // type:object size:0x8 scope:local hidden @etb_81330D18 = extab:0x81330D18; // type:object size:0x8 scope:local hidden @@ -1037,10 +1041,10 @@ _bss_init_info = .init:0x813303E8; // type:object size:0x20 scope:global data:4b @eti_81331C98 = extabindex:0x81331C98; // type:object size:0xC scope:local hidden @eti_81331CA4 = extabindex:0x81331CA4; // type:object size:0xC scope:local hidden @eti_81331CB0 = extabindex:0x81331CB0; // type:object size:0xC scope:local hidden -@eti_81331CBC = extabindex:0x81331CBC; // type:object size:0xC scope:local hidden -@eti_81331CC8 = extabindex:0x81331CC8; // type:object size:0xC scope:local hidden -@eti_81331CD4 = extabindex:0x81331CD4; // type:object size:0xC scope:local hidden -@eti_81331CE0 = extabindex:0x81331CE0; // type:object size:0xC scope:local hidden +@87 = extabindex:0x81331CBC; // type:object size:0xC scope:local hidden +@98 = extabindex:0x81331CC8; // type:object size:0xC scope:local hidden +@129 = extabindex:0x81331CD4; // type:object size:0xC scope:local hidden +@147 = extabindex:0x81331CE0; // type:object size:0xC scope:local hidden @eti_81331CEC = extabindex:0x81331CEC; // type:object size:0xC scope:local hidden @eti_81331CF8 = extabindex:0x81331CF8; // type:object size:0xC scope:local hidden @eti_81331D04 = extabindex:0x81331D04; // type:object size:0xC scope:local hidden @@ -1614,21 +1618,21 @@ calc__Q23ipl11PointerCoreFPQ23ipl7Pointer = .text:0x81344750; // type:function s draw__Q23ipl11PointerCoreFv = .text:0x813447B4; // type:function size:0x54 changeType__Q23ipl11PointerCoreFii = .text:0x81344808; // type:function size:0x10 __ct__Q23ipl12DialogWindowFPQ23EGG4Heap = .text:0x81344818; // type:function size:0x858 -__ct__Q33ipl3gui11PaneManagerFPQ23gui12EventHandlerPCQ34nw4r3lyt8DrawInfoPQ23EGG4HeapPQ23EGG9Allocatorb = .text:0x81345070; // type:function size:0xB0 -__dt__Q23gui9InterfaceFv = .text:0x81345120; // type:function size:0x40 -setManager__Q23gui12EventHandlerFPQ23gui7Manager = .text:0x81345160; // type:function size:0x8 +__ct__Q33ipl3gui11PaneManagerFPQ23gui12EventHandlerPCQ34nw4r3lyt8DrawInfoPQ23EGG4HeapPQ23EGG9Allocatorb = .text:0x81345070; // type:function size:0xB0 scope:weak +__dt__Q23gui9InterfaceFv = .text:0x81345120; // type:function size:0x40 scope:weak +setManager__Q23gui12EventHandlerFPQ23gui7Manager = .text:0x81345160; // type:function size:0x8 scope:weak init__Q23ipl12DialogWindowFv = .text:0x81345168; // type:function size:0x104 calc__Q23ipl12DialogWindowFv = .text:0x8134526C; // type:function size:0xA8 stt_fadein__Q23ipl12DialogWindowFv = .text:0x81345314; // type:function size:0x50 stt_normal__Q23ipl12DialogWindowFv = .text:0x81345364; // type:function size:0x200 stt_select__Q23ipl12DialogWindowFv = .text:0x81345564; // type:function size:0xF4 stt_fadeout__Q23ipl12DialogWindowFv = .text:0x81345658; // type:function size:0x94 -setEventHandler__Q23gui7ManagerFPQ23gui12EventHandler = .text:0x813456EC; // type:function size:0x2C +setEventHandler__Q23gui7ManagerFPQ23gui12EventHandler = .text:0x813456EC; // type:function size:0x2C scope:weak set_alpha__Q23ipl12DialogWindowFPQ34nw4r3lyt4PaneUc = .text:0x81345718; // type:function size:0x60 stt_prepare_pagefade__Q23ipl12DialogWindowFv = .text:0x81345778; // type:function size:0x108 -stt_pagefade__Q23ipl12DialogWindowFv = .text:0x81345880; // type:function size:0x5E4 scope:local -DynamicCast__Q24nw4r2utFPQ34nw4r3lyt4Pane_PQ34nw4r3lyt7TextBox = .text:0x81345E64; // type:function size:0x7C -GetRuntimeTypeInfo__Q34nw4r3lyt4PaneCFv = .text:0x81345EE0; // type:function size:0x8 +stt_pagefade__Q23ipl12DialogWindowFv = .text:0x81345880; // type:function size:0x5E4 scope:global +DynamicCast__Q24nw4r2utFPQ34nw4r3lyt4Pane_PQ34nw4r3lyt7TextBox = .text:0x81345E64; // type:function size:0x7C scope:weak +GetRuntimeTypeInfo__Q34nw4r3lyt4PaneCFv = .text:0x81345EE0; // type:function size:0x8 scope:weak draw__Q23ipl12DialogWindowFv = .text:0x81345EE8; // type:function size:0x108 set_text__Q23ipl12DialogWindowFPCcPCw = .text:0x81345FF0; // type:function size:0x64 set_message__Q23ipl12DialogWindowFUl = .text:0x81346054; // type:function size:0x5C @@ -1651,7 +1655,7 @@ __ct__Q34nw4r3lyt4SizeFff = .text:0x81346A04; // type:function size:0xC scope:we callBtn1__Q23ipl12DialogWindowFUlUlf = .text:0x81346A10; // type:function size:0xC4 callBtn2__Q23ipl12DialogWindowFUlUlUlb = .text:0x81346AD4; // type:function size:0x98 callBtn2NoShade__Q23ipl12DialogWindowFPCwUlUlb = .text:0x81346B6C; // type:function size:0xA8 -callBtn2__Q23ipl12DialogWindowFPQ33ipl12DialogWindow4Pageii = .text:0x81346C14; // type:function size:0x174 +callBtn2Multi__Q23ipl12DialogWindowFPQ33ipl12DialogWindow4Pageii = .text:0x81346C14; // type:function size:0x174 callBtn2__Q23ipl12DialogWindowFPCwUlUlb = .text:0x81346D88; // type:function size:0xA0 callBtn3__Q23ipl12DialogWindowFUlUlUlUl = .text:0x81346E28; // type:function size:0xA0 callSBtn2__Q23ipl12DialogWindowFUlUlUlb = .text:0x81346EC8; // type:function size:0xC4 @@ -1663,23 +1667,23 @@ start_left_event__Q23ipl12DialogWindowFPCc = .text:0x813473F8; // type:function start_trig_event__Q23ipl12DialogWindowFPCc = .text:0x8134753C; // type:function size:0x264 get_button_no__Q23ipl12DialogWindowFPCc = .text:0x813477A0; // type:function size:0x78 onEvent__Q23ipl12DialogWindowFUlUlPv = .text:0x81347818; // type:function size:0xE4 -getPane__Q23gui13PaneComponentFv = .text:0x813478FC; // type:function size:0x8 +getPane__Q23gui13PaneComponentFv = .text:0x813478FC; // type:function size:0x8 scope:weak terminate__Q23ipl12DialogWindowFv = .text:0x81347904; // type:function size:0x24 -draw__Q23gui9InterfaceFRA3_A4_f = .text:0x81347928; // type:function size:0x4 -create__Q23gui9InterfaceFv = .text:0x8134792C; // type:function size:0x4 -changeEventHandler__Q23gui7ManagerFPQ23gui12EventHandler = .text:0x81347930; // type:function size:0x54 -onEvent__Q23gui7ManagerFUlUliPv = .text:0x81347984; // type:function size:0x80 -setLatestEventCtrlNo__Q23gui12EventHandlerFi = .text:0x81347A04; // type:function size:0x8 -onEvent__Q23gui12EventHandlerFUlUlPv = .text:0x81347A0C; // type:function size:0x4 -update__Q23gui7ManagerFiPC10KPADStatusffPv = .text:0x81347A10; // type:function size:0x8 -setDrawInfo__Q23gui11PaneManagerFPCQ34nw4r3lyt8DrawInfo = .text:0x81347A18; // type:function size:0x8 -getDrawInfo__Q23gui11PaneManagerFv = .text:0x81347A20; // type:function size:0x8 -__dt__Q33ipl3gui11PaneManagerFv = .text:0x81347A28; // type:function size:0x58 -getLatestEventCtrlNo__Q23gui12EventHandlerFv = .text:0x81347A80; // type:function size:0x8 -draw__Q23gui9InterfaceFv = .text:0x81347A88; // type:function size:0x4 -calc__Q23gui9InterfaceFv = .text:0x81347A8C; // type:function size:0x4 -init__Q23gui9InterfaceFv = .text:0x81347A90; // type:function size:0x4 -__sinit_\iplDialogWindow_cpp = .text:0x81347A94; // type:function size:0x3C scope:weak +draw__Q23gui9InterfaceFRA3_A4_f = .text:0x81347928; // type:function size:0x4 scope:weak +create__Q23gui9InterfaceFv = .text:0x8134792C; // type:function size:0x4 scope:weak +changeEventHandler__Q23gui7ManagerFPQ23gui12EventHandler = .text:0x81347930; // type:function size:0x54 scope:weak +onEvent__Q23gui7ManagerFUlUliPv = .text:0x81347984; // type:function size:0x80 scope:weak +setLatestEventCtrlNo__Q23gui12EventHandlerFi = .text:0x81347A04; // type:function size:0x8 scope:weak +onEvent__Q23gui12EventHandlerFUlUlPv = .text:0x81347A0C; // type:function size:0x4 scope:weak +update__Q23gui7ManagerFiPC10KPADStatusffPv = .text:0x81347A10; // type:function size:0x8 scope:weak +setDrawInfo__Q23gui11PaneManagerFPCQ34nw4r3lyt8DrawInfo = .text:0x81347A18; // type:function size:0x8 scope:weak +getDrawInfo__Q23gui11PaneManagerFv = .text:0x81347A20; // type:function size:0x8 scope:weak +__dt__Q33ipl3gui11PaneManagerFv = .text:0x81347A28; // type:function size:0x58 scope:weak +getLatestEventCtrlNo__Q23gui12EventHandlerFv = .text:0x81347A80; // type:function size:0x8 scope:weak +draw__Q23gui9InterfaceFv = .text:0x81347A88; // type:function size:0x4 scope:weak +calc__Q23gui9InterfaceFv = .text:0x81347A8C; // type:function size:0x4 scope:weak +init__Q23gui9InterfaceFv = .text:0x81347A90; // type:function size:0x4 scope:weak +__sinit_\iplDialogWindow_cpp = .text:0x81347A94; // type:function size:0x3C scope:local SECallback__3iplFi = .text:0x81347AD0; // type:function size:0x9C scope:local __ct__Q23ipl14HomeButtonMenuFPQ23EGG4Heap = .text:0x81347B6C; // type:function size:0x1B4 DrawBanIcon__Q23ipl14HomeButtonMenuFUc = .text:0x81347D20; // type:function size:0xB4 @@ -2152,7 +2156,7 @@ NANDCheck = .text:0x81360790; // type:function size:0x10 __ct__Q33ipl3bs27ManagerFPQ23EGG4Heap = .text:0x813607A0; // type:function size:0x94 __dt__Q33ipl3bs27ManagerFv = .text:0x81360834; // type:function size:0x64 update__Q33ipl3bs27ManagerFv = .text:0x81360898; // type:function size:0x10C -isRsrcLoaded__Q23ipl6SystemFv = .text:0x813609A4; // type:function size:0x44 +isRsrcLoaded__Q23ipl6SystemFv = .text:0x813609A4; // type:function size:0x44 scope:weak getDiskBannerBuffer__Q33ipl3bs27ManagerFPPv = .text:0x813609E8; // type:function size:0x34 startUpdate__Q33ipl3bs27ManagerFv = .text:0x81360A1C; // type:function size:0x9C reserveRVLGame__Q33ipl3bs27ManagerFv = .text:0x81360AB8; // type:function size:0xC @@ -2197,11 +2201,11 @@ __ct__Q33ipl7utility4TreeFv = .text:0x8136270C; // type:function size:0x24 attach__Q33ipl7utility4TreeFPQ33ipl7utility4Tree = .text:0x81362730; // type:function size:0x3C insert__Q33ipl7utility4TreeFPQ33ipl7utility4TreePQ33ipl7utility4Tree = .text:0x8136276C; // type:function size:0x38 detach__Q33ipl7utility4TreeFv = .text:0x813627A4; // type:function size:0x4C -getPrev__Q33ipl7utility4TreeFv = .text:0x813627F0; // type:function size:0x8 -getNext__Q33ipl7utility4TreeFv = .text:0x813627F8; // type:function size:0x8 -getChild__Q33ipl7utility4TreeFv = .text:0x81362800; // type:function size:0x8 -getParent__Q33ipl7utility4TreeFv = .text:0x81362808; // type:function size:0x8 -__dt__Q33ipl7utility4TreeFv = .text:0x81362810; // type:function size:0x40 +getPrev__Q33ipl7utility4TreeFv = .text:0x813627F0; // type:function size:0x8 scope:weak +getNext__Q33ipl7utility4TreeFv = .text:0x813627F8; // type:function size:0x8 scope:weak +getChild__Q33ipl7utility4TreeFv = .text:0x81362800; // type:function size:0x8 scope:weak +getParent__Q33ipl7utility4TreeFv = .text:0x81362808; // type:function size:0x8 scope:weak +__dt__Q33ipl7utility4TreeFv = .text:0x81362810; // type:function size:0x40 scope:weak init__Q33ipl7utility15FrameControllerFifff = .text:0x81362850; // type:function size:0x20 initFrame__Q33ipl7utility15FrameControllerFv = .text:0x81362870; // type:function size:0x20 calc__Q33ipl7utility15FrameControllerFv = .text:0x81362890; // type:function size:0x170 @@ -2325,49 +2329,49 @@ ReadFlags__Q33ipl7utility7CSFlagsFPQ33ipl7utility11CSFlagsData = .text:0x8136846 WriteFlags__Q33ipl7utility7CSFlagsFPQ33ipl7utility11CSFlagsData = .text:0x81368560; // type:function size:0xF0 UpdateFlagsFile__Q33ipl7utility7CSFlagsFv = .text:0x81368650; // type:function size:0xB8 SetEULAFlag__Q33ipl7utility7CSFlagsFPQ33ipl7utility11CSFlagsData = .text:0x81368708; // type:function size:0x50 -drawLine___FfffffUcR8_GXColor = .text:0x81368758; // type:function size:0x1C0 scope:local +drawLine___FfffffUcR8_GXColor = .text:0x81368758; // type:function size:0x1C0 scope:global update__Q23gui9ComponentFiffUlUlUlPv = .text:0x81368918; // type:function size:0x2C0 -isVisible__Q23gui9ComponentFv = .text:0x81368BD8; // type:function size:0x8 -isPointed__Q23gui9ComponentFi = .text:0x81368BE0; // type:function size:0xC -onMove__Q23gui9ComponentFiff = .text:0x81368BEC; // type:function size:0x18 -getID__Q23gui9ComponentFv = .text:0x81368C04; // type:function size:0x8 -setPointed__Q23gui9ComponentFib = .text:0x81368C0C; // type:function size:0xC -onPoint__Q23gui9ComponentFi = .text:0x81368C18; // type:function size:0x14 -offPoint__Q23gui9ComponentFi = .text:0x81368C2C; // type:function size:0x14 -onDrag__Q23gui9ComponentFff = .text:0x81368C40; // type:function size:0x4 +isVisible__Q23gui9ComponentFv = .text:0x81368BD8; // type:function size:0x8 scope:weak +isPointed__Q23gui9ComponentFi = .text:0x81368BE0; // type:function size:0xC scope:weak +onMove__Q23gui9ComponentFiff = .text:0x81368BEC; // type:function size:0x18 scope:weak +getID__Q23gui9ComponentFv = .text:0x81368C04; // type:function size:0x8 scope:weak +setPointed__Q23gui9ComponentFib = .text:0x81368C0C; // type:function size:0xC scope:weak +onPoint__Q23gui9ComponentFi = .text:0x81368C18; // type:function size:0x14 scope:weak +offPoint__Q23gui9ComponentFi = .text:0x81368C2C; // type:function size:0x14 scope:weak +onDrag__Q23gui9ComponentFff = .text:0x81368C40; // type:function size:0x4 scope:weak __dt__Q23gui7ManagerFv = .text:0x81368C44; // type:function size:0xB4 init__Q23gui7ManagerFv = .text:0x81368CF8; // type:function size:0x68 -init__Q23gui9ComponentFv = .text:0x81368D60; // type:function size:0x54 +init__Q23gui9ComponentFv = .text:0x81368D60; // type:function size:0x54 scope:weak addComponent__Q23gui7ManagerFPQ23gui9Component = .text:0x81368DB4; // type:function size:0xBC -setManager__Q23gui9ComponentFPQ23gui7Manager = .text:0x81368E70; // type:function size:0x8 +setManager__Q23gui9ComponentFPQ23gui7Manager = .text:0x81368E70; // type:function size:0x8 scope:weak getComponent__Q23gui7ManagerFUl = .text:0x81368E78; // type:function size:0x2C update__Q23gui7ManagerFiffUlUlUlPv = .text:0x81368EA4; // type:function size:0x1B0 -isTriggerTarger__Q23gui9ComponentFv = .text:0x81369054; // type:function size:0x8 -onTrig__Q23gui9ComponentFiUlR3Vec = .text:0x8136905C; // type:function size:0x4C +isTriggerTarger__Q23gui9ComponentFv = .text:0x81369054; // type:function size:0x8 scope:weak +onTrig__Q23gui9ComponentFiUlR3Vec = .text:0x8136905C; // type:function size:0x4C scope:weak calc__Q23gui7ManagerFv = .text:0x813690A8; // type:function size:0x68 draw__Q23gui7ManagerFv = .text:0x81369110; // type:function size:0x68 setAllComponentTriggerTarget__Q23gui7ManagerFb = .text:0x81369178; // type:function size:0x70 -setTriggerTarget__Q23gui9ComponentFb = .text:0x813691E8; // type:function size:0x8 +setTriggerTarget__Q23gui9ComponentFb = .text:0x813691E8; // type:function size:0x8 scope:weak setDraggingButton__Q23gui7ManagerFUl = .text:0x813691F0; // type:function size:0x70 -setDraggingButton__Q23gui9ComponentFUl = .text:0x81369260; // type:function size:0x8 +setDraggingButton__Q23gui9ComponentFUl = .text:0x81369260; // type:function size:0x8 scope:weak __dt__Q23gui11PaneManagerFv = .text:0x81369268; // type:function size:0xEC -__dt__Q23gui13PaneComponentFv = .text:0x81369354; // type:function size:0x40 +__dt__Q23gui13PaneComponentFv = .text:0x81369354; // type:function size:0x40 scope:weak __dt__Q23gui9ComponentFv = .text:0x81369394; // type:function size:0x40 createLayoutScene__Q23gui11PaneManagerFRCQ34nw4r3lyt6Layout = .text:0x813693D4; // type:function size:0x20 walkInChildren__Q23gui11PaneManagerFRQ34nw4r2ut28LinkList = .text:0x813693F4; // type:function size:0x1E4 -__ct__Q23gui13PaneComponentFUl = .text:0x813695D8; // type:function size:0x78 -setPane__Q23gui13PaneComponentFPQ34nw4r3lyt4Pane = .text:0x81369650; // type:function size:0x8 -IsDerivedFrom__Q44nw4r2ut6detail15RuntimeTypeInfoCFPCQ44nw4r2ut6detail15RuntimeTypeInfo = .text:0x81369658; // type:function size:0x28 +__ct__Q23gui13PaneComponentFUl = .text:0x813695D8; // type:function size:0x78 scope:weak +setPane__Q23gui13PaneComponentFPQ34nw4r3lyt4Pane = .text:0x81369650; // type:function size:0x8 scope:weak +IsDerivedFrom__Q44nw4r2ut6detail15RuntimeTypeInfoCFPCQ44nw4r2ut6detail15RuntimeTypeInfo = .text:0x81369658; // type:function size:0x28 scope:weak getPaneComponentByPane__Q23gui11PaneManagerFPQ34nw4r3lyt4Pane = .text:0x81369680; // type:function size:0x70 setAllBoundingBoxComponentTriggerTarget__Q23gui11PaneManagerFb = .text:0x813696F0; // type:function size:0xAC contain__Q23gui13PaneComponentFff = .text:0x8136979C; // type:function size:0x128 draw__Q23gui13PaneComponentFv = .text:0x813698C4; // type:function size:0x18C is_visible__3guiFPQ34nw4r3lyt4Pane = .text:0x81369A50; // type:function size:0x30 scope:local isVisible__Q23gui13PaneComponentFv = .text:0x81369A80; // type:function size:0x8 -setFlightDuration__Q23gui9ComponentFiUs = .text:0x81369A88; // type:function size:0x10 -getFlightDuration__Q23gui9ComponentFi = .text:0x81369A98; // type:function size:0x10 -update__Q23gui9ComponentFiPC10KPADStatusffPv = .text:0x81369AA8; // type:function size:0x8 -isDragging__Q23gui9ComponentFi = .text:0x81369AB0; // type:function size:0xC +setFlightDuration__Q23gui9ComponentFiUs = .text:0x81369A88; // type:function size:0x10 scope:weak +getFlightDuration__Q23gui9ComponentFi = .text:0x81369A98; // type:function size:0x10 scope:weak +update__Q23gui9ComponentFiPC10KPADStatusffPv = .text:0x81369AA8; // type:function size:0x8 scope:weak +isDragging__Q23gui9ComponentFi = .text:0x81369AB0; // type:function size:0xC scope:weak __ct__Q33ipl6layout8AnimatorFPQ34nw4r3lyt13AnimTransformbb = .text:0x81369ABC; // type:function size:0x100 calc__Q33ipl6layout8AnimatorFv = .text:0x81369BBC; // type:function size:0x54 setFlag__Q33ipl6layout8AnimatorFb = .text:0x81369C10; // type:function size:0x4 @@ -2375,18 +2379,18 @@ setFrame__Q33ipl6layout8AnimatorFv = .text:0x81369C14; // type:function size:0x1 initAnmFrame__Q33ipl6layout8AnimatorFv = .text:0x81369C24; // type:function size:0x3C initAnmFrame__Q33ipl6layout8AnimatorFf = .text:0x81369C60; // type:function size:0x10 __ct__Q33ipl6layout12PaneAnimatorFPQ34nw4r3lyt13AnimTransformPQ34nw4r3lyt4Panebb = .text:0x81369C70; // type:function size:0x54 -__dt__Q33ipl6layout8AnimatorFv = .text:0x81369CC4; // type:function size:0x40 +__dt__Q33ipl6layout8AnimatorFv = .text:0x81369CC4; // type:function size:0x40 scope:weak bind__Q33ipl6layout12PaneAnimatorFv = .text:0x81369D04; // type:function size:0x24 setFlag__Q33ipl6layout12PaneAnimatorFb = .text:0x81369D28; // type:function size:0x28 __ct__Q33ipl6layout13GroupAnimatorFPQ34nw4r3lyt13AnimTransformPQ34nw4r3lyt5Groupbb = .text:0x81369D50; // type:function size:0x54 bind__Q33ipl6layout13GroupAnimatorFv = .text:0x81369DA4; // type:function size:0x90 -GetBeginIter__Q34nw4r2ut39LinkListFv = .text:0x81369E34; // type:function size:0x8 -GetEndIter__Q34nw4r2ut39LinkListFv = .text:0x81369E3C; // type:function size:0x8 -__ne__Q24nw4r2utFQ44nw4r2ut39LinkList8IteratorQ44nw4r2ut39LinkList8Iterator = .text:0x81369E44; // type:function size:0x18 +GetBeginIter__Q34nw4r2ut39LinkListFv = .text:0x81369E34; // type:function size:0x8 scope:weak +GetEndIter__Q34nw4r2ut39LinkListFv = .text:0x81369E3C; // type:function size:0x8 scope:weak +__ne__Q24nw4r2utFQ44nw4r2ut39LinkList8IteratorQ44nw4r2ut39LinkList8Iterator = .text:0x81369E44; // type:function size:0x18 scope:weak setFlag__Q33ipl6layout13GroupAnimatorFb = .text:0x81369E5C; // type:function size:0x98 __ct__Q33ipl6layout6ObjectFPQ23EGG4HeapPvPCcPCc = .text:0x81369EF4; // type:function size:0xE0 -__ct__Q34nw4r3lyt15ArcResourceLinkFv = .text:0x81369FD4; // type:function size:0x10 -__dt__Q34nw4r3lyt15ArcResourceLinkFv = .text:0x81369FE4; // type:function size:0x40 +__ct__Q34nw4r3lyt15ArcResourceLinkFv = .text:0x81369FD4; // type:function size:0x10 scope:weak +__dt__Q34nw4r3lyt15ArcResourceLinkFv = .text:0x81369FE4; // type:function size:0x40 scope:weak __ct__Q33ipl6layout6ObjectFPQ23EGG4HeapPQ33ipl4nand10LayoutFilePCcPCc = .text:0x8136A024; // type:function size:0x128 __dt__Q33ipl6layout6ObjectFv = .text:0x8136A14C; // type:function size:0x124 init___Q33ipl6layout6ObjectFPCc = .text:0x8136A270; // type:function size:0xFC @@ -2411,7 +2415,7 @@ isPlaying__Q33ipl6layout6ObjectCFi = .text:0x8136AAD0; // type:function size:0x9 attach__Q33ipl6layout6ObjectFPvPCc = .text:0x8136AB68; // type:function size:0x60 attach_font__Q33ipl6layout6ObjectFv = .text:0x8136ABC8; // type:function size:0xFC initLocationAdjust__Q33ipl6layout6ObjectFv = .text:0x8136ACC4; // type:function size:0x114 -__as__Q34nw4r4math4VEC2FRCQ34nw4r4math4VEC2 = .text:0x8136ADD8; // type:function size:0x14 +__as__Q34nw4r4math4VEC2FRCQ34nw4r4math4VEC2 = .text:0x8136ADD8; // type:function size:0x14 scope:weak adjustHeap__Q33ipl6layout6ObjectFv = .text:0x8136ADEC; // type:function size:0x14 destroyHeap__Q33ipl6layout6ObjectFv = .text:0x8136AE00; // type:function size:0x14 create__Q33ipl6layout6ObjectFPQ23EGG4HeapUlPQ33ipl4nand10LayoutFilePCcPCc = .text:0x8136AE14; // type:function size:0x7C @@ -3074,8 +3078,8 @@ calcFadeout__Q33ipl5scene8BackMenuFv = .text:0x8138EC44; // type:function size:0 draw__Q33ipl5scene8BackMenuFv = .text:0x8138ED2C; // type:function size:0x50 calcCommonAfter__Q33ipl5scene14FaderSceneBaseFv = .text:0x8138ED7C; // type:function size:0x4 initCalcNormal__Q33ipl5scene14FaderSceneBaseFv = .text:0x8138ED80; // type:function size:0x4 -__dt__Q33ipl5scene8BackMenuFv = .text:0x8138ED84; // type:function size:0x5C -@20@__dt__Q33ipl5scene8BackMenuFv = .text:0x8138EDE0; // type:function size:0x8 +__dt__Q33ipl5scene8BackMenuFv = .text:0x8138ED84; // type:function size:0x5C scope:weak +@20@__dt__Q33ipl5scene8BackMenuFv = .text:0x8138EDE0; // type:function size:0x8 scope:weak __ct__Q33ipl5scene5BoardFPQ23EGG4Heap = .text:0x8138EDE8; // type:function size:0x108 __dt__Q43ipl5scene5Board7ObjListFv = .text:0x8138EEF0; // type:function size:0x68 __dt__Q33ipl5scene11BoardObjectFv = .text:0x8138EF58; // type:function size:0x40 @@ -3961,7 +3965,7 @@ draw__Q33ipl5scene8skHealthFv = .text:0x813BDE14; // type:function size:0x50 check_safe_mode__Q33ipl5scene8skHealthFv = .text:0x813BDE64; // type:function size:0x118 finish_safe_mode_check__Q33ipl5scene8skHealthCFv = .text:0x813BDF7C; // type:function size:0x88 initCalcFadeout__Q33ipl5scene14FaderSceneBaseFv = .text:0x813BE004; // type:function size:0x4 -@20@__dt__Q33ipl5scene8skHealthFv = .text:0x813BE008; // type:function size:0x8 +@20@__dt__Q33ipl5scene8skHealthFv = .text:0x813BE008; // type:function size:0x8 scope:weak __ct__Q33ipl5scene12KitayamaTestFPQ23EGG4Heapi = .text:0x813BE010; // type:function size:0x6C __dt__Q33ipl5scene12KitayamaTestFv = .text:0x813BE07C; // type:function size:0x5C prepare__Q33ipl5scene12KitayamaTestFv = .text:0x813BE0D8; // type:function size:0x4 @@ -4025,7 +4029,7 @@ calcFadein__Q33ipl5scene9LimitOverFv = .text:0x813C202C; // type:function size:0 calcNormal__Q33ipl5scene9LimitOverFv = .text:0x813C21DC; // type:function size:0x11C calcFadeout__Q33ipl5scene9LimitOverFv = .text:0x813C22F8; // type:function size:0xC8 draw__Q33ipl5scene9LimitOverFv = .text:0x813C23C0; // type:function size:0x50 -@20@__dt__Q33ipl5scene9LimitOverFv = .text:0x813C2410; // type:function size:0x8 +@20@__dt__Q33ipl5scene9LimitOverFv = .text:0x813C2410; // type:function size:0x8 scope:weak __ct__Q33ipl5scene17MailAddressSelectFPQ23EGG4Heap = .text:0x813C2418; // type:function size:0x8C __dt__Q33ipl5scene17MailAddressSelectFv = .text:0x813C24A4; // type:function size:0x5C prepare__Q33ipl5scene17MailAddressSelectFv = .text:0x813C2500; // type:function size:0x4C @@ -4517,8 +4521,8 @@ __dt__Q33ipl5scene14ParentalDialogFv = .text:0x813DA714; // type:function size:0 @20@__dt__Q33ipl5scene14ParentalDialogFv = .text:0x813DA770; // type:function size:0x8 calc__Q33ipl5scene6RebootFv = .text:0x813DA778; // type:function size:0x10C draw__Q33ipl5scene4BaseFv = .text:0x813DA884; // type:function size:0x4 -__dt__Q33ipl5scene6RebootFv = .text:0x813DA888; // type:function size:0x58 -@20@__dt__Q33ipl5scene6RebootFv = .text:0x813DA8E0; // type:function size:0x8 +__dt__Q33ipl5scene6RebootFv = .text:0x813DA888; // type:function size:0x58 scope:weak +@20@__dt__Q33ipl5scene6RebootFv = .text:0x813DA8E0; // type:function size:0x8 scope:weak create__Q33ipl5scene9RootSceneFv = .text:0x813DA8E8; // type:function size:0x14 proc_boot_scene__Q33ipl5scene9RootSceneFPiPi = .text:0x813DA8FC; // type:function size:0x1AC __dt__Q33ipl5scene9RootSceneFv = .text:0x813DAAA8; // type:function size:0x58 @@ -5090,7 +5094,7 @@ Init__Q33ipl5scene11USBAPThreadFPUsPUc = .text:0x813FC940; // type:function size cancel__Q33ipl5scene11USBAPThreadFv = .text:0x813FC9C0; // type:function size:0x4 is__Q33ipl5scene11USBAPThreadFv = .text:0x813FC9C4; // type:function size:0x4 setData__Q33ipl5scene11USBAPThreadFPCwPUc = .text:0x813FC9C8; // type:function size:0x40 -USBAPThread_813FCA08__Q33ipl5scene11USBAPThreadFv = .text:0x813FCA08; // type:function size:0x4 scope:local +callback__Q33ipl5scene11USBAPThreadFv = .text:0x813FCA08; // type:function size:0x4 __ct__Q33ipl5scene10AOSSThreadFPQ23EGG4Heap = .text:0x813FCA0C; // type:function size:0x94 destroy__Q33ipl5scene10AOSSThreadFi = .text:0x813FCAA0; // type:function size:0x84 __dt__Q33ipl5scene10AOSSThreadFv = .text:0x813FCB24; // type:function size:0x70 @@ -5182,7 +5186,7 @@ create__Q33ipl5scene9SettingBgFv = .text:0x81406D74; // type:function size:0xA4 calc__Q33ipl5scene9SettingBgFv = .text:0x81406E18; // type:function size:0x8 draw__Q33ipl5scene9SettingBgFv = .text:0x81406E20; // type:function size:0x50 __dt__Q33ipl5scene9SettingBgFv = .text:0x81406E70; // type:function size:0x58 -@20@__dt__Q33ipl5scene9SettingBgFv = .text:0x81406EC8; // type:function size:0x8 +@20@__dt__Q33ipl5scene9SettingBgFv = .text:0x81406EC8; // type:function size:0x8 scope:weak __ct__Q33ipl5scene13SettingButtonFPQ23EGG4Heapi = .text:0x81406ED0; // type:function size:0x9C prepare__Q33ipl5scene13SettingButtonFv = .text:0x81406F6C; // type:function size:0x4C create__Q33ipl5scene13SettingButtonFv = .text:0x81406FB8; // type:function size:0x288 @@ -5204,8 +5208,8 @@ reserve__Q33ipl5scene13SettingButtonFiUl = .text:0x814079F8; // type:function si isPlaying__Q33ipl5scene13SettingButtonCFv = .text:0x81407A4C; // type:function size:0x3C calcFadeout__Q33ipl5scene14FaderSceneBaseFv = .text:0x81407A88; // type:function size:0x8 __dt__Q33ipl5scene13SettingButtonFv = .text:0x81407A90; // type:function size:0x5C -@20@__dt__Q33ipl5scene13SettingButtonFv = .text:0x81407AEC; // type:function size:0x8 -@88@onEvent__Q33ipl5scene13SettingButtonFUlUlPv = .text:0x81407AF4; // type:function size:0x8 +@20@__dt__Q33ipl5scene13SettingButtonFv = .text:0x81407AEC; // type:function size:0x8 scope:weak +@88@onEvent__Q33ipl5scene13SettingButtonFUlUlPv = .text:0x81407AF4; // type:function size:0x8 scope:weak __ct__Q33ipl5scene13SettingSelectFPQ23EGG4Heapi = .text:0x81407AFC; // type:function size:0x88 prepare__Q33ipl5scene13SettingSelectFv = .text:0x81407B84; // type:function size:0x4C create__Q33ipl5scene13SettingSelectFv = .text:0x81407BD0; // type:function size:0x6C4 @@ -5253,7 +5257,7 @@ do_destroy__Q33ipl5scene4BaseFv = .text:0x81409E28; // type:function size:0x60 createChildScene__Q33ipl5scene4BaseFiPQ33ipl5scene4BasePQ33ipl5scene4BasePv = .text:0x81409E88; // type:function size:0x70 reserveSceneChange__Q33ipl5scene4BaseFiPv = .text:0x81409EF8; // type:function size:0x9C reserveAllSceneDestruction__Q33ipl5scene4BaseFiPv = .text:0x81409F94; // type:function size:0x28 -@20@__dt__Q33ipl5scene4BaseFv = .text:0x81409FBC; // type:function size:0x8 +@20@__dt__Q33ipl5scene4BaseFv = .text:0x81409FBC; // type:function size:0x8 scope:weak size__Q33ipl5scene7CreatorFi = .text:0x81409FC4; // type:function size:0x44 create__Q33ipl5scene7CreatorFiPQ23EGG4HeapPv = .text:0x8140A008; // type:function size:0x4F0 clear__Q33ipl5scene7CommandFv = .text:0x8140A4F8; // type:function size:0x48 @@ -5287,8 +5291,8 @@ __ml__Q43ipl7utility4Tree16reverse_iteratorFv = .text:0x8140B1B4; // type:functi pop__Q33ipl7utility29QueueFv = .text:0x8140B1BC; // type:function size:0x4C __ct__Q33ipl5scene14FaderSceneBaseFPQ23EGG4Heap = .text:0x8140B208; // type:function size:0x4C calc__Q33ipl5scene14FaderSceneBaseFv = .text:0x8140B254; // type:function size:0x14C -calcNormal__Q33ipl5scene14FaderSceneBaseFv = .text:0x8140B3A0; // type:function size:0x8 -@20@__dt__Q33ipl5scene14FaderSceneBaseFv = .text:0x8140B3A8; // type:function size:0x8 +calcNormal__Q33ipl5scene14FaderSceneBaseFv = .text:0x8140B3A0; // type:function size:0x8 scope:weak +@20@__dt__Q33ipl5scene14FaderSceneBaseFv = .text:0x8140B3A8; // type:function size:0x8 scope:weak onNigaoeButton__Q33ipl5scene17InputFormObserverFv = .text:0x8140B3B0; // type:function size:0x14 pointNigaoeButton__Q33ipl5scene17InputFormObserverFv = .text:0x8140B3C4; // type:function size:0x14 leftNigaoeButton__Q33ipl5scene17InputFormObserverFv = .text:0x8140B3D8; // type:function size:0x14 @@ -7945,8 +7949,8 @@ NWC24ReadMsgText = .text:0x814A908C; // type:function size:0x5C NWC24ReadMsgTextEx = .text:0x814A90E8; // type:function size:0xB8 ReadMsgTextInternal = .text:0x814A91A0; // type:function size:0x2C8 scope:local NWC24ReadMsgAttached = .text:0x814A9468; // type:function size:0x16C -NWC24_814A95D4 = .text:0x814A95D4; // type:function size:0x13C -NWC24_814A9710 = .text:0x814A9710; // type:function size:0x140 +ReadBase64Data = .text:0x814A95D4; // type:function size:0x13C +ReadQPText = .text:0x814A9710; // type:function size:0x140 NWC24ReadMsgSubjectPublic = .text:0x814A9850; // type:function size:0x1A0 NWC24ReadMsgTextPublic = .text:0x814A99F0; // type:function size:0x118 NWC24SetMsgSubjectPublic = .text:0x814A9B08; // type:function size:0x1C8 @@ -8867,21 +8871,21 @@ TMCJPEGDEC_imageend = .text:0x814ECA94; // type:function size:0xA0 TMCJPEGDEC_scanstart = .text:0x814ECB34; // type:function size:0xD4 TMCJPEGDEC_scan_varinit = .text:0x814ECC08; // type:function size:0x204 TMCJPEGDEC_restart_interval = .text:0x814ECE0C; // type:function size:0x174 -TMCJPEG_814ECF80 = .text:0x814ECF80; // type:function size:0x2DC scope:local -TMCJPEG_814ED25C = .text:0x814ED25C; // type:function size:0x1E0 scope:local -TMCJPEG_814ED43C = .text:0x814ED43C; // type:function size:0x148 scope:local -TMCJPEG_814ED584 = .text:0x814ED584; // type:function size:0x37C scope:local -TMCJPEG_814ED900 = .text:0x814ED900; // type:function size:0x1C0 scope:local +TMCJPEGDEC_parse_para = .text:0x814ECF80; // type:function size:0x2DC scope:local +TMCJPEGDEC_parse_dht = .text:0x814ED25C; // type:function size:0x1E0 scope:local +TMCJPEGDEC_parse_dqt = .text:0x814ED43C; // type:function size:0x148 scope:local +TMCJPEGDEC_parse_sof = .text:0x814ED584; // type:function size:0x37C scope:local +TMCJPEGDEC_parse_sos = .text:0x814ED900; // type:function size:0x1C0 scope:local TMCJPEGDEC_err_restart = .text:0x814EDAC0; // type:function size:0x1CC TMCJPEGDEC_set_entropytbl = .text:0x814EDC8C; // type:function size:0x98 TMCCJPEGDecGetOffsetEXIF = .text:0x814EDD24; // type:function size:0x26C TMCCJPEGDecGetInfoEXIF = .text:0x814EDF90; // type:function size:0x210 -TMCJPEG_814EE1A0 = .text:0x814EE1A0; // type:function size:0x350 scope:local -TMCJPEG_814EE4F0 = .text:0x814EE4F0; // type:function size:0x784 scope:local -TMCJPEG_814EEC74 = .text:0x814EEC74; // type:function size:0x3C8 scope:local -TMCJPEG_814EF03C = .text:0x814EF03C; // type:function size:0xC8 scope:local +TMCJPEGDEC_exif_parse = .text:0x814EE1A0; // type:function size:0x350 scope:local +TMCJPEGDEC_IFD0_tag_parse = .text:0x814EE4F0; // type:function size:0x784 scope:local +TMCJPEGDEC_IFD1_tag_parse = .text:0x814EEC74; // type:function size:0x3C8 scope:local +TMCJPEGDEC_ThumbnailCheck = .text:0x814EF03C; // type:function size:0xC8 scope:local TMCJPEGDEC_decode_iquant_rc = .text:0x814EF104; // type:function size:0x29C -TMCJPEG_814EF3A0 = .text:0x814EF3A0; // type:function size:0xF0 scope:local +TMCJPEGDEC_vl_decode_rc = .text:0x814EF3A0; // type:function size:0xF0 scope:local TMCJPEGDEC_IdctBlock4x4 = .text:0x814EF490; // type:function size:0x220 TMCJPEGDEC_IdctBlock2x2 = .text:0x814EF6B0; // type:function size:0x11C TMCJPEGDEC_IdctBlock1x1 = .text:0x814EF7CC; // type:function size:0x44 @@ -8902,31 +8906,31 @@ TMCJPEG_814F32E4 = .text:0x814F32E4; // type:function size:0x1C0 scope:local TMCJPEG_814F34A4 = .text:0x814F34A4; // type:function size:0x288 scope:local TMCJPEG_814F372C = .text:0x814F372C; // type:function size:0x2BC scope:local TMCJPEGDEC_set_converterRGB565 = .text:0x814F39E8; // type:function size:0x2A8 -TMCJPEG_814F3C90 = .text:0x814F3C90; // type:function size:0x364 scope:local -TMCJPEG_814F3FF4 = .text:0x814F3FF4; // type:function size:0x1A8 scope:local -TMCJPEG_814F419C = .text:0x814F419C; // type:function size:0x220 scope:local -TMCJPEG_814F43BC = .text:0x814F43BC; // type:function size:0x1AC scope:local -TMCJPEG_814F4568 = .text:0x814F4568; // type:function size:0x234 scope:local -TMCJPEG_814F479C = .text:0x814F479C; // type:function size:0x1C8 scope:local -TMCJPEG_814F4964 = .text:0x814F4964; // type:function size:0x188 scope:local -TMCJPEG_814F4AEC = .text:0x814F4AEC; // type:function size:0x1B4 scope:local -TMCJPEG_814F4CA0 = .text:0x814F4CA0; // type:function size:0x16C scope:local -TMCJPEG_814F4E0C = .text:0x814F4E0C; // type:function size:0x1A0 scope:local -TMCJPEG_814F4FAC = .text:0x814F4FAC; // type:function size:0x118 scope:local -TMCJPEG_814F50C4 = .text:0x814F50C4; // type:function size:0x14C scope:local +TMCJPEGDEC_converterYUV411toRGB565 = .text:0x814F3C90; // type:function size:0x364 scope:local +TMCJPEGDEC_converterYUV411toRGB565edge = .text:0x814F3FF4; // type:function size:0x1A8 scope:local +TMCJPEGDEC_converterYUV422toRGB565 = .text:0x814F419C; // type:function size:0x220 scope:local +TMCJPEGDEC_converterYUV422toRGB565edge = .text:0x814F43BC; // type:function size:0x1AC scope:local +TMCJPEGDEC_converterYUV420toRGB565 = .text:0x814F4568; // type:function size:0x234 scope:local +TMCJPEGDEC_converterYUV420toRGB565edge = .text:0x814F479C; // type:function size:0x1C8 scope:local +TMCJPEGDEC_converterYUV211toRGB565 = .text:0x814F4964; // type:function size:0x188 scope:local +TMCJPEGDEC_converterYUV211toRGB565edge = .text:0x814F4AEC; // type:function size:0x1B4 scope:local +TMCJPEGDEC_converterYUV444toRGB565 = .text:0x814F4CA0; // type:function size:0x16C scope:local +TMCJPEGDEC_converterYUV444toRGB565edge = .text:0x814F4E0C; // type:function size:0x1A0 scope:local +TMCJPEGDEC_converterYUV400toRGB565 = .text:0x814F4FAC; // type:function size:0x118 scope:local +TMCJPEGDEC_converterYUV400toRGB565edge = .text:0x814F50C4; // type:function size:0x14C scope:local TMCJPEGDEC_set_converterRGBA8 = .text:0x814F5210; // type:function size:0x2A8 -TMCJPEG_814F54B8 = .text:0x814F54B8; // type:function size:0x3C8 scope:local -TMCJPEG_814F5880 = .text:0x814F5880; // type:function size:0x1C0 scope:local -TMCJPEG_814F5A40 = .text:0x814F5A40; // type:function size:0x250 scope:local -TMCJPEG_814F5C90 = .text:0x814F5C90; // type:function size:0x1C4 scope:local -TMCJPEG_814F5E54 = .text:0x814F5E54; // type:function size:0x264 scope:local -TMCJPEG_814F60B8 = .text:0x814F60B8; // type:function size:0x1E0 scope:local -TMCJPEG_814F6298 = .text:0x814F6298; // type:function size:0x1A0 scope:local -TMCJPEG_814F6438 = .text:0x814F6438; // type:function size:0x1CC scope:local -TMCJPEG_814F6604 = .text:0x814F6604; // type:function size:0x184 scope:local -TMCJPEG_814F6788 = .text:0x814F6788; // type:function size:0x1B8 scope:local -TMCJPEG_814F6940 = .text:0x814F6940; // type:function size:0x130 scope:local -TMCJPEG_814F6A70 = .text:0x814F6A70; // type:function size:0x164 scope:local +TMCJPEGDEC_converterYUV411toRGBA8 = .text:0x814F54B8; // type:function size:0x3C8 scope:local +TMCJPEGDEC_converterYUV411toRGBA8edge = .text:0x814F5880; // type:function size:0x1C0 scope:local +TMCJPEGDEC_converterYUV422toRGBA8 = .text:0x814F5A40; // type:function size:0x250 scope:local +TMCJPEGDEC_converterYUV422toRGBA8edge = .text:0x814F5C90; // type:function size:0x1C4 scope:local +TMCJPEGDEC_converterYUV420toRGBA8 = .text:0x814F5E54; // type:function size:0x264 scope:local +TMCJPEGDEC_converterYUV420toRGBA8edge = .text:0x814F60B8; // type:function size:0x1E0 scope:local +TMCJPEGDEC_converterYUV211toRGBA8 = .text:0x814F6298; // type:function size:0x1A0 scope:local +TMCJPEGDEC_converterYUV211toRGBA8edge = .text:0x814F6438; // type:function size:0x1CC scope:local +TMCJPEGDEC_converterYUV444toRGBA8 = .text:0x814F6604; // type:function size:0x184 scope:local +TMCJPEGDEC_converterYUV444toRGBA8edge = .text:0x814F6788; // type:function size:0x1B8 scope:local +TMCJPEGDEC_converterYUV400toRGBA8 = .text:0x814F6940; // type:function size:0x130 scope:local +TMCJPEGDEC_converterYUV400toRGBA8edge = .text:0x814F6A70; // type:function size:0x164 scope:local TMCJPEGDEC_decode_iquant = .text:0x814F6BD4; // type:function size:0x450 __ct__Q44nw4r3snd6detail9AxManagerFv = .text:0x814F7024; // type:function size:0x530 __ct__Q34nw4r2ut30LinkListFv = .text:0x814F7554; // type:function size:0x20 @@ -9181,7 +9185,7 @@ detail_GetRequiredStreamBufferSize__Q34nw4r3snd18MemorySoundArchiveCFv = .text:0 Close__Q44nw4r3snd18MemorySoundArchive16MemoryFileStreamFv = .text:0x81501A1C; // type:function size:0x14 Read__Q44nw4r3snd18MemorySoundArchive16MemoryFileStreamFPvUl = .text:0x81501A30; // type:function size:0x58 Seek__Q44nw4r3snd18MemorySoundArchive16MemoryFileStreamFlUl = .text:0x81501A88; // type:function size:0x4C -UNUSED_81501AD4__Q44nw4r3snd18MemorySoundArchive16MemoryFileStreamFv = .text:0x81501AD4; // type:function size:0x4 +UNUSED_81501AD4 = .text:0x81501AD4; // type:function size:0x4 GetRuntimeTypeInfo__Q34nw4r2ut10FileStreamCFv = .text:0x81501AD8; // type:function size:0x8 GetSize__Q44nw4r3snd18MemorySoundArchive16MemoryFileStreamCFv = .text:0x81501AE0; // type:function size:0x8 Tell__Q44nw4r3snd18MemorySoundArchive16MemoryFileStreamCFv = .text:0x81501AE8; // type:function size:0x8 @@ -10131,10 +10135,10 @@ __OSGetIOSRev = .text:0x8152B5E4; // type:function size:0x6C OSGetConsoleType = .text:0x8152B650; // type:function size:0x284 ClearArena = .text:0x8152B8D4; // type:function size:0x1DC scope:local ClearMEM2Arena = .text:0x8152BAB0; // type:function size:0x1E4 scope:local -InquiryCallback = .text:0x8152BC94; // type:function size:0x3C scope:local +InquiryCallback = .text:0x8152BC94; // type:function size:0x3C scope:global ReportOSInfo = .text:0x8152BCD0; // type:function size:0x2AC scope:local OSInit = .text:0x8152BF7C; // type:function size:0x438 -OSExceptionInit = .text:0x8152C3B4; // type:function size:0x280 scope:local +OSExceptionInit = .text:0x8152C3B4; // type:function size:0x280 scope:global __OSDBINTSTART = .text:0x8152C634; // type:label __OSDBIntegrator = .text:0x8152C634; // type:function size:0x24 scope:local __OSDBJUMPSTART = .text:0x8152C658; // type:label @@ -10185,7 +10189,7 @@ OSSetMEM2ArenaLo = .text:0x8152D3C8; // type:function size:0x8 OSSetArenaLo = .text:0x8152D3D0; // type:function size:0x8 OSAllocFromMEM1ArenaLo = .text:0x8152D3D8; // type:function size:0x34 OSAllocFromMEM2ArenaLo = .text:0x8152D40C; // type:function size:0x34 -__AIClockInit = .text:0x8152D440; // type:function size:0x220 scope:local +__AIClockInit = .text:0x8152D440; // type:function size:0x220 scope:global __OSInitAudioSystem = .text:0x8152D660; // type:function size:0x1C8 __OSStopAudioSystem = .text:0x8152D828; // type:function size:0xCC DCEnable = .text:0x8152D8F4; // type:function size:0x14 scope:global @@ -10216,18 +10220,18 @@ OSDumpContext = .text:0x8152E248; // type:function size:0x260 scope:global OSSwitchFPUContext = .text:0x8152E4A8; // type:function size:0x84 scope:local __OSContextInit = .text:0x8152E52C; // type:function size:0x48 OSFillFPUContext = .text:0x8152E574; // type:function size:0x12C -OSReport = .text:0x8152E6A0; // type:function size:0x8C scope:weak +OSReport = .text:0x8152E6A0; // type:function size:0x8C scope:global OSVReport = .text:0x8152E72C; // type:function size:0x4 OSPanic = .text:0x8152E730; // type:function size:0x12C OSSetErrorHandler = .text:0x8152E85C; // type:function size:0x288 scope:global __OSUnhandledException = .text:0x8152EAE4; // type:function size:0x2F0 scope:global -PackArgs = .text:0x8152EDD4; // type:function size:0x180 scope:local +PackArgs = .text:0x8152EDD4; // type:function size:0x180 __OSGetExecParams = .text:0x8152EF54; // type:function size:0x24 __OSCheckCompanyCode = .text:0x8152EF78; // type:function size:0x114 __OSCheckTmdCountryCode = .text:0x8152F08C; // type:function size:0x4C __OSGetValidTicketIndex = .text:0x8152F0D8; // type:function size:0x1F0 __OSLaunchTitle = .text:0x8152F2C8; // type:function size:0x11C -LaunchCommon = .text:0x8152F3E4; // type:function size:0x4A8 scope:local +LaunchCommon = .text:0x8152F3E4; // type:function size:0x4A8 scope:global __OSLaunchTitlevForSystem = .text:0x8152F88C; // type:function size:0xA8 __OSLaunchTitlelForSystem = .text:0x8152F934; // type:function size:0x12C __OSReturnToMenul = .text:0x8152FA60; // type:function size:0x108 @@ -10235,7 +10239,7 @@ GetFontCode = .text:0x8152FB68; // type:function size:0x134 scope:local Decode = .text:0x8152FC9C; // type:function size:0x1A4 scope:local OSGetFontEncode = .text:0x8152FE40; // type:function size:0x54 OSSetFontEncode = .text:0x8152FE94; // type:function size:0x80 -ReadFont = .text:0x8152FF14; // type:function size:0x300 scope:local +ReadFont = .text:0x8152FF14; // type:function size:0x300 scope:global OSLoadFont = .text:0x81530214; // type:function size:0x128 ParseStringS = .text:0x8153033C; // type:function size:0xFC scope:local ParseStringW = .text:0x81530438; // type:function size:0x1BC scope:local @@ -10263,7 +10267,7 @@ OSGetPhysicalMem2Size = .text:0x81531300; // type:function size:0xC OSGetConsoleSimulatedMem1Size = .text:0x8153130C; // type:function size:0xC scope:global OSGetConsoleSimulatedMem2Size = .text:0x81531318; // type:function size:0xC scope:global OnShutdown = .text:0x81531324; // type:function size:0x3C scope:local -MEMIntrruptHandler = .text:0x81531360; // type:function size:0x48 scope:local +MEMIntrruptHandler = .text:0x81531360; // type:function size:0x48 scope:global OSProtectRange = .text:0x815313A8; // type:function size:0xC8 ConfigMEM1_24MB = .text:0x81531470; // type:function size:0x80 scope:local ConfigMEM1_48MB = .text:0x815314F0; // type:function size:0x80 scope:local @@ -10301,7 +10305,7 @@ WriteSramCallback = .text:0x815329B8; // type:function size:0x138 scope:local __OSInitSram = .text:0x81532AF0; // type:function size:0x200 __OSLockSram = .text:0x81532CF0; // type:function size:0x50 __OSLockSramEx = .text:0x81532D40; // type:function size:0x50 -UnlockSram = .text:0x81532D90; // type:function size:0x2E0 scope:local +UnlockSram = .text:0x81532D90; // type:function size:0x2E0 scope:global __OSUnlockSram = .text:0x81533070; // type:function size:0x8 __OSUnlockSramEx = .text:0x81533078; // type:function size:0x8 __OSSyncSram = .text:0x81533080; // type:function size:0x10 @@ -10324,7 +10328,7 @@ OSInitSemaphore = .text:0x81533AB0; // type:function size:0x58 OSWaitSemaphore = .text:0x81533B08; // type:function size:0x70 OSSignalSemaphore = .text:0x81533B78; // type:function size:0x60 __OSSystemCallVectorStart = .text:0x81533BD8; // type:label -SystemCallVector = .text:0x81533BD8; // type:function size:0x20 scope:local +SystemCallVector = .text:0x81533BD8; // type:function size:0x20 scope:global __OSSystemCallVectorEnd = .text:0x81533BF4; // type:label __OSInitSystemCall = .text:0x81533BF8; // type:function size:0x60 DefaultSwitchThreadCallback = .text:0x81533C58; // type:function size:0x4 scope:local @@ -10338,9 +10342,9 @@ OSDisableScheduler = .text:0x81533FAC; // type:function size:0x3C scope:global OSEnableScheduler = .text:0x81533FE8; // type:function size:0x3C scope:global UnsetRun = .text:0x81534024; // type:function size:0x68 scope:local __OSGetEffectivePriority = .text:0x8153408C; // type:function size:0x3C -SetEffectivePriority = .text:0x815340C8; // type:function size:0x1B4 scope:local +SetEffectivePriority = .text:0x815340C8; // type:function size:0x1B4 scope:global __OSPromoteThread = .text:0x8153427C; // type:function size:0x50 -SelectThread = .text:0x815342CC; // type:function size:0x228 scope:local +SelectThread = .text:0x815342CC; // type:function size:0x228 scope:global __OSReschedule = .text:0x815344F4; // type:function size:0x18 scope:global OSYieldThread = .text:0x8153450C; // type:function size:0x3C OSCreateThread = .text:0x81534548; // type:function size:0x26C @@ -10354,7 +10358,7 @@ OSSleepThread = .text:0x8153507C; // type:function size:0xEC OSWakeupThread = .text:0x81535168; // type:function size:0xF4 OSSetThreadPriority = .text:0x8153525C; // type:function size:0xEC OSGetThreadPriority = .text:0x81535348; // type:function size:0x8 -CheckThreadQueue = .text:0x81535350; // type:function size:0x98 scope:local +CheckThreadQueue = .text:0x81535350; // type:function size:0x98 scope:global OSCheckActiveThreads = .text:0x815353E8; // type:function size:0x758 OSSetThreadSpecific = .text:0x81535B40; // type:function size:0x30 OSGetThreadSpecific = .text:0x81535B70; // type:function size:0x38 @@ -10385,16 +10389,16 @@ __OSHotReset = .text:0x815369EC; // type:function size:0x70 __OSSetVIForceDimming = .text:0x81536A5C; // type:function size:0xF8 __OSSetIdleLEDMode = .text:0x81536B54; // type:function size:0x40 __OSUnRegisterStateEvent = .text:0x81536B94; // type:function size:0x78 -__OSVIDimReplyHandler = .text:0x81536C0C; // type:function size:0x10 scope:local -__OSDefaultResetCallback = .text:0x81536C1C; // type:function size:0x4 scope:local -__OSDefaultPowerCallback = .text:0x81536C20; // type:function size:0x4 scope:local -__OSStateEventHandler = .text:0x81536C24; // type:function size:0x154 scope:local +__OSVIDimReplyHandler = .text:0x81536C0C; // type:function size:0x10 scope:global +__OSDefaultResetCallback = .text:0x81536C1C; // type:function size:0x4 scope:global +__OSDefaultPowerCallback = .text:0x81536C20; // type:function size:0x4 scope:global +__OSStateEventHandler = .text:0x81536C24; // type:function size:0x154 scope:global __get_clock = .text:0x81536D78; // type:function size:0x4 __get_time = .text:0x81536D7C; // type:function size:0x40 __to_gm_time = .text:0x81536DBC; // type:function size:0x8 __OSCreatePlayRecord = .text:0x81536DC4; // type:function size:0x11C __OSReadPlayRecord = .text:0x81536EE0; // type:function size:0xDC -PlayRecordAlarmCallback = .text:0x81536FBC; // type:function size:0xC scope:local +PlayRecordAlarmCallback = .text:0x81536FBC; // type:function size:0xC scope:global PlayRecordCallback = .text:0x81536FC8; // type:function size:0x4B0 scope:local __OSStartPlayRecord = .text:0x81537478; // type:function size:0x54 __OSStopPlayRecord = .text:0x815374CC; // type:function size:0x1E8 @@ -10406,11 +10410,11 @@ __OSSyncTimeWithNetRM = .text:0x815379E0; // type:function size:0x8 __OSCreateNandbootInfo = .text:0x815379E8; // type:function size:0xB0 __OSWriteNandbootInfo = .text:0x81537A98; // type:function size:0x158 __OSReadNandbootInfo = .text:0x81537BF0; // type:function size:0x198 -__OSPlayTimeRebootCallback = .text:0x81537D88; // type:function size:0x88 scope:local -__OSPlayTimeFadeLastAIDCallback = .text:0x81537E10; // type:function size:0x1BC scope:local -__OSWriteExpiredFlag = .text:0x81537FCC; // type:function size:0x114 scope:local -__OSPlayTimeRebootThread = .text:0x815380E0; // type:function size:0xEC scope:local -__OSPlayTimeAlarmExpired = .text:0x815381CC; // type:function size:0x11C scope:local +__OSPlayTimeRebootCallback = .text:0x81537D88; // type:function size:0x88 scope:global +__OSPlayTimeFadeLastAIDCallback = .text:0x81537E10; // type:function size:0x1BC scope:global +__OSWriteExpiredFlag = .text:0x81537FCC; // type:function size:0x114 scope:global +__OSPlayTimeRebootThread = .text:0x815380E0; // type:function size:0xEC scope:global +__OSPlayTimeAlarmExpired = .text:0x815381CC; // type:function size:0x11C scope:global __OSGetPlayTime = .text:0x815382E8; // type:function size:0x1C8 __OSInitPlayTime = .text:0x815384B0; // type:function size:0x158 __init_user = .text:0x81538608; // type:function size:0x20 @@ -10418,7 +10422,7 @@ __init_cpp = .text:0x81538628; // type:function size:0x48 scope:local exit = .text:0x81538670; // type:function size:0x4C SetExiInterruptMask = .text:0x815386BC; // type:function size:0xF0 scope:local EXIImm = .text:0x815387AC; // type:function size:0x27C scope:global -EXIImmEx = .text:0x81538A28; // type:function size:0xA4 scope:local +EXIImmEx = .text:0x81538A28; // type:function size:0xA4 EXIDma = .text:0x81538ACC; // type:function size:0xF8 EXISync = .text:0x81538BC4; // type:function size:0x27C scope:global EXISetExiCallback = .text:0x81538E40; // type:function size:0x84 @@ -13475,12 +13479,12 @@ __va_arg = .text:0x815F8F18; // type:function size:0xC8 __register_global_object = .text:0x815F8FE0; // type:function size:0x18 scope:global __destroy_global_chain = .text:0x815F8FF8; // type:function size:0x48 scope:global __construct_new_array = .text:0x815F9040; // type:function size:0x104 -__dt__26__partial_array_destructorFv = .text:0x815F9144; // type:function size:0xBC +__dt__26__partial_array_destructorFv = .text:0x815F9144; // type:function size:0xBC scope:weak __construct_array = .text:0x815F9200; // type:function size:0xF8 __destroy_arr = .text:0x815F92F8; // type:function size:0x78 __ptmf_scall = .text:0x815F9370; // type:function size:0x28 __cvt_fp2unsigned = .text:0x815F9398; // type:function size:0x5C -__save_fpr = .text:0x815F93F4; // type:function size:0x4C scope:global +__save_fpr = .text:0x815F93F4; // type:function size:0x4C scope:local _savefpr_14 = .text:0x815F93F4; // type:label scope:global _savefpr_15 = .text:0x815F93F8; // type:label scope:global _savefpr_16 = .text:0x815F93FC; // type:label scope:global @@ -13499,7 +13503,7 @@ _savefpr_28 = .text:0x815F942C; // type:label scope:global _savefpr_29 = .text:0x815F9430; // type:label scope:global _savefpr_30 = .text:0x815F9434; // type:label scope:global _savefpr_31 = .text:0x815F9438; // type:label scope:global -__restore_fpr = .text:0x815F9440; // type:function size:0x4C scope:global +__restore_fpr = .text:0x815F9440; // type:function size:0x4C scope:local _restfpr_14 = .text:0x815F9440; // type:label scope:global _restfpr_15 = .text:0x815F9444; // type:label scope:global _restfpr_16 = .text:0x815F9448; // type:label scope:global @@ -13518,7 +13522,7 @@ _restfpr_28 = .text:0x815F9478; // type:label scope:global _restfpr_29 = .text:0x815F947C; // type:label scope:global _restfpr_30 = .text:0x815F9480; // type:label scope:global _restfpr_31 = .text:0x815F9484; // type:label scope:global -__save_gpr = .text:0x815F948C; // type:function size:0x4C scope:global +__save_gpr = .text:0x815F948C; // type:function size:0x4C scope:local _savegpr_14 = .text:0x815F948C; // type:label scope:global _savegpr_15 = .text:0x815F9490; // type:label scope:global _savegpr_16 = .text:0x815F9494; // type:label scope:global @@ -13537,7 +13541,7 @@ _savegpr_28 = .text:0x815F94C4; // type:label scope:global _savegpr_29 = .text:0x815F94C8; // type:label scope:global _savegpr_30 = .text:0x815F94CC; // type:label scope:global _savegpr_31 = .text:0x815F94D0; // type:label scope:global -__restore_gpr = .text:0x815F94D8; // type:function size:0x4C scope:global +__restore_gpr = .text:0x815F94D8; // type:function size:0x4C scope:local _restgpr_14 = .text:0x815F94D8; // type:label scope:global _restgpr_15 = .text:0x815F94DC; // type:label scope:global _restgpr_16 = .text:0x815F94E0; // type:label scope:global @@ -13760,10 +13764,10 @@ __ieee754_sqrt = .text:0x8160CD34; // type:function size:0x248 nan = .text:0x8160CF7C; // type:function size:0x4 sqrt = .text:0x8160CF80; // type:function size:0x4 GetTRKConnected = .text:0x8160CF84; // type:function size:0x10 -TRKAccessFile = .text:0x8160CFA0; // type:function size:0x8 -TRKOpenFile = .text:0x8160CFA8; // type:function size:0x8 -TRKCloseFile = .text:0x8160CFB0; // type:function size:0x8 -TRKPositionFile = .text:0x8160CFB8; // type:function size:0x8 +TRKAccessFile = .text:0x8160CFA0; // type:function +TRKOpenFile = .text:0x8160CFA8; // type:function +TRKCloseFile = .text:0x8160CFB0; // type:function +TRKPositionFile = .text:0x8160CFB8; // type:function __TRK_write_console = .text:0x8160CFC0; // type:function size:0xBC __read_console = .text:0x8160D07C; // type:function size:0xBC EnableMetroTRKInterrupts = .text:0x8160D138; // type:function size:0x20 @@ -14164,7 +14168,7 @@ kprLookupTable437 = .rodata:0x81632E78; // type:object size:0x100 scReverbHiParam__Q23EGG10AudioFxMgr = .rodata:0x81632F78; // type:object size:0x18 scChorusParam__Q23EGG10AudioFxMgr = .rodata:0x81632F90; // type:object size:0x10 __constants = .rodata:0x81632FA0; // type:object size:0x18 align:8 data:double -@stringBase0 = .rodata:0x81632FB8; // type:object size:0x70 scope:local data:string_table +@stringBase0 = .rodata:0x81632FB8; // type:object size:0x6F scope:local data:string_table fix_pool_sizes = .rodata:0x81633028; // type:object size:0x18 data:4byte @stringBase0 = .rodata:0x81633040; // type:object size:0xDD scope:local data:string_table __ctype_mapC = .rodata:0x81633120; // type:object size:0x200 @@ -14237,9 +14241,9 @@ lbl_81634AB6 = .data:0x81634AB6; // type:object size:0x16 data:string jumptable_81634ACC = .data:0x81634ACC; // type:object size:0x30 scope:local __vt__Q33ipl7channel7Manager = .data:0x81634AFC; // type:object size:0xC lbl_81634B08 = .data:0x81634B08; // type:object size:0x187 data:string -lbl_81634C90 = .data:0x81634C90; // type:object size:0xC data:string -lbl_81634C9C = .data:0x81634C9C; // type:object size:0xC -jumptable_81634CA8 = .data:0x81634CA8; // type:object size:0x30 scope:local +@4747 = .data:0x81634C90; // type:object size:0xC scope:local data:string +@4857 = .data:0x81634C9C; // type:object size:0x9 scope:local data:string +@4931 = .data:0x81634CA8; // type:object size:0x30 scope:local __vt__Q33ipl4nand10LayoutFile = .data:0x81634CD8; // type:object size:0x20 __vt__Q33ipl4nand8LangFile = .data:0x81634CF8; // type:object size:0x20 __vt__Q33ipl4nand4File = .data:0x81634D18; // type:object size:0x54 @@ -14247,19 +14251,24 @@ __vt__Q33ipl4nand4Base = .data:0x81634D6C; // type:object size:0x20 lbl_81634D90 = .data:0x81634D90; // type:object size:0x16 data:string lbl_81634DA6 = .data:0x81634DA6; // type:object size:0x12 data:string __vt__Q33ipl4nand10SharedFile = .data:0x81634DB8; // type:object size:0x54 -lbl_81634E10 = .data:0x81634E10; // type:object size:0x1A data:string -lbl_81634E2A = .data:0x81634E2A; // type:object size:0x10 data:string +@3883 = .data:0x81634E10; // type:object size:0x1A scope:local data:string +@3917 = .data:0x81634E2A; // type:object size:0x10 scope:local data:string __vt__Q33ipl4nand8MetaFile = .data:0x81634E3C; // type:object size:0x54 -lbl_81634E90 = .data:0x81634E90; // type:object size:0x13 data:string -lbl_81634EA3 = .data:0x81634EA3; // type:object size:0x4D data:string -lbl_81634EF8 = .data:0x81634EF8; // type:object size:0xB0 +@3951 = .data:0x81634E90; // type:object size:0x13 scope:local data:string +@4002 = .data:0x81634EA3; // type:object size:0x4E scope:local data:string +@3634 = .data:0x81634EF8; // type:object size:0x30 scope:local data:string +...data.0 = .data:0x81634EF8; // type:label scope:local +@3635 = .data:0x81634F28; // type:object size:0x2E scope:local data:string +@3636 = .data:0x81634F56; // type:object size:0x28 scope:local data:string +@3637 = .data:0x81634F7E; // type:object size:0x28 scope:local data:string sRMO_Ntsc_640x456IntDf__3ipl = .data:0x81634FA8; // type:object size:0x3C scope:local +...data.0 = .data:0x81634FA8; // type:label scope:local sRMO_Ntsc_640x456Prog__3ipl = .data:0x81634FE4; // type:object size:0x3C scope:local sRMO_Pal50_640x456IntDf__3ipl = .data:0x81635020; // type:object size:0x3C scope:local sRMO_Pal60_640x456IntDf__3ipl = .data:0x8163505C; // type:object size:0x3C scope:local sRMO_Pal60_640x456Prog__3ipl = .data:0x81635098; // type:object size:0x3C scope:local -jumptable_816350D8 = .data:0x816350D8; // type:object size:0x28 scope:local -lbl_81635100 = .data:0x81635100; // type:object size:0x13 scope:local data:string +@3748 = .data:0x816350D8; // type:object size:0x28 scope:local +@3856 = .data:0x81635100; // type:object size:0x13 scope:local data:string lbl_81635118 = .data:0x81635118; // type:object size:0x14 jumptable_8163512C = .data:0x8163512C; // type:object size:0x94 scope:local lbl_816351C0 = .data:0x816351C0; // type:object size:0xD data:string @@ -14271,32 +14280,68 @@ lbl_81635218 = .data:0x81635218; // type:object size:0x15E lbl_81635376 = .data:0x81635376; // type:object size:0x30 data:string lbl_816353A6 = .data:0x816353A6; // type:object size:0x16 jumptable_816353BC = .data:0x816353BC; // type:object size:0x9C scope:local -lbl_81635458 = .data:0x81635458; // type:object size:0xD data:string -lbl_81635465 = .data:0x81635465; // type:object size:0xD data:string -lbl_81635472 = .data:0x81635472; // type:object size:0xD data:string -lbl_8163547F = .data:0x8163547F; // type:object size:0xD data:string -lbl_8163548C = .data:0x8163548C; // type:object size:0xD data:string -lbl_81635499 = .data:0x81635499; // type:object size:0xD data:string -lbl_816354A6 = .data:0x816354A6; // type:object size:0xD data:string -lbl_816354B3 = .data:0x816354B3; // type:object size:0xD data:string -lbl_816354C0 = .data:0x816354C0; // type:object size:0x14 -scLayoutName__3ipl = .data:0x816354D4; // type:object size:0x24 -lbl_816354F8 = .data:0x816354F8; // type:object size:0xB data:string -lbl_81635503 = .data:0x81635503; // type:object size:0x9 data:string -mscBtnName__Q23ipl12DialogWindow = .data:0x81635510; // type:object size:0x42A -lbl_8163593A = .data:0x8163593A; // type:object size:0x14 data:string -lbl_8163594E = .data:0x8163594E; // type:object size:0x9 data:string -lbl_81635957 = .data:0x81635957; // type:object size:0xB data:string -lbl_81635962 = .data:0x81635962; // type:object size:0x9 data:string -lbl_8163596B = .data:0x8163596B; // type:object size:0x10 data:string -lbl_8163597B = .data:0x8163597B; // type:object size:0x14 data:string -lbl_8163598F = .data:0x8163598F; // type:object size:0x16 data:string -lbl_816359A5 = .data:0x816359A5; // type:object size:0xF data:string -lbl_816359B4 = .data:0x816359B4; // type:object size:0x10 data:string -__vt__Q33ipl3gui11PaneManager = .data:0x816359C4; // type:object size:0x5C +@3546 = .data:0x81635458; // type:object size:0xD scope:local data:string +@3547 = .data:0x81635465; // type:object size:0xD scope:local data:string +@3548 = .data:0x81635472; // type:object size:0xD scope:local data:string +@3549 = .data:0x8163547F; // type:object size:0xD scope:local data:string +@3550 = .data:0x8163548C; // type:object size:0xD scope:local data:string +@3551 = .data:0x81635499; // type:object size:0xD scope:local data:string +@3552 = .data:0x816354A6; // type:object size:0xD scope:local data:string +@3553 = .data:0x816354B3; // type:object size:0xD scope:local data:string +@3554 = .data:0x816354C0; // type:object size:0x13 scope:local data:string +scLayoutName__3ipl = .data:0x816354D4; // type:object size:0x24 scope:local +@3801 = .data:0x816354F8; // type:object size:0xB scope:local data:string +@3859 = .data:0x81635503; // type:object size:0x9 scope:local data:string +mscBtnName__Q23ipl12DialogWindow = .data:0x81635510; // type:object size:0xC data:4byte +...data.0 = .data:0x81635510; // type:label scope:local +@6806 = .data:0x8163551C; // type:object size:0x19 scope:local data:string +@6807 = .data:0x81635535; // type:object size:0x22 scope:local data:string +@6809 = .data:0x81635557; // type:object size:0x23 scope:local data:string +@6810 = .data:0x8163557A; // type:object size:0x1E scope:local data:string +@6812 = .data:0x81635598; // type:object size:0x21 scope:local data:string +@6816 = .data:0x816355B9; // type:object size:0x19 scope:local data:string +@6817 = .data:0x816355D2; // type:object size:0x22 scope:local data:string +@6818 = .data:0x816355F4; // type:object size:0x23 scope:local data:string +@6819 = .data:0x81635617; // type:object size:0x25 scope:local data:string +@6820 = .data:0x8163563C; // type:object size:0xC scope:local data:string +@6821 = .data:0x81635648; // type:object size:0x26 scope:local data:string +@6822 = .data:0x8163566E; // type:object size:0x26 scope:local data:string +@6823 = .data:0x81635694; // type:object size:0xD scope:local data:string +@6824 = .data:0x816356A1; // type:object size:0x19 scope:local data:string +@6825 = .data:0x816356BA; // type:object size:0x22 scope:local data:string +@6826 = .data:0x816356DC; // type:object size:0x23 scope:local data:string +@6827 = .data:0x816356FF; // type:object size:0x25 scope:local data:string +@6828 = .data:0x81635724; // type:object size:0x26 scope:local data:string +@6829 = .data:0x8163574A; // type:object size:0x26 scope:local data:string +@6830 = .data:0x81635770; // type:object size:0xC scope:local data:string +@6831 = .data:0x8163577C; // type:object size:0xD scope:local data:string +@6832 = .data:0x81635789; // type:object size:0x19 scope:local data:string +@6833 = .data:0x816357A2; // type:object size:0x22 scope:local data:string +@6834 = .data:0x816357C4; // type:object size:0x23 scope:local data:string +@6835 = .data:0x816357E7; // type:object size:0x25 scope:local data:string +@6836 = .data:0x8163580C; // type:object size:0x26 scope:local data:string +@6837 = .data:0x81635832; // type:object size:0x26 scope:local data:string +@6838 = .data:0x81635858; // type:object size:0xC scope:local data:string +@6839 = .data:0x81635864; // type:object size:0xD scope:local data:string +@6840 = .data:0x81635871; // type:object size:0x18 scope:local data:string +@6841 = .data:0x81635889; // type:object size:0x21 scope:local data:string +@6842 = .data:0x816358AA; // type:object size:0x22 scope:local data:string +@6843 = .data:0x816358CC; // type:object size:0x24 scope:local data:string +@6844 = .data:0x816358F0; // type:object size:0x25 scope:local data:string +@6845 = .data:0x81635915; // type:object size:0x25 scope:local data:string +@6958 = .data:0x8163593A; // type:object size:0x14 scope:local data:string +@7350 = .data:0x8163594E; // type:object size:0x9 scope:local data:string +@7352 = .data:0x81635957; // type:object size:0xB scope:local data:string +@7398 = .data:0x81635962; // type:object size:0x9 scope:local data:string +@7548 = .data:0x8163596B; // type:object size:0x10 scope:local data:string +@7549 = .data:0x8163597B; // type:object size:0x14 scope:local data:string +@7769 = .data:0x8163598F; // type:object size:0x16 scope:local data:string +@7844 = .data:0x816359A5; // type:object size:0xF scope:local data:string +@7845 = .data:0x816359B4; // type:object size:0xF scope:local data:string +__vt__Q33ipl3gui11PaneManager = .data:0x816359C4; // type:object size:0x5C scope:weak __vt__Q23ipl12DialogWindow = .data:0x81635A20; // type:object size:0x18 -__vt__Q23gui12EventHandler = .data:0x81635A38; // type:object size:0x18 -__vt__Q23gui9Interface = .data:0x81635A50; // type:object size:0x20 +__vt__Q23gui12EventHandler = .data:0x81635A38; // type:object size:0x18 scope:weak +__vt__Q23gui9Interface = .data:0x81635A50; // type:object size:0x20 scope:weak lbl_81635A70 = .data:0x81635A70; // type:object size:0x12 data:string lbl_81635A88 = .data:0x81635A88; // type:object size:0xB data:string lbl_81635A93 = .data:0x81635A93; // type:object size:0xB data:string @@ -14370,10 +14415,10 @@ jumptable_81638DB8 = .data:0x81638DB8; // type:object size:0x38 scope:local __vt__Q33ipl8keyboard7Manager = .data:0x81638DF0; // type:object size:0x4C __vt__Q33ipl8keyboard13EventObserver = .data:0x81638E3C; // type:object size:0x28 @STRING_2@onOutOfLength__Q29textinput13EventObserverFv = .data:0x81638E64; // type:object size:0xD data:string -lbl_81638E78 = .data:0x81638E78; // type:object size:0xF data:string -lbl_81638E87 = .data:0x81638E87; // type:object size:0xD -jumptable_81638E94 = .data:0x81638E94; // type:object size:0x28 scope:local -lbl_81638EBC = .data:0x81638EBC; // type:object size:0x1B data:string +@3797 = .data:0x81638E78; // type:object size:0xF scope:local data:string +@3837 = .data:0x81638E87; // type:object size:0xB scope:local data:string +@3839 = .data:0x81638E94; // type:object size:0x28 scope:local +@3841 = .data:0x81638EBC; // type:object size:0x1B scope:local data:string lbl_81638ED8 = .data:0x81638ED8; // type:object size:0x12 data:string lbl_81638EEA = .data:0x81638EEA; // type:object size:0x1E data:string lbl_81638F08 = .data:0x81638F08; // type:object size:0x56 @@ -14401,7 +14446,7 @@ lbl_8163973C = .data:0x8163973C; // type:object size:0x22 data:string lbl_8163975E = .data:0x8163975E; // type:object size:0x2C data:string lbl_8163978A = .data:0x8163978A; // type:object size:0x2C data:string lbl_816397B6 = .data:0x816397B6; // type:object size:0x23 data:string -jumptable_816397E0 = .data:0x816397E0; // type:object size:0xA0 scope:local +@4064 = .data:0x816397E0; // type:object size:0xA0 scope:local __vt__Q33ipl3bs27Manager = .data:0x81639880; // type:object size:0xC lbl_81639890 = .data:0x81639890; // type:object size:0x23 data:string lbl_816398B3 = .data:0x816398B3; // type:object size:0xD @@ -14417,7 +14462,7 @@ ipl_error_spa_bmg = .data:0x8163AFE0; // type:object size:0x420 data:byte norelo ipl_error_kor_bmg = .data:0x8163B400; // type:object size:0x220 data:byte noreloc ipl_error_chn_bmg = .data:0x8163B620; // type:object size:0x1C0 data:byte noreloc fatalDlg_ash = .data:0x8163B7E0; // type:object size:0x5A08 data:byte noreloc -__vt__Q33ipl7utility4Tree = .data:0x816411E8; // type:object size:0x1C +__vt__Q33ipl7utility4Tree = .data:0x816411E8; // type:object size:0x1C scope:weak mLangPath__Q33ipl7utility8Language = .data:0x81641208; // type:object size:0x28 lbl_81641230 = .data:0x81641230; // type:object size:0x11 data:string lbl_81641241 = .data:0x81641241; // type:object size:0x17 data:string @@ -14443,7 +14488,11 @@ __vt__Q23gui13PaneComponent = .data:0x81642710; // type:object size:0x74 __vt__Q23gui11PaneManager = .data:0x81642784; // type:object size:0x5C __vt__Q23gui7Manager = .data:0x816427E0; // type:object size:0x44 __vt__Q23gui9Component = .data:0x81642824; // type:object size:0x6C -lbl_81642890 = .data:0x81642890; // type:object size:0x64 +@5061 = .data:0x81642890; // type:object size:0x24 scope:local data:string +...data.0 = .data:0x81642890; // type:label scope:local +@5062 = .data:0x816428B4; // type:object size:0xB scope:local data:string +@5063 = .data:0x816428BF; // type:object size:0x29 scope:local data:string +@5064 = .data:0x816428E8; // type:object size:0xB scope:local data:string __vt__Q33ipl6layout6Object = .data:0x816428F4; // type:object size:0xC __vt__Q33ipl6layout13GroupAnimator = .data:0x81642900; // type:object size:0x18 __vt__Q33ipl6layout12PaneAnimator = .data:0x81642918; // type:object size:0x18 @@ -14582,7 +14631,7 @@ lbl_816439AC = .data:0x816439AC; // type:object size:0x5D lbl_81643A09 = .data:0x81643A09; // type:object size:0x6D lbl_81643A76 = .data:0x81643A76; // type:object size:0x2A __vt__Q37ext_ead3www14SurfaceManager = .data:0x81643AA0; // type:object size:0x17 data:string -lbl_81643AB8 = .data:0x81643AB8; // type:object size:0x24 +@530 = .data:0x81643AB8; // type:object size:0x21 scope:local data:string __vt__Q37ext_ead3www9ut_thread = .data:0x81643ADC; // type:object size:0x28 lbl_81643B08 = .data:0x81643B08; // type:object size:0x38 lbl_81643B40 = .data:0x81643B40; // type:object size:0x1E data:string @@ -14824,7 +14873,7 @@ __vt__Q310homebutton3gui11PaneManager = .data:0x816456A8; // type:object size:0x __vt__Q310homebutton3gui7Manager = .data:0x816456FC; // type:object size:0x3C __vt__Q310homebutton3gui9Component = .data:0x81645738; // type:object size:0x5C __vt__Q210homebutton9RemoteSpk = .data:0x81645798; // type:object size:0xC -lbl_816457A8 = .data:0x816457A8; // type:object size:0x2F data:string +@464 = .data:0x816457A8; // type:object size:0x2F scope:local data:string lbl_816457D8 = .data:0x816457D8; // type:object size:0x1D4 jumptable_816459AC = .data:0x816459AC; // type:object size:0x94 scope:local lbl_81645A40 = .data:0x81645A40; // type:object size:0x9 @@ -14930,8 +14979,8 @@ lbl_816485EC = .data:0x816485EC; // type:object size:0xC data:wstring __vt__Q33ipl5scene17AddressInputEvent = .data:0x816485F8; // type:object size:0x18 __vt__Q33ipl5scene16AddressEditEvent = .data:0x81648610; // type:object size:0x18 __vt__Q33ipl5scene11AddressEdit = .data:0x81648628; // type:object size:0x120 -lbl_81648748 = .data:0x81648748; // type:object size:0x17 data:string -lbl_8164875F = .data:0x8164875F; // type:object size:0x19 +@3782 = .data:0x81648748; // type:object size:0x17 scope:local data:string +@3783 = .data:0x8164875F; // type:object size:0x17 scope:local data:string __vt__Q33ipl5scene8BackMenu = .data:0x81648778; // type:object size:0x68 backToWiiMenu_arc = .data:0x816487E0; // type:object size:0x2720 data:byte noreloc lbl_8164AF00 = .data:0x8164AF00; // type:object size:0xA data:string @@ -15427,32 +15476,37 @@ lbl_8164F772 = .data:0x8164F772; // type:object size:0x12 __vt__Q33ipl5scene21FaceSelectButtonEvent = .data:0x8164F784; // type:object size:0x1C __vt__Q33ipl5scene15FaceSelectEvent = .data:0x8164F7A0; // type:object size:0x18 __vt__Q33ipl5scene10FaceSelect = .data:0x8164F7B8; // type:object size:0x100 -lbl_8164F8B8 = .data:0x8164F8B8; // type:object size:0xB data:string -lbl_8164F8C3 = .data:0x8164F8C3; // type:object size:0xB data:string -lbl_8164F8CE = .data:0x8164F8CE; // type:object size:0xB data:string -lbl_8164F8D9 = .data:0x8164F8D9; // type:object size:0xB data:string -lbl_8164F8E4 = .data:0x8164F8E4; // type:object size:0xB data:string -lbl_8164F8EF = .data:0x8164F8EF; // type:object size:0xB data:string -lbl_8164F8FA = .data:0x8164F8FA; // type:object size:0xB data:string -lbl_8164F905 = .data:0x8164F905; // type:object size:0xB data:string -lbl_8164F910 = .data:0x8164F910; // type:object size:0xC +@3589 = .data:0x8164F8B8; // type:object size:0xB scope:local data:string +...data.0 = .data:0x8164F8B8; // type:label scope:local +@3590 = .data:0x8164F8C3; // type:object size:0xB scope:local data:string +@3591 = .data:0x8164F8CE; // type:object size:0xB scope:local data:string +@3592 = .data:0x8164F8D9; // type:object size:0xB scope:local data:string +@3593 = .data:0x8164F8E4; // type:object size:0xB scope:local data:string +@3594 = .data:0x8164F8EF; // type:object size:0xB scope:local data:string +@3595 = .data:0x8164F8FA; // type:object size:0xB scope:local data:string +@3596 = .data:0x8164F905; // type:object size:0xB scope:local data:string +@3597 = .data:0x8164F910; // type:object size:0xB scope:local data:string has_pane_name__Q23ipl5scene = .data:0x8164F91C; // type:object size:0x30 -lbl_8164F94C = .data:0x8164F94C; // type:object size:0x9 data:string -lbl_8164F955 = .data:0x8164F955; // type:object size:0xC data:string -lbl_8164F961 = .data:0x8164F961; // type:object size:0xC data:string -lbl_8164F96D = .data:0x8164F96D; // type:object size:0xC data:string -lbl_8164F979 = .data:0x8164F979; // type:object size:0xC data:string -lbl_8164F985 = .data:0x8164F985; // type:object size:0xC data:string -lbl_8164F991 = .data:0x8164F991; // type:object size:0xC data:string -lbl_8164F99D = .data:0x8164F99D; // type:object size:0xC data:string -lbl_8164F9A9 = .data:0x8164F9A9; // type:object size:0xC data:string -lbl_8164F9B5 = .data:0x8164F9B5; // type:object size:0xC data:string -lbl_8164F9C1 = .data:0x8164F9C1; // type:object size:0x9 data:string -lbl_8164F9CA = .data:0x8164F9CA; // type:object size:0xA +@3600 = .data:0x8164F94C; // type:object size:0x9 scope:local data:string +@3601 = .data:0x8164F955; // type:object size:0xC scope:local data:string +@3602 = .data:0x8164F961; // type:object size:0xC scope:local data:string +@3603 = .data:0x8164F96D; // type:object size:0xC scope:local data:string +@3604 = .data:0x8164F979; // type:object size:0xC scope:local data:string +@3605 = .data:0x8164F985; // type:object size:0xC scope:local data:string +@3606 = .data:0x8164F991; // type:object size:0xC scope:local data:string +@3607 = .data:0x8164F99D; // type:object size:0xC scope:local data:string +@3608 = .data:0x8164F9A9; // type:object size:0xC scope:local data:string +@3609 = .data:0x8164F9B5; // type:object size:0xC scope:local data:string +@3610 = .data:0x8164F9C1; // type:object size:0x9 scope:local data:string +@3611 = .data:0x8164F9CA; // type:object size:0x9 scope:local data:string push_pane_name__Q23ipl5scene = .data:0x8164F9D4; // type:object size:0x30 -lbl_8164FA04 = .data:0x8164FA04; // type:object size:0xC -jumptable_8164FA10 = .data:0x8164FA10; // type:object size:0x30 scope:local -lbl_8164FA90 = .data:0x8164FA90; // type:object size:0x10 data:string +@4220 = .data:0x8164FA04; // type:object size:0xB scope:local data:string +@4245 = .data:0x8164FA10; // type:object size:0x30 scope:local +@4303 = .data:0x8164FA40; // type:object size:0xF scope:local data:string +@4304 = .data:0x8164FA4F; // type:object size:0x16 scope:local data:string +@4306 = .data:0x8164FA65; // type:object size:0x14 scope:local data:string +@4308 = .data:0x8164FA79; // type:object size:0x17 scope:local data:string +@4342 = .data:0x8164FA90; // type:object size:0x10 scope:local data:string __vt__Q33ipl5scene8skHealth = .data:0x8164FAA0; // type:object size:0x68 lbl_8164FB08 = .data:0x8164FB08; // type:object size:0x1D data:string lbl_8164FB25 = .data:0x8164FB25; // type:object size:0x1BB @@ -15470,37 +15524,45 @@ lbl_816503BF = .data:0x816503BF; // type:object size:0xF data:string lbl_816503CE = .data:0x816503CE; // type:object size:0x12A __vt__Q33ipl5scene12LetterWriter = .data:0x816504F8; // type:object size:0xC8 __vt__Q49textinput6extend4memo19NigaoeEventObserver = .data:0x816505C0; // type:object size:0x18 -lbl_816505D8 = .data:0x816505D8; // type:object size:0x30 -lbl_81650608 = .data:0x81650608; // type:object size:0xB data:string -lbl_81650613 = .data:0x81650613; // type:object size:0xB data:string -lbl_8165061E = .data:0x8165061E; // type:object size:0xB data:string -lbl_81650629 = .data:0x81650629; // type:object size:0xB data:string -lbl_81650634 = .data:0x81650634; // type:object size:0xB data:string -lbl_8165063F = .data:0x8165063F; // type:object size:0xB data:string -lbl_8165064A = .data:0x8165064A; // type:object size:0xB data:string -lbl_81650655 = .data:0x81650655; // type:object size:0xB data:string -lbl_81650660 = .data:0x81650660; // type:object size:0xB data:string -lbl_8165066B = .data:0x8165066B; // type:object size:0xB data:string -lbl_81650676 = .data:0x81650676; // type:object size:0xB data:string -lbl_81650681 = .data:0x81650681; // type:object size:0xB data:string +wide_pane_names__Q23ipl5scene = .data:0x816505D8; // type:object size:0x30 scope:local +...data.0 = .data:0x816505D8; // type:label scope:local +@3604 = .data:0x81650608; // type:object size:0xB scope:local data:string +@3605 = .data:0x81650613; // type:object size:0xB scope:local data:string +@3606 = .data:0x8165061E; // type:object size:0xB scope:local data:string +@3607 = .data:0x81650629; // type:object size:0xB scope:local data:string +@3608 = .data:0x81650634; // type:object size:0xB scope:local data:string +@3609 = .data:0x8165063F; // type:object size:0xB scope:local data:string +@3610 = .data:0x8165064A; // type:object size:0xB scope:local data:string +@3611 = .data:0x81650655; // type:object size:0xB scope:local data:string +@3612 = .data:0x81650660; // type:object size:0xB scope:local data:string +@3613 = .data:0x8165066B; // type:object size:0xB scope:local data:string +@3614 = .data:0x81650676; // type:object size:0xB scope:local data:string +@3615 = .data:0x81650681; // type:object size:0xB scope:local data:string lo_pane_name__Q23ipl5scene = .data:0x8165068C; // type:object size:0x30 -lbl_816506BC = .data:0x816506BC; // type:object size:0xC data:string -lbl_816506C8 = .data:0x816506C8; // type:object size:0xC data:string -lbl_816506D4 = .data:0x816506D4; // type:object size:0xC data:string -lbl_816506E0 = .data:0x816506E0; // type:object size:0xC data:string -lbl_816506EC = .data:0x816506EC; // type:object size:0xC data:string -lbl_816506F8 = .data:0x816506F8; // type:object size:0xC data:string -lbl_81650704 = .data:0x81650704; // type:object size:0xC data:string -lbl_81650710 = .data:0x81650710; // type:object size:0xC data:string -lbl_8165071C = .data:0x8165071C; // type:object size:0xC data:string -lbl_81650728 = .data:0x81650728; // type:object size:0xC data:string -lbl_81650734 = .data:0x81650734; // type:object size:0xC data:string -lbl_81650740 = .data:0x81650740; // type:object size:0xC data:string +@3616 = .data:0x816506BC; // type:object size:0xC scope:local data:string +@3617 = .data:0x816506C8; // type:object size:0xC scope:local data:string +@3618 = .data:0x816506D4; // type:object size:0xC scope:local data:string +@3619 = .data:0x816506E0; // type:object size:0xC scope:local data:string +@3620 = .data:0x816506EC; // type:object size:0xC scope:local data:string +@3621 = .data:0x816506F8; // type:object size:0xC scope:local data:string +@3622 = .data:0x81650704; // type:object size:0xC scope:local data:string +@3623 = .data:0x81650710; // type:object size:0xC scope:local data:string +@3624 = .data:0x8165071C; // type:object size:0xC scope:local data:string +@3625 = .data:0x81650728; // type:object size:0xC scope:local data:string +@3626 = .data:0x81650734; // type:object size:0xC scope:local data:string +@3627 = .data:0x81650740; // type:object size:0xC scope:local data:string lopush_pane_name__Q23ipl5scene = .data:0x8165074C; // type:object size:0x30 -lbl_8165077C = .data:0x8165077C; // type:object size:0x10 -jumptable_8165078C = .data:0x8165078C; // type:object size:0x30 scope:local -lbl_8165083D = .data:0x8165083D; // type:object size:0x14 data:string -lbl_81650851 = .data:0x81650851; // type:object size:0x13 +@4195 = .data:0x8165077C; // type:object size:0xE scope:local data:string +@4215 = .data:0x8165078C; // type:object size:0x30 scope:local +@4319 = .data:0x816507BC; // type:object size:0x11 scope:local data:string +@4320 = .data:0x816507CD; // type:object size:0xB scope:local data:string +@4321 = .data:0x816507D8; // type:object size:0xB scope:local data:string +@4322 = .data:0x816507E3; // type:object size:0xB scope:local data:string +@4323 = .data:0x816507EE; // type:object size:0x19 scope:local data:string +@4325 = .data:0x81650807; // type:object size:0x1C scope:local data:string +@4327 = .data:0x81650823; // type:object size:0x1A scope:local data:string +@4357 = .data:0x8165083D; // type:object size:0x14 scope:local data:string +@4367 = .data:0x81650851; // type:object size:0x10 scope:local data:string __vt__Q33ipl5scene9LimitOver = .data:0x81650864; // type:object size:0x68 lbl_816508D0 = .data:0x816508D0; // type:object size:0x9 data:string lbl_816508D9 = .data:0x816508D9; // type:object size:0xB data:string @@ -15789,7 +15851,7 @@ lbl_81653EA2 = .data:0x81653EA2; // type:object size:0xF data:string lbl_81653EB1 = .data:0x81653EB1; // type:object size:0xF data:string __vt__Q33ipl5scene19ParentalDialogEvent = .data:0x81653EC0; // type:object size:0x18 __vt__Q33ipl5scene14ParentalDialog = .data:0x81653ED8; // type:object size:0x100 -lbl_81653FD8 = .data:0x81653FD8; // type:object size:0x10 +@3657 = .data:0x81653FD8; // type:object size:0xE scope:local data:string __vt__Q33ipl5scene6Reboot = .data:0x81653FE8; // type:object size:0x4C __vt__Q33ipl5scene9RootScene = .data:0x81654038; // type:object size:0x4C lbl_81654088 = .data:0x81654088; // type:object size:0x9 data:string @@ -16068,15 +16130,27 @@ jumptable_81657DB8 = .data:0x81657DB8; // type:object size:0x28 scope:local jumptable_81657DE0 = .data:0x81657DE0; // type:object size:0x84 scope:local jumptable_81657E64 = .data:0x81657E64; // type:object size:0x2C scope:local lbl_81657E90 = .data:0x81657E90; // type:object size:0x40 -lbl_81657ED0 = .data:0x81657ED0; // type:object size:0xC data:string -lbl_81657EDC = .data:0x81657EDC; // type:object size:0x14 +@3647 = .data:0x81657ED0; // type:object size:0xC scope:local data:string +@3656 = .data:0x81657EDC; // type:object size:0x13 scope:local data:string __vt__Q33ipl5scene9SettingBg = .data:0x81657EF0; // type:object size:0x4C -lbl_81657F40 = .data:0x81657F40; // type:object size:0xF data:string -lbl_81657F4F = .data:0x81657F4F; // type:object size:0xF data:string -lbl_81657F5E = .data:0x81657F5E; // type:object size:0x112 -lbl_81658070 = .data:0x81658070; // type:object size:0xC data:string -lbl_8165807C = .data:0x8165807C; // type:object size:0x16 data:string -lbl_81658092 = .data:0x81658092; // type:object size:0x6A +@3640 = .data:0x81657F40; // type:object size:0xF scope:local data:string +...data.0 = .data:0x81657F40; // type:label scope:local +@3641 = .data:0x81657F4F; // type:object size:0xF scope:local data:string +@4345 = .data:0x81657F5E; // type:object size:0xD scope:local data:string +@4383 = .data:0x81657F6B; // type:object size:0x12 scope:local data:string +@4384 = .data:0x81657F7D; // type:object size:0x19 scope:local data:string +@4386 = .data:0x81657F96; // type:object size:0x1E scope:local data:string +@4387 = .data:0x81657FB4; // type:object size:0xC scope:local data:string +@4388 = .data:0x81657FC0; // type:object size:0x1F scope:local data:string +@4389 = .data:0x81657FDF; // type:object size:0x1B scope:local data:string +@4390 = .data:0x81657FFA; // type:object size:0xD scope:local data:string +@4391 = .data:0x81658007; // type:object size:0x1C scope:local data:string +@4393 = .data:0x81658023; // type:object size:0x1A scope:local data:string +@4394 = .data:0x8165803D; // type:object size:0x19 scope:local data:string +@4395 = .data:0x81658056; // type:object size:0x1A scope:local data:string +@4396 = .data:0x81658070; // type:object size:0xC scope:local data:string +@4467 = .data:0x8165807C; // type:object size:0x16 scope:local data:string +@4563 = .data:0x81658092; // type:object size:0xC scope:local data:string __vt__Q33ipl5scene13SettingButton = .data:0x816580FC; // type:object size:0x84 lbl_816581B8 = .data:0x816581B8; // type:object size:0x10 data:string lbl_816581C8 = .data:0x816581C8; // type:object size:0xD data:string @@ -17203,7 +17277,7 @@ t$2350 = .data:0x8166CD20; // type:object size:0x100 scope:local data:4byte k$2351 = .data:0x8166CE20; // type:object size:0xC0 scope:local data:4byte lbl_8166CEE0 = .data:0x8166CEE0; // type:object size:0x58 lbl_8166CF38 = .data:0x8166CF38; // type:object size:0x20 -lbl_8166CF58 = .data:0x8166CF58; // type:object size:0x38 +@1 = .data:0x8166CF58; // type:object size:0x37 scope:local data:string lbl_8166CF90 = .data:0x8166CF90; // type:object size:0x48 lbl_8166CFD8 = .data:0x8166CFD8; // type:object size:0x28 lbl_8166D000 = .data:0x8166D000; // type:object size:0x30 @@ -17473,143 +17547,275 @@ __vt__Q34nw4r3lyt18AnimTransformBasic = .data:0x81671BC8; // type:object size:0x lbl_81671BE8 = .data:0x81671BE8; // type:object size:0x48 __vt__Q34nw4r3lyt16ResourceAccessor = .data:0x81671C30; // type:object size:0x14 __vt__Q34nw4r3lyt24MultiArcResourceAccessor = .data:0x81671C48; // type:object size:0x14 -lbl_81671C60 = .data:0x81671C60; // type:object size:0x37 data:string -@1 = .data:0x81671C98; // type:object size:0x47 scope:local data:string -@1746 = .data:0x81671E88; // type:object size:0x68 scope:local +@411 = .data:0x81671C60; // type:object size:0x37 scope:local data:string +@405 = .data:0x81671C98; // type:object size:0x47 scope:local data:string +...data.0 = .data:0x81671C98; // type:label scope:local +@1255 = .data:0x81671CE0; // type:object size:0x10 scope:local data:string +@1256 = .data:0x81671CF0; // type:object size:0x16 scope:local data:string +@1257 = .data:0x81671D08; // type:object size:0xC scope:local data:string +@1258 = .data:0x81671D14; // type:object size:0x9 scope:local data:string +@1259 = .data:0x81671D20; // type:object size:0x10 scope:local data:string +@1260 = .data:0x81671D30; // type:object size:0x18 scope:local data:string +@1261 = .data:0x81671D48; // type:object size:0x1A scope:local data:string +@1262 = .data:0x81671D64; // type:object size:0x1A scope:local data:string +@1264 = .data:0x81671D80; // type:object size:0xB scope:local data:string +@1265 = .data:0x81671D8C; // type:object size:0xA scope:local data:string +@1266 = .data:0x81671D98; // type:object size:0xA scope:local data:string +@1267 = .data:0x81671DA4; // type:object size:0xA scope:local data:string +@1268 = .data:0x81671DB0; // type:object size:0xA scope:local data:string +@1269 = .data:0x81671DBC; // type:object size:0xA scope:local data:string +@1270 = .data:0x81671DC8; // type:object size:0x15 scope:local data:string +@1271 = .data:0x81671DE0; // type:object size:0x1B scope:local data:string +@1272 = .data:0x81671DFC; // type:object size:0x1B scope:local data:string +@1274 = .data:0x81671E18; // type:object size:0x19 scope:local data:string +@1275 = .data:0x81671E34; // type:object size:0xC scope:local data:string +@1276 = .data:0x81671E40; // type:object size:0xE scope:local data:string +@1277 = .data:0x81671E50; // type:object size:0x1A scope:local data:string +@1278 = .data:0x81671E6C; // type:object size:0x1A scope:local data:string +@1279 = .data:0x81671E88; // type:object size:0x68 scope:local +@1338 = .data:0x81671EF0; // type:object size:0x50 scope:local data:string +@1340 = .data:0x81671F40; // type:object size:0x12 scope:local data:string +@1341 = .data:0x81671F58; // type:object size:0x58 scope:local data:string __OSExceptionLocations = .data:0x81671FB0; // type:object size:0x3C scope:local +@1407 = .data:0x81671FEC; // type:object size:0x1B scope:local data:string +@1408 = .data:0x81672008; // type:object size:0x2E scope:local data:string +@1409 = .data:0x81672038; // type:object size:0x2F scope:local data:string +@1410 = .data:0x81672068; // type:object size:0x1B scope:local data:string ShutdownFunctionInfo = .data:0x81672088; // type:object size:0x10 scope:local DSPInitCode = .data:0x81672098; // type:object size:0x80 scope:local -@878 = .data:0x81672118; // type:object size:0x29 scope:local data:string -lbl_81672350 = .data:0x81672350; // type:object size:0x1B8 -@721 = .data:0x81672508; // type:object size:0x23 scope:local data:string -@629 = .data:0x81672530; // type:object size:0x16 scope:local data:string -@703 = .data:0x8167280C; // type:object size:0x40 scope:local -lbl_81672850 = .data:0x81672850; // type:object size:0x60 -lbl_816728B0 = .data:0x816728B0; // type:object size:0x18 -lbl_816728C8 = .data:0x816728C8; // type:object size:0x28 -lbl_816728F0 = .data:0x816728F0; // type:object size:0x98 -lbl_81672988 = .data:0x81672988; // type:object size:0x44 -lbl_816729CC = .data:0x816729CC; // type:object size:0x1D4 +@416 = .data:0x81672118; // type:object size:0x29 scope:local data:string +...data.0 = .data:0x81672118; // type:label scope:local +@424 = .data:0x81672148; // type:object size:0x18 scope:local data:string +@425 = .data:0x81672160; // type:object size:0x1B scope:local data:string +@426 = .data:0x81672180; // type:object size:0x30 scope:local data:string +@427 = .data:0x816721B0; // type:object size:0x3C scope:local data:string +@428 = .data:0x816721EC; // type:object size:0x37 scope:local data:string +@429 = .data:0x81672224; // type:object size:0x3F scope:local data:string +@430 = .data:0x81672264; // type:object size:0x29 scope:local data:string +@431 = .data:0x81672290; // type:object size:0x1D scope:local data:string +@432 = .data:0x816722B0; // type:object size:0x19 scope:local data:string +@444 = .data:0x816722CC; // type:object size:0x19 scope:local data:string +@445 = .data:0x816722E8; // type:object size:0x19 scope:local data:string +@446 = .data:0x81672304; // type:object size:0x16 scope:local data:string +@447 = .data:0x8167231C; // type:object size:0x2E scope:local data:string +@559 = .data:0x81672350; // type:object size:0x44 scope:local data:string +...data.0 = .data:0x81672350; // type:label scope:local +@560 = .data:0x81672398; // type:object size:0x30 scope:local data:string +@561 = .data:0x816723C8; // type:object size:0x2F scope:local data:string +@562 = .data:0x816723F8; // type:object size:0x2F scope:local data:string +@563 = .data:0x81672428; // type:object size:0x11 scope:local data:string +@564 = .data:0x8167243C; // type:object size:0x21 scope:local data:string +@565 = .data:0x81672460; // type:object size:0x12 scope:local data:string +@566 = .data:0x81672474; // type:object size:0x19 scope:local data:string +@567 = .data:0x81672490; // type:object size:0x12 scope:local data:string +@568 = .data:0x816724A4; // type:object size:0x1D scope:local data:string +@569 = .data:0x816724C4; // type:object size:0x26 scope:local data:string +@570 = .data:0x816724EC; // type:object size:0x1C scope:local data:string +@575 = .data:0x81672508; // type:object size:0x23 scope:local data:string +@470 = .data:0x81672530; // type:object size:0x16 scope:local data:string +...data.0 = .data:0x81672530; // type:label scope:local +@471 = .data:0x81672548; // type:object size:0x26 scope:local data:string +@472 = .data:0x81672570; // type:object size:0x1C scope:local data:string +@530 = .data:0x8167258C; // type:object size:0x1D scope:local data:string +@531 = .data:0x816725AC; // type:object size:0x17 scope:local data:string +@533 = .data:0x816725C4; // type:object size:0x31 scope:local data:string +@534 = .data:0x816725F8; // type:object size:0x10 scope:local data:string +@535 = .data:0x81672608; // type:object size:0x60 scope:local data:string +@536 = .data:0x81672668; // type:object size:0x4C scope:local data:string +@537 = .data:0x816726B4; // type:object size:0x62 scope:local data:string +@538 = .data:0x81672718; // type:object size:0x60 scope:local data:string +@539 = .data:0x81672778; // type:object size:0x1F scope:local data:string +@540 = .data:0x81672798; // type:object size:0x1F scope:local data:string +@541 = .data:0x816727B8; // type:object size:0x1B scope:local data:string +@542 = .data:0x816727D4; // type:object size:0x35 scope:local data:string +@544 = .data:0x8167280C; // type:object size:0x40 scope:local +@902 = .data:0x81672850; // type:object size:0x24 scope:local data:string +...data.0 = .data:0x81672850; // type:label scope:local +@904 = .data:0x81672874; // type:object size:0x39 scope:local data:string +@966 = .data:0x816728B0; // type:object size:0x16 scope:local data:string +@995 = .data:0x816728C8; // type:object size:0x26 scope:local data:string +@996 = .data:0x816728F0; // type:object size:0x9 scope:local data:string +@1053 = .data:0x816728FC; // type:object size:0x2C scope:local data:string +@1054 = .data:0x81672928; // type:object size:0x2E scope:local data:string +@1055 = .data:0x81672958; // type:object size:0x2E scope:local data:string +@1061 = .data:0x81672988; // type:object size:0x41 scope:local data:string +@1070 = .data:0x816729CC; // type:object size:0x41 scope:local data:string +@1079 = .data:0x81672A10; // type:object size:0x41 scope:local data:string +@1081 = .data:0x81672A54; // type:object size:0x45 scope:local data:string +@1083 = .data:0x81672A9C; // type:object size:0x51 scope:local data:string +@1085 = .data:0x81672AF0; // type:object size:0x11 scope:local data:string +@1087 = .data:0x81672B04; // type:object size:0xB scope:local data:string +@1089 = .data:0x81672B10; // type:object size:0x47 scope:local data:string +@1091 = .data:0x81672B58; // type:object size:0x44 scope:local data:string HankakuToCode = .data:0x81672BA0; // type:object size:0x180 scope:local Zenkaku2Code = .data:0x81672D20; // type:object size:0x98A scope:local InterruptPrioTable = .data:0x816736B0; // type:object size:0x30 scope:local data:4byte ShutdownFunctionInfo = .data:0x816736E0; // type:object size:0x10 scope:local -lbl_816736F0 = .data:0x816736F0; // type:object size:0xC -lbl_816736FC = .data:0x816736FC; // type:object size:0x1AC -jumptable_816738A8 = .data:0x816738A8; // type:object size:0x20 scope:local -lbl_81673978 = .data:0x81673978; // type:object size:0x810 +@574 = .data:0x816736F0; // type:object size:0xA scope:local data:string +...data.0 = .data:0x816736F0; // type:label scope:local +@576 = .data:0x816736FC; // type:object size:0x29 scope:local data:string +@578 = .data:0x81673728; // type:object size:0x2F scope:local data:string +@580 = .data:0x81673758; // type:object size:0x36 scope:local data:string +@652 = .data:0x81673790; // type:object size:0x1D scope:local data:string +@653 = .data:0x816737B0; // type:object size:0x1B scope:local data:string +@654 = .data:0x816737CC; // type:object size:0x17 scope:local data:string +@655 = .data:0x816737E4; // type:object size:0x2D scope:local data:string +@656 = .data:0x81673814; // type:object size:0x1D scope:local data:string +@657 = .data:0x81673834; // type:object size:0x25 scope:local data:string +@658 = .data:0x8167385C; // type:object size:0x19 scope:local data:string +@659 = .data:0x81673878; // type:object size:0x2E scope:local data:string +@661 = .data:0x816738A8; // type:object size:0x20 scope:local +@665 = .data:0x816738C8; // type:object size:0x31 scope:local data:string +@673 = .data:0x816738FC; // type:object size:0x3B scope:local data:string +@675 = .data:0x81673938; // type:object size:0x3A scope:local data:string +@2024 = .data:0x81673978; // type:object size:0x5F scope:local data:string +...data.0 = .data:0x81673978; // type:label scope:local +@2025 = .data:0x816739D8; // type:object size:0xB scope:local data:string +@2027 = .data:0x816739E4; // type:object size:0x5F scope:local data:string +@2028 = .data:0x81673A44; // type:object size:0x46 scope:local data:string +@2029 = .data:0x81673A8C; // type:object size:0x7E scope:local data:string +@2030 = .data:0x81673B0C; // type:object size:0x7E scope:local data:string +@2031 = .data:0x81673B8C; // type:object size:0x7A scope:local data:string +@2032 = .data:0x81673C08; // type:object size:0x7A scope:local data:string +@2033 = .data:0x81673C84; // type:object size:0x51 scope:local data:string +@2034 = .data:0x81673CD8; // type:object size:0x71 scope:local data:string +@2035 = .data:0x81673D4C; // type:object size:0x39 scope:local data:string +@2036 = .data:0x81673D88; // type:object size:0x49 scope:local data:string +@2037 = .data:0x81673DD4; // type:object size:0x51 scope:local data:string +@2038 = .data:0x81673E28; // type:object size:0x52 scope:local data:string +@2039 = .data:0x81673E7C; // type:object size:0x59 scope:local data:string +@2040 = .data:0x81673ED8; // type:object size:0x42 scope:local data:string +@2041 = .data:0x81673F1C; // type:object size:0x3A scope:local data:string +@2042 = .data:0x81673F58; // type:object size:0x3A scope:local data:string +@2043 = .data:0x81673F94; // type:object size:0x44 scope:local data:string +@2044 = .data:0x81673FD8; // type:object size:0x44 scope:local data:string +@2045 = .data:0x8167401C; // type:object size:0x3B scope:local data:string +@2046 = .data:0x81674058; // type:object size:0x3F scope:local data:string +@2047 = .data:0x81674098; // type:object size:0x67 scope:local data:string +@2048 = .data:0x81674100; // type:object size:0x45 scope:local data:string +@2049 = .data:0x81674148; // type:object size:0x3D scope:local data:string YearDays = .data:0x81674188; // type:object size:0x30 scope:local LeapYearDays = .data:0x816741B8; // type:object size:0x30 scope:local UcsAnsiTable = .data:0x816741E8; // type:object size:0x40 scope:local data:2byte -Ucs00 = .data:0x81674228; // type:object size:0x200 scope:local -Ucs03 = .data:0x81674428; // type:object size:0x200 scope:local -Ucs04 = .data:0x81674628; // type:object size:0x200 scope:local -Ucs20 = .data:0x81674828; // type:object size:0x200 scope:local -Ucs21 = .data:0x81674A28; // type:object size:0x200 scope:local -Ucs22 = .data:0x81674C28; // type:object size:0x200 scope:local -Ucs23 = .data:0x81674E28; // type:object size:0x200 scope:local -Ucs25 = .data:0x81675028; // type:object size:0x200 scope:local -Ucs26 = .data:0x81675228; // type:object size:0x200 scope:local -Ucs30 = .data:0x81675428; // type:object size:0x200 scope:local -Ucs4E = .data:0x81675628; // type:object size:0x200 scope:local -Ucs4F = .data:0x81675828; // type:object size:0x200 scope:local -Ucs50 = .data:0x81675A28; // type:object size:0x200 scope:local -Ucs51 = .data:0x81675C28; // type:object size:0x200 scope:local -Ucs52 = .data:0x81675E28; // type:object size:0x200 scope:local -Ucs53 = .data:0x81676028; // type:object size:0x200 scope:local -Ucs54 = .data:0x81676228; // type:object size:0x200 scope:local -Ucs55 = .data:0x81676428; // type:object size:0x200 scope:local -Ucs56 = .data:0x81676628; // type:object size:0x200 scope:local -Ucs57 = .data:0x81676828; // type:object size:0x200 scope:local -Ucs58 = .data:0x81676A28; // type:object size:0x200 scope:local -Ucs59 = .data:0x81676C28; // type:object size:0x200 scope:local -Ucs5A = .data:0x81676E28; // type:object size:0x200 scope:local -Ucs5B = .data:0x81677028; // type:object size:0x200 scope:local -Ucs5C = .data:0x81677228; // type:object size:0x200 scope:local -Ucs5D = .data:0x81677428; // type:object size:0x200 scope:local -Ucs5E = .data:0x81677628; // type:object size:0x200 scope:local -Ucs5F = .data:0x81677828; // type:object size:0x200 scope:local -Ucs60 = .data:0x81677A28; // type:object size:0x200 scope:local -Ucs61 = .data:0x81677C28; // type:object size:0x200 scope:local -Ucs62 = .data:0x81677E28; // type:object size:0x200 scope:local -Ucs63 = .data:0x81678028; // type:object size:0x200 scope:local -Ucs64 = .data:0x81678228; // type:object size:0x200 scope:local -Ucs65 = .data:0x81678428; // type:object size:0x200 scope:local -Ucs66 = .data:0x81678628; // type:object size:0x200 scope:local -Ucs67 = .data:0x81678828; // type:object size:0x200 scope:local -Ucs68 = .data:0x81678A28; // type:object size:0x200 scope:local -Ucs69 = .data:0x81678C28; // type:object size:0x200 scope:local -Ucs6A = .data:0x81678E28; // type:object size:0x200 scope:local -Ucs6B = .data:0x81679028; // type:object size:0x200 scope:local -Ucs6C = .data:0x81679228; // type:object size:0x200 scope:local -Ucs6D = .data:0x81679428; // type:object size:0x200 scope:local -Ucs6E = .data:0x81679628; // type:object size:0x200 scope:local -Ucs6F = .data:0x81679828; // type:object size:0x200 scope:local -Ucs70 = .data:0x81679A28; // type:object size:0x200 scope:local -Ucs71 = .data:0x81679C28; // type:object size:0x200 scope:local -Ucs72 = .data:0x81679E28; // type:object size:0x200 scope:local -Ucs73 = .data:0x8167A028; // type:object size:0x200 scope:local -Ucs74 = .data:0x8167A228; // type:object size:0x200 scope:local -Ucs75 = .data:0x8167A428; // type:object size:0x200 scope:local -Ucs76 = .data:0x8167A628; // type:object size:0x200 scope:local -Ucs77 = .data:0x8167A828; // type:object size:0x200 scope:local -Ucs78 = .data:0x8167AA28; // type:object size:0x200 scope:local -Ucs79 = .data:0x8167AC28; // type:object size:0x200 scope:local -Ucs7A = .data:0x8167AE28; // type:object size:0x200 scope:local -Ucs7B = .data:0x8167B028; // type:object size:0x200 scope:local -Ucs7C = .data:0x8167B228; // type:object size:0x200 scope:local -Ucs7D = .data:0x8167B428; // type:object size:0x200 scope:local -Ucs7E = .data:0x8167B628; // type:object size:0x200 scope:local -Ucs7F = .data:0x8167B828; // type:object size:0x200 scope:local -Ucs80 = .data:0x8167BA28; // type:object size:0x200 scope:local -Ucs81 = .data:0x8167BC28; // type:object size:0x200 scope:local -Ucs82 = .data:0x8167BE28; // type:object size:0x200 scope:local -Ucs83 = .data:0x8167C028; // type:object size:0x200 scope:local -Ucs84 = .data:0x8167C228; // type:object size:0x200 scope:local -Ucs85 = .data:0x8167C428; // type:object size:0x200 scope:local -Ucs86 = .data:0x8167C628; // type:object size:0x200 scope:local -Ucs87 = .data:0x8167C828; // type:object size:0x200 scope:local -Ucs88 = .data:0x8167CA28; // type:object size:0x200 scope:local -Ucs89 = .data:0x8167CC28; // type:object size:0x200 scope:local -Ucs8A = .data:0x8167CE28; // type:object size:0x200 scope:local -Ucs8B = .data:0x8167D028; // type:object size:0x200 scope:local -Ucs8C = .data:0x8167D228; // type:object size:0x200 scope:local -Ucs8D = .data:0x8167D428; // type:object size:0x200 scope:local -Ucs8E = .data:0x8167D628; // type:object size:0x200 scope:local -Ucs8F = .data:0x8167D828; // type:object size:0x200 scope:local -Ucs90 = .data:0x8167DA28; // type:object size:0x200 scope:local -Ucs91 = .data:0x8167DC28; // type:object size:0x200 scope:local -Ucs92 = .data:0x8167DE28; // type:object size:0x200 scope:local -Ucs93 = .data:0x8167E028; // type:object size:0x200 scope:local -Ucs94 = .data:0x8167E228; // type:object size:0x200 scope:local -Ucs95 = .data:0x8167E428; // type:object size:0x200 scope:local -Ucs96 = .data:0x8167E628; // type:object size:0x200 scope:local -Ucs97 = .data:0x8167E828; // type:object size:0x200 scope:local -Ucs98 = .data:0x8167EA28; // type:object size:0x200 scope:local -Ucs99 = .data:0x8167EC28; // type:object size:0x200 scope:local -Ucs9A = .data:0x8167EE28; // type:object size:0x200 scope:local -Ucs9B = .data:0x8167F028; // type:object size:0x200 scope:local -Ucs9C = .data:0x8167F228; // type:object size:0x200 scope:local -Ucs9D = .data:0x8167F428; // type:object size:0x200 scope:local -Ucs9E = .data:0x8167F628; // type:object size:0x200 scope:local -Ucs9F = .data:0x8167F828; // type:object size:0x200 scope:local -UcsFF = .data:0x8167FA28; // type:object size:0x200 scope:local -UcsSjisTable = .data:0x8167FC28; // type:object size:0x400 scope:local -@955 = .data:0x81680028; // type:object size:0x13 scope:local data:string -@956 = .data:0x8168003C; // type:object size:0x13 scope:local data:string -lbl_81680050 = .data:0x81680050; // type:object size:0xC data:string -lbl_8168005C = .data:0x8168005C; // type:object size:0x38 -lbl_81680094 = .data:0x81680094; // type:object size:0x38 -lbl_816800CC = .data:0x816800CC; // type:object size:0x14 data:string -lbl_816800E0 = .data:0x816800E0; // type:object size:0x10 noreloc -lbl_816800F0 = .data:0x816800F0; // type:object size:0x2C -jumptable_8168011C = .data:0x8168011C; // type:object size:0x1C scope:local -lbl_81680138 = .data:0x81680138; // type:object size:0x28 data:string -@1040 = .data:0x81680160; // type:object size:0x32 scope:local data:string -lbl_816802C8 = .data:0x816802C8; // type:object size:0x20 -lbl_816802E8 = .data:0x816802E8; // type:object size:0x14 -@1547 = .data:0x816802FC; // type:object size:0xD scope:local data:string -@1549 = .data:0x8168030C; // type:object size:0x1B scope:local data:string +Ucs00 = .data:0x81674228; // type:object size:0x200 scope:local noreloc +Ucs03 = .data:0x81674428; // type:object size:0x200 scope:local noreloc +Ucs04 = .data:0x81674628; // type:object size:0x200 scope:local noreloc +Ucs20 = .data:0x81674828; // type:object size:0x200 scope:local noreloc +Ucs21 = .data:0x81674A28; // type:object size:0x200 scope:local noreloc +Ucs22 = .data:0x81674C28; // type:object size:0x200 scope:local noreloc +Ucs23 = .data:0x81674E28; // type:object size:0x200 scope:local noreloc +Ucs25 = .data:0x81675028; // type:object size:0x200 scope:local noreloc +Ucs26 = .data:0x81675228; // type:object size:0x200 scope:local noreloc +Ucs30 = .data:0x81675428; // type:object size:0x200 scope:local noreloc +Ucs4E = .data:0x81675628; // type:object size:0x200 scope:local noreloc +Ucs4F = .data:0x81675828; // type:object size:0x200 scope:local noreloc +Ucs50 = .data:0x81675A28; // type:object size:0x200 scope:local noreloc +Ucs51 = .data:0x81675C28; // type:object size:0x200 scope:local noreloc +Ucs52 = .data:0x81675E28; // type:object size:0x200 scope:local noreloc +Ucs53 = .data:0x81676028; // type:object size:0x200 scope:local noreloc +Ucs54 = .data:0x81676228; // type:object size:0x200 scope:local noreloc +Ucs55 = .data:0x81676428; // type:object size:0x200 scope:local noreloc +Ucs56 = .data:0x81676628; // type:object size:0x200 scope:local noreloc +Ucs57 = .data:0x81676828; // type:object size:0x200 scope:local noreloc +Ucs58 = .data:0x81676A28; // type:object size:0x200 scope:local noreloc +Ucs59 = .data:0x81676C28; // type:object size:0x200 scope:local noreloc +Ucs5A = .data:0x81676E28; // type:object size:0x200 scope:local noreloc +Ucs5B = .data:0x81677028; // type:object size:0x200 scope:local noreloc +Ucs5C = .data:0x81677228; // type:object size:0x200 scope:local noreloc +Ucs5D = .data:0x81677428; // type:object size:0x200 scope:local noreloc +Ucs5E = .data:0x81677628; // type:object size:0x200 scope:local noreloc +Ucs5F = .data:0x81677828; // type:object size:0x200 scope:local noreloc +Ucs60 = .data:0x81677A28; // type:object size:0x200 scope:local noreloc +Ucs61 = .data:0x81677C28; // type:object size:0x200 scope:local noreloc +Ucs62 = .data:0x81677E28; // type:object size:0x200 scope:local noreloc +Ucs63 = .data:0x81678028; // type:object size:0x200 scope:local noreloc +Ucs64 = .data:0x81678228; // type:object size:0x200 scope:local noreloc +Ucs65 = .data:0x81678428; // type:object size:0x200 scope:local noreloc +Ucs66 = .data:0x81678628; // type:object size:0x200 scope:local noreloc +Ucs67 = .data:0x81678828; // type:object size:0x200 scope:local noreloc +Ucs68 = .data:0x81678A28; // type:object size:0x200 scope:local noreloc +Ucs69 = .data:0x81678C28; // type:object size:0x200 scope:local noreloc +Ucs6A = .data:0x81678E28; // type:object size:0x200 scope:local noreloc +Ucs6B = .data:0x81679028; // type:object size:0x200 scope:local noreloc +Ucs6C = .data:0x81679228; // type:object size:0x200 scope:local noreloc +Ucs6D = .data:0x81679428; // type:object size:0x200 scope:local noreloc +Ucs6E = .data:0x81679628; // type:object size:0x200 scope:local noreloc +Ucs6F = .data:0x81679828; // type:object size:0x200 scope:local noreloc +Ucs70 = .data:0x81679A28; // type:object size:0x200 scope:local noreloc +Ucs71 = .data:0x81679C28; // type:object size:0x200 scope:local noreloc +Ucs72 = .data:0x81679E28; // type:object size:0x200 scope:local noreloc +Ucs73 = .data:0x8167A028; // type:object size:0x200 scope:local noreloc +Ucs74 = .data:0x8167A228; // type:object size:0x200 scope:local noreloc +Ucs75 = .data:0x8167A428; // type:object size:0x200 scope:local noreloc +Ucs76 = .data:0x8167A628; // type:object size:0x200 scope:local noreloc +Ucs77 = .data:0x8167A828; // type:object size:0x200 scope:local noreloc +Ucs78 = .data:0x8167AA28; // type:object size:0x200 scope:local noreloc +Ucs79 = .data:0x8167AC28; // type:object size:0x200 scope:local noreloc +Ucs7A = .data:0x8167AE28; // type:object size:0x200 scope:local noreloc +Ucs7B = .data:0x8167B028; // type:object size:0x200 scope:local noreloc +Ucs7C = .data:0x8167B228; // type:object size:0x200 scope:local noreloc +Ucs7D = .data:0x8167B428; // type:object size:0x200 scope:local noreloc +Ucs7E = .data:0x8167B628; // type:object size:0x200 scope:local noreloc +Ucs7F = .data:0x8167B828; // type:object size:0x200 scope:local noreloc +Ucs80 = .data:0x8167BA28; // type:object size:0x200 scope:local noreloc +Ucs81 = .data:0x8167BC28; // type:object size:0x200 scope:local noreloc +Ucs82 = .data:0x8167BE28; // type:object size:0x200 scope:local noreloc +Ucs83 = .data:0x8167C028; // type:object size:0x200 scope:local noreloc +Ucs84 = .data:0x8167C228; // type:object size:0x200 scope:local noreloc +Ucs85 = .data:0x8167C428; // type:object size:0x200 scope:local noreloc +Ucs86 = .data:0x8167C628; // type:object size:0x200 scope:local noreloc +Ucs87 = .data:0x8167C828; // type:object size:0x200 scope:local noreloc +Ucs88 = .data:0x8167CA28; // type:object size:0x200 scope:local noreloc +Ucs89 = .data:0x8167CC28; // type:object size:0x200 scope:local noreloc +Ucs8A = .data:0x8167CE28; // type:object size:0x200 scope:local noreloc +Ucs8B = .data:0x8167D028; // type:object size:0x200 scope:local noreloc +Ucs8C = .data:0x8167D228; // type:object size:0x200 scope:local noreloc +Ucs8D = .data:0x8167D428; // type:object size:0x200 scope:local noreloc +Ucs8E = .data:0x8167D628; // type:object size:0x200 scope:local noreloc +Ucs8F = .data:0x8167D828; // type:object size:0x200 scope:local noreloc +Ucs90 = .data:0x8167DA28; // type:object size:0x200 scope:local noreloc +Ucs91 = .data:0x8167DC28; // type:object size:0x200 scope:local noreloc +Ucs92 = .data:0x8167DE28; // type:object size:0x200 scope:local noreloc +Ucs93 = .data:0x8167E028; // type:object size:0x200 scope:local noreloc +Ucs94 = .data:0x8167E228; // type:object size:0x200 scope:local noreloc +Ucs95 = .data:0x8167E428; // type:object size:0x200 scope:local noreloc +Ucs96 = .data:0x8167E628; // type:object size:0x200 scope:local noreloc +Ucs97 = .data:0x8167E828; // type:object size:0x200 scope:local noreloc +Ucs98 = .data:0x8167EA28; // type:object size:0x200 scope:local noreloc +Ucs99 = .data:0x8167EC28; // type:object size:0x200 scope:local noreloc +Ucs9A = .data:0x8167EE28; // type:object size:0x200 scope:local noreloc +Ucs9B = .data:0x8167F028; // type:object size:0x200 scope:local noreloc +Ucs9C = .data:0x8167F228; // type:object size:0x200 scope:local noreloc +Ucs9D = .data:0x8167F428; // type:object size:0x200 scope:local noreloc +Ucs9E = .data:0x8167F628; // type:object size:0x200 scope:local noreloc +Ucs9F = .data:0x8167F828; // type:object size:0x200 scope:local noreloc +UcsFF = .data:0x8167FA28; // type:object size:0x200 scope:local noreloc +UcsSjisTable = .data:0x8167FC28; // type:object size:0x400 scope:local noreloc +@586 = .data:0x81680028; // type:object size:0x13 scope:local data:string +@587 = .data:0x8168003C; // type:object size:0x13 scope:local data:string +@591 = .data:0x81680050; // type:object size:0xC scope:local data:string +@592 = .data:0x8168005C; // type:object size:0x37 scope:local data:string +@602 = .data:0x81680094; // type:object size:0x35 scope:local data:string +@634 = .data:0x816800CC; // type:object size:0x22 scope:local data:string +@776 = .data:0x816800F0; // type:object size:0x2B scope:local data:string +@826 = .data:0x8168011C; // type:object size:0x1C scope:local +@544 = .data:0x81680138; // type:object size:0x28 scope:local data:string +@414 = .data:0x81680160; // type:object size:0x32 scope:local data:string +...data.0 = .data:0x81680160; // type:label scope:local +@415 = .data:0x81680194; // type:object size:0x32 scope:local data:string +@416 = .data:0x816801C8; // type:object size:0x3F scope:local data:string +@419 = .data:0x81680208; // type:object size:0x16 scope:local data:string +@421 = .data:0x81680220; // type:object size:0x14 scope:local data:string +@423 = .data:0x81680234; // type:object size:0x16 scope:local data:string +@425 = .data:0x8168024C; // type:object size:0x15 scope:local data:string +@427 = .data:0x81680264; // type:object size:0x16 scope:local data:string +@429 = .data:0x8168027C; // type:object size:0x1A scope:local data:string +@431 = .data:0x81680298; // type:object size:0x15 scope:local data:string +@433 = .data:0x816802B0; // type:object size:0x11 scope:local data:string +@560 = .data:0x816802C8; // type:object size:0x1A scope:local data:string +@830 = .data:0x816802E8; // type:object size:0x11 scope:local data:string +@906 = .data:0x816802FC; // type:object size:0xD scope:local data:string +@908 = .data:0x8168030C; // type:object size:0x1B scope:local data:string lbl_81680328 = .data:0x81680328; // type:object size:0x48 data:string lbl_81680370 = .data:0x81680370; // type:object size:0x47 data:string Si = .data:0x816803B8; // type:object size:0x14 scope:local data:4byte @@ -17687,7 +17893,7 @@ lbl_81681D1C = .data:0x81681D1C; // type:object size:0xF data:string @3872 = .data:0x81681D30; // type:object size:0x32 scope:local data:string lbl_81681D90 = .data:0x81681D90; // type:object size:0xE60 lbl_81682BF0 = .data:0x81682BF0; // type:object size:0x47 data:string -lbl_81682C38 = .data:0x81682C38; // type:object size:0x47 data:string +@223 = .data:0x81682C38; // type:object size:0x47 scope:local data:string __AXMixCycles = .data:0x81682C80; // type:object size:0x80 scope:local __AXRmtMixCycles = .data:0x81682D00; // type:object size:0x10 scope:local __AXCompressorTable = .data:0x81682D20; // type:object size:0xFC0 @@ -17746,8 +17952,8 @@ base64_array = .data:0x816874A0; // type:object size:0x80 scope:local jumptable_81687520 = .data:0x81687520; // type:object size:0x68 scope:local jumptable_81687588 = .data:0x81687588; // type:object size:0x68 scope:local jumptable_816875F0 = .data:0x816875F0; // type:object size:0x40 scope:local -lbl_81687630 = .data:0x81687630; // type:object size:0x24 -lbl_81687654 = .data:0x81687654; // type:object size:0x4C +@1009 = .data:0x81687630; // type:object size:0x22 scope:local data:string +@1068 = .data:0x81687654; // type:object size:0x46 scope:local data:string @1687 = .data:0x816876A0; // type:object size:0x21 scope:local data:string lbl_816876C8 = .data:0x816876C8; // type:object size:0x48 data:string ShutdownFunctionInfo = .data:0x81687710; // type:object size:0x10 scope:local @@ -18202,10 +18408,10 @@ jumptable_816942C8 = .data:0x816942C8; // type:object size:0x84 scope:local jumptable_8169434C = .data:0x8169434C; // type:object size:0x24 scope:local @wstringBase0 = .data:0x81694370; // type:object size:0x56 scope:local data:string_table gDBCommTable = .data:0x816943C8; // type:object size:0x28 -lbl_81694400 = .sdata2:0x81694400; // type:object size:0x4 align:4 data:float -lbl_81694404 = .sdata2:0x81694404; // type:object size:0x4 align:4 data:float -lbl_81694408 = .sdata2:0x81694408; // type:object size:0x4 align:4 data:float -lbl_8169440C = .sdata2:0x8169440C; // type:object size:0x4 align:4 data:float +@85 = .sdata2:0x81694400; // type:object size:0x4 scope:local align:4 data:float +@86 = .sdata2:0x81694404; // type:object size:0x4 scope:local align:4 data:float +@87 = .sdata2:0x81694408; // type:object size:0x4 scope:local align:4 data:float +@88 = .sdata2:0x8169440C; // type:object size:0x4 scope:local align:4 data:float lbl_81694410 = .sdata2:0x81694410; // type:object size:0x4 align:4 data:float lbl_81694418 = .sdata2:0x81694418; // type:object size:0x8 align:8 data:double lbl_81694420 = .sdata2:0x81694420; // type:object size:0x4 align:4 data:float @@ -18234,8 +18440,8 @@ lbl_81694480 = .sdata2:0x81694480; // type:object size:0x4 align:4 data:float lbl_81694484 = .sdata2:0x81694484; // type:object size:0x4 align:4 data:float lbl_81694488 = .sdata2:0x81694488; // type:object size:0x4 align:4 data:float lbl_8169448C = .sdata2:0x8169448C; // type:object size:0x4 align:4 data:float -lbl_81694490 = .sdata2:0x81694490; // type:object size:0x4 align:4 data:float -lbl_81694494 = .sdata2:0x81694494; // type:object size:0x4 align:4 data:float +@1046 = .sdata2:0x81694490; // type:object size:0x4 scope:local align:4 data:float +@1047 = .sdata2:0x81694494; // type:object size:0x4 scope:local align:4 data:float lbl_81694498 = .sdata2:0x81694498; // type:object size:0x4 data:4byte lbl_816944A0 = .sdata2:0x816944A0; // type:object size:0x4 data:4byte lbl_816944A4 = .sdata2:0x816944A4; // type:object size:0x4 data:4byte @@ -18260,23 +18466,23 @@ lbl_816944E8 = .sdata2:0x816944E8; // type:object size:0x1 data:byte lbl_816944E9 = .sdata2:0x816944E9; // type:object size:0x1 data:byte lbl_816944EA = .sdata2:0x816944EA; // type:object size:0x1 data:byte lbl_816944EB = .sdata2:0x816944EB; // type:object size:0x1 data:byte -lbl_816944F0 = .sdata2:0x816944F0; // type:object size:0x4 align:4 data:float -lbl_816944F4 = .sdata2:0x816944F4; // type:object size:0x4 align:4 data:float -lbl_816944F8 = .sdata2:0x816944F8; // type:object size:0x4 align:4 data:float -lbl_816944FC = .sdata2:0x816944FC; // type:object size:0x4 align:4 data:float -lbl_81694500 = .sdata2:0x81694500; // type:object size:0x4 align:4 data:float -lbl_81694508 = .sdata2:0x81694508; // type:object size:0x4 align:4 data:float -lbl_8169450C = .sdata2:0x8169450C; // type:object size:0x4 align:4 data:float -lbl_81694510 = .sdata2:0x81694510; // type:object size:0x8 align:8 data:double -lbl_81694518 = .sdata2:0x81694518; // type:object size:0x4 align:4 data:float -lbl_8169451C = .sdata2:0x8169451C; // type:object size:0x4 align:4 data:float -lbl_81694520 = .sdata2:0x81694520; // type:object size:0x4 align:4 data:float -lbl_81694524 = .sdata2:0x81694524; // type:object size:0x4 align:4 data:float -lbl_81694528 = .sdata2:0x81694528; // type:object size:0x4 align:4 data:float -lbl_8169452C = .sdata2:0x8169452C; // type:object size:0x4 align:4 data:float -lbl_81694530 = .sdata2:0x81694530; // type:object size:0x4 align:4 data:float -lbl_81694534 = .sdata2:0x81694534; // type:object size:0x4 align:4 data:float -lbl_81694538 = .sdata2:0x81694538; // type:object size:0x4 align:4 data:float +@3799 = .sdata2:0x816944F0; // type:object size:0x4 scope:local align:4 data:float +@3800 = .sdata2:0x816944F4; // type:object size:0x4 scope:local align:4 data:float +@3860 = .sdata2:0x816944F8; // type:object size:0x4 scope:local align:4 data:float +@3861 = .sdata2:0x816944FC; // type:object size:0x4 scope:local align:4 data:float +@3862 = .sdata2:0x81694500; // type:object size:0x4 scope:local align:4 data:float +@3801 = .sdata2:0x81694508; // type:object size:0x4 scope:local align:4 data:float +@3846 = .sdata2:0x8169450C; // type:object size:0x4 scope:local align:4 data:float +@6961 = .sdata2:0x81694510; // type:object size:0x8 scope:local align:8 data:double +@7355 = .sdata2:0x81694518; // type:object size:0x4 scope:local align:4 data:float +@7356 = .sdata2:0x8169451C; // type:object size:0x4 scope:local align:4 data:float +@7607 = .sdata2:0x81694520; // type:object size:0x4 scope:local align:4 data:float +@7608 = .sdata2:0x81694524; // type:object size:0x4 scope:local align:4 data:float +@7609 = .sdata2:0x81694528; // type:object size:0x4 scope:local align:4 data:float +@7900 = .sdata2:0x8169452C; // type:object size:0x4 scope:local align:4 data:float +@7901 = .sdata2:0x81694530; // type:object size:0x4 scope:local align:4 data:float +@7902 = .sdata2:0x81694534; // type:object size:0x4 scope:local align:4 data:float +@7903 = .sdata2:0x81694538; // type:object size:0x4 scope:local align:4 data:float lbl_81694540 = .sdata2:0x81694540; // type:object size:0x4 align:4 data:float lbl_81694544 = .sdata2:0x81694544; // type:object size:0x4 align:4 data:float lbl_81694548 = .sdata2:0x81694548; // type:object size:0x1 data:byte @@ -18344,17 +18550,14 @@ lbl_81694660 = .sdata2:0x81694660; // type:object size:0x4 align:4 data:float lbl_81694664 = .sdata2:0x81694664; // type:object size:0x4 align:4 data:float lbl_81694668 = .sdata2:0x81694668; // type:object size:0x4 align:4 data:float lbl_81694670 = .sdata2:0x81694670; // type:object size:0x8 align:8 data:double -lbl_81694678 = .sdata2:0x81694678; // type:object size:0x4 align:4 data:float -lbl_8169467C = .sdata2:0x8169467C; // type:object size:0x1 data:byte -lbl_8169467D = .sdata2:0x8169467D; // type:object size:0x1 data:byte -lbl_8169467E = .sdata2:0x8169467E; // type:object size:0x1 data:byte -lbl_8169467F = .sdata2:0x8169467F; // type:object size:0x1 data:byte -lbl_81694680 = .sdata2:0x81694680; // type:object size:0x4 align:4 data:float -lbl_81694688 = .sdata2:0x81694688; // type:object size:0x4 align:4 data:float -lbl_8169468C = .sdata2:0x8169468C; // type:object size:0x4 align:4 data:float -lbl_81694690 = .sdata2:0x81694690; // type:object size:0x8 align:8 data:double -lbl_81694698 = .sdata2:0x81694698; // type:object size:0x4 align:4 data:float -lbl_8169469C = .sdata2:0x8169469C; // type:object size:0x4 align:4 data:float +@3131 = .sdata2:0x81694678; // type:object size:0x4 scope:local align:4 data:float +@2370 = .sdata2:0x8169467C; // type:object size:0x4 scope:local data:byte +@3533 = .sdata2:0x81694680; // type:object size:0x4 scope:local align:4 data:float +@4735 = .sdata2:0x81694688; // type:object size:0x4 scope:local align:4 data:float +@4736 = .sdata2:0x8169468C; // type:object size:0x4 scope:local align:4 data:float +@4740 = .sdata2:0x81694690; // type:object size:0x8 scope:local align:8 data:double +@3747 = .sdata2:0x81694698; // type:object size:0x4 scope:local align:4 data:float +@3748 = .sdata2:0x8169469C; // type:object size:0x4 scope:local align:4 data:float lbl_816946A0 = .sdata2:0x816946A0; // type:object size:0x4 align:4 data:float lbl_816946A4 = .sdata2:0x816946A4; // type:object size:0x4 align:4 data:float lbl_816946A8 = .sdata2:0x816946A8; // type:object size:0x4 align:4 data:float @@ -18397,7 +18600,7 @@ lbl_81694754 = .sdata2:0x81694754; // type:object size:0x4 align:4 data:float lbl_81694758 = .sdata2:0x81694758; // type:object size:0x4 align:4 data:float lbl_8169475C = .sdata2:0x8169475C; // type:object size:0x4 align:4 data:float lbl_81694760 = .sdata2:0x81694760; // type:object size:0x4 align:4 data:float -lbl_81694768 = .sdata2:0x81694768; // type:object size:0x4 align:4 data:float +@165 = .sdata2:0x81694768; // type:object size:0x4 scope:local align:4 data:float lbl_81694770 = .sdata2:0x81694770; // type:object size:0x4 align:4 data:float lbl_81694774 = .sdata2:0x81694774; // type:object size:0x1 data:byte lbl_81694775 = .sdata2:0x81694775; // type:object size:0x1 data:byte @@ -18981,7 +19184,7 @@ lbl_816951A0 = .sdata2:0x816951A0; // type:object size:0x4 align:4 data:float lbl_816951A4 = .sdata2:0x816951A4; // type:object size:0x4 align:4 data:float lbl_816951A8 = .sdata2:0x816951A8; // type:object size:0x8 align:8 data:double lbl_816951B0 = .sdata2:0x816951B0; // type:object size:0x8 data:byte -lbl_816951B8 = .sdata2:0x816951B8; // type:object size:0x8 data:byte +TMCJPEGDEC_SampleComps = .sdata2:0x816951B8; // type:object size:0x6 data:byte lbl_816951C0 = .sdata2:0x816951C0; // type:object size:0x4 align:4 data:float lbl_816951C4 = .sdata2:0x816951C4; // type:object size:0x4 align:4 data:float lbl_816951C8 = .sdata2:0x816951C8; // type:object size:0x8 align:8 data:double @@ -19112,17 +19315,17 @@ lbl_81695468 = .sdata2:0x81695468; // type:object size:0x4 align:4 data:float lbl_81695470 = .sdata2:0x81695470; // type:object size:0x8 align:8 data:double lbl_81695478 = .sdata2:0x81695478; // type:object size:0x8 align:4 data:float lbl_81695480 = .sdata2:0x81695480; // type:object size:0x8 align:4 data:float -lbl_81695488 = .sdata2:0x81695488; // type:object size:0x4 align:4 data:float -lbl_8169548C = .sdata2:0x8169548C; // type:object size:0x4 align:4 data:float -lbl_81695490 = .sdata2:0x81695490; // type:object size:0x4 align:4 data:float -lbl_81695494 = .sdata2:0x81695494; // type:object size:0x4 align:4 data:float -lbl_81695498 = .sdata2:0x81695498; // type:object size:0x4 align:4 data:float -lbl_8169549C = .sdata2:0x8169549C; // type:object size:0x4 align:4 data:float -lbl_816954A0 = .sdata2:0x816954A0; // type:object size:0x4 align:4 data:float -lbl_816954A4 = .sdata2:0x816954A4; // type:object size:0x4 align:4 data:float -lbl_816954A8 = .sdata2:0x816954A8; // type:object size:0x4 align:4 data:float -lbl_816954B0 = .sdata2:0x816954B0; // type:object size:0x4 align:4 data:float -lbl_816954B4 = .sdata2:0x816954B4; // type:object size:0x4 align:4 data:float +@238 = .sdata2:0x81695488; // type:object size:0x4 scope:local align:4 data:float +@239 = .sdata2:0x8169548C; // type:object size:0x4 scope:local align:4 data:float +@586 = .sdata2:0x81695490; // type:object size:0x4 scope:local align:4 data:float +@587 = .sdata2:0x81695494; // type:object size:0x4 scope:local align:4 data:float +@608 = .sdata2:0x81695498; // type:object size:0x4 scope:local align:4 data:float +@609 = .sdata2:0x8169549C; // type:object size:0x4 scope:local align:4 data:float +@611 = .sdata2:0x816954A0; // type:object size:0x4 scope:local align:4 data:float +@630 = .sdata2:0x816954A4; // type:object size:0x4 scope:local align:4 data:float +@631 = .sdata2:0x816954A8; // type:object size:0x4 scope:local align:4 data:float +@239 = .sdata2:0x816954B0; // type:object size:0x4 scope:local align:4 data:float +@240 = .sdata2:0x816954B4; // type:object size:0x4 scope:local align:4 data:float lbl_816954B8 = .sdata2:0x816954B8; // type:object size:0x4 align:4 data:float lbl_816954BC = .sdata2:0x816954BC; // type:object size:0x4 align:4 data:float lbl_816954C0 = .sdata2:0x816954C0; // type:object size:0x1 data:byte @@ -19250,12 +19453,9 @@ lbl_816955B8 = .sdata2:0x816955B8; // type:object size:0x4 align:4 data:float lbl_816955C0 = .sdata2:0x816955C0; // type:object size:0x4 align:4 data:float lbl_816955C4 = .sdata2:0x816955C4; // type:object size:0x4 align:4 data:float lbl_816955C8 = .sdata2:0x816955C8; // type:object size:0x8 align:8 data:double -lbl_816955D0 = .sdata2:0x816955D0; // type:object size:0x2 data:2byte -lbl_816955D2 = .sdata2:0x816955D2; // type:object size:0x2 data:2byte -lbl_816955D4 = .sdata2:0x816955D4; // type:object size:0x2 data:2byte -lbl_816955D6 = .sdata2:0x816955D6; // type:object size:0x2 data:2byte -lbl_816955D8 = .sdata2:0x816955D8; // type:object size:0x4 align:4 data:float -lbl_816955E0 = .sdata2:0x816955E0; // type:object size:0x8 align:8 data:double +@499 = .sdata2:0x816955D0; // type:object size:0x8 scope:local data:2byte +@815 = .sdata2:0x816955D8; // type:object size:0x4 scope:local align:4 data:float +@817 = .sdata2:0x816955E0; // type:object size:0x8 scope:local align:8 data:double __EXIFreq = .sdata2:0x816955E8; // type:object size:0x4 data:4byte lbl_816955F0 = .sdata2:0x816955F0; // type:object size:0x4 align:4 data:float lbl_816955F4 = .sdata2:0x816955F4; // type:object size:0x4 align:4 data:float @@ -19662,13 +19862,13 @@ LOAD_GLYPH_ALL__Q44nw4r2ut6detail15ArchiveFontBase = .sbss2:0x81696008; // type: DefaultBlackColor = .sbss2:0x81696010; // type:object size:0x8 scope:local data:2byte bta_dm_pm_cfg = .sbss2:0x81696018; // type:object size:0x8 bd_addr_null = .sbss2:0x81696020; // type:object size:0x8 -lbl_81696040 = .sdata:0x81696040; // type:object size:0x4 data:string +@27 = .sdata:0x81696040; // type:object size:0x4 scope:local data:string RBRFileType_Txt = .sdata:0x81696044; // type:object size:0x4 data:4byte -lbl_81696048 = .sdata:0x81696048; // type:object size:0x4 data:string +@28 = .sdata:0x81696048; // type:object size:0x4 scope:local data:string RBRFileType_Odh = .sdata:0x8169604C; // type:object size:0x4 data:4byte -lbl_81696050 = .sdata:0x81696050; // type:object size:0x4 data:string +@29 = .sdata:0x81696050; // type:object size:0x4 scope:local data:string RBRFileType_Dat = .sdata:0x81696054; // type:object size:0x4 data:4byte -lbl_81696058 = .sdata:0x81696058; // type:object size:0x4 data:string +@30 = .sdata:0x81696058; // type:object size:0x4 scope:local data:string RBRFileType_Log = .sdata:0x8169605C; // type:object size:0x4 data:4byte lbl_81696060 = .sdata:0x81696060; // type:object size:0x8 data:string lbl_81696068 = .sdata:0x81696068; // type:object size:0x3 data:string @@ -19680,16 +19880,16 @@ lbl_81696084 = .sdata:0x81696084; // type:object size:0x4 lbl_81696088 = .sdata:0x81696088; // type:object size:0x3 data:string lbl_8169608B = .sdata:0x8169608B; // type:object size:0x5 data:string lbl_81696090 = .sdata:0x81696090; // type:object size:0x5 data:string -lbl_81696098 = .sdata:0x81696098; // type:object size:0x3 data:string -lbl_8169609B = .sdata:0x8169609B; // type:object size:0x5 data:string -lbl_816960A0 = .sdata:0x816960A0; // type:object size:0x2 data:string -lbl_816960A2 = .sdata:0x816960A2; // type:object size:0x5 data:string +@4748 = .sdata:0x81696098; // type:object size:0x3 scope:local data:string +@4761 = .sdata:0x8169609B; // type:object size:0x5 scope:local data:string +@4858 = .sdata:0x816960A0; // type:object size:0x2 scope:local data:string +@4929 = .sdata:0x816960A2; // type:object size:0x5 scope:local data:string lbl_816960A8 = .sdata:0x816960A8; // type:object size:0x4 -lbl_816960B0 = .sdata:0x816960B0; // type:object size:0x3 data:string -lbl_816960B8 = .sdata:0x816960B8; // type:object size:0x1 -lbl_816960B9 = .sdata:0x816960B9; // type:object size:0x3 data:string -lbl_816960BC = .sdata:0x816960BC; // type:object size:0x8 data:string -lbl_816960C8 = .sdata:0x816960C8; // type:object size:0x5 data:string +@3918 = .sdata:0x816960B0; // type:object size:0x3 scope:local data:string +@3950 = .sdata:0x816960B8; // type:object size:0x1 scope:local +@3952 = .sdata:0x816960B9; // type:object size:0x3 scope:local data:string +@4014 = .sdata:0x816960BC; // type:object size:0x8 scope:local data:string +@3646 = .sdata:0x816960C8; // type:object size:0x5 scope:local data:string lbl_816960D0 = .sdata:0x816960D0; // type:object size:0x4 data:string lbl_816960D4 = .sdata:0x816960D4; // type:object size:0x4 data:string lbl_816960D8 = .sdata:0x816960D8; // type:object size:0x6 @@ -19698,27 +19898,27 @@ lbl_816960E4 = .sdata:0x816960E4; // type:object size:0x4 data:wstring lbl_816960E8 = .sdata:0x816960E8; // type:object size:0x4 data:wstring lbl_816960F0 = .sdata:0x816960F0; // type:object size:0x6 data:wstring lbl_816960F6 = .sdata:0x816960F6; // type:object size:0x6 data:string -lbl_81696100 = .sdata:0x81696100; // type:object size:0x4 data:string -lbl_81696104 = .sdata:0x81696104; // type:object size:0x7 data:string -lbl_8169610B = .sdata:0x8169610B; // type:object size:0x7 data:string -lbl_81696118 = .sdata:0x81696118; // type:object size:0x8 data:string -lbl_81696120 = .sdata:0x81696120; // type:object size:0x6 data:string -lbl_81696126 = .sdata:0x81696126; // type:object size:0x7 data:string -lbl_81696130 = .sdata:0x81696130; // type:object size:0x7 data:string -lbl_81696137 = .sdata:0x81696137; // type:object size:0x7 data:string -lbl_8169613E = .sdata:0x8169613E; // type:object size:0x7 data:string -lbl_81696145 = .sdata:0x81696145; // type:object size:0x4 data:string -lbl_81696149 = .sdata:0x81696149; // type:object size:0x8 data:string -lbl_81696151 = .sdata:0x81696151; // type:object size:0x7 data:string -lbl_81696158 = .sdata:0x81696158; // type:object size:0x7 data:string -lbl_8169615F = .sdata:0x8169615F; // type:object size:0x8 data:string -lbl_81696167 = .sdata:0x81696167; // type:object size:0x7 data:string -lbl_8169616E = .sdata:0x8169616E; // type:object size:0x7 data:string -lbl_81696175 = .sdata:0x81696175; // type:object size:0x7 data:string -lbl_8169617C = .sdata:0x8169617C; // type:object size:0x7 data:string -lbl_81696183 = .sdata:0x81696183; // type:object size:0x7 data:string -lbl_8169618A = .sdata:0x8169618A; // type:object size:0x6 data:string -lbl_81696190 = .sdata:0x81696190; // type:object size:0x6 data:string +@3802 = .sdata:0x81696100; // type:object size:0x4 scope:local data:string +@3857 = .sdata:0x81696104; // type:object size:0x7 scope:local data:string +@3858 = .sdata:0x8169610B; // type:object size:0x7 scope:local data:string +@3845 = .sdata:0x81696118; // type:object size:0x8 scope:local data:string +@3847 = .sdata:0x81696120; // type:object size:0x6 scope:local data:string +@3848 = .sdata:0x81696126; // type:object size:0x7 scope:local data:string +@3595 = .sdata:0x81696130; // type:object size:0x7 scope:local data:string +@3596 = .sdata:0x81696137; // type:object size:0x7 scope:local data:string +@3597 = .sdata:0x8169613E; // type:object size:0x7 scope:local data:string +@6805 = .sdata:0x81696145; // type:object size:0x4 scope:local data:string +@6808 = .sdata:0x81696149; // type:object size:0x8 scope:local data:string +@6811 = .sdata:0x81696151; // type:object size:0x7 scope:local data:string +@6813 = .sdata:0x81696158; // type:object size:0x7 scope:local data:string +@6814 = .sdata:0x8169615F; // type:object size:0x8 scope:local data:string +@6815 = .sdata:0x81696167; // type:object size:0x7 scope:local data:string +@7351 = .sdata:0x8169616E; // type:object size:0x7 scope:local data:string +@7353 = .sdata:0x81696175; // type:object size:0x7 scope:local data:string +@7354 = .sdata:0x8169617C; // type:object size:0x7 scope:local data:string +@7452 = .sdata:0x81696183; // type:object size:0x7 scope:local data:string +@7508 = .sdata:0x8169618A; // type:object size:0x6 scope:local data:string +@7667 = .sdata:0x81696190; // type:object size:0x6 scope:local data:string c_banner_file_name__Q23ipl12NandSDWorker = .sdata:0x81696198; // type:object size:0x4 data:4byte lbl_8169619C = .sdata:0x8169619C; // type:object size:0x8 scope:local data:string c_nocopy_folder_name__Q23ipl12NandSDWorker = .sdata:0x816961A4; // type:object size:0x4 data:4byte @@ -19742,7 +19942,7 @@ lbl_816961EF = .sdata:0x816961EF; // type:object size:0x5 data:string lbl_816961F4 = .sdata:0x816961F4; // type:object size:0x4 data:string lbl_816961F8 = .sdata:0x816961F8; // type:object size:0x4 data:string lbl_816961FC = .sdata:0x816961FC; // type:object size:0x4 -lbl_81696200 = .sdata:0x81696200; // type:object size:0x4 data:string +@3796 = .sdata:0x81696200; // type:object size:0x4 scope:local data:string lbl_81696208 = .sdata:0x81696208; // type:object size:0x8 lbl_81696210 = .sdata:0x81696210; // type:object size:0x4 data:4byte lbl_81696214 = .sdata:0x81696214; // type:object size:0x5 data:string @@ -19785,7 +19985,7 @@ lbl_816962A5 = .sdata:0x816962A5; // type:object size:0x5 data:string lbl_816962AA = .sdata:0x816962AA; // type:object size:0x6 data:string lbl_816962B0 = .sdata:0x816962B0; // type:object size:0x7 data:string lbl_816962B7 = .sdata:0x816962B7; // type:object size:0x9 data:string -lbl_816962C0 = .sdata:0x816962C0; // type:object size:0x4 data:string +@5060 = .sdata:0x816962C0; // type:object size:0x4 scope:local data:string lbl_816962C8 = .sdata:0x816962C8; // type:object size:0x5 data:string sProtocolName__Q23www9arcreader = .sdata:0x816962D0; // type:object size:0x4 data:4byte lbl_816962D4 = .sdata:0x816962D4; // type:object size:0x7 data:string @@ -19875,10 +20075,10 @@ lbl_816964E5 = .sdata:0x816964E5; // type:object size:0x7 data:string lbl_816964EC = .sdata:0x816964EC; // type:object size:0x4 data:string lbl_816964F0 = .sdata:0x816964F0; // type:object size:0x8 data:string lbl_816964F8 = .sdata:0x816964F8; // type:object size:0x8 data:string -lbl_81696500 = .sdata:0x81696500; // type:object size:0x5 data:string -lbl_81696505 = .sdata:0x81696505; // type:object size:0x4 data:string -lbl_81696509 = .sdata:0x81696509; // type:object size:0x5 data:string -lbl_8169650E = .sdata:0x8169650E; // type:object size:0x7 data:string +@465 = .sdata:0x81696500; // type:object size:0x5 scope:local data:string +@466 = .sdata:0x81696505; // type:object size:0x4 scope:local data:string +@467 = .sdata:0x81696509; // type:object size:0x5 scope:local data:string +@468 = .sdata:0x8169650E; // type:object size:0x7 scope:local data:string BS2BootCaching = .sdata:0x81696518; // type:object size:0x4 data:4byte BS2WaitSpinup = .sdata:0x8169651C; // type:object size:0x4 data:4byte lbl_81696520 = .sdata:0x81696520; // type:object size:0x4 data:4byte @@ -19920,7 +20120,7 @@ lbl_816965E4 = .sdata:0x816965E4; // type:object size:0x4 data:string lbl_816965E8 = .sdata:0x816965E8; // type:object size:0x2 lbl_816965EA = .sdata:0x816965EA; // type:object size:0x6 data:string lbl_816965F0 = .sdata:0x816965F0; // type:object size:0x8 data:wstring -lbl_816965F8 = .sdata:0x816965F8; // type:object size:0x4 data:string +@3781 = .sdata:0x816965F8; // type:object size:0x4 scope:local data:string lbl_81696600 = .sdata:0x81696600; // type:object size:0x4 data:string lbl_81696604 = .sdata:0x81696604; // type:object size:0x7 data:string lbl_8169660B = .sdata:0x8169660B; // type:object size:0x8 data:string @@ -20131,29 +20331,29 @@ lbl_81696B12 = .sdata:0x81696B12; // type:object size:0x6 data:string lbl_81696B18 = .sdata:0x81696B18; // type:object size:0x7 data:string lbl_81696B1F = .sdata:0x81696B1F; // type:object size:0x8 data:string lbl_81696B27 = .sdata:0x81696B27; // type:object size:0x7 data:string -lbl_81696B30 = .sdata:0x81696B30; // type:object size:0x8 data:string -lbl_81696B38 = .sdata:0x81696B38; // type:object size:0x8 data:string -lbl_81696B40 = .sdata:0x81696B40; // type:object size:0x8 data:string -lbl_81696B48 = .sdata:0x81696B48; // type:object size:0x4 data:string -lbl_81696B4C = .sdata:0x81696B4C; // type:object size:0x6 data:string -lbl_81696B52 = .sdata:0x81696B52; // type:object size:0x7 data:string +@3588 = .sdata:0x81696B30; // type:object size:0x8 scope:local data:string +@3598 = .sdata:0x81696B38; // type:object size:0x8 scope:local data:string +@3599 = .sdata:0x81696B40; // type:object size:0x8 scope:local data:string +@4302 = .sdata:0x81696B48; // type:object size:0x4 scope:local data:string +@4305 = .sdata:0x81696B4C; // type:object size:0x6 scope:local data:string +@4307 = .sdata:0x81696B52; // type:object size:0x7 scope:local data:string lbl_81696B60 = .sdata:0x81696B60; // type:object size:0x2 lbl_81696B62 = .sdata:0x81696B62; // type:object size:0x4 data:string -lbl_81696B68 = .sdata:0x81696B68; // type:object size:0x6 data:string -lbl_81696B6E = .sdata:0x81696B6E; // type:object size:0x6 data:string -lbl_81696B74 = .sdata:0x81696B74; // type:object size:0x6 data:string -lbl_81696B7A = .sdata:0x81696B7A; // type:object size:0x6 data:string -lbl_81696B80 = .sdata:0x81696B80; // type:object size:0x6 data:string -lbl_81696B86 = .sdata:0x81696B86; // type:object size:0x6 data:string -lbl_81696B8C = .sdata:0x81696B8C; // type:object size:0x6 data:string -lbl_81696B92 = .sdata:0x81696B92; // type:object size:0x6 data:string -lbl_81696B98 = .sdata:0x81696B98; // type:object size:0x6 data:string -lbl_81696B9E = .sdata:0x81696B9E; // type:object size:0x6 data:string -lbl_81696BA4 = .sdata:0x81696BA4; // type:object size:0x6 data:string -lbl_81696BAA = .sdata:0x81696BAA; // type:object size:0x6 data:string -lbl_81696BB0 = .sdata:0x81696BB0; // type:object size:0x4 data:string -lbl_81696BB4 = .sdata:0x81696BB4; // type:object size:0x6 data:string -lbl_81696BBA = .sdata:0x81696BBA; // type:object size:0x7 data:string +@3592 = .sdata:0x81696B68; // type:object size:0x6 scope:local data:string +@3593 = .sdata:0x81696B6E; // type:object size:0x6 scope:local data:string +@3594 = .sdata:0x81696B74; // type:object size:0x6 scope:local data:string +@3595 = .sdata:0x81696B7A; // type:object size:0x6 scope:local data:string +@3596 = .sdata:0x81696B80; // type:object size:0x6 scope:local data:string +@3597 = .sdata:0x81696B86; // type:object size:0x6 scope:local data:string +@3598 = .sdata:0x81696B8C; // type:object size:0x6 scope:local data:string +@3599 = .sdata:0x81696B92; // type:object size:0x6 scope:local data:string +@3600 = .sdata:0x81696B98; // type:object size:0x6 scope:local data:string +@3601 = .sdata:0x81696B9E; // type:object size:0x6 scope:local data:string +@3602 = .sdata:0x81696BA4; // type:object size:0x6 scope:local data:string +@3603 = .sdata:0x81696BAA; // type:object size:0x6 scope:local data:string +@4318 = .sdata:0x81696BB0; // type:object size:0x4 scope:local data:string +@4324 = .sdata:0x81696BB4; // type:object size:0x6 scope:local data:string +@4326 = .sdata:0x81696BBA; // type:object size:0x7 scope:local data:string lbl_81696BC8 = .sdata:0x81696BC8; // type:object size:0x4 data:string lbl_81696BCC = .sdata:0x81696BCC; // type:object size:0x7 data:string lbl_81696BD8 = .sdata:0x81696BD8; // type:object size:0x4 data:string @@ -20431,11 +20631,11 @@ lbl_81697238 = .sdata:0x81697238; // type:object size:0x8 lbl_81697240 = .sdata:0x81697240; // type:object size:0x4 data:4byte lbl_81697244 = .sdata:0x81697244; // type:object size:0x4 data:4byte lbl_81697248 = .sdata:0x81697248; // type:object size:0x5 data:string -lbl_81697250 = .sdata:0x81697250; // type:object size:0x4 data:string -lbl_81697258 = .sdata:0x81697258; // type:object size:0x8 -lbl_81697260 = .sdata:0x81697260; // type:object size:0x4 data:string -lbl_81697264 = .sdata:0x81697264; // type:object size:0x8 data:string -lbl_8169726C = .sdata:0x8169726C; // type:object size:0x6 data:string +@3655 = .sdata:0x81697250; // type:object size:0x4 scope:local data:string +scBtnSoundType__Q23ipl5scene = .sdata:0x81697258; // type:object size:0x8 scope:local +@4382 = .sdata:0x81697260; // type:object size:0x4 scope:local data:string +@4385 = .sdata:0x81697264; // type:object size:0x8 scope:local data:string +@4392 = .sdata:0x8169726C; // type:object size:0x6 scope:local data:string lbl_81697278 = .sdata:0x81697278; // type:object size:0x4 data:string lbl_8169727C = .sdata:0x8169727C; // type:object size:0x5 data:string lbl_81697288 = .sdata:0x81697288; // type:object size:0x2 @@ -20780,7 +20980,7 @@ __NCDUnofficialVersion = .sdata:0x81697AA4; // type:object size:0x4 data:4byte padding$ = .sdata:0x81697AA8; // type:object size:0x1 scope:local lbl_81697AB0 = .sdata:0x81697AB0; // type:object size:0x8 lbl_81697AB8 = .sdata:0x81697AB8; // type:object size:0x8 -lbl_81697AC0 = .sdata:0x81697AC0; // type:object size:0x8 data:4byte +NETRexPPCVersionPrintableString = .sdata:0x81697AC0; // type:object size:0x4 data:4byte lbl_81697AC8 = .sdata:0x81697AC8; // type:object size:0x8 lbl_81697AD0 = .sdata:0x81697AD0; // type:object size:0x8 data:string lbl_81697AD8 = .sdata:0x81697AD8; // type:object size:0x4 @@ -20933,25 +21133,25 @@ lbl_81697DF8 = .sdata:0x81697DF8; // type:object size:0x8 lbl_81697E00 = .sdata:0x81697E00; // type:object size:0x4 lbl_81697E04 = .sdata:0x81697E04; // type:object size:0x4 __OSVersion = .sdata:0x81697E08; // type:object size:0x4 data:4byte -@1730 = .sdata:0x81697E0C; // type:object size:0x7 scope:local data:string -@1740 = .sdata:0x81697E14; // type:object size:0x6 scope:local data:string -lbl_81697E1C = .sdata:0x81697E1C; // type:object size:0x4 data:string -lbl_81697E20 = .sdata:0x81697E20; // type:object size:0x8 -lbl_81697E28 = .sdata:0x81697E28; // type:object size:0x8 -lbl_81697E30 = .sdata:0x81697E30; // type:object size:0x8 data:4byte +@1263 = .sdata:0x81697E0C; // type:object size:0x7 scope:local data:string +@1273 = .sdata:0x81697E14; // type:object size:0x6 scope:local data:string +@1337 = .sdata:0x81697E1C; // type:object size:0x4 scope:local data:string +@1339 = .sdata:0x81697E20; // type:object size:0x5 scope:local data:string +@710 = .sdata:0x81697E28; // type:object size:0x5 scope:local data:string +AppGameNameForSysMenu = .sdata:0x81697E30; // type:object size:0x4 scope:local data:4byte __OSCurrHeap = .sdata:0x81697E38; // type:object size:0x4 data:4byte __OSArenaLo = .sdata:0x81697E40; // type:object size:0x4 data:4byte s_mem2ArenaLo = .sdata:0x81697E44; // type:object size:0x4 scope:local data:4byte __OSFpscrEnableBits = .sdata:0x81697E48; // type:object size:0x4 data:4byte -@691 = .sdata:0x81697E4C; // type:object size:0x2 scope:local data:string -lbl_81697E50 = .sdata:0x81697E50; // type:object size:0x8 data:string +@532 = .sdata:0x81697E4C; // type:object size:0x2 scope:local data:string +@1056 = .sdata:0x81697E50; // type:object size:0x8 scope:local data:string FontEncode = .sdata:0x81697E58; // type:object size:0x2 scope:local data:2byte -lbl_81697E60 = .sdata:0x81697E60; // type:object size:0x8 scope:local -SwitchThreadCallback = .sdata:0x81697E68; // type:object size:0x4 data:4byte -lbl_81697E6C = .sdata:0x81697E6C; // type:object size:0x4 -IpcBufferLo = .sdata:0x81697E70; // type:object size:0x8 data:4byte +@660 = .sdata:0x81697E60; // type:object size:0x1 scope:local +SwitchThreadCallback = .sdata:0x81697E68; // type:object size:0x4 scope:local data:4byte +@2026 = .sdata:0x81697E6C; // type:object size:0x1 scope:local +IpcBufferLo = .sdata:0x81697E70; // type:object size:0x4 scope:local data:4byte PlayRecordState = .sdata:0x81697E78; // type:object size:0x4 scope:local data:4byte -@1548 = .sdata:0x81697E80; // type:object size:0x8 scope:local data:string +@907 = .sdata:0x81697E80; // type:object size:0x8 scope:local data:string __EXIVersion = .sdata:0x81697E88; // type:object size:0x4 data:4byte __SIVersion = .sdata:0x81697E90; // type:object size:0x4 data:4byte __VIVersion = .sdata:0x81697E98; // type:object size:0x4 data:4byte @@ -21064,7 +21264,7 @@ lbl_81698128 = .sdata:0x81698128; // type:object size:0x8 lbl_81698130 = .sdata:0x81698130; // type:object size:0x8 __ENCVersion = .sdata:0x81698138; // type:object size:0x4 data:4byte enc_tbl_jp_loaded = .sdata:0x81698140; // type:object size:0x4 data:4byte -lbl_81698148 = .sdata:0x81698148; // type:object size:0x6 data:string +@1008 = .sdata:0x81698148; // type:object size:0x6 scope:local data:string __esFd = .sdata:0x81698150; // type:object size:0x4 scope:local data:4byte lbl_81698158 = .sdata:0x81698158; // type:object size:0x8 data:string __mailboxAck = .sdata:0x81698160; // type:object size:0x4 scope:local data:4byte @@ -21341,7 +21541,7 @@ enc_tbl_kr_mbtowc2 = .sbss:0x81698668; // type:object size:0x4 enc_offset_kr2 = .sbss:0x8169866C; // type:object size:0x4 enc_tbl_uhc_loaded = .sbss:0x81698670; // type:object size:0x4 data:4byte enc_tbl_uhc_mbtowc = .sbss:0x81698674; // type:object size:0x4 -enc_offset_uhc = .sbss:0x81698678; // type:object size:0x8 +enc_offset_uhc = .sbss:0x81698678; // type:object size:0x4 mpBuf__Q33ipl10controller7Manager = .sbss:0x81698680; // type:object size:0x4 data:4byte mpParentHeap__Q33ipl10controller7Manager = .sbss:0x81698684; // type:object size:0x4 data:4byte mpHeap__Q33ipl10controller7Manager = .sbss:0x81698688; // type:object size:0x4 data:4byte @@ -21357,8 +21557,8 @@ user_used_fsblocks__Q23ipl8nandwall = .sbss:0x816986B0; // type:object size:0x4 user_used_inodes__Q23ipl8nandwall = .sbss:0x816986B4; // type:object size:0x4 data:4byte global_free_inode__Q23ipl8nandwall = .sbss:0x816986B8; // type:object size:0x4 data:4byte global_free_fsblock__Q23ipl8nandwall = .sbss:0x816986BC; // type:object size:0x4 data:4byte -lbl_816986C0 = .sbss:0x816986C0; // type:object size:0x8 -lbl_816986C8 = .sbss:0x816986C8; // type:object size:0x8 +sDlgBtn1Size__3ipl = .sbss:0x816986C0; // type:object size:0x8 scope:local +sDlgBtn1SmlSize__3ipl = .sbss:0x816986C8; // type:object size:0x8 scope:local lbl_816986D0 = .sbss:0x816986D0; // type:object size:0x1 data:byte s_sd_state__Q23ipl12NandSDWorker = .sbss:0x816986D8; // type:object size:0x4 data:4byte lbl_816986DC = .sbss:0x816986DC; // type:object size:0x4 data:4byte @@ -21854,13 +22054,13 @@ __OSInIPL = .sbss:0x81698FD8; // type:object size:0x4 data:4byte __OSInNandBoot = .sbss:0x81698FDC; // type:object size:0x4 data:4byte __OSIsGcam = .sbss:0x81698FE0; // type:object size:0x4 data:4byte AreWeInitialized = .sbss:0x81698FE4; // type:object size:0x4 scope:local data:4byte -OSExceptionTable = .sbss:0x81698FE8; // type:object size:0x8 data:4byte +OSExceptionTable = .sbss:0x81698FE8; // type:object size:0x4 data:4byte ZeroPS = .sbss:0x81698FF0; // type:object size:0x8 scope:local ZeroF = .sbss:0x81698FF8; // type:object size:0x8 scope:local align:8 data:double GameNameBuffer = .sbss:0x81699000; // type:object size:0x5 scope:local data:byte BI2DebugFlagHolder = .sbss:0x81699008; // type:object size:0x4 scope:local data:4byte BI2DebugFlag = .sbss:0x8169900C; // type:object size:0x4 scope:local data:4byte -BootInfo = .sbss:0x81699010; // type:object size:0x8 scope:local data:4byte +BootInfo = .sbss:0x81699010; // type:object size:0x4 scope:local data:4byte __OSStartTime = .sbss:0x81699018; // type:object size:0x8 data:4byte AlarmQueue = .sbss:0x81699020; // type:object size:0x8 scope:local data:4byte ArenaEnd = .sbss:0x81699028; // type:object size:0x4 scope:local data:4byte @@ -21878,20 +22078,20 @@ __OSLastInterruptSrr0 = .sbss:0x81699058; // type:object size:0x4 scope:global d __OSLastInterrupt = .sbss:0x8169905C; // type:object size:0x2 scope:global data:2byte __OSLastInterruptTime = .sbss:0x81699060; // type:object size:0x8 scope:global data:4byte InterruptHandlerTable = .sbss:0x81699068; // type:object size:0x4 scope:local data:4byte -bootThisDol = .sbss:0x81699070; // type:object size:0x8 scope:local data:4byte +__OSIsReturnToIdle = .sbss:0x81699070; // type:object size:0x4 data:4byte ShutdownFunctionQueue = .sbss:0x81699078; // type:object size:0x8 scope:local data:4byte Reschedule = .sbss:0x81699080; // type:object size:0x4 scope:local data:4byte RunQueueHint = .sbss:0x81699084; // type:object size:0x4 scope:local data:4byte RunQueueBits = .sbss:0x81699088; // type:object size:0x4 scope:local data:4byte -IpcBufferHi = .sbss:0x81699090; // type:object size:0x8 scope:local data:4byte -ResetDown = .sbss:0x81699098; // type:object size:0x4 scope:local data:4byte -StmReady = .sbss:0x8169909C; // type:object size:0x4 scope:local data:4byte -StmImDesc = .sbss:0x816990A0; // type:object size:0x4 scope:local data:4byte -StmEhDesc = .sbss:0x816990A4; // type:object size:0x4 scope:local data:4byte -StmEhRegistered = .sbss:0x816990A8; // type:object size:0x4 scope:local data:4byte -StmVdInUse = .sbss:0x816990AC; // type:object size:0x4 scope:local data:4byte -PowerCallback = .sbss:0x816990B0; // type:object size:0x4 scope:local data:4byte -ResetCallback = .sbss:0x816990B4; // type:object size:0x4 scope:local data:4byte +IpcBufferHi = .sbss:0x81699090; // type:object size:0x4 scope:local data:4byte +ResetDown = .sbss:0x81699098; // type:object size:0x4 scope:global data:4byte +StmReady = .sbss:0x8169909C; // type:object size:0x4 scope:global data:4byte +StmImDesc = .sbss:0x816990A0; // type:object size:0x4 scope:global data:4byte +StmEhDesc = .sbss:0x816990A4; // type:object size:0x4 scope:global data:4byte +StmEhRegistered = .sbss:0x816990A8; // type:object size:0x4 scope:global data:4byte +StmVdInUse = .sbss:0x816990AC; // type:object size:0x4 scope:global data:4byte +PowerCallback = .sbss:0x816990B0; // type:object size:0x4 scope:global data:4byte +ResetCallback = .sbss:0x816990B4; // type:object size:0x4 scope:global data:4byte PlayRecordGet = .sbss:0x816990B8; // type:object size:0x4 scope:local data:4byte PlayRecordError = .sbss:0x816990BC; // type:object size:0x4 scope:local data:4byte PlayRecordTerminate = .sbss:0x816990C0; // type:object size:0x4 scope:local data:4byte @@ -21901,7 +22101,7 @@ PlayRecordLastError = .sbss:0x816990CC; // type:object size:0x4 scope:local data PlayRecordLastCloseTime = .sbss:0x816990D0; // type:object size:0x8 scope:local data:4byte __OSExpireAIFade = .sbss:0x816990D8; // type:object size:0x4 data:4byte __OSExpireSetExpiredFlag = .sbss:0x816990DC; // type:object size:0x4 data:4byte -__OSExpireCallback = .sbss:0x816990E0; // type:object size:0x4 data:4byte +__OSExpireThread = .sbss:0x816990E0; // type:object size:0x4 data:4byte __OSExpireTime = .sbss:0x816990E8; // type:object size:0x8 data:4byte IDSerialPort1 = .sbss:0x816990F0; // type:object size:0x4 scope:local data:4byte Enabled = .sbss:0x816990F8; // type:object size:0x4 scope:local data:4byte @@ -22022,7 +22222,7 @@ LastState = .sbss:0x81699314; // type:object size:0x4 scope:local data:4byte ExistFlag = .sbss:0x81699318; // type:object size:0x4 scope:local data:4byte NextOffset = .sbss:0x8169931C; // type:object size:0x4 scope:local data:4byte Callback = .sbss:0x81699320; // type:object size:0x4 scope:local data:4byte -FatalFunc = .sbss:0x81699328; // type:object size:0x8 data:4byte +FatalFunc = .sbss:0x81699328; // type:object size:0x4 scope:local data:4byte requestInProgress = .sbss:0x81699330; // type:object size:0x1 scope:local data:byte callbackInProgress = .sbss:0x81699331; // type:object size:0x1 scope:local data:byte freeCommandBuf = .sbss:0x81699334; // type:object size:0x4 scope:local data:4byte @@ -22160,7 +22360,7 @@ hi$689 = .sbss:0x81699580; // type:object size:0x4 scope:local data:4byte hId = .sbss:0x81699584; // type:object size:0x4 scope:local data:4byte recalibrated$956 = .sbss:0x81699588; // type:object size:0x4 scope:local data:4byte SamplingCallback = .sbss:0x8169958C; // type:object size:0x4 scope:local data:4byte -__PADSpec = .sbss:0x81699590; // type:object size:0x4 scope:local data:4byte +__PADSpec = .sbss:0x81699590; // type:object size:0x4 data:4byte BarrelBits = .sbss:0x81699594; // type:object size:0x4 scope:local data:4byte PendingBits = .sbss:0x81699598; // type:object size:0x4 scope:local data:4byte CheckingBits = .sbss:0x8169959C; // type:object size:0x4 scope:local data:4byte diff --git a/configure.py b/configure.py index 45991218..8654737c 100644 --- a/configure.py +++ b/configure.py @@ -183,8 +183,12 @@ config.sjiswrap_tag = "v1.2.0" config.wibo_tag = "0.6.16" config.bstool_tag = "v1.0.1" +def getFirstFile(path_find): + for filename in Path(path_find).iterdir(): + if filename.is_file() and filename.suffix == '.wad': + return Path(filename) # Project -config.wad_path = Path("orig") / config.version / "base.wad" +config.wad_path = getFirstFile(Path("orig") / config.version) config.app_name = "0000000" + str(VERSION_INFO[VERSION_CONTENT][version_num]) + ".app" config.app_path = Path("build") / config.version / Path("base") / config.app_name config.dol_path = Path("build") / config.version / Path("base") / "main.dol" @@ -243,16 +247,17 @@ cflags_base = [ "-align powerpc", "-enum int", "-fp hardware", + "-Cpp_exceptions off", + # "-W all", + "-O4,p", "-inline auto", '-pragma "cats off"', '-pragma "warn_notinlined off"', "-maxerrors 1", "-nosyspath", "-RTTI off", - "-ipa file", "-fp_contract on", "-str reuse", - "-enc SJIS", *cflags_includes, f"-DBUILD_VERSION={version_num}", f"-DVERSION_{config.version}", @@ -267,23 +272,25 @@ else: # Main IPL flags cflags_ipl = [ *cflags_base, + "-ipa file", "-gccinc", "-fp_contract off", - "-Cpp_exceptions off", "-O4,s", + "-enc SJIS", ] # Common SDK flags cflags_sdk = [ *cflags_base, + "-ipa file", "-fp_contract off", - "-Cpp_exceptions off", "-O4,p", ] # NW4R flags cflags_nw4r = [ *cflags_base, + "-ipa file", "-fp_contract off", "-Cpp_exceptions off", "-O4,p", @@ -292,6 +299,7 @@ cflags_nw4r = [ # Common SDK flags (with exceptions on) cflags_sdk_except = [ *cflags_base, + "-ipa file", "-fp_contract off", "-Cpp_exceptions on", "-O4,p", @@ -303,7 +311,6 @@ cflags_runtime = [ "-use_lmw_stmw on", "-str reuse,pool,readonly", "-fp_contract off", - "-Cpp_exceptions off", "-gccinc", "-D_IEEE_LIBM", "-O4,p", @@ -311,24 +318,9 @@ cflags_runtime = [ # MetroTRK library flags cflags_trk = [ - "-nodefaults", - "-proc gekko", - "-align powerpc", - "-enum int", - "-fp hardware", - '-pragma "cats off"', - '-pragma "warn_notinlined off"', - "-maxerrors 1", - "-nosyspath", - "-Cpp_exceptions off", - "-RTTI off", - "-str reuse,pool,readonly", - "-use_lmw_stmw on", + *cflags_runtime, "-inline deferred", "-sdata 0", - "-O4,p", - *cflags_includes, - f"-DVERSION_{config.version}", ] config.linker_version = "GC/3.0a5.2" @@ -366,7 +358,7 @@ def ATOKLib(lib_name: str, objects: List[Object]) -> Dict[str, Any]: "src_dir": "libs/RVLMiddleware/ATOKDict/src", } -# Helper function for RVLFaceLib libraries +# Helper function for RVLFaceLib library def RVLFaceLib(objects: List[Object]) -> Dict[str, Any]: return { "lib": "RVLFaceLib", @@ -377,7 +369,7 @@ def RVLFaceLib(objects: List[Object]) -> Dict[str, Any]: "src_dir": "libs/RVLFaceLib/src", } -# Helper function for TMC_JPEG libraries +# Helper function for TMC_JPEG library def TMCJpegLib(objects: List[Object]) -> Dict[str, Any]: return { "lib": "TMC_JPEG", @@ -399,7 +391,7 @@ def NW4RLib(lib_name: str, objects: List[Object]) -> Dict[str, Any]: "src_dir": "libs/NW4R/src", } -# Helper function for EGG libraries +# Helper function for EGG library def EGGLib(objects: List[Object]) -> Dict[str, Any]: return { "lib": "EGG", @@ -502,7 +494,7 @@ config.libs = [ Object(NonMatching, "system/iplNwc24Manager.cpp"), Object(Matching, "system/iplPointer.cpp"), Object(Matching, "system/iplPointerCore.cpp"), - Object(Equivalent, "system/iplDialogWindow.cpp"), + Object(Matching, "system/iplDialogWindow.cpp"), Object(NonMatching, "system/iplHomeButtonMenu.cpp"), Object(NonMatching, "system/iplNandSDWorker.cpp"), Object(NonMatching, "system/iplKeyboard.cpp"), @@ -866,13 +858,13 @@ config.libs = [ Object(NonMatching, "MonPE/ApAIDic.c"), Object(NonMatching, "MonPE/ApCore.c"), Object(NonMatching, "MonPE/ApDic.c"), - Object(NonMatching, "MonPE/ApJACNorm.c"), + Object(NonMatching, "MonPE/ApJAC.c"), ] ), # eZiText (for 4.3U and 4.3E only) ZI8Lib("eZiText", [ - Object(NonMatching, "zi8ezt.c"), + Object(NonMatching, "eztx.c"), Object(NonMatching, "zi8address.c"), Object(NonMatching, "zi8convert.c"), Object(NonMatching, "zi8letter.c"), @@ -998,62 +990,62 @@ config.libs = [ ), RevoEXLib("vf", [ - Object(Matching, "vf/pf_clib.c"), - Object(Matching, "vf/pf_code.c"), - Object(Matching, "vf/pf_service.c"), - Object(NonMatching, "vf/pf_str.c"), - Object(Matching, "vf/pf_w_clib.c"), - Object(NonMatching, "vf/pf_driver.c"), - Object(NonMatching, "vf/pdm_bpb.c"), - Object(NonMatching, "vf/pdm_disk.c"), - Object(NonMatching, "vf/pdm_partition.c"), - Object(NonMatching, "vf/pdm_mbr.c"), - Object(NonMatching, "vf/pdm_dskmng.c"), - Object(NonMatching, "vf/pf_cache.c"), - Object(NonMatching, "vf/pf_cluster.c"), - Object(NonMatching, "vf/pf_dir.c"), - Object(NonMatching, "vf/pf_entry.c"), - Object(NonMatching, "vf/pf_entry_iterator.c"), - Object(NonMatching, "vf/pf_fat.c"), - Object(NonMatching, "vf/pf_fat12.c"), - Object(NonMatching, "vf/pf_fat16.c"), - Object(NonMatching, "vf/pf_fat32.c"), - Object(NonMatching, "vf/pf_fatfs.c"), - Object(NonMatching, "vf/pf_file.c"), - Object(NonMatching, "vf/pf_path.c"), - Object(NonMatching, "vf/pf_sector.c"), - Object(NonMatching, "vf/pf_volume.c"), - Object(NonMatching, "vf/pf_cp932.c"), - Object(NonMatching, "vf/pf_attach.c"), - Object(NonMatching, "vf/pf_chdir.c"), - Object(NonMatching, "vf/pf_create.c"), - Object(NonMatching, "vf/pf_detach.c"), - Object(NonMatching, "vf/pf_errnum.c"), - Object(NonMatching, "vf/pf_fclose.c"), - Object(NonMatching, "vf/pf_finfo.c"), - Object(NonMatching, "vf/pf_fopen.c"), - Object(NonMatching, "vf/pf_format.c"), - Object(NonMatching, "vf/pf_fread.c"), - Object(NonMatching, "vf/pf_fseek.c"), - Object(NonMatching, "vf/pf_fsfirst.c"), - Object(NonMatching, "vf/pf_fsnext.c"), - Object(NonMatching, "vf/pf_fwrite.c"), - Object(NonMatching, "vf/pf_getdev.c"), - Object(NonMatching, "vf/pf_init_prfile2.c"), - Object(NonMatching, "vf/pf_mkdir.c"), - Object(NonMatching, "vf/pf_remove.c"), - Object(NonMatching, "vf/pf_rmdir.c"), - Object(NonMatching, "vf/pf_sync.c"), - Object(NonMatching, "vf/pf_unmount.c"), - Object(NonMatching, "vf/pf_filelock.c"), - Object(NonMatching, "vf/pf_system.c"), + Object(Matching, "vf/api/pf_clib.c"), + Object(Matching, "vf/api/pf_code.c"), + Object(Matching, "vf/api/pf_service.c"), + Object(NonMatching, "vf/api/pf_str.c"), + Object(Matching, "vf/api/pf_w_clib.c"), + Object(NonMatching, "vf/api/pf_driver.c"), + Object(NonMatching, "vf/api/pdm_bpb.c"), + Object(NonMatching, "vf/api/pdm_disk.c"), + Object(NonMatching, "vf/api/pdm_partition.c"), + Object(NonMatching, "vf/api/pdm_mbr.c"), + Object(NonMatching, "vf/api/pdm_dskmng.c"), + Object(NonMatching, "vf/api/pf_cache.c"), + Object(NonMatching, "vf/api/pf_cluster.c"), + Object(NonMatching, "vf/api/pf_dir.c"), + Object(NonMatching, "vf/api/pf_entry.c"), + Object(NonMatching, "vf/api/pf_entry_iterator.c"), + Object(NonMatching, "vf/api/pf_fat.c"), + Object(NonMatching, "vf/api/pf_fat12.c"), + Object(NonMatching, "vf/api/pf_fat16.c"), + Object(NonMatching, "vf/api/pf_fat32.c"), + Object(NonMatching, "vf/api/pf_fatfs.c"), + Object(NonMatching, "vf/api/pf_file.c"), + Object(NonMatching, "vf/api/pf_path.c"), + Object(NonMatching, "vf/api/pf_sector.c"), + Object(NonMatching, "vf/api/pf_volume.c"), + Object(NonMatching, "vf/api/pf_cp932.c"), + Object(NonMatching, "vf/api/pf_attach.c"), + Object(NonMatching, "vf/api/pf_chdir.c"), + Object(NonMatching, "vf/api/pf_create.c"), + Object(NonMatching, "vf/api/pf_detach.c"), + Object(NonMatching, "vf/api/pf_errnum.c"), + Object(NonMatching, "vf/api/pf_fclose.c"), + Object(NonMatching, "vf/api/pf_finfo.c"), + Object(NonMatching, "vf/api/pf_fopen.c"), + Object(NonMatching, "vf/api/pf_format.c"), + Object(NonMatching, "vf/api/pf_fread.c"), + Object(NonMatching, "vf/api/pf_fseek.c"), + Object(NonMatching, "vf/api/pf_fsfirst.c"), + Object(NonMatching, "vf/api/pf_fsnext.c"), + Object(NonMatching, "vf/api/pf_fwrite.c"), + Object(NonMatching, "vf/api/pf_getdev.c"), + Object(NonMatching, "vf/api/pf_init_prfile2.c"), + Object(NonMatching, "vf/api/pf_mkdir.c"), + Object(NonMatching, "vf/api/pf_remove.c"), + Object(NonMatching, "vf/api/pf_rmdir.c"), + Object(NonMatching, "vf/api/pf_sync.c"), + Object(NonMatching, "vf/api/pf_unmount.c"), + Object(NonMatching, "vf/api/pf_filelock.c"), + Object(NonMatching, "vf/api/pf_system.c"), Object(NonMatching, "vf/d_vf.c"), Object(NonMatching, "vf/d_vf_sys.c"), Object(NonMatching, "vf/d_hash.c"), Object(NonMatching, "vf/d_time.c"), Object(NonMatching, "vf/d_common.c"), - Object(NonMatching, "vf/nand_drv.c"), - Object(NonMatching, "vf/sd_drv.c"), + Object(NonMatching, "vf/driver/nand_drv.c"), + Object(NonMatching, "vf/driver/sd_drv.c"), ] ), RevoEXLib("wd", @@ -1084,10 +1076,31 @@ config.libs = [ Object(NonMatching, "RFL_Format.c"), ] ), - # TMC_JPEG + # TMC JPEG TMCJpegLib( [ - Object(NonMatching, "decapi.c"), + Object(NonMatching, "buffer/mkhdec3.c"), + Object(NonMatching, "buffer/buffer_system.c"), + Object(NonMatching, "buffer/getcode.c"), + Object(NonMatching, "buffer/idct_block_var.c"), + Object(NonMatching, "buffer/decapi.c"), + + Object(NonMatching, "api/decapi.c"), + + Object(NonMatching, "jpegdec/jdec.c"), + Object(NonMatching, "jpegdec/jdec_main.c"), + Object(NonMatching, "jpegdec/jpformat.c"), + + Object(NonMatching, "exif/exif_parse.c"), + + Object(NonMatching, "reschange/iqdec_resolution_change_a3.c"), + Object(NonMatching, "reschange/idct_resolution_change_var.c"), + + Object(NonMatching, "texturecvtr/Texture_MCUtoY8U8V8.c"), + Object(NonMatching, "texturecvtr/Texture_MCUtoRGB565.c"), + Object(NonMatching, "texturecvtr/Texture_MCUtoRGBA8.c"), + + Object(NonMatching, "b65/iqdec_b65_frv32.c"), ] ), # NW4R @@ -1213,44 +1226,44 @@ config.libs = [ ), RVLSDKLib("os", [ - Object(NonMatching, "os/OS.c"), + Object(Matching, "os/OS.c"), Object(Matching, "os/OSAlarm.c"), - Object(NonMatching, "os/OSAlloc.c"), - Object(NonMatching, "os/OSArena.c"), - Object(NonMatching, "os/OSAudioSystem.c"), - Object(NonMatching, "os/OSCache.c"), - Object(NonMatching, "os/OSContext.c"), - Object(NonMatching, "os/OSError.c"), - Object(NonMatching, "os/OSExec.c"), - Object(NonMatching, "os/OSFont.c"), - Object(NonMatching, "os/OSInterrupt.c"), - Object(NonMatching, "os/OSLink.c"), - Object(NonMatching, "os/OSMessage.c"), - Object(NonMatching, "os/OSMemory.c"), - Object(NonMatching, "os/OSMutex.c"), - Object(NonMatching, "os/OSReset.c"), - Object(NonMatching, "os/OSRtc.c"), - Object(NonMatching, "os/OSSemaphore.c"), - Object(NonMatching, "os/OSSync.c"), - Object(NonMatching, "os/OSThread.c"), - Object(NonMatching, "os/OSTime.c"), - Object(NonMatching, "os/OSUtf.c"), - Object(NonMatching, "os/OSIpc.c"), - Object(NonMatching, "os/OSStateTM.c"), - Object(NonMatching, "os/time.dolphin.c"), - Object(NonMatching, "os/OSPlayRecord.c"), - Object(NonMatching, "os/OSStateFlags.c"), - Object(NonMatching, "os/OSNet.c"), - Object(NonMatching, "os/OSNandbootInfo.c"), - Object(NonMatching, "os/OSPlayTime.c"), + Object(Matching, "os/OSAlloc.c"), + Object(Matching, "os/OSArena.c"), + Object(Matching, "os/OSAudioSystem.c"), + Object(Matching, "os/OSCache.c"), + Object(Matching, "os/OSContext.c"), + Object(Matching, "os/OSError.c"), + Object(Matching, "os/OSExec.c"), + Object(Matching, "os/OSFont.c"), + Object(Matching, "os/OSInterrupt.c"), + Object(Matching, "os/OSLink.c"), + Object(Matching, "os/OSMessage.c"), + Object(Matching, "os/OSMemory.c"), + Object(Matching, "os/OSMutex.c"), + Object(Matching, "os/OSReset.c"), + Object(Matching, "os/OSRtc.c"), + Object(Matching, "os/OSSemaphore.c"), + Object(Matching, "os/OSSync.c"), + Object(Matching, "os/OSThread.c"), + Object(Matching, "os/OSTime.c"), + Object(Matching, "os/OSUtf.c"), + Object(Matching, "os/OSIpc.c"), + Object(Matching, "os/OSStateTM.c"), + Object(Matching, "os/time.dolphin.c"), + Object(Matching, "os/OSPlayRecord.c"), + Object(Matching, "os/OSStateFlags.c"), + Object(Matching, "os/OSNet.c"), + Object(Matching, "os/OSNandbootInfo.c"), + Object(Matching, "os/OSPlayTime.c"), Object(Matching, "os/__ppc_eabi_init.cpp"), ] ), RVLSDKLib("exi", [ - Object(NonMatching, "exi/EXIBios.c"), - Object(NonMatching, "exi/EXIUart.c"), - Object(NonMatching, "exi/EXICommon.c"), + Object(Matching, "exi/EXIBios.c", extra_cflags=["-schedule off -volatileasm"]), + Object(Matching, "exi/EXIUart.c"), + Object(Matching, "exi/EXICommon.c"), ] ), RVLSDKLib("si", @@ -1590,154 +1603,154 @@ config.libs = [ ), RVLSDKLib("fa", [ - Object(NonMatching, "fa/pf_clib.c"), - Object(NonMatching, "fa/pf_code.c"), - Object(NonMatching, "fa/pf_service.c"), - Object(NonMatching, "fa/pf_str.c"), - Object(NonMatching, "fa/pf_driver.c"), + Object(NonMatching, "fa/api/pf_clib.c"), + Object(NonMatching, "fa/api/pf_code.c"), + Object(NonMatching, "fa/api/pf_service.c"), + Object(NonMatching, "fa/api/pf_str.c"), + Object(NonMatching, "fa/api/pf_driver.c"), - Object(NonMatching, "fa/pdm_api.c"), - Object(NonMatching, "fa/pdm_bpb.c"), - Object(NonMatching, "fa/pdm_disk.c"), - Object(NonMatching, "fa/pdm_partition.c"), + Object(NonMatching, "fa/api/pdm_api.c"), + Object(NonMatching, "fa/api/pdm_bpb.c"), + Object(NonMatching, "fa/api/pdm_disk.c"), + Object(NonMatching, "fa/api/pdm_partition.c"), - Object(NonMatching, "fa/pf_cache.c"), - Object(NonMatching, "fa/pf_cluster.c"), - Object(NonMatching, "fa/pf_dir.c"), - Object(NonMatching, "fa/pf_entry.c"), - Object(NonMatching, "fa/pf_entry_iterator.c"), - Object(NonMatching, "fa/pf_fat.c"), - Object(NonMatching, "fa/pf_fat12.c"), - Object(NonMatching, "fa/pf_fat16.c"), - Object(NonMatching, "fa/pf_fat32.c"), - Object(NonMatching, "fa/pf_fatfs.c"), - Object(NonMatching, "fa/pf_file.c"), - Object(NonMatching, "fa/pf_path.c"), - Object(NonMatching, "fa/pf_sector.c"), - Object(NonMatching, "fa/pf_volume.c"), - Object(NonMatching, "fa/pf_volume_apiadd.c"), - Object(NonMatching, "fa/pf_cp932.c"), - Object(NonMatching, "fa/pf_api_util.c"), + Object(NonMatching, "fa/api/pf_cache.c"), + Object(NonMatching, "fa/api/pf_cluster.c"), + Object(NonMatching, "fa/api/pf_dir.c"), + Object(NonMatching, "fa/api/pf_entry.c"), + Object(NonMatching, "fa/api/pf_entry_iterator.c"), + Object(NonMatching, "fa/api/pf_fat.c"), + Object(NonMatching, "fa/api/pf_fat12.c"), + Object(NonMatching, "fa/api/pf_fat16.c"), + Object(NonMatching, "fa/api/pf_fat32.c"), + Object(NonMatching, "fa/api/pf_fatfs.c"), + Object(NonMatching, "fa/api/pf_file.c"), + Object(NonMatching, "fa/api/pf_path.c"), + Object(NonMatching, "fa/api/pf_sector.c"), + Object(NonMatching, "fa/api/pf_volume.c"), + Object(NonMatching, "fa/api/pf_volume_apiadd.c"), + Object(NonMatching, "fa/api/pf_cp932.c"), + Object(NonMatching, "fa/api/pf_api_util.c"), - Object(NonMatching, "fa/pf_attach.c"), - Object(NonMatching, "fa/pf_buffering.c"), - Object(NonMatching, "fa/pf_cdelete.c"), - Object(NonMatching, "fa/pf_chdir.c"), - Object(NonMatching, "fa/pf_chdmod.c"), - Object(NonMatching, "fa/pf_chmod.c"), - Object(NonMatching, "fa/pf_cinsert.c"), - Object(NonMatching, "fa/pf_closedir.c"), - Object(NonMatching, "fa/pf_combine.c"), - Object(NonMatching, "fa/pf_create.c"), - Object(NonMatching, "fa/pf_createdir.c"), - Object(NonMatching, "fa/pf_cut.c"), - Object(NonMatching, "fa/pf_derrnum.c"), - Object(NonMatching, "fa/pf_detach.c"), - Object(NonMatching, "fa/pf_divide.c"), - Object(NonMatching, "fa/pf_errnum.c"), - Object(NonMatching, "fa/pf_fadjust.c"), - Object(NonMatching, "fa/pf_fappend.c"), - Object(NonMatching, "fa/pf_fchdir.c"), - Object(NonMatching, "fa/pf_fclose.c"), - Object(NonMatching, "fa/pf_fconcat.c"), - Object(NonMatching, "fa/pf_feof.c"), - Object(NonMatching, "fa/pf_ferror.c"), - Object(NonMatching, "fa/pf_finfo.c"), - Object(NonMatching, "fa/pf_flock.c"), - Object(NonMatching, "fa/pf_fopen.c"), - Object(NonMatching, "fa/pf_format.c"), - Object(NonMatching, "fa/pf_fread.c"), - Object(NonMatching, "fa/pf_fseek.c"), - Object(NonMatching, "fa/pf_fsetclstlink.c"), - Object(NonMatching, "fa/pf_fsexec.c"), - Object(NonMatching, "fa/pf_fsfirst.c"), - Object(NonMatching, "fa/pf_fsnext.c"), - Object(NonMatching, "fa/pf_fstat.c"), - Object(NonMatching, "fa/pf_fsync.c"), - Object(NonMatching, "fa/pf_fwrite.c"), - Object(NonMatching, "fa/pf_getdev.c"), - Object(NonMatching, "fa/pf_getvol.c"), - Object(NonMatching, "fa/pf_getvolcfg.c"), - Object(NonMatching, "fa/pf_init_prfile2.c"), - Object(NonMatching, "fa/pf_insert.c"), - Object(NonMatching, "fa/pf_iswriteprotected.c"), - Object(NonMatching, "fa/pf_mkdir.c"), - Object(NonMatching, "fa/pf_mount.c"), - Object(NonMatching, "fa/pf_move.c"), - Object(NonMatching, "fa/pf_opendir.c"), - Object(NonMatching, "fa/pf_readdir.c"), - Object(NonMatching, "fa/pf_regctx.c"), - Object(NonMatching, "fa/pf_remove.c"), - Object(NonMatching, "fa/pf_rename.c"), - Object(NonMatching, "fa/pf_rewinddir.c"), - Object(NonMatching, "fa/pf_rmdir.c"), - Object(NonMatching, "fa/pf_rmvvol.c"), - Object(NonMatching, "fa/pf_seekdir.c"), - Object(NonMatching, "fa/pf_setclstlink.c"), - Object(NonMatching, "fa/pf_setcode.c"), - Object(NonMatching, "fa/pf_setencode.c"), - Object(NonMatching, "fa/pf_settailbuf.c"), - Object(NonMatching, "fa/pf_setupfsi.c"), - Object(NonMatching, "fa/pf_setvol.c"), - Object(NonMatching, "fa/pf_setvolcfg.c"), - Object(NonMatching, "fa/pf_sync.c"), - Object(NonMatching, "fa/pf_telldir.c"), - Object(NonMatching, "fa/pf_unmount.c"), - Object(NonMatching, "fa/pf_unregctx.c"), - Object(NonMatching, "fa/pf_xdivide.c"), + Object(NonMatching, "fa/api/pf_attach.c"), + Object(NonMatching, "fa/api/pf_buffering.c"), + Object(NonMatching, "fa/api/pf_cdelete.c"), + Object(NonMatching, "fa/api/pf_chdir.c"), + Object(NonMatching, "fa/api/pf_chdmod.c"), + Object(NonMatching, "fa/api/pf_chmod.c"), + Object(NonMatching, "fa/api/pf_cinsert.c"), + Object(NonMatching, "fa/api/pf_closedir.c"), + Object(NonMatching, "fa/api/pf_combine.c"), + Object(NonMatching, "fa/api/pf_create.c"), + Object(NonMatching, "fa/api/pf_createdir.c"), + Object(NonMatching, "fa/api/pf_cut.c"), + Object(NonMatching, "fa/api/pf_derrnum.c"), + Object(NonMatching, "fa/api/pf_detach.c"), + Object(NonMatching, "fa/api/pf_divide.c"), + Object(NonMatching, "fa/api/pf_errnum.c"), + Object(NonMatching, "fa/api/pf_fadjust.c"), + Object(NonMatching, "fa/api/pf_fappend.c"), + Object(NonMatching, "fa/api/pf_fchdir.c"), + Object(NonMatching, "fa/api/pf_fclose.c"), + Object(NonMatching, "fa/api/pf_fconcat.c"), + Object(NonMatching, "fa/api/pf_feof.c"), + Object(NonMatching, "fa/api/pf_ferror.c"), + Object(NonMatching, "fa/api/pf_finfo.c"), + Object(NonMatching, "fa/api/pf_flock.c"), + Object(NonMatching, "fa/api/pf_fopen.c"), + Object(NonMatching, "fa/api/pf_format.c"), + Object(NonMatching, "fa/api/pf_fread.c"), + Object(NonMatching, "fa/api/pf_fseek.c"), + Object(NonMatching, "fa/api/pf_fsetclstlink.c"), + Object(NonMatching, "fa/api/pf_fsexec.c"), + Object(NonMatching, "fa/api/pf_fsfirst.c"), + Object(NonMatching, "fa/api/pf_fsnext.c"), + Object(NonMatching, "fa/api/pf_fstat.c"), + Object(NonMatching, "fa/api/pf_fsync.c"), + Object(NonMatching, "fa/api/pf_fwrite.c"), + Object(NonMatching, "fa/api/pf_getdev.c"), + Object(NonMatching, "fa/api/pf_getvol.c"), + Object(NonMatching, "fa/api/pf_getvolcfg.c"), + Object(NonMatching, "fa/api/pf_init_prfile2.c"), + Object(NonMatching, "fa/api/pf_insert.c"), + Object(NonMatching, "fa/api/pf_iswriteprotected.c"), + Object(NonMatching, "fa/api/pf_mkdir.c"), + Object(NonMatching, "fa/api/pf_mount.c"), + Object(NonMatching, "fa/api/pf_move.c"), + Object(NonMatching, "fa/api/pf_opendir.c"), + Object(NonMatching, "fa/api/pf_readdir.c"), + Object(NonMatching, "fa/api/pf_regctx.c"), + Object(NonMatching, "fa/api/pf_remove.c"), + Object(NonMatching, "fa/api/pf_rename.c"), + Object(NonMatching, "fa/api/pf_rewinddir.c"), + Object(NonMatching, "fa/api/pf_rmdir.c"), + Object(NonMatching, "fa/api/pf_rmvvol.c"), + Object(NonMatching, "fa/api/pf_seekdir.c"), + Object(NonMatching, "fa/api/pf_setclstlink.c"), + Object(NonMatching, "fa/api/pf_setcode.c"), + Object(NonMatching, "fa/api/pf_setencode.c"), + Object(NonMatching, "fa/api/pf_settailbuf.c"), + Object(NonMatching, "fa/api/pf_setupfsi.c"), + Object(NonMatching, "fa/api/pf_setvol.c"), + Object(NonMatching, "fa/api/pf_setvolcfg.c"), + Object(NonMatching, "fa/api/pf_sync.c"), + Object(NonMatching, "fa/api/pf_telldir.c"), + Object(NonMatching, "fa/api/pf_unmount.c"), + Object(NonMatching, "fa/api/pf_unregctx.c"), + Object(NonMatching, "fa/api/pf_xdivide.c"), - Object(NonMatching, "fa/pf_w_api_util.c"), - Object(NonMatching, "fa/pf_w_cdelete.c"), - Object(NonMatching, "fa/pf_w_chdir.c"), - Object(NonMatching, "fa/pf_w_chdmod.c"), - Object(NonMatching, "fa/pf_w_chmod.c"), - Object(NonMatching, "fa/pf_w_cinsert.c"), - Object(NonMatching, "fa/pf_w_combine.c"), - Object(NonMatching, "fa/pf_w_create.c"), - Object(NonMatching, "fa/pf_w_createdir.c"), - Object(NonMatching, "fa/pf_w_cut.c"), - Object(NonMatching, "fa/pf_w_divide.c"), - Object(NonMatching, "fa/pf_w_fconcat.c"), - Object(NonMatching, "fa/pf_w_fopen.c"), - Object(NonMatching, "fa/pf_w_fsexec.c"), - Object(NonMatching, "fa/pf_w_fsfirst.c"), - Object(NonMatching, "fa/pf_w_fsnext.c"), - Object(NonMatching, "fa/pf_w_fstat.c"), - Object(NonMatching, "fa/pf_w_insert.c"), - Object(NonMatching, "fa/pf_w_mkdir.c"), - Object(NonMatching, "fa/pf_w_move.c"), - Object(NonMatching, "fa/pf_w_opendir.c"), - Object(NonMatching, "fa/pf_w_remove.c"), - Object(NonMatching, "fa/pf_w_rename.c"), - Object(NonMatching, "fa/pf_w_rmdir.c"), - Object(NonMatching, "fa/pf_w_xdivide.c"), - Object(NonMatching, "fa/pf_filelock.c"), + Object(NonMatching, "fa/api/pf_w_api_util.c"), + Object(NonMatching, "fa/api/pf_w_cdelete.c"), + Object(NonMatching, "fa/api/pf_w_chdir.c"), + Object(NonMatching, "fa/api/pf_w_chdmod.c"), + Object(NonMatching, "fa/api/pf_w_chmod.c"), + Object(NonMatching, "fa/api/pf_w_cinsert.c"), + Object(NonMatching, "fa/api/pf_w_combine.c"), + Object(NonMatching, "fa/api/pf_w_create.c"), + Object(NonMatching, "fa/api/pf_w_createdir.c"), + Object(NonMatching, "fa/api/pf_w_cut.c"), + Object(NonMatching, "fa/api/pf_w_divide.c"), + Object(NonMatching, "fa/api/pf_w_fconcat.c"), + Object(NonMatching, "fa/api/pf_w_fopen.c"), + Object(NonMatching, "fa/api/pf_w_fsexec.c"), + Object(NonMatching, "fa/api/pf_w_fsfirst.c"), + Object(NonMatching, "fa/api/pf_w_fsnext.c"), + Object(NonMatching, "fa/api/pf_w_fstat.c"), + Object(NonMatching, "fa/api/pf_w_insert.c"), + Object(NonMatching, "fa/api/pf_w_mkdir.c"), + Object(NonMatching, "fa/api/pf_w_move.c"), + Object(NonMatching, "fa/api/pf_w_opendir.c"), + Object(NonMatching, "fa/api/pf_w_remove.c"), + Object(NonMatching, "fa/api/pf_w_rename.c"), + Object(NonMatching, "fa/api/pf_w_rmdir.c"), + Object(NonMatching, "fa/api/pf_w_xdivide.c"), + Object(NonMatching, "fa/api/pf_filelock.c"), - Object(NonMatching, "fa/pf_stub.c"), - Object(NonMatching, "fa/pf_system.c"), - Object(NonMatching, "fa/pf_stub_standard.c"), - Object(NonMatching, "fa/pfs_attach.c"), - Object(NonMatching, "fa/pfs_buffering.c"), - Object(NonMatching, "fa/pfs_create.c"), - Object(NonMatching, "fa/pfs_createdir.c"), - Object(NonMatching, "fa/pfs_detach.c"), - Object(NonMatching, "fa/pfs_errnum.c"), - Object(NonMatching, "fa/pfs_fclose.c"), - Object(NonMatching, "fa/pfs_finfot.c"), - Object(NonMatching, "fa/pfs_fopen.c"), - Object(NonMatching, "fa/pfs_format.c"), - Object(NonMatching, "fa/pfs_fread.c"), - Object(NonMatching, "fa/pfs_fseek.c"), - Object(NonMatching, "fa/pfs_fsfirst.c"), - Object(NonMatching, "fa/pfs_fsnext.c"), - Object(NonMatching, "fa/pfs_fstat.c"), - Object(NonMatching, "fa/pfs_fwrite.c"), - Object(NonMatching, "fa/pfs_getdev.c"), - Object(NonMatching, "fa/pfs_init_prfile2.c"), - Object(NonMatching, "fa/pfs_mount.c"), - Object(NonMatching, "fa/pfs_remove.c"), - Object(NonMatching, "fa/pfs_unmount.c"), - Object(NonMatching, "fa/pf_stub_unicode.c"), + Object(NonMatching, "fa/api/pf_stub.c"), + Object(NonMatching, "fa/api/pf_system.c"), + Object(NonMatching, "fa/api/pf_stub_standard.c"), + Object(NonMatching, "fa/api/pfs_attach.c"), + Object(NonMatching, "fa/api/pfs_buffering.c"), + Object(NonMatching, "fa/api/pfs_create.c"), + Object(NonMatching, "fa/api/pfs_createdir.c"), + Object(NonMatching, "fa/api/pfs_detach.c"), + Object(NonMatching, "fa/api/pfs_errnum.c"), + Object(NonMatching, "fa/api/pfs_fclose.c"), + Object(NonMatching, "fa/api/pfs_finfot.c"), + Object(NonMatching, "fa/api/pfs_fopen.c"), + Object(NonMatching, "fa/api/pfs_format.c"), + Object(NonMatching, "fa/api/pfs_fread.c"), + Object(NonMatching, "fa/api/pfs_fseek.c"), + Object(NonMatching, "fa/api/pfs_fsfirst.c"), + Object(NonMatching, "fa/api/pfs_fsnext.c"), + Object(NonMatching, "fa/api/pfs_fstat.c"), + Object(NonMatching, "fa/api/pfs_fwrite.c"), + Object(NonMatching, "fa/api/pfs_getdev.c"), + Object(NonMatching, "fa/api/pfs_init_prfile2.c"), + Object(NonMatching, "fa/api/pfs_mount.c"), + Object(NonMatching, "fa/api/pfs_remove.c"), + Object(NonMatching, "fa/api/pfs_unmount.c"), + Object(NonMatching, "fa/api/pf_stub_unicode.c"), Object(NonMatching, "fa/FAAttach.c"), Object(NonMatching, "fa/FABuffering.c"), @@ -1764,18 +1777,18 @@ config.libs = [ Object(NonMatching, "fa/FASetThreadPriority.c"), Object(NonMatching, "fa/FAUnmount.c"), - Object(NonMatching, "fa/pfk_api.c"), + Object(NonMatching, "fa/kernel/pfk_api.c"), - Object(NonMatching, "fa/nand_drv.c"), - Object(NonMatching, "fa/sd_drv.c"), + Object(NonMatching, "fa/driver/nand_drv.c"), + Object(NonMatching, "fa/driver/sd_drv.c"), - Object(NonMatching, "fa/pfd_cmn.c"), + Object(NonMatching, "fa/driver/pfd_cmn.c"), - Object(NonMatching, "fa/msc_drv.c"), + Object(NonMatching, "fa/driver/msc_drv.c"), - Object(NonMatching, "fa/puh_msc.c"), - Object(NonMatching, "fa/puh_msc_cmd.c"), - Object(NonMatching, "fa/puh_msc_blk.c"), + Object(NonMatching, "fa/msc/puh_msc.c"), + Object(NonMatching, "fa/msc/puh_msc_cmd.c"), + Object(NonMatching, "fa/msc/puh_msc_blk.c"), ] ), RVLSDKLib("sdi", @@ -1792,15 +1805,15 @@ config.libs = [ ), RVLSDKLib("scutil", [ - Object(NonMatching, "scutil/scutil.c"), + Object(NonMatching, "scutil/idToIsoA2.c"), ] ), - RVLSDKLib("usbutil", + RVLSDKLib("usbcmn", [ - Object(NonMatching, "usbutil/uh_ker_mem.c"), - Object(NonMatching, "usbutil/uh_ker_msg.c"), - Object(NonMatching, "usbutil/uh_ker_sem.c"), - Object(NonMatching, "usbutil/uh_ker_tsk.c"), + Object(NonMatching, "usbcmn/puh_ker_mem.c"), + Object(NonMatching, "usbcmn/puh_ker_msg.c"), + Object(NonMatching, "usbcmn/puh_ker_sem.c"), + Object(NonMatching, "usbcmn/puh_ker_tsk.c"), ] ), RVLSDKLib("kbd", @@ -1913,7 +1926,7 @@ config.libs = [ Object(NonMatching, "math/e_log.c"), Object(NonMatching, "math/e_pow.c"), Object(NonMatching, "math/e_rem_pio2.c"), - Object(NonMatching, "math/s_fmin.c"), + Object(NonMatching, "math/fminmaxdim.c"), Object(NonMatching, "math/s_fmax.c"), Object(NonMatching, "math/k_cos.c"), Object(NonMatching, "math/k_rem_pio2.c"), diff --git a/include/BS2/BS2.h b/include/BS2/BS2.h index f4828d38..0e89f8d8 100644 --- a/include/BS2/BS2.h +++ b/include/BS2/BS2.h @@ -2,7 +2,7 @@ #define BS2_H #include -#include +#include #ifdef __cplusplus extern "C" { @@ -103,9 +103,6 @@ typedef enum { #define BS2_DEFAULT_BANNER_SIZE 0x80000 -#define BS2_BOOTINFO_ADDR 0x0000 -#define BS2_RVL_BOOTINFO_ADDR 0x3100 - BS2State BS2Tick(); void BS2StartGame(); diff --git a/include/BS2/sysmenu.h b/include/BS2/sysmenu.h new file mode 100644 index 00000000..c5ab9642 --- /dev/null +++ b/include/BS2/sysmenu.h @@ -0,0 +1,15 @@ +#ifndef SYSTEM_MENU_DEFINES_H +#define SYSTEM_MENU_DEFINES_H + +#ifdef __cplusplus +extern "C" { +#endif + +#define SYSMENU_VERSION_MAJOR 4 +#define SYSMENU_VERSION_MINOR 3 + +#ifdef __cplusplus +} +#endif + +#endif // SYSTEM_MENU_DEFINES_H diff --git a/include/channelScript/CHANSVm/CHANSVmTypes.h b/include/channelScript/CHANSVm/CHANSVmTypes.h index fd65a30b..208bf8de 100644 --- a/include/channelScript/CHANSVm/CHANSVmTypes.h +++ b/include/channelScript/CHANSVm/CHANSVmTypes.h @@ -38,7 +38,7 @@ typedef char CHANSVmStrCh; #define CHANSVmStrLength(str) (str / sizeof(CHANSVmWStrCh)) typedef enum CHANSVmObjType { - CHANS_VM_OBJ_TYPE_BLANK = 0, + CHANS_VM_OBJ_TYPE_BLANK /*hmm*/ = 0, CHANS_VM_OBJ_TYPE_INTEGER, CHANS_VM_OBJ_TYPE_FLOAT, CHANS_VM_OBJ_TYPE_STRING, diff --git a/include/config.h b/include/config.h index 6642f35d..ff0c6707 100644 --- a/include/config.h +++ b/include/config.h @@ -1,6 +1,9 @@ #ifndef IPL_CONFIG_H #define IPL_CONFIG_H +#define SYSMENU_TITLE_ID 0x0000000100000002 +#define SYSMENU_CONTENT_ID 0x00000001/*.app*/ + /** @brief Enables OSReport for IPL's WWW */ // #define ENABLE_IPL_WWW_REPORT @@ -13,8 +16,8 @@ /** @brief Enables OSReport for DSP */ // #define ENABLE_DSP_REPORT -#define SYSMENU_TITLE_ID 0x0000000100000002 -#define SYSMENU_CONTENT_ID 0x00000001 +/** @brief Load IPL content by loading the System Menu TMD manually. */ +//#define STAND_ALONE_BUILD /* Build options (set by the version being used) */ @@ -36,6 +39,10 @@ #define ENGLISH_BUILD #endif +#if defined(VERSION_43J) + #define JAPANESE_BUILD +#endif + #if defined(VERSION_43K) #define KOREAN_BUILD #endif diff --git a/include/decomp/decomp_ide.h b/include/decomp/decomp_ide.h index 4ff6831d..e7a441b4 100644 --- a/include/decomp/decomp_ide.h +++ b/include/decomp/decomp_ide.h @@ -5,8 +5,9 @@ #define asm #define __attribute__(x) #define __declspec(x) + +extern void __sync(); +extern unsigned int __cntlzw(unsigned int value); #endif #endif // DECOMP_SHUT_UP_IDE_H - - diff --git a/include/decomp/decomp_utils.h b/include/decomp/decomp_utils.h index f5475c3b..423cc857 100644 --- a/include/decomp/decomp_utils.h +++ b/include/decomp/decomp_utils.h @@ -1,13 +1,16 @@ #ifndef DECOMP_UTILS_H #define DECOMP_UTILS_H +#define __CONCAT(x, y) x##y +#define CONCAT(x, y) __CONCAT(x, y) + #define ARRSIZE(x) (sizeof(x) / sizeof(x[0])) -#define ROUNDUP(x, a) (((unsigned long)(x) + (a) - 1) & ~((a) - 1)) -#define PTR_ROUNDUP(x, a) ((void*)(((unsigned long)(x) + ((a) - 1)) & ~((a) - 1))) +#define ROUNDUP(x, a) (((unsigned long)(x) + ((a) - 1)) & ~((a) - 1)) +#define PTR_ROUNDUP(x, a) ((void*)ROUNDUP(x, a)) -#define ROUNDDOWN(x, a) ((x) & ~((a) - 1)) -#define PTR_ROUNDDOWN(x, a) ((void*)(((unsigned long)(x)) & (~((a) - 1)))) +#define ROUNDDOWN(x, a) (((unsigned long)(x)) & ~((a) - 1)) +#define PTR_ROUNDDOWN(x, a) ((void*)ROUNDDOWN(x, a)) #define NO_INLINE __attribute__((never_inline)) @@ -17,11 +20,11 @@ #define ADDRESS(addr) #endif -#define DECOMP_FORCEACTIVE(module, ...) \ - void fake_function(...); \ - void CONCAT(FORCEACTIVE##module, __LINE__)(void); \ - void CONCAT(FORCEACTIVE##module, __LINE__)(void) { \ - fake_function(__VA_ARGS__); \ +#define DECOMP_FORCE_ACTIVE(module, args...) \ + void fake_function(int a, ...); \ + void CONCAT(FORCEACTIVE##module, __LINE__)(); \ + void CONCAT(FORCEACTIVE##module, __LINE__)() { \ + fake_function(0, args); \ } #endif // DECOMP_UTILS_H diff --git a/include/layout/iplLayout.h b/include/layout/iplLayout.h index a302043d..19829019 100644 --- a/include/layout/iplLayout.h +++ b/include/layout/iplLayout.h @@ -8,18 +8,16 @@ #include -#include "nw4r/lyt/drawInfo.h" -#include "nw4r/ut/list.h" -#include "revolution/types.h" #include "system/iplNand.h" #include "utility/iplFrameController.h" +#include "utility/iplGraphics.h" namespace ipl { namespace layout { class Animator : public utility::FrameController { public: - Animator(nw4r::lyt::AnimTransform* animTrans, bool bRecursive, bool bPlayNow); + Animator(nw4r::lyt::AnimTransform* animTrans, bool bRecursive, bool bUnused); virtual ~Animator() {} virtual void calc(); @@ -49,7 +47,7 @@ namespace ipl { class PaneAnimator : public Animator { public: - PaneAnimator(nw4r::lyt::AnimTransform* animTrans, nw4r::lyt::Pane* pane, bool bRecursive, bool bPlayNow); + PaneAnimator(nw4r::lyt::AnimTransform* animTrans, nw4r::lyt::Pane* pane, bool bRecursive, bool bUnused); virtual ~PaneAnimator(); virtual void setFlag(bool flag); @@ -61,7 +59,7 @@ namespace ipl { class GroupAnimator : public Animator { public: - GroupAnimator(nw4r::lyt::AnimTransform* animTrans, nw4r::lyt::Group* group, bool bRecursive, bool bPlayNow); + GroupAnimator(nw4r::lyt::AnimTransform* animTrans, nw4r::lyt::Group* group, bool bRecursive, bool bUnused); virtual ~GroupAnimator(); virtual void setFlag(bool flag); @@ -92,10 +90,22 @@ namespace ipl { void initLocationAdjust(); - PaneAnimator* bind(const char* fileName, bool bPlayNow = true); - PaneAnimator* bind(const char* fileNane, const char* paneName, bool bRecursive = true, bool bPlayNow = true); - GroupAnimator* bindToGroup(const char* fileName, const char* groupName, bool bRecursive = true, bool bPlayNow = true); - GroupAnimator* bindToGroup(const char* fileName, nw4r::lyt::Group* group, bool bRecursive = true, bool bPlayNow = true); + /** + * Bind an animation to the Layout by BRLAN file. + * @param fileName The BRLAN filename + * @param bUnused Unused. Default is true. + */ + PaneAnimator* bind(const char* fileName, bool bUnused = true); + /** + * Bind an animation to the Layout by BRLAN file. + * @param fileName The BRLAN filename + * @param paneName The Pane to bind by name + * @param bRecursive Recursive animation. Default is true. + * @param bUnused Unused. Default is true. + */ + PaneAnimator* bind(const char* fileName, const char* paneName, bool bRecursive = true, bool bUnused = true); + GroupAnimator* bindToGroup(const char* fileName, const char* groupName, bool bRecursive = true, bool bUnused = true); + GroupAnimator* bindToGroup(const char* fileName, nw4r::lyt::Group* group, bool bRecursive = true, bool bUnused = true); void finishBinding(); bool searchFile(const char* fileName); @@ -123,6 +133,9 @@ namespace ipl { nw4r::lyt::Layout* getLayout() { return &mLayout; } /** @brief Gets the draw info object. */ nw4r::lyt::DrawInfo* getDrawInfo() { return &mDrawInfo; } + /** @brief Prepare the camera for the layout.. */ + static void setCamera() { utility::Graphics::setDefaultOrtho(); } + /** @brief Calculate the Layout matrix for rendering. */ void calcMtx() { getLayout()->CalculateMtx(mDrawInfo); } /** @brief Gets the root pane of the layout. */ nw4r::lyt::Pane* getRoot() { return getLayout()->GetRootPane(); } @@ -135,8 +148,8 @@ namespace ipl { void attach(void* arcBuffer, const char* directory); void attach_font(); - PaneAnimator* bind_(const char* fileName, nw4r::lyt::Pane* pane, bool bRecursive, bool bPlayNow); - GroupAnimator* bind_(const char* fileName, nw4r::lyt::Group* group, bool bRecursive, bool bPlayNow); + PaneAnimator* bind_(const char* fileName, nw4r::lyt::Pane* pane, bool bRecursive, bool bUnused); + GroupAnimator* bind_(const char* fileName, nw4r::lyt::Group* group, bool bRecursive, bool bUnused); nw4r::lyt::Layout mLayout; // 0x04 diff --git a/include/math/iplMathTypes.h b/include/math/iplMathTypes.h index fe17e5f4..ae8524da 100644 --- a/include/math/iplMathTypes.h +++ b/include/math/iplMathTypes.h @@ -7,12 +7,7 @@ #define IPL_MATH_CLAMP(x, min, max) x < min ? min : (x > max ? max : x) -typedef union FU32 { - u32 u32; - f32 f32; -} FU32; - -// **HACK** +// **(dirty fucking) HACK** #define IPL_MATH_INFINITY 0x1.FFFFFFP127f #define IPL_MATH_NINFINITY -0x1.FFFFFFP127f #define IPL_MATH_NULL_FLOAT IPL_MATH_INFINITY diff --git a/include/system/iplBS2Manager.h b/include/system/iplBS2Manager.h index 927dd8a1..650a05d0 100644 --- a/include/system/iplBS2Manager.h +++ b/include/system/iplBS2Manager.h @@ -4,7 +4,7 @@ #include #include -#include +#include #include diff --git a/include/system/iplChannelManager.h b/include/system/iplChannelManager.h index e1561138..91621341 100644 --- a/include/system/iplChannelManager.h +++ b/include/system/iplChannelManager.h @@ -3,7 +3,7 @@ #include -#include +#include #define CHANNEL_INFO(primary, second, flags, titleId) \ { primary, second, 0, 0, flags, ES_CHANNEL_ID(titleId), ES_TITLE_ID(titleId) } @@ -32,15 +32,15 @@ namespace ipl { }; typedef struct SChannelInfo { - u8 primaryType; // 0x00 - u8 secondaryType; // 0x01 + u8 primaryType; // 0x00 + u8 secondaryType; // 0x01 - u8 reserved[2]; // 0x02 + u8 reserved[2]; // 0x02 - u32 flags; // 0x04 + u32 flags; // 0x04 - ESId titleType; // 0x08 - ESId titleId; // 0x0C + ESTitleId32 titleType; // 0x08 + ESTitleId32 titleCode; // 0x0C } SInfo; } } diff --git a/include/system/iplController.h b/include/system/iplController.h index 6a37fbe8..2d67f356 100644 --- a/include/system/iplController.h +++ b/include/system/iplController.h @@ -10,17 +10,39 @@ #include "iplMath.h" -#define IPL_BUTTON_A ((WPAD_BUTTON_CL_A << 16) | WPAD_BUTTON_A) -#define IPL_BUTTON_B ((WPAD_BUTTON_CL_B << 16) | WPAD_BUTTON_B) -#define IPL_BUTTON_START ((WPAD_BUTTON_CL_PLUS << 16) | WPAD_BUTTON_PLUS) -#define IPL_BUTTON_SELECT ((WPAD_BUTTON_CL_MINUS << 16) | WPAD_BUTTON_MINUS) -#define IPL_BUTTON_HOME ((WPAD_BUTTON_CL_HOME << 16) | WPAD_BUTTON_HOME) - -#define IPL_BUTTON_1 (WPAD_BUTTON_1) -#define IPL_BUTTON_2 (WPAD_BUTTON_2) - namespace ipl { namespace controller { + #define __iplWpadCl(btn) ((btn)<<16) + + /* Revolution Controller (Wii Remote) */ + enum { + REVO_BTN_A = WPAD_BUTTON_A, + REVO_BTN_B = WPAD_BUTTON_B, + REVO_BTN_PLUS = WPAD_BUTTON_PLUS, + REVO_BTN_MINUS = WPAD_BUTTON_MINUS, + REVO_BTN_HOME = WPAD_BUTTON_HOME, + REVO_BTN_1 = WPAD_BUTTON_1, + REVO_BTN_2 = WPAD_BUTTON_2, + }; + /* Classic Controller */ + enum { + CL_BTN_A = __iplWpadCl(WPAD_BUTTON_CL_A), + CL_BTN_B = __iplWpadCl(WPAD_BUTTON_CL_B), + CL_BTN_PLUS = __iplWpadCl(WPAD_BUTTON_CL_PLUS), + CL_BTN_MINUS = __iplWpadCl(WPAD_BUTTON_CL_MINUS), + CL_BTN_HOME = __iplWpadCl(WPAD_BUTTON_CL_HOME), + }; + /* Both Revolution (Wii Remote) and Classic Controller */ + enum { + BTN_A = REVO_BTN_A | CL_BTN_A, + BTN_B = REVO_BTN_B | CL_BTN_B, + BTN_PLUS = REVO_BTN_PLUS | CL_BTN_PLUS, + BTN_MINUS = REVO_BTN_MINUS | CL_BTN_MINUS, + BTN_HOME = REVO_BTN_HOME | CL_BTN_HOME, + BTN_1 = REVO_BTN_1, + BTN_2 = REVO_BTN_2, + }; + class Manager { public: Manager(); diff --git a/include/system/iplDialogWindow.h b/include/system/iplDialogWindow.h index 633fb9ab..ee006cd3 100644 --- a/include/system/iplDialogWindow.h +++ b/include/system/iplDialogWindow.h @@ -10,18 +10,55 @@ #include "layout/GUIManager.h" #include "layout/iplLayout.h" -#define DIALOG_WINDOW_PAGE(msgID, rBtnMsgId, lBtnMsgId, isTwoBtn) \ - { msgID, rBtnMsgId, lBtnMsgId, isTwoBtn, NULL, 0, false } +/* MACROS FOR CREATING PAGE */ -#define DIALOG_WINDOW_PAGE_EX(msgID, rBtnMsgId, lBtnMsgId, isTwoBtn, layoutObj, layoutYOff, isLytAnim) \ - { msgID, rBtnMsgId, lBtnMsgId, isTwoBtn, layoutObj, layoutYOff, isLytAnim } +/** + * New data type for Multi-Dialog page + * @param msgID Message ID for body text. + * @param rBtnMsgId Message ID for right button text. + * @param lBtnMsgId Message ID for left button text. + */ +#define DIALOG_WINDOW_PAGE(msgID, rBtnMsgId, lBtnMsgId) \ + { msgID, rBtnMsgId, lBtnMsgId, TRUE, NULL, 0, false } +/** + * New data type for Multi-Dialog page + * @param msgID Message ID for body text. + * @param btnMsgId Message ID for button text. + */ +#define DIALOG_WINDOW_PAGE_ONEBTN(msgID, btnMsgId) \ + { msgID, btnMsgId, 0, FALSE, NULL, 0, false } + +/** + * New data type for Multi-Dialog page + * @param msgID Message ID for body text. + * @param rBtnMsgId Message ID for right button text. + * @param lBtnMsgId Message ID for left button text. + * @param layoutObj Custom layout object. + * @param layoutYOff Custom layout Y offset. + * @param isLytAnim If the custom layout is animating. + */ +#define DIALOG_WINDOW_PAGE_EX(msgID, rBtnMsgId, lBtnMsgId, layoutObj, layoutYOff, isLytAnim) \ + { msgID, rBtnMsgId, lBtnMsgId, TRUE, layoutObj, layoutYOff, isLytAnim } +/** + * New data type for Multi-Dialog page + * @param msgID Message ID for body text. + * @param btnMsgId Message ID for button text. + * @param layoutObj Custom layout object. + * @param layoutYOff Custom layout Y offset. + * @param isLytAnim If the custom layout is animating. + */ +#define DIALOG_WINDOW_PAGE_ONEBTN_EX(msgID, btnMsgId, layoutObj, layoutYOff, isLytAnim) \ + { msgID, btnMsgId, 0, FALSE, layoutObj, layoutYOff, isLytAnim } + +/** MAIN CLASS */ namespace ipl { USING_GUI class DialogWindow : public ::gui::EventHandler { + /* ROUTINES AVAILABLE FOR USER */ public: enum { - RESULT_NONE = -1, + RESULT_NONE = -1, /* Invalid result. */ RESULT_WAIT, /* For `callBtn0` */ RESULT_BUTTON, /* For `callBtn1` */ @@ -34,67 +71,245 @@ namespace ipl { RESULT_PROGRESS, /* For `callBtnPrg` */ }; + /* Multi-Dialog Page */ typedef struct Page { - u32 msgID; // 0x00 - u32 rBtnMsgId; // 0x04 - u32 lBtnMsgId; // 0x08 - bool isTwoBtn; // 0x0C + u32 msgID; // 0x00 (Message ID) + u32 rBtnMsgId; // 0x04 (Right button ID) + u32 lBtnMsgId; // 0x08 (Left button ID) + bool isTwoBtn; // 0x0C (Has two buttons) - ipl::layout::Object* layoutObj; // 0x10 + ipl::layout::Object* layoutObj; // 0x10 (Layout object to display) - f32 layoutYOff; // 0x14 - bool isLytAnim; // 0x18 + f32 layoutYOff; // 0x14 (Layout object Y offset) + bool isLytAnim; // 0x18 (If the Layout object can animate) } Page; - /** @param heap The work heap used. */ + /*=============*/ + /* DIALOG MAIN */ + /*=============*/ + + /** + * The constructor of the Dialog. + * @param heap The work heap used for construction. + */ DialogWindow(EGG::Heap* heap); + /** Initialize dialog so it is ready for calling. */ void init(); + /** Update Dialog Loop */ void calc(); + /** Drawing Dialog Loop */ void draw(); - - virtual void onEvent(u32 compId, u32 event, void* data); - - BOOL callBtn0(u32 msgId, u32 wait, bool bIsProg = false); - BOOL callBtn0NoShade(u32 msgId, u32 wait, bool bIsProg = false); - - BOOL callBtn1(u32 msgId, u32 btnId); - BOOL callBtn1(u32 msgId, u32 btnId, f32 size); - BOOL callBtn1(const wchar_t* msg, u32 btnId); - BOOL callBtn1(const wchar_t* msg, u32 btnId, f32 size); - BOOL callBtn1Sml(u32 msgId, u32 btnId); - BOOL callBtn1NoShade(u32 msgId, u32 btnId); - - BOOL callBtn2(u32 msgId, u32 rBtnId, u32 lBtnId, bool bSwapSound = false); - BOOL callBtn2(const wchar_t* msg, u32 rBtnId, u32 lBtnId, bool bSwapSound = false); - BOOL callBtn2(Page* pages, int pageCount, int fadeDelay); - BOOL callBtn2NoShade(const wchar_t* msg, u32 rBtnId, u32 lBtnId, bool bSwapSound = false); - - BOOL callBtn3(u32 msgId, u32 tBtnId, u32 cBtnID, u32 bBtnId); - - BOOL callSBtn2(u32 msgId, u32 rBtnId, u32 lBtnId, bool bSwapSound = false); - BOOL callS2Btn2(u32 rBtnId, u32 lBtnId, bool bSwapSound = false); - - BOOL callBtnPrg(u32 msgId); - BOOL callBtnPrgNoShade(const wchar_t* msg); - + /** + * Terminate an active dialog. Recommend to only use for `callBtn0` and `callBtnPrg`. + * @return Whenether the dialog has successfully terminated. + */ bool terminate(); + /** @return The result of the dialog saved after finishing. */ + int getLastResult() { return mLastResult; } + /** @return If the dialog is moving onto the next state. */ + bool doingNextState() { return mbNextState; } + + /*=================*/ + /* DIALOG BUTTON 0 */ + /*=================*/ + + /** + * Call dialog with no button. + * @param msgId Message ID from BMG file. + * @param wait The amount of ticks for the dialog should display for. + * @param bIsProg Show waiting icon on the bottom right. + * @return Whenever dialog call was successful. + */ + BOOL callBtn0(u32 msgId, u32 wait, bool bIsProg = false); + /** + * Call dialog with no button and no dark background. + * @param msgId Message ID for the body text. + * @param wait The amount of ticks for the dialog should display for. + * @param bIsProg Show waiting icon on the bottom right. + * @return Whenever dialog call was successful. + */ + BOOL callBtn0NoShade(u32 msgId, u32 wait, bool bIsProg = false); + + /*=================*/ + /* DIALOG BUTTON 1 */ + /*=================*/ + + /** + * Call dialog with one button. + * @param msgId Message ID for the body text. + * @param btnId Message ID for the button text. + * @return Whenever dialog call was successful. + */ + BOOL callBtn1(u32 msgId, u32 btnId); + /** + * Call dialog with one button. + * @param msgId Message ID for the body text. + * @param btnId Message ID for the button text. + * @param size Body Text's font size. + * @return Whenever dialog call was successful. + */ + BOOL callBtn1(u32 msgId, u32 btnId, f32 size); + /** + * Call dialog with one button. + * @param msg Unicode string for the body text. + * @param btnId Message ID for the button text. + * @return Whenever dialog call was successful. + */ + BOOL callBtn1(const wchar_t* msg, u32 btnId); + /** + * Call dialog with one button. + * @param msg Unicode string for the body text. + * @param btnId Message ID for the button text. + * @param size Body Text's font size. + * @return Whenever dialog call was successful. + */ + BOOL callBtn1(const wchar_t* msg, u32 btnId, f32 size); + /** + * Call dialog with one button with small font size. + * @param msgId Message ID for the body text. + * @param btnId Message ID for the button text. + * @return Whenever dialog call was successful. + */ + BOOL callBtn1Sml(u32 msgId, u32 btnId); + /** + * Call dialog with one button and without the dark background. + * @param msgId Message ID for the body text. + * @param btnId Message ID for the button text. + * @return Whenever dialog call was successful. + */ + BOOL callBtn1NoShade(u32 msgId, u32 btnId); + + /*=================*/ + /* DIALOG BUTTON 2 */ + /*=================*/ + + /** + * Call dialog with two buttons. + * @param msgId Message ID for the body text. + * @param rBtnId Message ID for the right button text. + * @param lBtnId Message ID for the left button text. + * @param bSwapSound Swap the "OK" and "Back" sound effect. + * @return Whenever dialog call was successful. + */ + BOOL callBtn2(u32 msgId, u32 rBtnId, u32 lBtnId, bool bSwapSound = false); + /** + * Call dialog with two buttons. + * @param msg Unicode string for the body text. + * @param rBtnId Message ID for the right button text. + * @param lBtnId Message ID for the left button text. + * @param bSwapSound Swap the "OK" and "Back" sound effect. + * @return Whenever dialog call was successful. + */ + BOOL callBtn2(const wchar_t* msg, u32 rBtnId, u32 lBtnId, bool bSwapSound = false); + /** + * Call a multi-dialog. + * @param pages An array of Dialog Pages. + * @param pageCount The amount of pages. + * @param fadeDelay The delay of the transition in ticks. + * @return Whenever dialog call was successful. + */ + BOOL callBtn2Multi(Page* pages, int pageCount, int fadeDelay); + /** + * Call dialog with two buttons and without the dark background. + * @param msgId Message ID for the body text. + * @param rBtnId Message ID for the right button text. + * @param lBtnId Message ID for the left button text. + * @param bSwapSound Swap the "OK" and "Back" sound effect. + * @return Whenever dialog call was successful. + */ + BOOL callBtn2NoShade(const wchar_t* msg, u32 rBtnId, u32 lBtnId, bool bSwapSound = false); + + /*=================*/ + /* DIALOG BUTTON 3 */ + /*=================*/ + + /** + * Call dialog with three buttons (vertically sorted) + * @param msgId Message ID for the body text. + * @param tBtnId Message ID for the top button text. + * @param cBtnID Message ID for the middle button text. + * @param bBtnId Message ID for the bottom button text. + * @return Whenever dialog call was successful. + */ + BOOL callBtn3(u32 msgId, u32 tBtnId, u32 cBtnID, u32 bBtnId); + + /*==================*/ + /* DIALOG BUTTON S2 */ + /*==================*/ + + /** + * Call dialog with two buttons (alternative) + * @param msgId Message ID for the body text. + * @param rBtnId Message ID for the right button text. + * @param lBtnId Message ID for the left button text. + * @param bSwapSound Swap the "OK" and "Back" sound effect. + * @return Whenever dialog call was successful. + */ + BOOL callSBtn2(u32 msgId, u32 rBtnId, u32 lBtnId, bool bSwapSound = false); + /** + * Call dialog with two buttons (alternative) without header + * @param rBtnId Message ID for the right button text. + * @param lBtnId Message ID for the left button text. + * @param bSwapSound Swap the "OK" and "Back" sound effect. + * @return Whenever dialog call was successful. + */ + BOOL callS2Btn2(u32 rBtnId, u32 lBtnId, bool bSwapSound = false); + + /*========================*/ + /* DIALOG BUTTON PROGRESS */ + /*========================*/ + + /** + * Call dialog with a progress bar. + * @param msgId Message ID for the body text. + * @return Whenever dialog call was successful. + */ + BOOL callBtnPrg(u32 msgId); + /** + * Call dialog with a progress bar and no dark background. + * @param msgId Message ID for the body text. + * @return Whenever dialog call was successful. + */ + BOOL callBtnPrgNoShade(const wchar_t* msg); + + /** + * Set the length of the progress bar for progress bar. + * @note The dialog automatically terminates when reaching `100`. + * @param len The new length. + */ void setProgBarLength(int len) { mProgBarLen = len; } + /** @return The current length of the progress bar */ int getProgBarLength() { return mProgBarLen; } - int getLastResult() { return mLastResult; } - - BOOL doingNextState() { return mbNextState; } - + /** + * Dialog component handler (Automatically executed by the GUI manager) + * @param compId Component ID from the dialog. + * @param event The event ID for the dialog. + * @param data Extra data that an event might require. + */ + virtual void onEvent(u32 compId, u32 event, void* data); + + /* MEMBERS AND ROUTINES FOR WORK */ private: + typedef enum State { + DIALOG_STATE_READY = 0, + DIALOG_STATE_FADE_IN, + DIALOG_STATE_NORMAL, + DIALOG_STATE_SELECT, + DIALOG_STATE_FADE_OUT, + DIALOG_STATE_PAGE_FADE, + DIALOG_STATE_PAGE_FADE_PREPARE, + } State; + enum { DIALOG_TYPE_NONE = -1, DIALOG_TYPE_BTN0, DIALOG_TYPE_BTN1, DIALOG_TYPE_BTN2, DIALOG_TYPE_BTN3, - DIALOG_TYPE_BTN2B, + DIALOG_TYPE_BTNS2, DIALOG_TYPE_MAX, }; @@ -105,10 +320,15 @@ namespace ipl { DIALOG_BTN_TYPE_MAX, }; - class Interface { - public: - layout::Object* mpLayout; // 0x00 - gui::PaneManager* mpGui; // 0x04 + struct Interface { + layout::Object* gLayout; // 0x00 + gui::PaneManager* guiMgr; // 0x04 + + // This changes the ordering of the auto generated nw4r::ut::DynamicCast weaks + inline void setString(const char *findName, const wchar_t* text) { + nw4r::lyt::TextBox* pane = nw4r::ut::DynamicCast(gLayout->findPane(findName)); + pane->SetString(text); + } }; BOOL call(int type); @@ -140,7 +360,7 @@ namespace ipl { void start_left_event(const char* paneName); void start_trig_event(const char* paneName); - int mState; // 0x0C + State mState; // 0x0C ipl::nand::LayoutFile* mpLayoutFile; // 0x10 BOOL mbBtnHovered[DIALOG_BTN_TYPE_MAX]; // 0x14 diff --git a/include/system/iplNand.h b/include/system/iplNand.h index 47c0ed51..5a37a0ad 100644 --- a/include/system/iplNand.h +++ b/include/system/iplNand.h @@ -6,7 +6,7 @@ #include #include #include -#include +#include #include @@ -14,6 +14,9 @@ #include "system/iplNandWrapper.h" +#define NAND_CHECK_MAGIC3(x,a,b,c) ((x)[0] == (a) && (x)[1] == (b) && (x)[2] == (c)) +#define NAND_CHECK_MAGIC4(x,a,b,c,d) ((x)[0] == (a) && (x)[1] == (b) && (x)[2] == (c) && (x)[3] == (d)) + namespace ipl { namespace nand { enum { @@ -69,7 +72,7 @@ namespace ipl { private: typedef struct MD5Head { - u8 sig[4]; // 0x00 (always `IMD5`; IPL MD5?) + u8 sig[4]; // 0x00 (always `IMD5`; "IPL MD5"?) u32 length; // 0x04 u8 reserved[8]; // 0x08 NETMD5Sum md5; // 0x10 @@ -105,10 +108,10 @@ namespace ipl { EGG::Heap* mpHeap; // 0x04 - char msFileName[NAND_MAX_PATH + 1]; // 0x08 + char msFileName[NAND_MAX_PATH+1]; // 0x08 ARCHandle* mpArc; // 0x4C - char msNandFileName[NAND_MAX_PATH + 1]; // 0x50 + char msNandFileName[NAND_MAX_PATH+1]; // 0x50 int mFileOffset; // 0x94 u32 mFileLength; // 0x98 @@ -119,7 +122,7 @@ namespace ipl { u8* mpCmpBuffer; // 0xA4 int mResult; // 0xA8 - volatile BOOL mbDoneTask; // 0xAC + vBOOL mbDoneTask; // 0xAC ARCFileInfo mArcFile; // 0xB0 u8 unused_0xBC[0x3C]; diff --git a/include/system/iplNandManager.h b/include/system/iplNandManager.h index 33e6c3d6..5487cdc0 100644 --- a/include/system/iplNandManager.h +++ b/include/system/iplNandManager.h @@ -6,7 +6,7 @@ #include #include #include -#include +#include #include @@ -60,7 +60,7 @@ namespace ipl { // Big garbage data u8 unused_0x28[0x1FC]; - char mNandPath[NAND_MAX_PATH + 1]; // 0x224 + char mNandPath[NAND_MAX_PATH+1]; // 0x224 int mDescriptor; // 0x268 u8* mpFSTBuffer; // 0x26C ARCHandle mArc; // 0x270 diff --git a/include/system/iplNandMeta.h b/include/system/iplNandMeta.h index ff367335..0df46d39 100644 --- a/include/system/iplNandMeta.h +++ b/include/system/iplNandMeta.h @@ -3,7 +3,7 @@ #include "system/iplNand.h" -#include +#include namespace ipl { namespace nand { diff --git a/include/system/iplNandShared.h b/include/system/iplNandShared.h index 89b82f4a..ca56f6d9 100644 --- a/include/system/iplNandShared.h +++ b/include/system/iplNandShared.h @@ -4,7 +4,7 @@ #include "revolution/types.h" #include "system/iplNand.h" -#include +#include namespace ipl { namespace nand { diff --git a/include/system/iplSaveDataManager.h b/include/system/iplSaveDataManager.h index 6fdcb601..c9d52faa 100644 --- a/include/system/iplSaveDataManager.h +++ b/include/system/iplSaveDataManager.h @@ -2,7 +2,7 @@ #define IPL_SAVE_DATA_MANAGER_H #include -#include +#include #include #include @@ -40,6 +40,8 @@ namespace ipl { void updateVersion(u32 newVersion, u32 oldVersion); BOOL updateChanInfos(); + + int getPrevPage() { return mLastPrevPage; } bool hasPhotoMP3Dummy() { return mbPhotoMP3; } bool hasPhoto2Title() { return mbPhoto2; } @@ -66,7 +68,7 @@ namespace ipl { int getAvailableNumInList(const ESTitleId* titleIds, u32 titleCount); int isEqualChannel(ESTitleId titleId0, ESTitleId titleId1); - int isDefaultChannel(ESId titleIdHi, ESId titleIdLo); + int isDefaultChannel(ESTitleId32 titleType, ESTitleId32 titleCode); void makePriorTitleIDList(ESTitleId* titleIdsOut, ESTitleId* titleIdsIn, u32 titleCount); void integrateTitleIDList(ESTitleId* titleIdsOut, ESTitleId* titleIdsIn, u32 titleCount); @@ -79,8 +81,8 @@ namespace ipl { * VERSION HISTORY * =============== * Version 1 - Initial version - * Version 2 - Same as version 1 but memoSetting is initialised with different settings. - * Version 3 - Add title caching + * Version 2 - Same as version 1 but memoSetting is initialized with different settings. + * Version 3 - Add SD Card menu save data and `titleCache` */ // CURRENT VERSION IS 3 !! typedef struct Data { @@ -90,7 +92,7 @@ namespace ipl { u32 version; // 0x08 // Channel related - u32 prevPage; // 0x0C + int prevPage; // 0x0C channel::SInfo chanInfo[MAX_CHANNEL_PAGE][MAX_CHANNEL_INDEX]; // 0x10 // Keyboard @@ -99,11 +101,13 @@ namespace ipl { // TVRC Data u8 tvrcData[4]; // 0x318 - u32 unk_0x31C; - - // Title Cache + /* VERSION 3 DATA */ + + BOOL didntGotoSDMenu; // 0x31C ESTitleId titleCache[MAX_CHANNEL_PAGE][MAX_CHANNEL_INDEX]; // 0x320 - int unk_0x4A0; + int prevSDPage; // 0x4A0 + + /* END OF VERSION 3 DATA */ u8 padding[0x0C]; @@ -111,28 +115,28 @@ namespace ipl { u8 MD5Sum[NET_MD5_DIGEST_SIZE]; // 0x4B0 } Data; - EGG::Heap* mpHeap; // 0x04 - u8 unk_0x08[24]; + EGG::Heap* mpHeap; // 0x04 + u8 unused_0x08[24]; - Data mData; // 0x20 + Data mData; // 0x20 - int unk_0x4E0; - int unk_0x4E4; - bool unk_0x4E8; + int mLastPrevPage; // 0x4E0 + int mLastSDPrevPage; // 0x4E4 + bool mbBadSDPrevPage; // 0x4E8 - nand::File* mpFile; // 0x4EC - nand::File* mpUpdatedFile; // 0x4F0 + nand::File* mpFile; // 0x4EC + nand::File* mpUpdatedFile; // 0x4F0 - bool mbInit; // 0x4F4 + bool mbInit; // 0x4F4 - bool mbPhoto2; // 0x4F5 - bool mbPhoto2Check; // 0x4F6 - bool mbPhotoMP3; // 0x4F7 - ESTitleId mPhotoId; // 0x4F8 + bool mbPhoto2; // 0x4F5 + bool mbPhoto2Check; // 0x4F6 + bool mbPhotoMP3; // 0x4F7 + ESTitleId mPhotoId; // 0x4F8 - int mLastError; // 0x500 + int mLastError; // 0x500 - u8 dummy[28]; // 0x504 + u8 unused_0x504[28]; }; } } diff --git a/include/system/rvl_dec.h b/include/system/rvl_dec.h index 9f735d33..4e4cc67c 100644 --- a/include/system/rvl_dec.h +++ b/include/system/rvl_dec.h @@ -1,5 +1,5 @@ -#ifndef RVL_DECOMPRESSOR_H -#define RVL_DECOMPRESSOR_H +#ifndef RVL_DECODER_H +#define RVL_DECODER_H #include @@ -7,18 +7,19 @@ extern "C" { #endif // __cplusplus -int Rvl_decode(u8* dataOut, u8* dataIn); +int Rvl_decode(u8* out, u8* in); -static int Rvl_decode_szs_size(const u8* dataIn) { - return (dataIn[4] << 24) | (dataIn[5] << 16) | (dataIn[6] << 8) | dataIn[7]; +static int Rvl_decode_szs_size(const u8* in) { + return (in[4] << 24) | (in[5] << 16) | (in[6] << 8) | in[7]; } -static int Rvl_decode_ash_size(const u8* dataIn) { - return (dataIn[5] << 16) | (dataIn[6] << 8) | dataIn[7]; +/* This is likely for ASR files as well. */ +static int Rvl_decode_ash_size(const u8* in) { + return (in[5] << 16) | (in[6] << 8) | in[7]; } #ifdef __cplusplus } #endif // __cplusplus -#endif // RVL_DECOMPRESSOR_H +#endif // RVL_DECODER_H diff --git a/include/titledb.h b/include/titledb.h index 72c43ac0..0d5a135d 100644 --- a/include/titledb.h +++ b/include/titledb.h @@ -1,7 +1,7 @@ #ifndef IPL_TITLE_ID_DATABASE #define IPL_TITLE_ID_DATABASE -#include +#include #define TITLE_TYPE_SYSTEM 0x00000001 #define TITLE_TYPE_DISC 0x00010000 diff --git a/include/utility/iplCapture.h b/include/utility/iplCapture.h index fb3bd891..6b087c4d 100644 --- a/include/utility/iplCapture.h +++ b/include/utility/iplCapture.h @@ -19,15 +19,14 @@ namespace ipl { * @param height The height position of the capture. * @param texFmt Texture format of the capture. (RGB5A3 by default) */ - Capture(EGG::Heap* heap, int x, int y, int width, int height, _GXTexFmt texFmt = GX_TF_RGB5A3); + Capture(EGG::Heap* heap, int x, int y, int width, int height, GXTexFmt texFmt = GX_TF_RGB5A3); ~Capture(); /** * @brief Capture the screen - * * @param disableFilter Disable the GX filter on capture. */ - void capture(BOOL disableFilter); + void capture(BOOL disableFilter = FALSE); private: u16 mXPos; // 0x00 @@ -47,5 +46,3 @@ namespace ipl { } #endif // IPL_CAPTURE_H - - diff --git a/include/utility/iplESMisc.h b/include/utility/iplESMisc.h index 6e37342f..3f792d6e 100644 --- a/include/utility/iplESMisc.h +++ b/include/utility/iplESMisc.h @@ -1,7 +1,7 @@ #ifndef IPL_ES_MISC_H #define IPL_ES_MISC_H -#include +#include #include diff --git a/include/utility/iplTree.h b/include/utility/iplTree.h index 6fb47049..e9e7407a 100644 --- a/include/utility/iplTree.h +++ b/include/utility/iplTree.h @@ -1,9 +1,5 @@ -#ifndef IPL_TREE -#define IPL_TREE - -#include "nw4r/ut/inlines.h" -#include -#include +#ifndef IPL_TREE_NODE_H +#define IPL_TREE_NODE_H namespace ipl { namespace utility { @@ -18,10 +14,12 @@ namespace ipl { virtual Tree* getNext() { return mpNext; } // 0x14 virtual Tree* getPrev() { return mpPrev; } // 0x18 - void attach(Tree* pTree); - void insert(Tree* pTree, Tree* pTree2); + void attach(Tree* tree); + void insert(Tree* tree, Tree* childTree); void detach(); + static Tree* empty() { return (Tree*)0; } + class iterator { typedef Tree value_type; typedef value_type* pointer; @@ -46,8 +44,10 @@ namespace ipl { mPtr = mPtr->getNext(); } else { - while (TRUE) { - if (!mPtr->getNext()) break; + while (1) { + if (!mPtr->getNext()) { + break; + } mPtr = mPtr->getNext(); } mPtr = mPtr->getParent(); @@ -94,4 +94,4 @@ namespace ipl { } } -#endif // IPL_TREE +#endif // IPL_TREE_NODE_H diff --git a/ldscript_ipl2.lcf b/ldscript_ipl2.lcf index d97d16cb..1bfbb1db 100644 --- a/ldscript_ipl2.lcf +++ b/ldscript_ipl2.lcf @@ -35,11 +35,3 @@ SECTIONS { __ArenaLo = (_db_stack_addr + 0x1F) & ~0x1F; __ArenaHi = $ARENAHI; } - -// Force active symbols that are likely going to get stripped out. -// (automatically generated by DTK) -FORCEACTIVE { - $FORCEACTIVE -} - - diff --git a/libs/MSL/include/cstdio b/libs/MSL/include/cstdio index ca39afd6..12f3939b 100644 --- a/libs/MSL/include/cstdio +++ b/libs/MSL/include/cstdio @@ -11,6 +11,7 @@ extern "C" { int sprintf(char* s, const char* format, ...); int snprintf(char* s, size_t n, const char* format, ...); +int vprintf(const char* format, va_list arg); int vsnprintf(char* s, size_t n, const char* format, va_list arg); #ifdef __cplusplus diff --git a/libs/MSL/include/cstring b/libs/MSL/include/cstring index d83b031a..320e27eb 100644 --- a/libs/MSL/include/cstring +++ b/libs/MSL/include/cstring @@ -2,13 +2,14 @@ #define MSL_CSTRING_H #include -#include +#include #ifdef __cplusplus extern "C" { #endif int strcmp(const char* dst, const char* src); +int strcpy(char* dst, const char* src); int stricmp(const char* dst, const char* src); diff --git a/libs/MSL/include/MSL/memory.h b/libs/MSL/include/internal/mem.h similarity index 81% rename from libs/MSL/include/MSL/memory.h rename to libs/MSL/include/internal/mem.h index e17599f4..2f4a8c5a 100644 --- a/libs/MSL/include/MSL/memory.h +++ b/libs/MSL/include/internal/mem.h @@ -10,10 +10,10 @@ extern "C" { void* memset(void* dest, int ch, size_t count); void* memcpy(void* dest, const void* src, size_t count); +void* memmove(void *dest, const void *src, size_t count); + #ifdef __cplusplus } #endif #endif // MSL_MEMORY_H - - diff --git a/libs/MSL/include/stdarg.h b/libs/MSL/include/stdarg.h index 05c951f8..e4e62a66 100644 --- a/libs/MSL/include/stdarg.h +++ b/libs/MSL/include/stdarg.h @@ -25,7 +25,7 @@ char* __va_arg(va_list args, _va_arg_type type); #else #define va_start(list, arg) #define va_end(list) -#define va_arg(list, type) +#define va_arg(list, type) (type)(0); #endif #endif // MSL_STDARG_H diff --git a/libs/MSL/include/stdio.h b/libs/MSL/include/stdio.h index 18ecf09b..7b395429 100644 --- a/libs/MSL/include/stdio.h +++ b/libs/MSL/include/stdio.h @@ -8,6 +8,7 @@ namespace std { using ::sprintf; using ::snprintf; + using ::vprintf; using ::vsnprintf; } // namespace std diff --git a/libs/MSL/include/string.h b/libs/MSL/include/string.h index 3769d5fe..71d3cf8e 100644 --- a/libs/MSL/include/string.h +++ b/libs/MSL/include/string.h @@ -6,11 +6,13 @@ #ifdef __cplusplus namespace std { - // MSL/memory.h using ::memcpy; using ::memset; + using ::memove; + using ::strcpy; using ::strcmp; + using ::stricmp; using ::strncpy; diff --git a/libs/MetroTRK/README.md b/libs/MetroTRK/README.md index 298becde..1981ec07 100644 --- a/libs/MetroTRK/README.md +++ b/libs/MetroTRK/README.md @@ -6,4 +6,3 @@ This is a rather minified version as the Wii Menu doesn't use a lot of TRK. Thanks to --------- [projectPiki/pikmin2](https://github.com/projectPiki/pikmin2) - diff --git a/libs/MetroTRK/include/trk/dolphin_trk.h b/libs/MetroTRK/include/trk/dolphin_trk.h index e325054d..22ca9bc6 100644 --- a/libs/MetroTRK/include/trk/dolphin_trk.h +++ b/libs/MetroTRK/include/trk/dolphin_trk.h @@ -1,7 +1,7 @@ #ifndef TRK_DOLPHIN_OS_H #define TRK_DOLPHIN_OS_H -#include +#include typedef void (*DBCommFunc)(); typedef unsigned int (*DBPollFunc)(); @@ -26,6 +26,6 @@ typedef struct DBCommTable { DBCommFunc post_stop_func; // 0x24 } DBCommTable; -void EnableEXI2Interrupts(); +void EnableMetroTRKInterrupts(); #endif // TRK_DOLPHIN_OS_H diff --git a/libs/MetroTRK/src/Export/targsupp.c b/libs/MetroTRK/src/Export/targsupp.c index 95940f48..cbeeaca2 100644 --- a/libs/MetroTRK/src/Export/targsupp.c +++ b/libs/MetroTRK/src/Export/targsupp.c @@ -8,6 +8,8 @@ #include +#pragma force_active on + // Encapsulating function to get the file to align properly asm void __targsupp() { #ifdef __MWERKS__ // clang-format off diff --git a/libs/NW4R/include/nw4r/ut/RuntimeTypeInfo.h b/libs/NW4R/include/nw4r/ut/RuntimeTypeInfo.h index 2beccbb1..4e18bdcf 100644 --- a/libs/NW4R/include/nw4r/ut/RuntimeTypeInfo.h +++ b/libs/NW4R/include/nw4r/ut/RuntimeTypeInfo.h @@ -15,7 +15,7 @@ namespace nw4r { bool IsDerivedFrom(const RuntimeTypeInfo* pBase) const { for (const RuntimeTypeInfo* pIt = this; pIt != NULL; - pIt = pIt->mParentTypeInfo) { + pIt = pIt->mParentTypeInfo) { if (pIt == pBase) { return true; } @@ -31,8 +31,7 @@ namespace nw4r { } template inline TDerived DynamicCast(TBase* pPtr) { - const detail::RuntimeTypeInfo* pDerivedTypeInfo = - detail::GetTypeInfoFromPtr_(static_cast(NULL)); + const detail::RuntimeTypeInfo* pDerivedTypeInfo = detail::GetTypeInfoFromPtr_(static_cast(NULL)); if (pPtr->GetRuntimeTypeInfo()->IsDerivedFrom(pDerivedTypeInfo)) { return static_cast(pPtr); } diff --git a/libs/NW4R/src/math/math_triangular.cpp b/libs/NW4R/src/math/math_triangular.cpp index 7e306850..7220b85e 100644 --- a/libs/NW4R/src/math/math_triangular.cpp +++ b/libs/NW4R/src/math/math_triangular.cpp @@ -357,13 +357,16 @@ namespace nw4r { if (x >= 0.0f) { if (x > 1.0f) { return 64.0f - AtanFIdx_(1.0f / x); - } else { + } + else { return AtanFIdx_(x); } - } else { + } + else { if (x < -1.0f) { return AtanFIdx_(-1.0f / x) + -64.0f; - } else { + } + else { return -AtanFIdx_(-x); } } diff --git a/libs/OperaWWW/README.md b/libs/OperaWWW/README.md new file mode 100644 index 00000000..308ffa83 --- /dev/null +++ b/libs/OperaWWW/README.md @@ -0,0 +1,5 @@ +Opera's World Wide Web +====================== +Headers of Opera's WWW library (RVL WWW) from the Wii Menu. + +The actual code of the library is located in `wwwlib.lz7` and is an LZ77 compressed RSO file. diff --git a/libs/RVLFaceLib/README.md b/libs/RVLFaceLib/README.md index babe3e83..7c4411bf 100644 --- a/libs/RVLFaceLib/README.md +++ b/libs/RVLFaceLib/README.md @@ -1,4 +1,5 @@ -# Revolution Face Library Decompilation +Revolution Face Library +======================= A decompilation of the Revolution Face library (RVLFaceLib) from the Wii Menu. diff --git a/libs/RVLMiddleware/ATOKDict/README.md b/libs/RVLMiddleware/ATOKDict/README.md index 8ddd6155..780960c9 100644 --- a/libs/RVLMiddleware/ATOKDict/README.md +++ b/libs/RVLMiddleware/ATOKDict/README.md @@ -1,5 +1,5 @@ -JustSystem's ATOK Library Decompilation -======================================= +JustSystem's ATOK Library +========================= A decompilation of the ATOK Dictionary Library (JUSTSYSTEM_ATOK) from the Wii Menu. diff --git a/libs/RVLMiddleware/TMC_JPEG/README.md b/libs/RVLMiddleware/TMC_JPEG/README.md index e91aba7e..4fa3522d 100644 --- a/libs/RVLMiddleware/TMC_JPEG/README.md +++ b/libs/RVLMiddleware/TMC_JPEG/README.md @@ -1,5 +1,5 @@ -Techno Mathematical's JPEG Library Decompilation -================================================ +Techno Mathematical's JPEG Library +================================== A decompilation of the TMC JPEG Library (TMCC_JPEG) from the Wii Menu. diff --git a/libs/RVLMiddleware/eZiText/README.md b/libs/RVLMiddleware/eZiText/README.md index f4cc6440..7dde9a4c 100644 --- a/libs/RVLMiddleware/eZiText/README.md +++ b/libs/RVLMiddleware/eZiText/README.md @@ -1,5 +1,5 @@ -Zi Corporation's eZiText Library Decompilation -============================================== +Zi Corporation's eZiText Library +================================ A decompilation of the eZiText Dictionary Library (ZI_EZITEXT) from the Wii Menu. diff --git a/libs/RVLMiddleware/eZiText/include/eztx.h b/libs/RVLMiddleware/eZiText/include/eztx.h new file mode 100644 index 00000000..f2ca9cb0 --- /dev/null +++ b/libs/RVLMiddleware/eZiText/include/eztx.h @@ -0,0 +1,13 @@ +#ifndef EZI_TEXT_H +#define EZI_TEXT_H + +#include + +u32 EZTXGetGlobalDataSize(); + +BOOL EZTXAttachOEMDict(u8, u16*, s32*, void*); +BOOL EZTXDetachOEMDict(u8, void*); + +void EZTXGetCandidates(u32*, void*); + +#endif // EZI_TEXT_H diff --git a/libs/RVL_SDK/README.md b/libs/RVL_SDK/README.md index b8abe117..d846a38f 100644 --- a/libs/RVL_SDK/README.md +++ b/libs/RVL_SDK/README.md @@ -1,9 +1,9 @@ -Revolution SDK Decompilation -============================ +Revolution SDK +============== A decompilation of the Revolution SDK (RVL_SDK) from the Wii Menu. This version of the SDK is a mess. -Seems to be an SDK version from 2006 with lazily copied code from later versons and was (mostly) recompiled with the GC 3.0a5.2 compiler. +Seems to be an early SDK revision recompiled when then IPL was being built. The Wii Menu has the following libraries linked (alphabetical order): * **AI** (Audio Interface Library) @@ -11,7 +11,7 @@ The Wii Menu has the following libraries linked (alphabetical order): * **AX** (Audio Library) * **AXFX** (Audio Effects Library) * **BASE** (PowerPC architecture Library) -* **BTE** (BroadCom's Bluetooth Driver Library) +* **BTE** (Bluetooth Driver Library; written by BroadCom) * **CARD** (GameCube Memory Card Library) * **CNT** (Title Content API Library) * **CNTCACHE** (Unknown) @@ -22,9 +22,9 @@ The Wii Menu has the following libraries linked (alphabetical order): * **ENC** (Character Encoding Library) * **ES** (Private ES Library) * **ESP** (Public ES Library) -* **EUART** (Externel Interface Bus UART Library; by Hudson Soft) +* **EUART** (Externel Interface Bus UART Library; written by Hudson Soft) * **EXI** (Externel Interface Bus Library) -* **FA** (File Allocation Library; for SD Card. Small left overs for USB support?) +* **FA** (File Allocation Library; for SD Card) * **FS** (NAND ISFS Library) * **GX** (Graphics Library) * **IPC** (IPC Driver and IOS Library) @@ -44,7 +44,7 @@ The Wii Menu has the following libraries linked (alphabetical order): * **SI** (Serial Interface Library) * **TPL** (Texture Pallete Library) * **USB** (IUSB I/O API; written by Hudson Soft) -* **USBUTIL** (USB Utilities) +* **USBCMN** (USB Common Utilities) * **USBKBD** (USB Keyboard) * **VI** (Video Interface Library) * **WAD** (WAD Package Library) @@ -56,5 +56,8 @@ Thanks to --------- [kiwi515/ogws](https://github.com/kiwi515/ogws) [SMGCommunity/Petari](https://github.com/SMGCommunity/Petari) -[doldecomp/dolsdk2001](https://github.com/doldecomp/dolsdk2001) +[doldecomp/dolsdk2001](https://github.com/doldecomp/dolsdk2004) +[projectPiki/pikmin2](https://github.com/projectPiki/pikmin2) [devkitPro/libogc](https://github.com/devkitPro/libogc) +[wiibrew.org](https://wiibrew.org) +[Yet Another GameCube Documentation](https://www.gc-forever.com/yagcd) diff --git a/libs/RVL_SDK/include/private/OSLaunchForSystem.h b/libs/RVL_SDK/include/private/OSLaunchForSystem.h deleted file mode 100644 index 6b92e8b9..00000000 --- a/libs/RVL_SDK/include/private/OSLaunchForSystem.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef REVOLUTION_OS_LAUNCH_FOR_SYSTEM_H -#define REVOLUTION_OS_LAUNCH_FOR_SYSTEM_H - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -void __OSLaunchTitlevForSystem(u64 titleId, u32 launchCode, char* const argv[]); -void __OSLaunchTitlelForSystem(u64 titleId, u32 launchCode, const char* arg, ...); - -#ifdef __cplusplus -} -#endif - -#endif // REVOLUTION_OS_LAUNCH_FOR_SYSTEM_H diff --git a/libs/RVL_SDK/include/private/SjisUcs.h b/libs/RVL_SDK/include/private/SjisUcs.h new file mode 100644 index 00000000..00e1a956 --- /dev/null +++ b/libs/RVL_SDK/include/private/SjisUcs.h @@ -0,0 +1,3289 @@ +static u16 Ucs00[] = { + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x20,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C, 0x83AD, + 0x83AE, 0x83AF, 0x0, 0x83B0, 0x83B1, 0x83B2, 0x83B3, 0x83B4, + 0x83B5, 0x83B6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x83BF, 0x83C0, 0x83C1, 0x83C2, 0x83C3, 0x83C4, 0x83C5, + 0x83C6, 0x83C7, 0x83C8, 0x83C9, 0x83CA, 0x83CB, 0x83CC, 0x83CD, + 0x83CE, 0x83CF, 0x0, 0x83D0, 0x83D1, 0x83D2, 0x83D3, 0x83D4, + 0x83D5, 0x83D6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, +}; + +static u16 Ucs04[] = { + 0x0, 0x8446, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x8440, 0x8441, 0x8442, 0x8443, 0x8444, 0x8445, 0x8447, 0x8448, + 0x8449, 0x844A, 0x844B, 0x844C, 0x844D, 0x844E, 0x844F, 0x8450, + 0x8451, 0x8452, 0x8453, 0x8454, 0x8455, 0x8456, 0x8457, 0x8458, + 0x8459, 0x845A, 0x845B, 0x845C, 0x845D, 0x845E, 0x845F, 0x8460, + 0x8470, 0x8471, 0x8472, 0x8473, 0x8474, 0x8475, 0x8477, 0x8478, + 0x8479, 0x847A, 0x847B, 0x847C, 0x847D, 0x847E, 0x8480, 0x8481, + 0x8482, 0x8483, 0x8484, 0x8485, 0x8486, 0x8487, 0x8488, 0x8489, + 0x848A, 0x848B,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0x8178, + 0x8179, 0x817A, 0x81A7, 0x81AC, 0x816B, 0x816C, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x8160, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x829F, 0x82A0, 0x82A1, 0x82A2, 0x82A3, 0x82A4, 0x82A5, + 0x82A6, 0x82A7, 0x82A8, 0x82A9, 0x82AA, 0x82AB, 0x82AC, 0x82AD, + 0x82AE, 0x82AF, 0x82B0, 0x82B1, 0x82B2, 0x82B3, 0x82B4, 0x82B5, + 0x82B6, 0x82B7, 0x82B8, 0x82B9, 0x82BA, 0x82BB, 0x82BC, 0x82BD, + 0x82BE, 0x82BF, 0x82C0, 0x82C1, 0x82C2, 0x82C3, 0x82C4, 0x82C5, + 0x82C6, 0x82C7, 0x82C8, 0x82C9, 0x82CA, 0x82CB, 0x82CC, 0x82CD, + 0x82CE, 0x82CF, 0x82D0, 0x82D1, 0x82D2, 0x82D3, 0x82D4, 0x82D5, + 0x82D6, 0x82D7, 0x82D8, 0x82D9, 0x82DA, 0x82DB, 0x82DC, 0x82DD, + 0x82DE, 0x82DF, 0x82E0, 0x82E1, 0x82E2, 0x82E3, 0x82E4, 0x82E5, + 0x82E6, 0x82E7, 0x82E8, 0x82E9, 0x82EA, 0x82EB, 0x82EC, 0x82ED, + 0x82EE, 0x82EF, 0x82F0, 0x82F1, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x814A, 0x814B, 0x8154, 0x8155, 0x0, + 0x0, 0x8340, 0x8341, 0x8342, 0x8343, 0x8344, 0x8345, 0x8346, + 0x8347, 0x8348, 0x8349, 0x834A, 0x834B, 0x834C, 0x834D, 0x834E, + 0x834F, 0x8350, 0x8351, 0x8352, 0x8353, 0x8354, 0x8355, 0x8356, + 0x8357, 0x8358, 0x8359, 0x835A, 0x835B, 0x835C, 0x835D, 0x835E, + 0x835F, 0x8360, 0x8361, 0x8362, 0x8363, 0x8364, 0x8365, 0x8366, + 0x8367, 0x8368, 0x8369, 0x836A, 0x836B, 0x836C, 0x836D, 0x836E, + 0x836F, 0x8370, 0x8371, 0x8372, 0x8373, 0x8374, 0x8375, 0x8376, + 0x8377, 0x8378, 0x8379, 0x837A, 0x837B, 0x837C, 0x837D, 0x837E, + 0x8380, 0x8381, 0x8382, 0x8383, 0x8384, 0x8385, 0x8386, 0x8387, + 0x8388, 0x8389, 0x838A, 0x838B, 0x838C, 0x838D, 0x838E, 0x838F, + 0x8390, 0x8391, 0x8392, 0x8393, 0x8394, 0x8395, 0x8396, 0x0, + 0x0, 0x0, 0x0, 0x8145, 0x815B, 0x8152, 0x8153, 0x0, +}; + +static u16 Ucs4E[] = { + 0x88EA, 0x929A, 0x0, 0x8EB5, 0x0, 0x0, 0x0, 0x969C, + 0x8FE4, 0x8E4F, 0x8FE3, 0x89BA, 0x0, 0x9573, 0x975E, 0x0, + 0x98A0, 0x894E, 0x0, 0x0, 0x8A8E, 0x98A1, 0x90A2, 0x99C0, + 0x8B75, 0x95B8, 0x0, 0x0, 0x0, 0x0, 0x8FE5, 0x0, + 0x0, 0x97BC, 0x0, 0x0, 0x0, 0x0, 0x95C0, 0x0, + 0x0, 0x0, 0x98A2, 0x0, 0x0, 0x9286, 0x0, 0x0, + 0x0, 0x98A3, 0x8BF8, 0x0, 0x0, 0x0, 0x98A4, 0x0, + 0x8ADB, 0x924F, 0x0, 0x8EE5, 0x98A5, 0x0, 0x0, 0x98A6, + 0x0, 0x0, 0x98A7, 0x9454, 0x0, 0x8B76, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x9456, 0x0, 0x93E1, 0x8CC1, 0x9652, + 0x0, 0x0, 0x0, 0x0, 0x0, 0xE568, 0x98A8, 0x8FE6, + 0x98A9, 0x89B3, 0x0, 0x0, 0x0, 0x8BE3, 0x8CEE, 0x96E7, + 0x0, 0x0, 0x9BA4, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x9790, 0x0, 0x93FB, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x8AA3, 0x0, + 0x8B54, 0x0, 0x98AA, 0x0, 0x0, 0x98AB, 0x97B9, 0x0, + 0x975C, 0x9188, 0x98AD, 0x8E96, 0x93F1, 0x0, 0x98B0, 0x0, + 0x0, 0x895D, 0x8CDD, 0x0, 0x8CDC, 0x88E4, 0x0, 0x0, + 0x986A, 0x9869, 0x0, 0x8DB1, 0x889F, 0x0, 0x98B1, 0x98B2, + 0x98B3, 0x9653, 0x98B4, 0x0, 0x8CF0, 0x88E5, 0x9692, 0x0, + 0x8B9C, 0x0, 0x0, 0x8B9D, 0x8B9E, 0x92E0, 0x97BA, 0x0, + 0x98B5, 0x0, 0x0, 0x98B6, 0x0, 0x0, 0x98B7, 0x0, + 0x0, 0x0, 0x906C, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x8F59, 0x906D, 0x98BC, 0x0, 0x98BA, 0x0, 0x98BB, 0x8B77, + 0x0, 0x0, 0x8DA1, 0x89EE, 0x0, 0x98B9, 0x98B8, 0x95A7, + 0x0, 0x0, 0x0, 0x0, 0x8E65, 0x8E64, 0x91BC, 0x98BD, + 0x9574, 0x90E5, 0x0, 0x0, 0x0, 0x8157, 0x98BE, 0x98C0, + 0x0, 0x0, 0x0, 0x91E3, 0x97DF, 0x88C8, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x98BF, 0x89BC, 0x0, + 0x8BC2, 0x0, 0x9287, 0x0, 0x0, 0x0, 0x8C8F, 0x98C1, + 0x0, 0x0, 0x0, 0x9443, 0x0, 0x0, 0x0, 0x0, +}; + +static u16 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 0x958E, 0x8CF2, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x904E, 0x97B5, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x95D6, + 0x0, 0x0, 0x8C57, 0x91A3, 0x89E2, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x8F72, 0x0, 0x0, 0x0, 0x98D7, 0x0, + 0x98DC, 0x98DA, 0x0, 0x0, 0x98D5, 0x0, 0x0, 0x91AD, + 0x98D8, 0x0, 0x98DB, 0x98D9, 0x0, 0x95DB, 0x0, 0x98D6, + 0x0, 0x904D, 0x0, 0x9693, 0x98DD, 0x98DE, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x8F43, 0x98EB, + 0x0, 0x0, 0x0, 0x946F, 0x0, 0x9555, 0x98E6, 0x0, + 0x95EE, 0x0, 0x89B4, 0x0, 0x0, 0x0, 0x98EA, 0x0, +}; + +static u16 Ucs50[] = { + 0x0, 0x0, 0x0, 0x0, 0x0, 0x98E4, 0x98ED, 0x0, + 0x0, 0x9171, 0x0, 0x8CC2, 0x0, 0x947B, 0x0, 0xE0C5, + 0x0, 0x98EC, 0x937C, 0x0, 0x98E1, 0x0, 0x8CF4, 0x0, + 0x0, 0x8CF3, 0x98DF, 0x0, 0x0, 0x0, 0x0, 0x8ED8, + 0x0, 0x98E7, 0x0, 0x95ED, 0x926C, 0x98E3, 0x8C91, 0x0, + 0x98E0, 0x98E8, 0x98E2, 0x97CF, 0x98E9, 0x9860, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x8BE4, 0x0, + 0x0, 0x8C90, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x98EE, 0x0, 0x0, 0x0, 0x98EF, + 0x98F3, 0x88CC, 0x0, 0x0, 0x0, 0x0, 0x0, 0x95CE, + 0x98F2, 0x0, 0x0, 0x0, 0x0, 0x98F1, 0x98F5, 0x0, + 0x0, 0x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x0, 0x0, 0x0, + 0x0, 0x0, 0x8EF2, 0x0, 0x9951, 0x9950, 0x994F, 0x0, + 0x98D4, 0x0, 0x9952, 0x0, 0x0, 0x0, 0x0, 0x8F9E, + 0x0, 0x9953, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x9744, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x96D7, 0x0, 0x0, 0x0, 0x0, 0x9955, + 0x0, 0x0, 0x9954, 0x9957, 0x9956, 0x0, 0x0, 0x9958, + 0x9959, 0x88F2, 0x0, 0x8CB3, 0x8C5A, 0x8F5B, 0x929B, 0x8BA2, + 0x90E6, 0x8CF5, 0x0, 0x8D8E, 0x995B, 0x96C6, 0x9365, 0x0, + 0x8E99, 0x0, 0x995A, 0x0, 0x995C, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x937D, 0x0, 0x8A95, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x995D, 0x0, 0x0, 0x93FC, 0x0, 0x0, + 0x9153, 0x995F, 0x9960, 0x94AA, 0x8CF6, 0x985A, 0x9961, 0x0, + 0x0, 0x8BA4, 0x0, 0x0, 0x0, 0x95BA, 0x91B4, 0x8BEF, + 0x9354, 0x0, 0x0, 0x0, 0x8C93, 0x0, 0x0, 0x0, + 0x9962, 0x0, 0x9963, 0x0, 0x0, 0x93E0, 0x897E, 0x0, + 0x0, 0x9966, 0x8DFB, 0x0, 0x9965, 0x8DC4, 0x0, 0x9967, + 0xE3EC, 0x9968, 0x9660, 0x9969, 0x0, 0x996A, 0x996B, 0x8FE7, + 0x0, 0x8ECA, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x8AA5, 0x0, 0x996E, 0x0, 0x996C, 0x96BB, 0x996D, 0x0, + 0x9579, 0x996F, 0x9970, 0x9971, 0x937E, 0x0, 0x0, 0x0, + 0x9975, 0x9973, 0x9974, 0x9972, 0x8DE1, 0x9976, 0x96E8, 0x97E2, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x9977, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x90A6, 0x9978, 0x8F79, 0x0, + 0x0, 0x9979, 0x0, 0x929C, 0x97BD, 0x9380, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x99C3, 0x0, + 0x0, 0x0, 0x0, 0x997A, 0xEAA3, 0x8BC3, 0x0, 0x0, + 0x997B, 0x967D, 0x0, 0x0, 0x0, 0x0, 0x8F88, 0x91FA, + 0x0, 0x997D, 0x93E2, 0x0, 0x0, 0x997E, 0x0, 0x0, + 0x9980, 0x8A4D, 0x0, 0x0, 0x0, 0x9981, 0x8BA5, 0x0, + 0x93CA, 0x899A, 0x8F6F, 0x0, 0x0, 0x949F, 0x9982, 0x0, +}; + +static u16 Ucs52[] = { + 0x9381, 0x0, 0x0, 0x906E, 0x9983, 0x0, 0x95AA, 0x90D8, + 0x8AA0, 0x0, 0x8AA7, 0x9984, 0x0, 0x0, 0x9986, 0x0, + 0x0, 0x8C59, 0x0, 0x0, 0x9985, 0x0, 0x0, 0x97F1, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x8F89, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x94BB, 0x95CA, 0x0, 0x9987, + 0x0, 0x9798, 0x9988, 0x0, 0x0, 0x0, 0x9989, 0x0, + 0x939E, 0x0, 0x0, 0x998A, 0x0, 0x0, 0x90A7, 0x8DFC, + 0x8C94, 0x998B, 0x8E68, 0x8D8F, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x92E4, 0x998D, 0x0, 0x0, 0x91A5, + 0x0, 0x0, 0x8DED, 0x998E, 0x998F, 0x914F, 0x0, 0x998C, + 0x0, 0x0, 0x0, 0x0, 0x9991, 0x0, 0x9655, 0x0, + 0x0, 0x0, 0x0, 0x8D84, 0x0, 0x0, 0x9990, 0x0, + 0x0, 0x0, 0x0, 0x8C95, 0x8DDC, 0x948D, 0x0, 0x0, + 0x0, 0x9994, 0x9992, 0x0, 0x0, 0x0, 0x0, 0x959B, + 0x8FE8, 0x999B, 0x8A84, 0x9995, 0x9993, 0x916E, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x9997, 0x0, 0x9996, + 0x0, 0x0, 0x0, 0x8A63, 0x0, 0x0, 0x0, 0x8C80, + 0x999C, 0x97AB, 0x0, 0x0, 0x0, 0x9998, 0x0, 0x0, + 0x0, 0x999D, 0x999A, 0x0, 0x9999, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x97CD, 0x0, 0x0, 0x0, 0x8CF7, + 0x89C1, 0x0, 0x0, 0x97F2, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x8F95, 0x9377, 0x8D85, 0x99A0, 0x99A1, 0x0, 0x0, + 0x0, 0x97E3, 0x0, 0x0, 0x984A, 0x99A3, 0x0, 0x0, + 0x0, 0x8CF8, 0x0, 0x0, 0x99A2, 0x0, 0x8A4E, 0x0, + 0x0, 0x99A4, 0x0, 0x9675, 0x0, 0x92BA, 0x0, 0x9745, + 0x0, 0x95D7, 0x0, 0x0, 0x0, 0x99A5, 0x0, 0x0, + 0x0, 0x0, 0xE8D3, 0x0, 0x0, 0x93AE, 0x0, 0x99A6, + 0x8AA8, 0x96B1, 0x0, 0x0, 0x0, 0x8F9F, 0x99A7, 0x95E5, + 0x99AB, 0x0, 0x90A8, 0x99A8, 0x8BCE, 0x0, 0x99A9, 0x8AA9, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x8C4D, 0x99AC, 0x0, 0x99AD, 0x0, 0x0, + 0x99AE, 0x99AF, 0x8ED9, 0x0, 0x0, 0x0, 0x8CF9, 0x96DC, +}; + +static u16 Ucs53[] = { + 0x0, 0x96E6, 0x93F5, 0x0, 0x0, 0x95EF, 0x99B0, 0x0, + 0x99B1, 0x0, 0x0, 0x0, 0x0, 0x99B3, 0x0, 0x99B5, + 0x99B4, 0x0, 0x0, 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0, 0x895A, 0x0, 0x0, 0x0, + 0xE140, 0x0, 0x955A, 0xE141, 0x0, 0x0, 0x8AA2, 0xE142, + 0x0, 0xE143, 0x0, 0x0, 0x0, 0x0, 0xE144, 0x0, + 0xE146, 0xE147, 0xE145, 0x0, 0x0, 0x0, 0x9572, 0xE149, + 0xE148, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, +}; + +static u16 Ucs75[] = { + 0x0, 0x0, 0x0, 0xE14B, 0xE14A, 0xE14C, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0xE14D, 0xE14F, 0xE14E, 0x0, + 0x0, 0x8D99, 0x0, 0xE151, 0x0, 0xE150, 0x0, 0x0, + 0x8AC3, 0x0, 0x9072, 0x0, 0x935B, 0x0, 0xE152, 0x90B6, + 0x0, 0x0, 0x0, 0x8E59, 0x0, 0x8999, 0xE153, 0x0, + 0x9770, 0x0, 0x0, 0x95E1, 0xE154, 0x0, 0x0, 0x0, + 0x9363, 0x9752, 0x8D62, 0x905C, 0x0, 0x0, 0x0, 0x926A, + 0x99B2, 0x0, 0x92AC, 0x89E6, 0xE155, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0xE156, 0x0, 0xE15B, 0x0, + 0x0, 0xE159, 0xE158, 0x9DC0, 0x8A45, 0xE157, 0x0, 0x88D8, + 0x0, 0x94A8, 0x0, 0x0, 0x94C8, 0x0, 0x0, 0x0, + 0x0, 0x97AF, 0xE15C, 0xE15A, 0x927B, 0x90A4, 0x0, 0x0, + 0x94A9, 0x0, 0x954C, 0x0, 0xE15E, 0x97AA, 0x8C6C, 0xE15F, + 0x0, 0xE15D, 0x94D4, 0xE160, 0x0, 0xE161, 0x0, 0x0, + 0x88D9, 0x0, 0x0, 0x8FF4, 0xE166, 0x0, 0xE163, 0x93EB, + 0xE162, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x8B45, + 0x0, 0x0, 0xE169, 0x0, 0x0, 0x0, 0xE164, 0xE165, + 0x0, 0xE168, 0xE167, 0x9544, 0x0, 0x0, 0x9161, 0x9160, + 0x0, 0x8B5E, 0x0, 0x0, 0xE16A, 0x0, 0x0, 0x0, + 0x0, 0x0, 0xE16B, 0x0, 0x0, 0xE16C, 0x0, 0x0, + 0x0, 0x0, 0x0, 0xE16E, 0x0, 0xE16D, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x8975, 0x0, 0x0, 0x0, 0x0, + 0x0, 0xE176, 0x94E6, 0xE170, 0x0, 0xE172, 0x0, 0x0, + 0xE174, 0x905D, 0x0, 0x0, 0xE175, 0xE173, 0x8EBE, 0x0, + 0x0, 0x0, 0xE16F, 0xE171, 0x0, 0x9561, 0x0, 0x8FC7, + 0x0, 0x0, 0xE178, 0x0, 0x0, 0xE177, 0x0, 0x0, + 0x0, 0x0, 0xE179, 0x0, 0x8EA4, 0x8DAD, 0x0, 0x0, + 0x9397, 0xE17A, 0x0, 0x92C9, 0x0, 0x0, 0xE17C, 0x0, + 0x0, 0x0, 0x979F, 0xE17B, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x9189, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0xE182, 0x0, 0xE184, 0xE185, 0x9273, 0x0, 0x0, 0x0, + 0x0, 0x0, 0xE183, 0x0, 0xE180, 0x0, 0xE17D, 0xE17E, +}; + +static u16 Ucs76[] = { + 0x0, 0xE181, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0xE188, 0x0, 0xE186, 0x0, 0xE187, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xE189, + 0xE18B, 0xE18C, 0xE18D, 0x0, 0xE18E, 0x0, 0x0, 0xE18A, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0xE190, 0x0, 0x0, 0x0, 0xE18F, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0xE191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0x0, + 0x9448, 0x0, 0x0, 0xE259, 0x0, 0x0, 0x0, 0x0, + 0x0, 0xE25A, 0xE25B, 0x0, 0x0, 0x8BD7, 0x89D1, 0x93C3, + 0x8F47, 0x8E84, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0xE25C, 0x0, 0x8F48, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x89C8, 0x9562, 0x0, 0x0, 0xE25D, 0x0, 0x0, + 0x94E9, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9164, + 0x0, 0xE260, 0x0, 0xE261, 0x9489, 0x0, 0x9060, 0xE25E, + 0x0, 0x9281, 0x0, 0x0, 0xE25F, 0x0, 0x0, 0x0, + 0x8FCC, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x88DA, 0x0, 0x0, 0x0, 0x0, +}; + +static u16 Ucs7A[] = { + 0x8B48, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0xE262, 0x0, 0x0, 0x92F6, 0x0, 0xE263, 0x90C5, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x96AB, 0x0, 0x0, 0x9542, + 0xE264, 0xE265, 0x9274, 0x0, 0x97C5, 0x0, 0x0, 0xE267, + 0xE266, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x8EED, 0x0, + 0x0, 0xE269, 0x88EE, 0x0, 0x0, 0x0, 0x0, 0xE26C, + 0x0, 0x0, 0x0, 0xE26A, 0x89D2, 0x8C6D, 0xE26B, 0x8D65, + 0x8D92, 0x0, 0x95E4, 0xE26D, 0x0, 0x0, 0x9673, 0x0, + 0x0, 0xE26F, 0x0, 0x0, 0x0, 0x90CF, 0x896E, 0x89B8, + 0x88AA, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xE26E, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0xE270, 0xE271, 0x8FF5, 0x0, 0x0, 0x0, 0x0, + 0x0, 0xE272, 0x0, 0x8A6E, 0x0, 0x0, 0x0, 0x0, + 0xE274, 0x0, 0x0, 0x0, 0x8C8A, 0x0, 0x8B86, 0x0, + 0x0, 0xE275, 0x8BF3, 0x0, 0x0, 0xE276, 0x0, 0x90FA, + 0x0, 0x93CB, 0x0, 0x90DE, 0x8DF3, 0x0, 0x0, 0x0, + 0xE277, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x9282, 0x918B, 0x0, 0xE279, 0xE27B, 0xE278, + 0xE27A, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x8C41, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0xE27C, 0x8C45, 0x0, 0x0, 0x0, 0x8B87, 0x9771, + 0xE27E, 0x0, 0x0, 0x0, 0x0, 0x0, 0xE280, 0x0, + 0x0, 0x0, 0x894D, 0x0, 0x0, 0x0, 0x0, 0xE283, + 0x0, 0x0, 0x0, 0x8A96, 0xE282, 0xE281, 0x0, 0xE285, + 0xE27D, 0x0, 0xE286, 0x97A7, 0x0, 0xE287, 0x0, 0xE288, + 0x0, 0x0, 0x9AF2, 0xE28A, 0x0, 0xE289, 0x0, 0x0, + 0x0, 0xE28B, 0xE28C, 0x0, 0x97B3, 0xE28D, 0x0, 0xE8ED, + 0x8FCD, 0xE28E, 0xE28F, 0x8F76, 0x0, 0x93B6, 0xE290, 0x0, + 0x0, 0x0, 0x9247, 0x0, 0x0, 0xE291, 0x0, 0x925B, + 0xE292, 0x0, 0x0, 0x0, 0x0, 0x0, 0x8BA3, 0x0, + 0x995E, 0x927C, 0x8EB1, 0x0, 0x0, 0x0, 0x0, 0x8AC6, +}; + +static u16 Ucs7B[] = { + 0x0, 0x0, 0xE293, 0x0, 0xE2A0, 0x0, 0xE296, 0x0, + 0x8B88, 0x0, 0xE295, 0xE2A2, 0x0, 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 0x96E4, 0x0, 0x945B, 0x0, 0x0, + 0x9552, 0x0, 0x0, 0x0, 0x8F83, 0xE342, 0x0, 0x8ED1, + 0x8D68, 0x8E86, 0x8B89, 0x95B4, 0xE341, 0x0, 0x0, 0x0, + 0x9166, 0x9661, 0x8DF5, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x8E87, 0x92DB, 0x0, 0xE346, 0x97DD, + 0x8DD7, 0x0, 0xE347, 0x9061, 0x0, 0xE349, 0x0, 0x0, + 0x0, 0x8FD0, 0x8DAE, 0x0, 0x0, 0x0, 0x0, 0xE348, + 0x0, 0x0, 0x8F49, 0x8CBC, 0x9167, 0xE344, 0xE34A, 0x0, + 0x0, 0x0, 0x0, 0xE345, 0x8C6F, 0x0, 0xE34D, 0xE351, + 0x8C8B, 0x0, 0x0, 0x0, 0x0, 0x0, 0xE34C, 0x0, + 0x0, 0x0, 0x0, 0xE355, 0x0, 0x0, 0x8D69, 0x0, + 0x0, 0x978D, 0x88BA, 0xE352, 0x0, 0x0, 0x8B8B, 0x0, + 0xE34F, 0x0, 0x0, 0x0, 0x0, 0x0, 0xE350, 0x0, + 0x0, 0x939D, 0xE34E, 0xE34B, 0x0, 0x8A47, 0x90E2, 0x0, + 0x0, 0x8CA6, 0x0, 0x0, 0x0, 0xE357, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0xE354, 0x0, 0x0, 0x0, 0x0, 0x0, 0xE356, + 0x0, 0x0, 0x0, 0xE353, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x8C70, 0x91B1, 0xE358, 0x918E, 0x0, 0x0, 0xE365, + 0x0, 0x0, 0xE361, 0xE35B, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0xE35F, 0x8EF8, 0x88DB, 0xE35A, 0xE362, + 0xE366, 0x8D6A, 0x96D4, 0x0, 0x92D4, 0xE35C, 0x0, 0x0, + 0xE364, 0x0, 0xE359, 0x925D, 0x0, 0xE35E, 0x88BB, 0x96C8, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xE35D, + 0x0, 0x0, 0x8BD9, 0x94EA, 0x0, 0x0, 0x0, 0x918D, + 0x0, 0x97CE, 0x8F8F, 0x0, 0x0, 0xE38E, 0x0, 0x0, + 0xE367, 0x0, 0x90FC, 0x0, 0xE363, 0xE368, 0xE36A, 0x0, + 0x92F7, 0xE36D, 0x0, 0x0, 0xE369, 0x0, 0x0, 0x0, + 0x95D2, 0x8AC9, 0x0, 0x0, 0x96C9, 0x0, 0x0, 0x88DC, + 0x0, 0x0, 0xE36C, 0x0, 0x97FB, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0xE36B, 0x0, 0x0, 0x0, 0x0, +}; + +static u16 Ucs7E[] = { + 0x0, 0x898F, 0x0, 0x0, 0x93EA, 0xE36E, 0x0, 0x0, + 0x0, 0xE375, 0xE36F, 0xE376, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0xE372, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x949B, 0x0, 0x0, 0x8EC8, 0xE374, + 0x0, 0xE371, 0xE377, 0xE370, 0x0, 0x0, 0x8F63, 0x0, + 0x0, 0x0, 0x0, 0x9644, 0x0, 0x0, 0x8F6B, 0x0, + 0x0, 0xE373, 0xE380, 0x0, 0x0, 0xE37B, 0x0, 0xE37E, + 0x0, 0xE37C, 0xE381, 0xE37A, 0x0, 0xE360, 0x90D1, 0x0, + 0x0, 0x94C9, 0x0, 0xE37D, 0x0, 0x0, 0xE378, 0x0, + 0x0, 0x0, 0x9140, 0x8C71, 0x0, 0x8F4A, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x9044, 0x9155, 0xE384, 0x0, + 0x0, 0xE386, 0xE387, 0x0, 0x0, 0xE383, 0xE385, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xE379, 0xE382, + 0x0, 0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 0x0, 0x0, + 0x0, 0xE3F9, 0x0, 0x0, 0x0, 0x0, 0x0, 0xE3FB, + 0x0, 0x9245, 0x0, 0x945D, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x92AF, 0x0, 0x0, 0x0, 0x0, 0xE442, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xE441, 0x0, + 0x0, 0x0, 0x0, 0xE3FC, 0x0, 0x0, 0x9074, 0x0, + 0x9585, 0xE444, 0x0, 0xE443, 0x8D6F, 0x9872, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xE454, + 0x0, 0x0, 0x0, 0x0, 0x0, 0xE448, 0xE449, 0x0, + 0x0, 0x0, 0x0, 0x8EEE, 0x0, 0x0, 0xE447, 0x0, + 0x8D98, 0xE446, 0x0, 0x0, 0xE44A, 0x0, 0x0, 0x0, + 0x92B0, 0x95A0, 0x9142, 0x0, 0x0, 0x0, 0x0, 0x91DA, + 0xE44E, 0x0, 0xE44F, 0xE44B, 0x0, 0x0, 0x0, 0x0, + 0xE44C, 0x0, 0xE44D, 0x0, 0x0, 0x0, 0x0, 0x8D70, + 0x0, 0x0, 0x0, 0xE455, 0x0, 0xE451, 0x0, 0x0, + 0x0, 0x0, 0x9586, 0x0, 0x968C, 0x9547, 0x0, 0x0, + 0xE450, 0x0, 0x0, 0xE453, 0xE452, 0x0, 0x0, 0x0, + 0x9663, 0xE456, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0xE457, 0x0, 0x0, 0x9156, 0x0, 0xE458, 0x0, 0x0, + 0xE45A, 0x0, 0xE45E, 0x0, 0x0, 0xE45B, 0xE459, 0x945E, + 0xE45C, 0x0, 0xE45D, 0x0, 0x0, 0x0, 0x89B0, 0x0, + 0xE464, 0xE45F, 0x0, 0x0, 0x0, 0xE460, 0x0, 0x0, + 0x0, 0xE461, 0x0, 0x919F, 0x0, 0x0, 0x0, 0x0, + 0xE463, 0xE462, 0xE465, 0x0, 0x0, 0x0, 0x0, 0xE466, + 0xE467, 0x0, 0x0, 0x9062, 0x0, 0x89E7, 0x0, 0xE468, + 0x97D5, 0x0, 0x8EA9, 0x0, 0x0, 0x8F4C, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x8E8A, 0x9276, 0x0, 0x0, 0x0, + 0x0, 0x0, 0xE469, 0xE46A, 0x8950, 0x0, 0xE46B, 0x0, +}; + +static u16 Ucs82[] = { + 0x0, 0xE46C, 0xE46D, 0x0, 0x0, 0xE46E, 0x0, 0xE46F, + 0x8BBB, 0x9DA8, 0xE470, 0x0, 0x90E3, 0xE471, 0x8EC9, 0x0, + 0xE472, 0x0, 0x98AE, 0x0, 0x0, 0x0, 0xE473, 0x95DC, + 0x8ADA, 0x0, 0x0, 0x9143, 0x8F77, 0x0, 0x9591, 0x8F4D, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0xE474, 0x8D71, 0xE475, 0x94CA, 0x0, 0xE484, 0x0, + 0x0, 0x0, 0x0, 0xE477, 0x0, 0x91C7, 0x9495, 0x8CBD, + 0xE476, 0x9144, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0xE478, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x92F8, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0xE47A, 0xE479, 0xE47C, 0x0, 0x0, 0xE47B, 0x0, 0xE47D, + 0x0, 0x0, 0xE480, 0x0, 0xE47E, 0x0, 0x8ACD, 0x0, + 0xE481, 0x0, 0xE482, 0xE483, 0x0, 0x0, 0x8DAF, 0x97C7, + 0x0, 0xE485, 0x9046, 0x0, 0x0, 0x0, 0x8990, 0xE486, + 0xE487, 0x0, 0x0, 0x0, 0x0, 0x0, 0xE488, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 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x0, 0x0, 0x0, 0x0, 0x0, 0xE573, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0xE575, 0x0, 0xE576, 0x8ED6, + 0x0, 0xE578, 0x0, 0x9260, 0x0, 0x8C75, 0x8A61, 0x0, + 0x0, 0x0, 0x0, 0x0, 0xE57B, 0x0, 0x0, 0x0, + 0x0, 0x8A5E, 0x0, 0xE581, 0x0, 0x0, 0xE57C, 0xE580, + 0x0, 0x0, 0x0, 0x0, 0x94B8, 0x0, 0x0, 0x0, + 0x0, 0xE57D, 0x0, 0x0, 0xE57E, 0x9567, 0x94D8, 0xE582, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x91FB, 0xE58C, 0x0, 0xE588, 0x0, 0x0, 0x89E9, 0x0, +}; + +static u16 Ucs87[] = { + 0xE586, 0x0, 0x9649, 0xE587, 0x0, 0x0, 0xE584, 0x0, + 0xE585, 0xE58A, 0xE58D, 0x0, 0x0, 0xE58B, 0x0, 0x0, + 0x0, 0xE589, 0xE583, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x9277, 0x0, 0xE594, 0x0, 0x96A8, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0xE592, 0x0, 0x0, + 0x0, 0xE593, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0xE58E, 0x0, 0x0, 0xE590, + 0x0, 0x0, 0x0, 0xE591, 0x0, 0x0, 0x0, 0xE58F, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x90E4, 0x0, 0x9858, 0xE598, 0x0, 0xE599, 0x0, + 0x0, 0x0, 0x0, 0xE59F, 0x0, 0x9049, 0x0, 0xE59B, + 0x0, 0xE59E, 0x0, 0x0, 0x0, 0x0, 0x0, 0xE596, + 0xE595, 0x0, 0x0, 0xE5A0, 0x0, 0x0, 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E642, 0x0, 0xE644, + 0x0, 0x0, 0x8F50, 0x0, 0xE645, 0x0, 0x0, 0xE646, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xE647, 0x90BC, + 0x0, 0x9776, 0x0, 0xE648, 0x0, 0x0, 0x95A2, 0x9465, + 0xE649, 0x0, 0xE64A, 0x8CA9, 0x0, 0x0, 0x0, 0x8B4B, + 0x0, 0x0, 0x0, 0xE64B, 0x0, 0x0, 0x8E8B, 0x9460, + 0xE64C, 0x0, 0x8A6F, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0xE64D, 0x0, 0x0, 0x0, 0x0, 0xE64F, 0x9797, + 0x0, 0xE64E, 0x9065, 0x0, 0xE650, 0x0, 0x0, 0xE651, + 0x0, 0x0, 0xE652, 0x8ACF, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0xE653, 0x0, 0x0, 0xE654, 0x0, 0xE655, + 0xE656, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x8A70, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0xE657, 0x0, 0xE658, 0xE659, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x89F0, 0x0, 0x0, 0x9047, 0xE65A, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0xE65B, 0x0, 0x0, 0x0, + 0xE65C, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, +}; + +static u16 Ucs8A[] = { + 0x8CBE, 0x0, 0x92F9, 0xE65D, 0x0, 0x0, 0x0, 0x0, + 0x8C76, 0x0, 0x9075, 0x0, 0xE660, 0x0, 0x93A2, 0x0, + 0xE65F, 0x0, 0x0, 0x8C50, 0x0, 0x0, 0xE65E, 0x91F5, + 0x8B4C, 0x0, 0x0, 0xE661, 0x0, 0xE662, 0x0, 0x8FD7, + 0x0, 0x0, 0x0, 0x8C8D, 0x0, 0xE663, 0x0, 0x0, + 0x0, 0x0, 0x964B, 0x0, 0x0, 0x90DD, 0x0, 0x0, + 0x0, 0x8B96, 0x0, 0x96F3, 0x9169, 0x0, 0xE664, 0x0, + 0x0, 0x0, 0x9066, 0x9290, 0x8FD8, 0x0, 0x0, 0x0, + 0x0, 0xE665, 0x0, 0x0, 0x0, 0x0, 0xE668, 0x0, + 0xE669, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x8DBC, 0x91C0, 0xE667, 0x0, 0x8FD9, 0x955D, 0x0, 0x0, + 0x0, 0x0, 0x0, 0xE666, 0x0, 0x0, 0x8E8C, 0x0, + 0x8972, 0x0, 0xE66D, 0x8C77, 0x0, 0x0, 0x8E8E, 0x0, + 0x0, 0x8E8D, 0x0, 0x986C, 0xE66C, 0xE66B, 0x9146, 0x0, + 0x8B6C, 0x9862, 0x8A59, 0x8FDA, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0xE66A, 0x0, 0x0, 0x0, + 0x0, 0x0, 0xE66F, 0x0, 0xE670, 0xE66E, 0x0, 0x8CD6, + 0x0, 0x975F, 0x0, 0x0, 0x8E8F, 0x9446, 0x0, 0x0, + 0x0, 0xE673, 0x0, 0x90BE, 0x0, 0x9261, 0x0, 0x0, + 0x9755, 0x0, 0xE676, 0x0, 0x0, 0x0, 0x8CEA, 0x0, + 0x90BD, 0xE672, 0x0, 0xE677, 0x8CEB, 0xE674, 0xE675, 0x0, + 0xE671, 0x0, 0x0, 0x0, 0x90E0, 0x93C7, 0x0, 0x0, + 0x924E, 0x0, 0x89DB, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x94EE, 0x0, 0x0, 0x8B62, 0x0, 0x0, 0x92B2, + 0x0, 0x0, 0xE67A, 0x0, 0xE678, 0x0, 0x0, 0x926B, + 0x0, 0x0, 0x0, 0x90BF, 0x8AD0, 0xE679, 0x0, 0x907A, + 0x0, 0x0, 0x97C8, 0x0, 0x0, 0x0, 0x985F, 0x0, + 0x0, 0x0, 0xE67B, 0xE687, 0x92B3, 0x0, 0xE686, 0x0, + 0xE683, 0xE68B, 0xE684, 0x0, 0xE680, 0x0, 0x92FA, 0xE67E, + 0x0, 0x0, 0x0, 0xE67C, 0x0, 0x9740, 0x8E90, 0x0, + 0x0, 0xE681, 0x0, 0xE67D, 0x0, 0x0, 0x0, 0xE685, + 0x8F94, 0x0, 0x8CBF, 0x0, 0x0, 0x0, 0x91F8, 0x0, +}; + +static u16 Ucs8B[] = { + 0x9664, 0x8979, 0x88E0, 0x0, 0x93A3, 0x0, 0x0, 0xE689, + 0x0, 0x0, 0x0, 0x0, 0xE688, 0x0, 0x93E4, 0x0, + 0xE68D, 0x0, 0x0, 0x0, 0xE682, 0x0, 0xE68C, 0xE68E, + 0x0, 0x8CAA, 0xE68A, 0x8D75, 0x0, 0x8ED3, 0x0, 0x0, + 0xE68F, 0x9777, 0x0, 0x0, 0x0, 0x0, 0xE692, 0x0, + 0xE695, 0x0, 0x0, 0xE693, 0x9554, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0xE690, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x8BDE, 0x0, 0x0, 0x0, 0x0, 0xE694, 0x0, + 0x0, 0xE696, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0xE69A, 0x0, 0x0, 0xE697, 0x0, 0xE699, 0xE698, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xE69B, 0x0, + 0x8EAF, 0x0, 0xE69D, 0xE69C, 0x9588, 0x0, 0x0, 0xE69F, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x8C78, 0x0, + 0x0, 0x0, 0x0, 0xE69E, 0xE6A0, 0x0, 0x0, 0xE6A1, + 0x8B63, 0xE3BF, 0x8FF7, 0x0, 0xE6A2, 0x0, 0x0, 0x8CEC, + 0x0, 0x0, 0x0, 0x0, 0x0, 0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764, 0x8C79, 0xE767, 0x0, +}; + +static u16 Ucs8F[] = { + 0x0, 0x0, 0x0, 0x8A72, 0x0, 0xE769, 0x0, 0x0, + 0x0, 0x8DDA, 0xE768, 0x0, 0xE771, 0x0, 0x0, 0x0, + 0x0, 0x0, 0xE76B, 0xE76D, 0x95E3, 0xE76A, 0x0, 0x0, + 0x0, 0xE76C, 0x0, 0xE770, 0xE76E, 0x8B50, 0x0, 0xE76F, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xE772, 0x0, + 0x0, 0x9479, 0x97D6, 0x0, 0x0, 0x0, 0x0, 0x8F53, + 0x0, 0x0, 0x0, 0xE773, 0x0, 0x0, 0x0, 0x0, + 0x9741, 0xE775, 0x0, 0xE774, 0x0, 0x0, 0xE778, 0x9760, + 0x0, 0x0, 0xE777, 0x0, 0x8A8D, 0xE776, 0xE77B, 0x0, + 0x0, 0xE77A, 0x0, 0x0, 0xE779, 0x9351, 0xE77C, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xE77D, + 0x0, 0x0, 0x0, 0x0, 0xE77E, 0x0, 0x0, 0x8D8C, + 0x0, 0x8C44, 0xE780, 0xE781, 0xE782, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x9068, 0xE783, 0x0, 0x8EAB, 0xE784, + 0x0, 0x0, 0x0, 0xE785, 0x0, 0x0, 0x0, 0x999F, + 0x999E, 0x0, 0x0, 0x0, 0x0, 0xE786, 0xE390, 0xE787, + 0x9243, 0x904A, 0x945F, 0x0, 0x0, 0x0, 0x0, 0xE788, + 0x0, 0x0, 0x95D3, 0x92D2, 0x8D9E, 0x0, 0x0, 0x9248, + 0x0, 0x0, 0x8949, 0x0, 0x9698, 0x9076, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x8C7D, 0x0, + 0x0, 0x8BDF, 0x0, 0x0, 0x95D4, 0x0, 0x0, 0x0, + 0x0, 0x0, 0xE789, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0xE78B, 0x0, 0x0, 0xE78A, 0x89DE, 0x0, + 0x0, 0x93F4, 0xE78C, 0x9497, 0x0, 0x9352, 0x0, 0xE78D, + 0x8F71, 0x0, 0x0, 0x0, 0xE78F, 0x0, 0x0, 0x96C0, + 0xE79E, 0xE791, 0xE792, 0x0, 0x0, 0x92C7, 0x0, 0x0, +}; + +static u16 Ucs90[] = { + 0x91DE, 0x9197, 0x0, 0x93A6, 0x0, 0xE790, 0x8B74, 0x0, + 0x0, 0x0, 0x0, 0xE799, 0x0, 0xE796, 0xE7A3, 0x93A7, + 0x9280, 0xE793, 0x0, 0x92FC, 0x9372, 0xE794, 0xE798, 0x9080, + 0x0, 0x9487, 0x92CA, 0x0, 0x0, 0x90C0, 0xE797, 0x91AC, + 0x91A2, 0xE795, 0x88A7, 0x9841, 0x0, 0x0, 0x0, 0xE79A, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x91DF, 0x0, + 0x0, 0x8F54, 0x9069, 0x0, 0x0, 0xE79C, 0xE79B, 0x0, + 0x88ED, 0xE79D, 0x0, 0x0, 0x954E, 0x0, 0xE7A5, 0x0, + 0x0, 0x93D9, 0x908B, 0x0, 0x0, 0x9278, 0x0, 0x8BF6, + 0x0, 0xE7A4, 0x9756, 0x895E, 0x0, 0x95D5, 0x89DF, 0xE79F, + 0xE7A0, 0xE7A1, 0xE7A2, 0x93B9, 0x9242, 0x88E1, 0xE7A6, 0x0, + 0xE7A7, 0xE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, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, +}; + +static u16 UcsFF[] = { + 0x0, 0x8149, 0x0, 0x8194, 0x8190, 0x8193, 0x8195, 0x0, + 0x8169, 0x816A, 0x8196, 0x817B, 0x8143, 0x0, 0x8144, 0x815E, + 0x824F, 0x8250, 0x8251, 0x8252, 0x8253, 0x8254, 0x8255, 0x8256, + 0x8257, 0x8258, 0x8146, 0x8147, 0x8183, 0x8181, 0x8184, 0x8148, + 0x8197, 0x8260, 0x8261, 0x8262, 0x8263, 0x8264, 0x8265, 0x8266, + 0x8267, 0x8268, 0x8269, 0x826A, 0x826B, 0x826C, 0x826D, 0x826E, + 0x826F, 0x8270, 0x8271, 0x8272, 0x8273, 0x8274, 0x8275, 0x8276, + 0x8277, 0x8278, 0x8279, 0x816D, 0x0, 0x816E, 0x814F, 0x8151, + 0x814D, 0x8281, 0x8282, 0x8283, 0x8284, 0x8285, 0x8286, 0x8287, + 0x8288, 0x8289, 0x828A, 0x828B, 0x828C, 0x828D, 0x828E, 0x828F, + 0x8290, 0x8291, 0x8292, 0x8293, 0x8294, 0x8295, 0x8296, 0x8297, + 0x8298, 0x8299, 0x829A, 0x816F, 0x8162, 0x8170, 0x0, 0x0, + 0x0, 0xA1, 0xA2, 0xA3, 0xA4, 0xA5, 0xA6, 0xA7, + 0xA8, 0xA9, 0xAA, 0xAB, 0xAC, 0xAD, 0xAE, 0xAF, + 0xB0, 0xB1, 0xB2, 0xB3, 0xB4, 0xB5, 0xB6, 0xB7, + 0xB8, 0xB9, 0xBA, 0xBB, 0xBC, 0xBD, 0xBE, 0xBF, + 0xC0, 0xC1, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7, + 0xC8, 0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF, + 0xD0, 0xD1, 0xD2, 0xD3, 0xD4, 0xD5, 0xD6, 0xD7, + 0xD8, 0xD9, 0xDA, 0xDB, 0xDC, 0xDD, 0xDE, 0xDF, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x8150, 0x0, 0x818F, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, +}; + +static u16* UcsSjisTable[] = { + Ucs00, NULL, NULL, Ucs03, Ucs04, NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + Ucs20, Ucs21, Ucs22, Ucs23, NULL, Ucs25, Ucs26, NULL, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + Ucs30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL, NULL, Ucs4E, Ucs4F, + Ucs50, Ucs51, Ucs52, Ucs53, Ucs54, Ucs55, Ucs56, Ucs57, + Ucs58, Ucs59, Ucs5A, Ucs5B, Ucs5C, Ucs5D, Ucs5E, Ucs5F, + Ucs60, Ucs61, Ucs62, Ucs63, Ucs64, Ucs65, Ucs66, Ucs67, + Ucs68, Ucs69, Ucs6A, Ucs6B, Ucs6C, Ucs6D, Ucs6E, Ucs6F, + Ucs70, Ucs71, Ucs72, Ucs73, Ucs74, Ucs75, Ucs76, Ucs77, + Ucs78, Ucs79, Ucs7A, Ucs7B, Ucs7C, Ucs7D, Ucs7E, Ucs7F, + Ucs80, Ucs81, Ucs82, Ucs83, Ucs84, Ucs85, Ucs86, Ucs87, + Ucs88, Ucs89, Ucs8A, Ucs8B, Ucs8C, Ucs8D, Ucs8E, Ucs8F, + Ucs90, Ucs91, Ucs92, Ucs93, Ucs94, Ucs95, Ucs96, Ucs97, + Ucs98, Ucs99, Ucs9A, Ucs9B, Ucs9C, Ucs9D, Ucs9E, Ucs9F, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, UcsFF +}; diff --git a/libs/RVL_SDK/include/private/bus.h b/libs/RVL_SDK/include/private/bus.h new file mode 100644 index 00000000..f1362192 --- /dev/null +++ b/libs/RVL_SDK/include/private/bus.h @@ -0,0 +1,27 @@ +#ifndef PRIVATE_BUS_H +#define PRIVATE_BUS_H + +#include + +#define RAMRead32(a) (*(u32*) (a)) +#define RAMWrite32(a, v) (*(u32*) (a)) = ((u32)(v)) +#define BUSRead32(a) (*(vu32*)(a)) +#define BUSWrite32(a, v) (*(vu32*)(a)) = ((u32)(v)) + +#define RAMRead16(a) (*(u16*) (a)) +#define RAMWrite16(a, v) (*(u16*) (a)) = ((u16)(v)) +#define BUSRead16(a) (*(vu16*)(a)) +#define BUSWrite16(a, v) (*(vu16*)(a)) = ((u16)(v)) + +#define RAMRead8(a) (*(u8*) (a)) +#define RAMWrite8(a, v) (*(u8*) (a)) = ((u8)(v)) +#define BUSRead8(a) (*(vu8*)(a)) +#define BUSWrite8(a, v) (*(vu8*)(a)) = ((u8)(v)) + +#define RAMReadPtr32(a) ((void*)(BUSRead32(a))) + +#define SET_FLAG(x, b) (x) |= (b) +#define CLEAR_FLAG(x, b) (x) &= (~(b)) +#define HAS_FLAG(x, b) ((x) & b) + +#endif // PRIVATE_BUS_H diff --git a/libs/RVL_SDK/include/private/db.h b/libs/RVL_SDK/include/private/db.h new file mode 100644 index 00000000..4f6a4335 --- /dev/null +++ b/libs/RVL_SDK/include/private/db.h @@ -0,0 +1,16 @@ +#ifndef REVOLUTION_DB_H +#define REVOLUTION_DB_H + +#include +#include + +BOOL __DBIsExceptionMarked(__OSException exception); + +void DBPrintf(const char* format, ...); + +#define DB_EXCEPTIONOFFSET_USEDEBUGGER 0x00 +#define DB_EXCEPTIONOFFSET_MASK 0x04 +#define DB_EXCEPTIONOFFSET_HOOK 0x08 +#define DB_EXCEPTIONOFFSET_HOOKLR 0x0C + +#endif // REVOLUTION_DB_H diff --git a/libs/RVL_SDK/include/private/dvd.h b/libs/RVL_SDK/include/private/dvd.h new file mode 100644 index 00000000..6aeff96a --- /dev/null +++ b/libs/RVL_SDK/include/private/dvd.h @@ -0,0 +1,28 @@ +#ifndef PRIVATE_DVD_H +#define PRIVATE_DVD_H + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +u32 __DVDGetCoverStatus(); +void __DVDResetWithNoSpinup(); + +BOOL __DVDTestAlarm(OSAlarm* alarm); + +enum { + DVD_COVER_BUSY = 0, + DVD_COVER_OPENED, + DVD_COVER_CLOSED, +}; + +#define DVD_DEVICE_CODE (1 << 15) + +#ifdef __cplusplus +} +#endif + +#endif // PRIVATE_DVD_H diff --git a/libs/RVL_SDK/include/revolution/es.h b/libs/RVL_SDK/include/private/es.h similarity index 86% rename from libs/RVL_SDK/include/revolution/es.h rename to libs/RVL_SDK/include/private/es.h index 1a88f37c..26acbdeb 100644 --- a/libs/RVL_SDK/include/revolution/es.h +++ b/libs/RVL_SDK/include/private/es.h @@ -1,8 +1,8 @@ -#ifndef REVOLUTION_ES_H -#define REVOLUTION_ES_H +#ifndef PRIVATE_ES_H +#define PRIVATE_ES_H #include -#include +#include #ifdef __cplusplus extern "C" { @@ -26,4 +26,4 @@ BOOL ES_VerifyCK2(); // Check for "Common Key 2" (The Korean Key) } #endif -#endif // REVOLUTION_ES_H +#endif // PRIVATE_ES_H diff --git a/libs/RVL_SDK/include/private/estypes.h b/libs/RVL_SDK/include/private/es/types.h similarity index 52% rename from libs/RVL_SDK/include/private/estypes.h rename to libs/RVL_SDK/include/private/es/types.h index c25998c5..69a430e9 100644 --- a/libs/RVL_SDK/include/private/estypes.h +++ b/libs/RVL_SDK/include/private/es/types.h @@ -1,5 +1,5 @@ -#ifndef REVOLUTION_ES_TYPES_H -#define REVOLUTION_ES_TYPES_H +#ifndef PRIVATE_ES_TYPES_H +#define PRIVATE_ES_TYPES_H #include @@ -12,29 +12,51 @@ extern "C" { typedef s32 ESError; -typedef u32 ESId; +typedef u32 ESDeviceId; typedef u32 ESContentId; + +typedef u32 ESTitleId32; typedef u64 ESTitleId; + typedef u64 ESTicketId; typedef u8 ESVersion; typedef u16 ESTitleVersion; -typedef ESTitleId ESSysVersion; +typedef u64 ESSysVersion; typedef u32 ESTitleType; typedef u16 ESContentType; -typedef u8 ESTmdReserved[62]; -typedef u8 ESTicketReserved[48]; - typedef u8 ESSysAccessMask[2]; -typedef u8 ESCidxMask[64]; -#define ES_CHANNEL_ID(t64) ((ESId)(((ESTitleId)t64 & 0xFFFFFFFF00000000) >> 32)) -#define ES_TITLE_ID(t64) ((ESId)((ESTitleId)t64 & 0x00000000FFFFFFFF)) +#define ES_CHANNEL_ID(t64) ((ESTitleId32)(((ESTitleId)t64 & 0xFFFFFFFF00000000) >> 32)) +#define ES_TITLE_ID(t64) ((ESTitleId32)((ESTitleId)t64 & 0x00000000FFFFFFFF)) #define ES_MAX_CONTENT 512 +#define ES_REGION_JPN 0 +#define ES_REGION_USA 1 +#define ES_REGION_PAL 2 +#define ES_REGION_ALL 3 +#define ES_REGION_KOR 4 + +#pragma pack(push, 1) + +typedef struct ESTmdReserved { + u32 region; // 0x00 + u8 ratings[16]; // 0x04 + u8 empty_0x14[4]; + + u8 driveSpin; // 0x18 + u8 empty_0x19[7]; + + u8 ipcMask[12]; // 0x20 + u8 empty_0x2C[18]; // 0x2C +} ESTmdReserved; + +#pragma pack(pop) +#pragma pack(push, 4) + typedef struct { u32 code; // 0x00 u32 limit; // 0x04 @@ -44,7 +66,7 @@ typedef struct ESTicketView { ESVersion version; // 0x00 ESTicketId ticketId; // 0x04 - ESId deviceId; // 0x0C + ESDeviceId deviceId; // 0x0C ESTitleId titleId; // 0x10 ESSysAccessMask sysAccessMask; // 0x18 @@ -55,14 +77,14 @@ typedef struct ESTicketView { u32 accessTitleMask; // 0x20 u8 license; // 0x24 - ESTicketReserved reserved; // 0x25 + u8 reserved[0x30]; // 0x25 u8 audit; // 0x55 - ESCidxMask cidxMask; // 0x56 + u8 cidxMask[0x40]; // 0x56 ESLpEntry limits[8]; // 0x98 } ESTicketView; -#pragma pack(push, 4) +/* TMD */ typedef struct ESTmdViewHeader { ESVersion version; // 0x00 @@ -94,35 +116,37 @@ typedef struct ESTmdView { #pragma pack(pop) -#define ES_ERR_OK 0 +enum { + ES_ERR_OK = 0, -#define ES_ERR_DONT_EXISTS -106 + ES_ERR_DONT_EXISTS = -106, -#define ES_ERR_INVALID_PUB_KEY_TYPE -1005 -#define ES_ERR_FILE_READ_FAILED -1009 -#define ES_ERR_FILE_WRITE_FAILED -1010 -#define ES_ERR_INVALID_SIGNATURE -1012 -#define ES_ERR_TMD_FD_OVERFLOW -1016 -#define ES_ERR_INVALID_ARGUMENTS -1017 -#define ES_ERR_INVALID_DEVICE_ID -1020 -#define ES_ERR_INVALID_CONTENT_HASH -1022 -#define ES_ERR_MEMORY_ERROR -1024 -#define ES_ERR_NO_TMD_FILE_FOUND -1025 -#define ES_ERR_TMD_INVALID_RIGHT -1026 -#define ES_ERR_ISSUER_NOT_FOUND -1027 -#define ES_ERR_TICKET_NOT_FOUND -1028 -#define ES_ERR_INVALID_TICKET -1029 -#define ES_ERR_INVALID_BOOT2 -1031 -#define ES_ERR_UNKNOWN_FATAL -1032 -#define ES_ERR_TICKET_EXPIRED -1033 -#define ES_ERR_INVALID_TITLE_VER -1035 -#define ES_ERR_BAD_SYSMENU_TICKET -1036 -#define ES_ERR_BAD_SYSMENU_CONTENTS -1037 + ES_ERR_INVALID_PUB_KEY_TYPE = -1005, + ES_ERR_FILE_READ_FAILED = -1009, + ES_ERR_FILE_WRITE_FAILED = -1010, + ES_ERR_INVALID_SIGNATURE = -1012, + ES_ERR_TMD_FD_OVERFLOW = -1016, + ES_ERR_INVALID_ARGUMENTS = -1017, + ES_ERR_INVALID_DEVICE_ID = -1020, + ES_ERR_INVALID_CONTENT_HASH = -1022, + ES_ERR_MEMORY_ERROR = -1024, + ES_ERR_NO_TMD_FILE_FOUND = -1025, + ES_ERR_TMD_INVALID_RIGHT = -1026, + ES_ERR_ISSUER_NOT_FOUND = -1027, + ES_ERR_TICKET_NOT_FOUND = -1028, + ES_ERR_INVALID_TICKET = -1029, + ES_ERR_INVALID_BOOT2 = -1031, + ES_ERR_UNKNOWN_FATAL = -1032, + ES_ERR_TICKET_EXPIRED = -1033, + ES_ERR_INVALID_TITLE_VER = -1035, + ES_ERR_BAD_SYSMENU_TICKET = -1036, + ES_ERR_BAD_SYSMENU_CONTENTS = -1037, -#define ES_ERR_NO_DISC_NAND_TMD -1039 + ES_ERR_NO_DISC_NAND_TMD = -1039, +}; #ifdef __cplusplus } #endif -#endif // REVOLUTION_ES_TYPES_H +#endif // PRIVATE_ES_TYPES_H diff --git a/libs/RVL_SDK/include/private/exi.h b/libs/RVL_SDK/include/private/exi.h new file mode 100644 index 00000000..0d155a62 --- /dev/null +++ b/libs/RVL_SDK/include/private/exi.h @@ -0,0 +1,123 @@ +#ifndef PRIVATE_EXI_H +#define PRIVATE_EXI_H + +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef DEFINED_EXI_CHANS +#define DEFINED_EXI_CHANS +#define EXI_CHAN_0 0 +#define EXI_CHAN_1 1 +#define EXI_CHAN_2 2 +#define EXI_CHAN_MAX 3 +#endif // DEFINED_EXI_CHANS + +enum { + EXI_FREQ_1MHZ = 0, + EXI_FREQ_2MHZ, + EXI_FREQ_4MHZ, + EXI_FREQ_8MHZ, + EXI_FREQ_16MHZ, + EXI_FREQ_32HZ, + EXI_MAX_FREQ +}; + +enum { + EXI_DEV_EXT = 0, + EXI_DEV_INT, + EXI_DEV_NET, + EXI_MAX_DEV +}; + +enum { + EXI_READ = 0, + EXI_WRITE +}; + +enum { + EXI_STATE_IDLE = 0, + EXI_STATE_DMA = 1, + EXI_STATE_IMM = 2, + EXI_STATE_BUSY = 3, + EXI_STATE_SELECTED = 4, + EXI_STATE_ATTACHED = 8, + EXI_STATE_LOCKED = 16, +}; + +s32 __EXIProbeStartTime[2] ADDRESS(OS_BASE_CACHED | OS_ADDR_EXI_LAST_PROBES); + +extern const u32 __EXIFreq; + +typedef void (*EXICallback)(s32 chan, OSContext* context); + +void EXIInit(); + +BOOL EXIImm(s32 chan, void* buffer, s32 length, u32 type, EXICallback callback); +BOOL EXIImmEx(s32 chan, u8* buffer, s32 length, u32 mode); + +BOOL EXIDma(s32 chan, void* buffer, s32 length, u32 type, EXICallback callback); + +BOOL EXISync(s32 chan); + +u32 EXIClearInterrupts(s32 chan, BOOL clearExi, BOOL clearTc, BOOL clearExt); + +EXICallback EXISetExiCallback(s32 chan, EXICallback exiCallback); + +void EXIProbeReset(); + +BOOL EXIProbe(s32 chan); +s32 EXIProbeEx(s32 chan); + +BOOL EXIAttach(s32 chan, EXICallback extCallback); +BOOL EXIDetach(s32 chan); + +BOOL EXISelectSD(s32 chan, u32 dev, u32 freq); +BOOL EXISelect(s32 chan, u32 dev, u32 freq); +BOOL EXISelectEx(s32 chan, u32 dev, u32 freq); +BOOL EXIDeselect(s32 chan); +BOOL EXIDeselectEx(s32 chan); + +BOOL EXILock(s32 chan, u32 dev, EXICallback unlockedCallback); +BOOL EXIUnlock(s32 chan); + +u32 EXIGetState(s32 chan); + +BOOL EXIGetID(s32 chan, u32 dev, u32* id); +BOOL EXIGetIDEx(s32 chan, u32 dev, u32* id); + +void __OSEnableBarnacle(s32 chan, u32 dev); + +typedef struct EXIQueue { + u32 device; // 0x00 + EXICallback cb; // 0x04 +} EXIQueue; + +typedef struct EXIControl { + EXICallback exiCallback; // 0x00 + EXICallback tcCallback; // 0x04 + EXICallback extCallback; // 0x08 + + vu32 state; // 0x0C + + int immLen; // 0x10 + u8* immBuf; // 0x14 + + u32 dev; // 0x18 + u32 id; // 0x1C + s32 idTime; // 0x20 + int items; // 0x24 + + EXIQueue queue[3]; // 0x28 +} EXIControl; + +#ifdef __cplusplus +} +#endif + +#endif // PRIVATE_EXI_H diff --git a/libs/RVL_SDK/include/private/flipper.h b/libs/RVL_SDK/include/private/flipper.h deleted file mode 100644 index 8c67b7ee..00000000 --- a/libs/RVL_SDK/include/private/flipper.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef REVOLUTION_FLIPPER_H -#define REVOLUTION_FLIPPER_H - -#include - -#define VI_REG_ADDRESS 0x0C002000 -vu16 __VIRegs[59] ADDRESS(OS_BASE_UNCACHED + VI_REG_ADDRESS); - -#define PI_REG_ADDRESS 0x0C003000 -vu32 __PIRegs[12] ADDRESS(OS_BASE_UNCACHED + PI_REG_ADDRESS); -#define PI_REG(X) (__PIRegs[X >> 2]) - -#define DSP_REG_ADDRESS 0x0C005000 -vu16 __DSPRegs[32] ADDRESS(OS_BASE_UNCACHED + DSP_REG_ADDRESS); - -#define AI_REG_ADDRESS 0x0C006C00 -vu32 __AIRegs[8] ADDRESS(OS_BASE_UNCACHED + AI_REG_ADDRESS); - -#define EXI_REG_ADDRESS 0x0D006800 -vu32 __EXIRegs[16] ADDRESS(OS_BASE_UNCACHED + EXI_REG_ADDRESS); - -#define MEM_REG_ADDRESS 0x0D004000 -vu16 __MEMRegs[64] ADDRESS(OS_BASE_UNCACHED + MEM_REG_ADDRESS); - -#define DI_REG_ADDRESS 0x0D006000 -vu32 __DIRegs[16] ADDRESS(OS_BASE_UNCACHED + DI_REG_ADDRESS); - -#define SI_REG_ADDRESS 0x0D006400 -vu32 __SIRegs[64] ADDRESS(OS_BASE_UNCACHED + SI_REG_ADDRESS); - -#endif // REVOLUTION_FLIPPER_H \ No newline at end of file diff --git a/libs/RVL_SDK/include/private/hollywood.h b/libs/RVL_SDK/include/private/hollywood.h new file mode 100644 index 00000000..f38bbf49 --- /dev/null +++ b/libs/RVL_SDK/include/private/hollywood.h @@ -0,0 +1,13 @@ +#ifndef PRIVATE_HOLLYWOOD_H +#define PRIVATE_HOLLYWOOD_H + +#include +#include + +#define HOLLYWOOD_ES_1_0 0x00000000 +#define HOLLYWOOD_ES_1_1 0x00000001 +#define HOLLYWOOD_ES_1_2 0x00000002 +#define HOLLYWOOD_ES_2_0 0x00000010 +#define HOLLYWOOD_ES_2_1 0x00000011 + +#endif // PRIVATE_HOLLYWOOD_H diff --git a/libs/RVL_SDK/include/private/hollywood/flipper.h b/libs/RVL_SDK/include/private/hollywood/flipper.h new file mode 100644 index 00000000..e2dca3bf --- /dev/null +++ b/libs/RVL_SDK/include/private/hollywood/flipper.h @@ -0,0 +1,130 @@ +#ifndef PRIVATE_FLIPPER_H +#define PRIVATE_FLIPPER_H + +#include + +#include + +#define __flipper_set_bit(x, b) SET_FLAG(x, b) +#define __flipper_clear_bit(x, b) CLEAR_FLAG(x, b) +#define __flipper_has_bit(x, b) HAS_FLAG(x, b) + +/* Video Interface */ + +#define VI_REG_ADDRESS 0x0C002000 +vu16 __VIRegs[64] ADDRESS(OS_BASE_UNCACHED + VI_REG_ADDRESS); + +#define VI_WRITE_REG(x, v) __VIRegs[(x) >> 1] = ((u16)v) +#define VI_READ_REG(x) __VIRegs[(x) >> 1] + +#define VI_WRITE_REG32(x, v) *(u32*)&__VIRegs[(x) >> 1] = ((u32)v) +#define VI_READ_REG32(x) *(u32*)&__VIRegs[(x) >> 1] + +#define VI_SET_REG_F(x, v) __flipper_set_bit (__VIRegs[(x) >> 1], v) +#define VI_DEL_REG_F(x, v) __flipper_clear_bit(__VIRegs[(x) >> 1], v) +#define VI_HAS_REG_F(x, v) __flipper_has_bit (__VIRegs[(x) >> 1], v) + +#include + +/* Processor Interface */ + +#define PI_REG_ADDRESS 0x0C003000 +vu32 __PIRegs[64] ADDRESS(OS_BASE_UNCACHED + PI_REG_ADDRESS); + +#define PI_WRITE_REG(x, v) __PIRegs[(x) >> 2] = ((u32)v) +#define PI_READ_REG(x) __PIRegs[(x) >> 2] + +#define PI_SET_REG_F(x, v) __flipper_set_bit (__PIRegs[(x) >> 2], v) +#define PI_DEL_REG_F(x, v) __flipper_clear_bit(__PIRegs[(x) >> 2], v) +#define PI_HAS_REG_F(x, v) __flipper_has_bit (__PIRegs[(x) >> 2], v) + +#include + +/* Audio DSP */ + +#define DSP_REG_ADDRESS 0x0C005000 +vu16 __DSPRegs[128] ADDRESS(OS_BASE_UNCACHED + DSP_REG_ADDRESS); + +#define DSP_WRITE_REG(x, v) __DSPRegs[(x) >> 1] = ((u16)v) +#define DSP_READ_REG(x) __DSPRegs[(x) >> 1] + +#define DSP_WRITE_REG32(x, v) *(u32*)&__DSPRegs[(x) >> 1] = ((u32)v) +#define DSP_READ_REG32(x) *(u32*)&__DSPRegs[(x) >> 1] + +#define DSP_SET_REG_F(x, v) __flipper_set_bit (__DSPRegs[(x) >> 1], v) +#define DSP_DEL_REG_F(x, v) __flipper_clear_bit(__DSPRegs[(x) >> 1], v) +#define DSP_HAS_REG_F(x, v) __flipper_has_bit (__DSPRegs[(x) >> 1], v) + +#include + +/* Audio Inerface */ + +#define AI_REG_ADDRESS 0x0D006C00 +vu32 __AIRegs[8] ADDRESS(OS_BASE_UNCACHED + AI_REG_ADDRESS); + +#define AI_WRITE_REG(x, v) __AIRegs[(x) >> 2] = ((u32)v) +#define AI_READ_REG(x) __AIRegs[(x) >> 2] + +#define AI_SET_REG_F(x, v) __flipper_set_bit (__AIRegs[(x) >> 2], v) +#define AI_DEL_REG_F(x, v) __flipper_clear_bit(__AIRegs[(x) >> 2], v) +#define AI_HAS_REG_F(x, v) __flipper_has_bit (__AIRegs[(x) >> 2], v) + +#include + +/* External Inerface */ + +#define EXI_REG_ADDRESS 0x0D006800 +vu32 __EXIRegs[30] ADDRESS(OS_BASE_UNCACHED + EXI_REG_ADDRESS); + +#define EXI_WRITE_REG(x, v) __EXIRegs[(x) >> 2] = ((u32)v) +#define EXI_READ_REG(x) __EXIRegs[(x) >> 2] + +#define EXI_SET_REG_F(x, v) __flipper_set_bit (__EXIRegs[(x) >> 2], v) +#define EXI_DEL_REG_F(x, v) __flipper_clear_bit(__EXIRegs[(x) >> 2], v) +#define EXI_HAS_REG_F(x, v) __flipper_has_bit (__EXIRegs[(x) >> 2], v) + +#include + +/* Memory Interface */ + +#define MEM_REG_ADDRESS 0x0C004000 +vu16 __MEMRegs[52] ADDRESS(OS_BASE_UNCACHED + MEM_REG_ADDRESS); + +#define MEM_WRITE_REG(x, v) __MEMRegs[(x) >> 1] = ((u16)v) +#define MEM_READ_REG(x) __MEMRegs[(x) >> 1] + +#define MEM_SET_REG_F(x, v) __flipper_set_bit (__MEMRegs[(x) >> 2], v) +#define MEM_DEL_REG_F(x, v) __flipper_clear_bit(__MEMRegs[(x) >> 2], v) +#define MEM_HAS_REG_F(x, v) __flipper_has_bit (__MEMRegs[(x) >> 2], v) + +#include + +/* Drive Interface */ + +#define DI_REG_ADDRESS 0x0D006000 +vu32 __DIRegs[16] ADDRESS(OS_BASE_UNCACHED + DI_REG_ADDRESS); + +#define DI_WRITE_REG(x, v) __DIRegs[(x) >> 2] = ((u32)v) +#define DI_READ_REG(x) __DIRegs[(x) >> 2] + +#define DI_SET_REG_F(x, v) __flipper_set_bit (__DIRegs[(x) >> 2], v) +#define DI_DEL_REG_F(x, v) __flipper_clear_bit(__DIRegs[(x) >> 2], v) +#define DI_HAS_REG_F(x, v) __flipper_has_bit (__DIRegs[(x) >> 2], v) + +#include + +/* Serial Interface */ + +#define SI_REG_ADDRESS 0x0D006400 +vu32 __SIRegs[64] ADDRESS(OS_BASE_UNCACHED + SI_REG_ADDRESS); + +#define SI_WRITE_REG(x, v) __SIRegs[(x) >> 2] = ((u32)v) +#define SI_READ_REG(x) __SIRegs[(x) >> 2] + +#define SI_SET_REG_F(x, v) __flipper_set_bit (__SIRegs[(x) >> 2], v) +#define SI_DEL_REG_F(x, v) __flipper_clear_bit(__SIRegs[(x) >> 2], v) +#define SI_HAS_REG_F(x, v) __flipper_has_bit (__SIRegs[(x) >> 2], v) + +#include + +#endif // PRIVATE_FLIPPER_H diff --git a/libs/RVL_SDK/include/private/hollywood/flipper/ai_reg.h b/libs/RVL_SDK/include/private/hollywood/flipper/ai_reg.h new file mode 100644 index 00000000..0010dbce --- /dev/null +++ b/libs/RVL_SDK/include/private/hollywood/flipper/ai_reg.h @@ -0,0 +1,17 @@ +#ifndef PRIVATE_HOLLYWOOD_FLIPPER_AI_REGS_H +#define PRIVATE_HOLLYWOOD_FLIPPER_AI_REGS_H + +#define AI_CONTROL 0x0000 +#define AI_CONTROL_PSTAT 0 +#define AI_CONTROL_AFR 1 +#define AI_CONTROL_AIINTMSK 2 +#define AI_CONTROL_AIINT 3 +#define AI_CONTROL_AIINTVLD 4 +#define AI_CONTROL_SCRESET 5 +#define AI_CONTROL_SAMPLERATE 6 + +#define AI_VOLUME 0x0004 +#define AI_AISCNT 0x0008 +#define AI_AIIT 0x000C + +#endif // PRIVATE_HOLLYWOOD_FLIPPER_AI_REGS_H diff --git a/libs/RVL_SDK/include/private/hollywood/flipper/di_reg.h b/libs/RVL_SDK/include/private/hollywood/flipper/di_reg.h new file mode 100644 index 00000000..b0a90f8d --- /dev/null +++ b/libs/RVL_SDK/include/private/hollywood/flipper/di_reg.h @@ -0,0 +1,19 @@ +#ifndef PRIVATE_HOLLYWOOD_FLIPPER_DI_REGS_H +#define PRIVATE_HOLLYWOOD_FLIPPER_DI_REGS_H + +#define DI_STATUS 0x0000 +#define DI_COVER 0x0004 + +#define DI_CMD_BUFFER_0 0x0008 +#define DI_CMD_BUFFER_1 0x000C +#define DI_CMD_BUFFER_2 0x0010 + +#define DI_DMA_MEM_ADDRESS 0x0014 +#define DI_DMA_TRANSFER_LENGTH 0x0018 + +#define DI_CONTROL 0x001C + +#define DI_IMMEDIATE_DATA_BUF 0x0020 +#define DI_CONFIG 0x0024 + +#endif // PRIVATE_HOLLYWOOD_FLIPPER_DI_REGS_H diff --git a/libs/RVL_SDK/include/private/hollywood/flipper/dsp_reg.h b/libs/RVL_SDK/include/private/hollywood/flipper/dsp_reg.h new file mode 100644 index 00000000..d35c096e --- /dev/null +++ b/libs/RVL_SDK/include/private/hollywood/flipper/dsp_reg.h @@ -0,0 +1,49 @@ +#ifndef PRIVATE_HOLLYWOOD_FLIPPER_DSP_REGS_H +#define PRIVATE_HOLLYWOOD_FLIPPER_DSP_REGS_H + +#define DSP_MAILBOX 0x0000 +#define DSP_MAILBOX_SET 15 +#define DSP_MAILBOX_H 0x0000 +#define DSP_MAILBOX_L 0x0002 + +#define DSP_CPUMAILBOX 0x0004 +#define DSP_CPUMAILBOX_SET 15 +#define DSP_CPUMAILBOX_H 0x0004 +#define DSP_CPUMAILBOX_L 0x0006 + +#define DSP_CONTROL_STATUS 0x000A +#define DSP_CONTROL_STATUS_RESET 11 /* Apparently this also could be "BOOTMODE" */ +#define DSP_CONTROL_STATUS_DMASTAT 10 +#define DSP_CONTROL_STATUS_ARDMASTAT 9 +#define DSP_CONTROL_STATUS_DMAINTMSK 8 +#define DSP_CONTROL_STATUS_DSPINT 7 +#define DSP_CONTROL_STATUS_ARINTMSK 6 +#define DSP_CONTROL_STATUS_ARINT 5 +#define DSP_CONTROL_STATUS_AIDINTMSK 4 +#define DSP_CONTROL_STATUS_AIDINT 3 +#define DSP_CONTROL_STATUS_HALT 2 +#define DSP_CONTROL_STATUS_PIINT 1 +#define DSP_CONTROL_STATUS_RES 0 + +#define DSP_AR_SIZE 0x0012 +#define DSP_AR_MODE 0x0016 +#define DSP_AR_REFRESH 0x001A +#define DSP_AR_DMA_MMADDR 0x0020 +#define DSP_AR_DMA_MMADDR_H 0x0020 +#define DSP_AR_DMA_MMADDR_L 0x0022 +#define DSP_AR_DMA_ARADDR 0x0024 +#define DSP_AR_DMA_ARADDR_H 0x0024 +#define DSP_AR_DMA_ARADDR_L 0x0026 +#define DSP_AR_DMA_SIZE 0x0028 +#define DSP_AR_DMA_SIZE_H 0x0028 +#define DSP_AR_DMA_SIZE_L 0x002A + +#define DSP_DMA_START_ADDR_H 0x0030 +#define DSP_DMA_START_ADDR_L 0x0032 + +#define DSP_DMA_CONTROL_LENGTH 0x0036 +#define DSP_DMA_CONTROL_LENGTH_CTRL 15 + +#define DSP_DMA_BYTES_LEFT 0x003A + +#endif // PRIVATE_HOLLYWOOD_FLIPPER_DSP_REGS_H diff --git a/libs/RVL_SDK/include/private/hollywood/flipper/exi_reg.h b/libs/RVL_SDK/include/private/hollywood/flipper/exi_reg.h new file mode 100644 index 00000000..123b87a8 --- /dev/null +++ b/libs/RVL_SDK/include/private/hollywood/flipper/exi_reg.h @@ -0,0 +1,54 @@ +#ifndef PRIVATE_HOLLYWOOD_FLIPPER_EXI_REGS_H +#define PRIVATE_HOLLYWOOD_FLIPPER_EXI_REGS_H + +#ifndef DEFINED_EXI_CHANS +#define DEFINED_EXI_CHANS +#define EXI_CHAN_0 0 +#define EXI_CHAN_1 1 +#define EXI_CHAN_2 2 +#define EXI_CHAN_MAX 3 +#endif // DEFINED_EXI_CHANS + +#define EXI_CHAN_PARAM 0x0000 +#define EXI_MEM_ADDRESS 0x0004 +#define EXI_LENGTH 0x0008 +#define EXI_CONTROL 0x000C +#define EXI_DATA 0x0010 + +#define EXI_REG_SIZE 0x0014 + +#define EXI_0_CHAN_PARAM 0x0000 +#define EXI_0_MEM_ADDRESS 0x0004 +#define EXI_0_LENGTH 0x0008 +#define EXI_0_CONTROL 0x000C +#define EXI_0_DATA 0x0010 + +#define EXI_1_CHAN_PARAM 0x0014 +#define EXI_1_MEM_ADDRESS 0x0018 +#define EXI_1_LENGTH 0x001C +#define EXI_1_CONTROL 0x0020 +#define EXI_1_DATA 0x0024 + +#define EXI_2_CHAN_PARAM 0x0028 +#define EXI_2_MEM_ADDRESS 0x002C +#define EXI_2_LENGTH 0x0030 +#define EXI_2_CONTROL 0x0034 +#define EXI_2_DATA 0x0038 + +#define EXI_CHAN_PARAM_INTMASK 0 +#define EXI_CHAN_PARAM_INT 1 +#define EXI_CHAN_PARAM_TCINTMASK 2 +#define EXI_CHAN_PARAM_TCINT 3 +#define EXI_CHAN_PARAM_CLK 4 +#define EXI_CHAN_PARAM_CS 7 +#define EXI_CHAN_PARAM_EXTINTMASK 10 +#define EXI_CHAN_PARAM_EXTINT 11 +#define EXI_CHAN_PARAM_EXT 12 +#define EXI_CHAN_PARAM_ROMDIS 13 /* For Gekko, this was the GC's IPL. But for hollywood, this is unknown. */ + +#define EXI_CONTROL_TSTART 0 +#define EXI_CONTROL_DMA 1 +#define EXI_CONTROL_RW 2 +#define EXI_CONTROL_TLEN 4 + +#endif // PRIVATE_HOLLYWOOD_FLIPPER_EXI_REGS_H diff --git a/libs/RVL_SDK/include/private/hollywood/flipper/mem_reg.h b/libs/RVL_SDK/include/private/hollywood/flipper/mem_reg.h new file mode 100644 index 00000000..fac1d766 --- /dev/null +++ b/libs/RVL_SDK/include/private/hollywood/flipper/mem_reg.h @@ -0,0 +1,113 @@ +#ifndef PRIVATE_HOLLYWOOD_FLIPPER_MEM_REGS_H +#define PRIVATE_HOLLYWOOD_FLIPPER_MEM_REGS_H + +#define MEM_MARR0_START 0x0000 +#define MEM_MARR0_END 0x0002 +#define MEM_MARR1_START 0x0004 +#define MEM_MARR1_END 0x0006 +#define MEM_MARR2_START 0x0008 +#define MEM_MARR2_END 0x000A +#define MEM_MARR3_START 0x000C +#define MEM_MARR3_END 0x000E + +#define MEM_MARR_CONTROL 0x0010 + +#define MEM_CP_BW_DIAL 0x0012 +#define MEM_TC_BW_DIAL 0x0014 +#define MEM_PE_BW_DIAL 0x0016 +#define MEM_CPUR_BW_DIAL 0x0018 +#define MEM_CPUW_BW_DIAL 0x001A + +#define MEM_INT_ENBL 0x001C +#define MEM_INT_STAT 0x001E +#define MEM_INT_CLR 0x0020 +#define MEM_INT_ADDR 0x0022 +#define MEM_INT_ADDRL 0x0022 +#define MEM_INT_ADDRH 0x0024 + +#define MEM_REFRESH 0x0026 + +#define MEM_CONFIG 0x0028 + +#define MEM_LATENCY 0x002A + +#define MEM_RDTORD 0x002E +#define MEM_WRTORD 0x0030 + +#define MEM_CP_REQCOUNT 0x0032 +#define MEM_CP_REQCOUNTH 0x0032 +#define MEM_CP_REQCOUNTL 0x0034 + +#define MEM_TC_REQCOUNT 0x0036 +#define MEM_TC_REQCOUNTH 0x0036 +#define MEM_TC_REQCOUNTL 0x0038 + +#define MEM_CPUR_REQCOUNT 0x003A +#define MEM_CPUR_REQCOUNTH 0x003A +#define MEM_CPUR_REQCOUNTL 0x003C + +#define MEM_CPUW_REQCOUNT 0x003E +#define MEM_CPUW_REQCOUNTH 0x003E +#define MEM_CPUW_REQCOUNTL 0x0040 + +#define MEM_DSP_REQCOUNT 0x0042 +#define MEM_DSP_REQCOUNTH 0x0042 +#define MEM_DSP_REQCOUNTL 0x0044 + +#define MEM_IO_REQCOUNT 0x0046 +#define MEM_IO_REQCOUNTH 0x0046 +#define MEM_IO_REQCOUNTL 0x0048 + +#define MEM_VI_REQCOUNT 0x004A +#define MEM_VI_REQCOUNTH 0x004A +#define MEM_VI_REQCOUNTL 0x004C + +#define MEM_PE_REQCOUNT 0x004E +#define MEM_PE_REQCOUNTH 0x004E +#define MEM_PE_REQCOUNTL 0x0050 + +#define MEM_RF_REQCOUNT 0x0052 +#define MEM_RF_REQCOUNTH 0x0052 +#define MEM_RF_REQCOUNTL 0x0054 + +#define MEM_FI_REQCOUNT 0x0056 +#define MEM_FI_REQCOUNTH 0x0056 +#define MEM_FI_REQCOUNTL 0x0058 + +#define MEM_DRV_STRENGTH 0x005A + +#define MEM_REFRSH_THHD 0x005C + +#define MEM_CPUAHMR_REQCOUNT 0x0060 +#define MEM_CPUAHMR_REQCOUNTH 0x0060 +#define MEM_CPUAHMR_REQCOUNTL 0x0062 + +#define MEM_CPUAHMW_REQCOUNT 0x0064 +#define MEM_CPUAHMW_REQCOUNTH 0x0064 +#define MEM_CPUAHMW_REQCOUNTL 0x0066 + +#define MEM_DMAAHMR_REQCOUNT 0x0068 +#define MEM_DMAAHMR_REQCOUNTH 0x0068 +#define MEM_DMAAHMR_REQCOUNTL 0x006A + +#define MEM_DMAAHMW_REQCOUNT 0x006C +#define MEM_DMAAHMW_REQCOUNTH 0x006C +#define MEM_DMAAHMW_REQCOUNTL 0x006E + +#define MEM_ACC_REQCOUNT 0x0070 +#define MEM_ACC_REQCOUNTH 0x0070 +#define MEM_ACC_REQCOUNTL 0x0072 + +#define MEM_DDRREG_ADDR 0x0074 + +#define MEM_DDRREG_DATA 0x0076 + +#define MEM_DRV_PSTRENGTH 0x0078 + +#define MEM_INT_MEM_0 0 +#define MEM_INT_MEM_1 1 +#define MEM_INT_MEM_2 2 +#define MEM_INT_MEM_3 3 +#define MEM_INT_MEM_ADDRESS 4 + +#endif // PRIVATE_HOLLYWOOD_FLIPPER_MEM_REGS_H diff --git a/libs/RVL_SDK/include/private/hollywood/flipper/pi_reg.h b/libs/RVL_SDK/include/private/hollywood/flipper/pi_reg.h new file mode 100644 index 00000000..bdc3dc13 --- /dev/null +++ b/libs/RVL_SDK/include/private/hollywood/flipper/pi_reg.h @@ -0,0 +1,29 @@ +#ifndef PRIVATE_HOLLYWOOD_FLIPPER_PI_REGS_H +#define PRIVATE_HOLLYWOOD_FLIPPER_PI_REGS_H + +#define PI_INTERRUPT_CAUSE 0x0000 +#define PI_INTERRUPT_ERROR 0 +#define PI_INTERRUPT_RSW 1 +#define PI_INTERRUPT_DI 2 +#define PI_INTERRUPT_SI 3 +#define PI_INTERRUPT_EXI 4 +#define PI_INTERRUPT_AI 5 +#define PI_INTERRUPT_DSP 6 +#define PI_INTERRUPT_MEM 7 +#define PI_INTERRUPT_VI 8 +#define PI_INTERRUPT_PE_TOKEN 9 +#define PI_INTERRUPT_PE_FINISH 10 +#define PI_INTERRUPT_CP 11 +#define PI_INTERRUPT_DEBUG 12 +#define PI_INTERRUPT_HSP 13 +#define PI_INTERRUPT_ACR 14 /* HOLLYWOOD EXCLUSIVE */ +#define PI_INTERRUPT_RSW_STATE 16 + +#define PI_INTERRUPT_MASK 0x0004 + +#define PI_RESET_REQUEST 0x0024 +#define PI_UNIT_INFO 0x002C +#define PI_UNIT_INFO_TYPE 28 +#define PI_UNIT_INFO_TYPE_EB 31 + +#endif // PRIVATE_HOLLYWOOD_FLIPPER_PI_REGS_H diff --git a/libs/RVL_SDK/include/private/hollywood/flipper/si_reg.h b/libs/RVL_SDK/include/private/hollywood/flipper/si_reg.h new file mode 100644 index 00000000..309aef98 --- /dev/null +++ b/libs/RVL_SDK/include/private/hollywood/flipper/si_reg.h @@ -0,0 +1,30 @@ +#ifndef PRIVATE_HOLLYWOOD_FLIPPER_SI_REGS_H +#define PRIVATE_HOLLYWOOD_FLIPPER_SI_REGS_H + +#define SI_0_OUT_BUFFER 0x0000 +#define SI_0_BUTTON_BUFFER 0x0004 +#define SI_0_BUTTON_2_BUFFER 0x0008 + +#define SI_1_OUT_BUFFER 0x000C +#define SI_1_BUTTON_BUFFER 0x0010 +#define SI_1_BUTTON_2_BUFFER 0x0014 + +#define SI_2_OUT_BUFFER 0x0018 +#define SI_2_BUTTON_BUFFER 0x001C +#define SI_2_BUTTON_2_BUFFER 0x0020 + +#define SI_3_OUT_BUFFER 0x0024 +#define SI_3_BUTTON_BUFFER 0x0028 +#define SI_3_BUTTON_2_BUFFER 0x002C + +#define SI_JOY_POLL 0x0030 + +#define SI_CONTROL_STATUS 0x0034 + +#define SI_STATUS 0x0038 + +#define SI_EXI_CLOCK 0x003C + +#define SI_IO_BUFFER 0x0080 + +#endif // PRIVATE_HOLLYWOOD_FLIPPER_SI_REGS_H diff --git a/libs/RVL_SDK/include/private/hollywood/flipper/vi_reg.h b/libs/RVL_SDK/include/private/hollywood/flipper/vi_reg.h new file mode 100644 index 00000000..6db09cf0 --- /dev/null +++ b/libs/RVL_SDK/include/private/hollywood/flipper/vi_reg.h @@ -0,0 +1,55 @@ +#ifndef PRIVATE_HOLLYWOOD_FLIPPER_VI_REGS_H +#define PRIVATE_HOLLYWOOD_FLIPPER_VI_REGS_H + +#define VI_VERTICAL_TIME 0x0000 + +#define VI_DISPLAY_CONFIG 0x0002 + +#define VI_HORIZONTAL_TIME0 0x0004 +#define VI_HORIZONTAL_TIME1 0x0008 + +#define VI_VERTICAL_TIME_ODD_FIELD 0x000C +#define VI_VERTICAL_TIME_EVEN_FIELD 0x0010 + +#define VI_BURST_BLANK_ODD_FIELD 0x0014 +#define VI_BURST_BLANK_EVEN_FIELD 0x0018 + +#define VI_TOP_FIELD_BASE_L 0x001C +#define VI_TOP_FIELD_BASE_R 0x0020 + +#define VI_BOTTOM_FIELD_BASE_L 0x0024 +#define VI_BOTTOM_FIELD_BASE_R 0x0028 + +#define VI_VERTICAL_POSITION 0x002C +#define VI_HORIZONTAL_POSITION 0x002E + +#define VI_DISPLAY_INTERRUPT_0 0x0030 +#define VI_DISPLAY_INTERRUPT_1 0x0034 +#define VI_DISPLAY_INTERRUPT_2 0x0038 +#define VI_DISPLAY_INTERRUPT_3 0x003C + +#define VI_DISPLAY_L_INTERRUPT_0 0x0040 +#define VI_DISPLAY_L_INTERRUPT_1 0x0044 + +#define VI_SCALE_WIDTH 0x0048 +#define VI_HORIZONTAL_SCALE 0x004A + +#define VI_FILTER_TABLE_0 0x004C +#define VI_FILTER_TABLE_1 0x0050 +#define VI_FILTER_TABLE_2 0x0054 +#define VI_FILTER_TABLE_3 0x0058 +#define VI_FILTER_TABLE_4 0x005C +#define VI_FILTER_TABLE_5 0x0060 +#define VI_FILTER_TABLE_6 0x0064 + +#define VI_UNKNOWN_AA_STUFF 0x0068 + +#define VI_CLOCK_SELECT 0x006C +#define VI_DTV_STATUS 0x006E + +#define VI_UNKNOWN_70 0x0070 + +#define VI_HBE_BOEDER 0x0072 +#define VI_HBS_BOEDER 0x0074 + +#endif // PRIVATE_HOLLYWOOD_FLIPPER_VI_REGS_H diff --git a/libs/RVL_SDK/include/private/hollywood/hw_reg.h b/libs/RVL_SDK/include/private/hollywood/hw_reg.h new file mode 100644 index 00000000..cefae164 --- /dev/null +++ b/libs/RVL_SDK/include/private/hollywood/hw_reg.h @@ -0,0 +1,201 @@ +#ifndef PRIVATE_HOLLYWOOD_REGISTERS_H +#define PRIVATE_HOLLYWOOD_REGISTERS_H + +#include + +#include + +#define __hw_set_bit(x, b) SET_FLAG(x, b) +#define __hw_clear_bit(x, b) CLEAR_FLAG(x, b) +#define __hw_has_bit(x, b) HAS_FLAG(x, b) + +/* IPC */ +#define HW_IPC_PPCMSG 0x000 +#define HW_IPC_PPCCTRL 0x004 +#define HW_IPC_ARMMSG 0x008 +#define HW_IPC_ARMCTRL 0x00C + +/* IOP (Starlet) Timer */ +#define HW_TIMER 0x010 +#define HW_ALARM 0x014 + +/* Video related */ +#define HW_VI1CFG 0x018 +#define HW_VIDIM 0x01C +#define HW_VISOLID 0x024 + +/* IRQ Controllers */ +#define HW_PPCIRQFLAG 0x030 +#define HW_PPCIRQMASK 0x034 +#define HW_ARMIRQFLAG 0x038 +#define HW_ARMIRQMASK 0x03C +#define HW_ARMFIQMASK 0x040 +#define HW_IOPINTPPC 0x044 +#define HW_WDGINTSTS 0x048 +#define HW_WDGCFG 0x04C +#define HW_DMAADRINTSTS 0x050 +#define HW_CPUADRINTSTS 0x054 +#define HW_DBGINTSTS 0x058 +#define HW_DBGINTEN 0x05C + +/* Bus controlling */ +#define HW_SRNPROT 0x060 +#define HW_AHBPROT 0x064 + +#define HW_I2CIOPINTEN 0x068 +#define HW_I2CIOPINTSTS 0x06C + +#define HW_AIPPROT 0x070 +#define HW_AIPIOCTRL 0x074 + +#define HW_VIINTEN 0x078 +#define HW_VIINTSTS 0x07C + +/* USB related */ +#define HW_USBDBG0 0x080 +#define HW_USBDBG1 0x084 +#define HW_USBFRCRST 0x088 +#define HW_USBIOTEST 0x08C + +/* "Embedded logic-analyzer" stuff */ +#define HW_ELA_REG_ADDR 0x090 +#define HW_ELA_REG_DATA 0x094 + +#define HW_MEMTSTN 0x098 +#define HW_MEMTSTP 0x09C + +/* Hollywood GPIOs */ +#define HW_GPIOB_OUT 0x0C0 +#define HW_GPIOB_DIR 0x0C4 +#define HW_GPIOB_IN 0x0C8 +#define HW_GPIOB_INTLVL 0x0CC +#define HW_GPIOB_INTFLAG 0x0D0 +#define HW_GPIOB_INTMASK 0x0D4 +#define HW_GPIOB_STRAPS 0x0D8 +#define HW_GPIO_ENABLE 0x0DC +#define HW_GPIO_OUT 0x0E0 +#define HW_GPIO_DIR 0x0E4 +#define HW_GPIO_IN 0x0E8 +#define HW_GPIO_INTLVL 0x0EC +#define HW_GPIO_INTFLAG 0x0F0 +#define HW_GPIO_INTMASK 0x0F4 +#define HW_GPIO_STRAPS 0x0F8 +#define HW_GPIO_OWNER 0x0FC + +/* AHB related? */ +#define HW_ARB_CFG_M0 0x100 +#define HW_ARB_CFG_M1 0x104 +#define HW_ARB_CFG_M2 0x108 +#define HW_ARB_CFG_M3 0x10C +#define HW_ARB_CFG_M4 0x110 +#define HW_ARB_CFG_M5 0x114 +#define HW_ARB_CFG_M6 0x118 +#define HW_ARB_CFG_M7 0x11C +#define HW_ARB_CFG_M8 0x120 +#define HW_ARB_CFG_M9 0x124 +#define HW_ARB_CFG_MA 0x128 /* \ Not documented anywhere but assuming they exist */ +#define HW_ARB_CFG_MB 0x12C /* / */ +#define HW_ARB_CFG_MC 0x130 +#define HW_ARB_CFG_MD 0x134 +#define HW_ARB_CFG_ME 0x138 +#define HW_ARB_CFG_MF 0x13C +#define HW_ARB_CFG_CPU 0x140 +#define HW_ARB_CFG_DMA 0x144 +#define HW_ARB_PCNTCFG 0x148 +#define HW_ARB_PCNTSTS 0x14C + +#define HW_I2CSCTRL 0x150 +#define HW_I2CSSTS 0x154 +#define HW_I2CSRDEN 0x158 +#define HW_I2CSTRAP 0x160 +#define HW_I2CSCTRL_MIRROR 0x164 /* Apparently */ +#define HW_I2CSVISETYUV 0x168 +#define HW_I2CSVISETFILT 0x16C + +#define HW_SPARE2 0x170 +#define HW_SPARE3 0x174 + +/* Some system related stuff */ +#define HW_COMPAT 0x180 +#define HW_RESET_AHB 0x184 +#define HW_SPARE0 0x188 +#define HW_BOOT0 0x18C +#define HW_CLOCKS 0x190 +#define HW_RESETS 0x194 +#define HW_IFPOWER 0x198 + +/* PLL/Clock related(?) */ +#define HW_PLLDR 0x19C +#define HW_PLLSYSEXT1 0x1A0 +#define HW_PLLSYSEXT2 0x1A4 +#define HW_PLLAIEXT1 0x1A8 +#define HW_PLLATEXT2 0x1AC +#define HW_PLLSYS 0x1B0 +#define HW_PLLSYSEXT 0x1B4 +#define HW_PLLDSK 0x1B8 +#define HW_PLLDDR 0x1BC +#define HW_PLLDDREXT 0x1C0 +#define HW_PLLVI 0x1C4 +#define HW_PLLVIEXT 0x1C8 +#define HW_PLLAI 0x1CC + +#define HW_PLLAIEXT 0x1D0 +#define HW_PLLAIEXT_PLL_A 30 +#define HW_PLLAIEXT_PLL_B 31 + +#define HW_PLLUSB 0x1D4 +#define HW_PLLUSBEXT 0x1D8 + +#define HW_IOPWRCTRL 0x1DC + +/* More clock related? */ +#define HW_IOSTRCTRL0 0x1E0 +#define HW_IOSTRCTRL1 0x1E4 +#define HW_CLKSTRCTRL 0x1E8 + +/* OTP related */ +#define HW_OTPCMD 0x1EC +#define HW_OTPDATA 0x1F0 + +/* Debug related */ +#define HW_DBGCLK 0x1F4 +#define HW_OBSCLKOCTRL 0x1F8 +#define HW_OBSCLKICTRL 0x1FC +#define HW_DBGPORT 0x200 + +/* SI Related */ +#define HW_SICLKDIV 0x204 +#define HW_SICTRL 0x208 +#define HW_SIDATA 0x20C +#define HW_SIINT 0x210 + +#define HW_VERSION 0x214 + +#define HW_DBGBUSRD 0x218 + +/* Hollywood Registers Maros */ + +#define ACR_REG_ADDRESS 0x0D000000 +vu32 __ACRRegs[256] ADDRESS(OS_BASE_UNCACHED + ACR_REG_ADDRESS); + +#define ACR_WRITE_REG32(x, v) __ACRRegs[x >> 2] = v +#define ACR_READ_REG32(x) __ACRRegs[x >> 2] + +#define ACR_SET_REG_F(x, v) __hw_set_bit (__ACRRegs[x >> 2], v) +#define ACR_DEL_REG_F(x, v) __hw_clear_bit(__ACRRegs[x >> 2], v) +#define ACR_HAS_REG_F(x, v) __hw_has_bit (__ACRRegs[x >> 2], v) + +// From the PPC, this would do nothing different and act the same as `__ACRRegs`. +// But the SDK, which is from the PPC, still chooses to use this. + +#define AHB_TRUSTED_OFFSET 0x00800000 +vu32 __ACRIOPRegs[256] ADDRESS(OS_BASE_UNCACHED + ACR_REG_ADDRESS + AHB_TRUSTED_OFFSET); + +#define ACRIOP_WRITE_REG32(x, v) __ACRIOPRegs[x >> 2] = v +#define ACRIOP_READ_REG32(x) __ACRIOPRegs[x >> 2] + +#define ACRIOP_SET_REG_F(x, v) __hw_set_bit (__ACRIOPRegs[x >> 2], v) +#define ACRIOP_DEL_REG_F(x, v) __hw_clear_bit(__ACRIOPRegs[x >> 2], v) +#define ACRIOP_HAS_REG_F(x, v) __hw_has_bit (__ACRIOPRegs[x >> 2], v) + +#endif // PRIVATE_HOLLYWOOD_REGISTERS_H diff --git a/libs/RVL_SDK/include/private/ios.h b/libs/RVL_SDK/include/private/ios.h new file mode 100644 index 00000000..b8f6dbb3 --- /dev/null +++ b/libs/RVL_SDK/include/private/ios.h @@ -0,0 +1,8 @@ +#ifndef PRIVATE_IOS_H +#define PRIVATE_IOS_H + +#include + +#include + +#endif // PRIVATE_IPC_PRIVATE_IOS_HH diff --git a/libs/RVL_SDK/include/private/ios/clt.h b/libs/RVL_SDK/include/private/ios/clt.h new file mode 100644 index 00000000..e86406b8 --- /dev/null +++ b/libs/RVL_SDK/include/private/ios/clt.h @@ -0,0 +1,22 @@ +#ifndef PRIVATE_IOS_CLT_H +#define PRIVATE_IOS_CLT_H + +#include + +typedef struct IOSIoVector { + u8* base; // 0x00 + u32 length; // 0x04 +} IOSIoVector; + +typedef IOSError (*IOSIpcCb)(IOSError ret, void *context); + +IOSError IOS_Open(const char *path, u32 flags); + +IOSError IOS_Ioctlv(IOSFd fd, s32 cmd, u32 readCount, u32 writeCount, IOSIoVector* vector); +IOSError IOS_IoctlvAsync(IOSFd fd, s32 cmd, u32 readCount, u32 writeCount, IOSIoVector* vector, IOSIpcCb cb, void* cbArg); + +IOSError IOS_Ioctl(IOSFd fd, s32 cmd, void* input, u32 inputLen, void* output, u32 outputLen); +IOSError IOS_IoctlAsync(IOSFd fd, s32 cmd, void* input, u32 inputLen, void* output, u32 outputLen, IOSIpcCb cb, void* cbArg); + + +#endif // PRIVATE_IOS_CLT_H diff --git a/libs/RVL_SDK/include/private/ios/types.h b/libs/RVL_SDK/include/private/ios/types.h new file mode 100644 index 00000000..dc6ad415 --- /dev/null +++ b/libs/RVL_SDK/include/private/ios/types.h @@ -0,0 +1,9 @@ +#ifndef PRIVATE_IOS_TYPES_H +#define PRIVATE_IOS_TYPES_H + +#include + +typedef s32 IOSError; +typedef s32 IOSFd; + +#endif // PRIVATE_IOS_TYPES_H diff --git a/libs/RVL_SDK/include/private/ipc.h b/libs/RVL_SDK/include/private/ipc.h new file mode 100644 index 00000000..f9886a91 --- /dev/null +++ b/libs/RVL_SDK/include/private/ipc.h @@ -0,0 +1,8 @@ +#ifndef PRIVATE_IPC_H +#define PRIVATE_IPC_H + +#include + +#include + +#endif // PRIVATE_IPC_H diff --git a/libs/RVL_SDK/include/private/ipc/clt.h b/libs/RVL_SDK/include/private/ipc/clt.h new file mode 100644 index 00000000..434b8686 --- /dev/null +++ b/libs/RVL_SDK/include/private/ipc/clt.h @@ -0,0 +1,11 @@ +#ifndef PRIVATE_IPC_CLT_H +#define PRIVATE_IPC_CLT_H + +#include + +#include +#include + +void IPCCltInit(); + +#endif // PRIVATE_IPC_CLT_H diff --git a/libs/RVL_SDK/include/private/os.h b/libs/RVL_SDK/include/private/os.h new file mode 100644 index 00000000..ed064a7e --- /dev/null +++ b/libs/RVL_SDK/include/private/os.h @@ -0,0 +1,92 @@ +#ifndef PRIVATE_OS_H +#define PRIVATE_OS_H + +#include + +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +/* Global declarations */ + +extern BOOL __OSInIPL; +extern BOOL __OSInReboot; +extern BOOL __OSInNandBoot; +extern BOOL __OSIsGcam; + +extern OSExecParams __OSRebootParams; + +/* Global declarations in ram */ + +volatile OSContext* __OSCurrentContext ADDRESS(OS_BASE_CACHED | OS_ADDR_CURRENT_CONTEXT); +volatile OSContext* __OSFPUContext ADDRESS(OS_BASE_CACHED | OS_ADDR_CURRENT_FPU_CONTEXT); + +OSThreadQueue __OSActiveThreadQueue ADDRESS(OS_BASE_CACHED | OS_ADDR_ACTIVE_THREAD_QUEUE); +OSThread* __OSCurrentThread ADDRESS(OS_BASE_CACHED | OS_ADDR_CURRENT_THREAD); + +vu16 __OSDeviceCode ADDRESS(OS_BASE_CACHED | OS_ADDR_DEVICE_CODE); + +OSModuleQueue __OSModuleInfoList ADDRESS(OS_BASE_CACHED | OS_ADDR_LINK_MODULE_LIST); +const void* __OSStringTable ADDRESS(OS_BASE_CACHED | OS_ADDR_LINK_STRING_TABLE); + +OSExecParams* __OSExecParamsAddr ADDRESS(OS_BASE_CACHED | OS_ADDR_LAUNCH_EXEC_PARAMS); + +OSTime __OSSystemTime ADDRESS(OS_BASE_CACHED | OS_ADDR_SYSTEM_TIME); + +/* Revision get */ + +u32 __OSGetHollywoodRev(); + +typedef struct OSIOSRev { + u8 reserved; // 0x00 + u8 major; // 0x01 + u8 minor; // 0x02 + u8 micro; // 0x03 + u8 month; // 0x04 + u8 date; // 0x05 + u16 year; // 0x06 +} OSIOSRev; + +void __OSGetIOSRev(OSIOSRev* iosRev); + +/* Initialize subsystems */ + +void OSExceptionInit(); + +void __OSInitMemoryProtection(); + +void __OSInitAlarm(); +void __OSCacheInit(); +void __OSContextInit(); +void __OSInterruptInit(); +void __OSInitIPCBuffer(); +void __OSModuleInit(); +void __OSThreadInit(); +void __OSInitNet(); +void __OSInitPlayTime(); + +u32 __OSGetDIConfig(); + +/* Misc */ + +BOOL __OSSetVIForceDimming(BOOL enable, u32 shiftY, u32 shiftX); + +#endif // PRIVATE_OS_H diff --git a/libs/RVL_SDK/include/private/os/OSAudioSystem.h b/libs/RVL_SDK/include/private/os/OSAudioSystem.h new file mode 100644 index 00000000..61863686 --- /dev/null +++ b/libs/RVL_SDK/include/private/os/OSAudioSystem.h @@ -0,0 +1,17 @@ +#ifndef PRIVATE_OS_AUDIO_SYSTEM_H +#define PRIVATE_OS_AUDIO_SYSTEM_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +void __OSInitAudioSystem(); +void __OSStopAudioSystem(); + +#ifdef __cplusplus +} +#endif + +#endif // PRIVATE_OS_AUDIO_SYSTEM_H diff --git a/libs/RVL_SDK/include/private/os/OSBootInfo2.h b/libs/RVL_SDK/include/private/os/OSBootInfo2.h new file mode 100644 index 00000000..d8b608c9 --- /dev/null +++ b/libs/RVL_SDK/include/private/os/OSBootInfo2.h @@ -0,0 +1,33 @@ +#ifndef PRIVATE_OS_BOOT_INFO_2_H +#define PRIVATE_OS_BOOT_INFO_2_H + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define BI2_SIZE 0x2000 + +#define BI2_ADDR OS_ADDR_BOOT_INFO_2 + +#define BI2_OFFSET_DBMONITORSIZE 0x0000 +#define BI2_OFFSET_SIMULATEDMEM1SIZE 0x0004 +#define BI2_OFFSET_ARGOFFSET 0x0008 +#define BI2_OFFSET_DEBUGFLAG 0x000C +#define BI2_OFFSET_TRACKLOCATION 0x0010 +#define BI2_OFFSET_TRACKSIZE 0x0014 +#define BI2_OFFSET_COUNTRYCODE 0x0018 +#define BI2_OFFSET_PADSPEC 0x0024 +#define BI2_OFFSET_CODELIMIT 0x0028 +#define BI2_OFFSET_SIMULATEDMEM2SIZE 0x002C +#define BI2_OFFSET_NANDBOOT 0x0FE0 + +#define BI2_OFFSET_ARGS BI2_SIZE + +#ifdef __cplusplus +} +#endif + +#endif // PRIVATE_OS_BOOT_INFO_2_H diff --git a/libs/RVL_SDK/include/private/os/OSError.h b/libs/RVL_SDK/include/private/os/OSError.h new file mode 100644 index 00000000..4dfe244f --- /dev/null +++ b/libs/RVL_SDK/include/private/os/OSError.h @@ -0,0 +1,27 @@ +#ifndef PRIVATE_OS_ERROR_H +#define PRIVATE_OS_ERROR_H + +#include + +#include + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +extern OSErrorHandler __OSErrorTable[OS_EXCEPTION_MAX]; +extern u32 __OSFpscrEnableBits; + +#define FPSCR_ENABLE (FPSCR_VE | FPSCR_OE | FPSCR_UE | FPSCR_ZE | FPSCR_XE) + +#define OS_FPSCR_ENABLE (__OSFpscrEnableBits & FPSCR_ENABLE) + +void __OSUnhandledException(__OSException exception, OSContext* context, u32 dsisr, u32 dar); + +#ifdef __cplusplus +} +#endif + +#endif // PRIVATE_OS_ERROR_H diff --git a/libs/RVL_SDK/include/private/os/OSExec.h b/libs/RVL_SDK/include/private/os/OSExec.h new file mode 100644 index 00000000..80e47818 --- /dev/null +++ b/libs/RVL_SDK/include/private/os/OSExec.h @@ -0,0 +1,48 @@ +#ifndef PRIVATE_OS_EXEC_H +#define PRIVATE_OS_EXEC_H + +#include + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct OSExecParams { + BOOL valid; // 0x00 + + u32 restartCode; // 0x04 + u32 bootDol; // 0x08 + + void* regionStart; // 0x0C + void* regionEnd; // 0x10 + + BOOL argsUseDefault; // 0x14 + void* argsAddr; // 0x18 +} OSExecParams; + +#define EXEC_WORK_ARENA_LO ((void*)0x81280000) +#define EXEC_WORK_ARENA_HI ((void*)0x812F0000) + +#define EXEC_SYSTEM_MENU_ID 0x0000000100000002 + +void __OSGetExecParams(OSExecParams *params); +BOOL __OSCheckCompanyCode(ESTitleId titleId, BOOL diskApp); +BOOL __OSCheckTmdCountryCode(ESTmdView* tmd); + +int __OSGetValidTicketIndex(ESTicketView *ticketViewList, u32 numTickets); + +void __OSLaunchMenu(); +void __OSLaunchTitle(ESTitleId titleId); + +void __OSLaunchTitlevForSystem(ESTitleId titleId, u32 launchCode, const char** argv); +void __OSLaunchTitlelForSystem(ESTitleId titleId, u32 launchCode, const char* arg0, ...); + +void __OSReturnToMenul(u32 launchArg, const char *arg0, ...); + +#ifdef __cplusplus +} +#endif + +#endif // PRIVATE_OS_EXEC_H diff --git a/libs/RVL_SDK/include/private/os/OSInterrupt.h b/libs/RVL_SDK/include/private/os/OSInterrupt.h new file mode 100644 index 00000000..4324d9e3 --- /dev/null +++ b/libs/RVL_SDK/include/private/os/OSInterrupt.h @@ -0,0 +1,174 @@ + + +#ifndef PRIVATE_OS_INTERRUPT_H +#define PRIVATE_OS_INTERRUPT_H + +#include + +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +enum { + __OS_INTERRUPT_MEM_0 = 0, + __OS_INTERRUPT_MEM_1, + __OS_INTERRUPT_MEM_2, + __OS_INTERRUPT_MEM_3, + __OS_INTERRUPT_MEM_ADDRESS, + __OS_INTERRUPT_DSP_AI, + __OS_INTERRUPT_DSP_ARAM, + __OS_INTERRUPT_DSP_DSP, + __OS_INTERRUPT_AI_AI, + __OS_INTERRUPT_EXI_0_EXI, + __OS_INTERRUPT_EXI_0_TC, + __OS_INTERRUPT_EXI_0_EXT, + __OS_INTERRUPT_EXI_1_EXI, + __OS_INTERRUPT_EXI_1_TC, + __OS_INTERRUPT_EXI_1_EXT, + __OS_INTERRUPT_EXI_2_EXI, + __OS_INTERRUPT_EXI_2_TC, + __OS_INTERRUPT_PI_CP, + __OS_INTERRUPT_PI_PE_TOKEN, + __OS_INTERRUPT_PI_PE_FINISH, + __OS_INTERRUPT_PI_SI, + __OS_INTERRUPT_PI_DI, + __OS_INTERRUPT_PI_RSW, + __OS_INTERRUPT_PI_ERROR, + __OS_INTERRUPT_PI_VI, + __OS_INTERRUPT_PI_DEBUG, + __OS_INTERRUPT_PI_HSP, + __OS_INTERRUPT_PI_ACR, + + __OS_INTERRUPT_MAX = 32 +}; + +#define OS_INTERRUPTMASK(intr) (1 << (31 - intr)) + +/* Memory Interface */ + +#define OS_INTERRUPTMASK_MEM_0 OS_INTERRUPTMASK(__OS_INTERRUPT_MEM_0) +#define OS_INTERRUPTMASK_MEM_1 OS_INTERRUPTMASK(__OS_INTERRUPT_MEM_1) +#define OS_INTERRUPTMASK_MEM_2 OS_INTERRUPTMASK(__OS_INTERRUPT_MEM_2) +#define OS_INTERRUPTMASK_MEM_3 OS_INTERRUPTMASK(__OS_INTERRUPT_MEM_3) +#define OS_INTERRUPTMASK_MEM_ADDRESS OS_INTERRUPTMASK(__OS_INTERRUPT_MEM_ADDRESS) + +#define OS_INTERRUPTMASK_MEM_RESET (OS_INTERRUPTMASK_MEM_0 | \ + OS_INTERRUPTMASK_MEM_1 | \ + OS_INTERRUPTMASK_MEM_2 | \ + OS_INTERRUPTMASK_MEM_3) +#define OS_INTERRUPTMASK_MEM (OS_INTERRUPTMASK_MEM_0 | \ + OS_INTERRUPTMASK_MEM_1 | \ + OS_INTERRUPTMASK_MEM_2 | \ + OS_INTERRUPTMASK_MEM_3 | \ + OS_INTERRUPTMASK_MEM_ADDRESS) + +/* DSP */ + +#define OS_INTERRUPTMASK_DSP_AI OS_INTERRUPTMASK(__OS_INTERRUPT_DSP_AI) +#define OS_INTERRUPTMASK_DSP_ARAM OS_INTERRUPTMASK(__OS_INTERRUPT_DSP_ARAM) +#define OS_INTERRUPTMASK_DSP_DSP OS_INTERRUPTMASK(__OS_INTERRUPT_DSP_DSP) + +#define OS_INTERRUPTMASK_DSP (OS_INTERRUPTMASK_DSP_AI | \ + OS_INTERRUPTMASK_DSP_ARAM | \ + OS_INTERRUPTMASK_DSP_DSP) + +/* Audio Interface */ + +#define OS_INTERRUPTMASK_AI_AI OS_INTERRUPTMASK(__OS_INTERRUPT_AI_AI) + +#define OS_INTERRUPTMASK_AI (OS_INTERRUPTMASK_AI_AI) + +/* External interface */ + +#define OS_INTERRUPTMASK_EXI_0_EXI OS_INTERRUPTMASK(__OS_INTERRUPT_EXI_0_EXI) +#define OS_INTERRUPTMASK_EXI_0_TC OS_INTERRUPTMASK(__OS_INTERRUPT_EXI_0_TC) +#define OS_INTERRUPTMASK_EXI_0_EXT OS_INTERRUPTMASK(__OS_INTERRUPT_EXI_0_EXT) + +#define OS_INTERRUPTMASK_EXI_0 (OS_INTERRUPTMASK_EXI_0_EXI | \ + OS_INTERRUPTMASK_EXI_0_TC | \ + OS_INTERRUPTMASK_EXI_0_EXT) + +#define OS_INTERRUPTMASK_EXI_1_EXI OS_INTERRUPTMASK(__OS_INTERRUPT_EXI_1_EXI) +#define OS_INTERRUPTMASK_EXI_1_TC OS_INTERRUPTMASK(__OS_INTERRUPT_EXI_1_TC) +#define OS_INTERRUPTMASK_EXI_1_EXT OS_INTERRUPTMASK(__OS_INTERRUPT_EXI_1_EXT) + +#define OS_INTERRUPTMASK_EXI_1 (OS_INTERRUPTMASK_EXI_1_EXI | \ + OS_INTERRUPTMASK_EXI_1_TC | \ + OS_INTERRUPTMASK_EXI_1_EXT) + +#define OS_INTERRUPTMASK_EXI_2_EXI OS_INTERRUPTMASK(__OS_INTERRUPT_EXI_2_EXI) +#define OS_INTERRUPTMASK_EXI_2_TC OS_INTERRUPTMASK(__OS_INTERRUPT_EXI_2_TC) +#define OS_INTERRUPTMASK_EXI_2 (OS_INTERRUPTMASK_EXI_2_EXI | \ + OS_INTERRUPTMASK_EXI_2_TC) + +#define OS_INTERRUPTMASK_EXI (OS_INTERRUPTMASK_EXI_0_EXI | \ + OS_INTERRUPTMASK_EXI_0_TC | \ + OS_INTERRUPTMASK_EXI_0_EXT | \ + OS_INTERRUPTMASK_EXI_1_EXI | \ + OS_INTERRUPTMASK_EXI_1_TC | \ + OS_INTERRUPTMASK_EXI_1_EXT | \ + OS_INTERRUPTMASK_EXI_2_EXI | \ + OS_INTERRUPTMASK_EXI_2_TC) + +/* Processor interface */ + +#define OS_INTERRUPTMASK_PI_PE_TOKEN OS_INTERRUPTMASK(__OS_INTERRUPT_PI_PE_TOKEN) +#define OS_INTERRUPTMASK_PI_PE_FINISH OS_INTERRUPTMASK(__OS_INTERRUPT_PI_PE_FINISH) + +#define OS_INTERRUPTMASK_PI_PE (OS_INTERRUPTMASK_PI_PE_TOKEN | \ + OS_INTERRUPTMASK_PI_PE_FINISH) + +#define OS_INTERRUPTMASK_PI_CP OS_INTERRUPTMASK(__OS_INTERRUPT_PI_CP) +#define OS_INTERRUPTMASK_PI_SI OS_INTERRUPTMASK(__OS_INTERRUPT_PI_SI) +#define OS_INTERRUPTMASK_PI_DI OS_INTERRUPTMASK(__OS_INTERRUPT_PI_DI) +#define OS_INTERRUPTMASK_PI_RSW OS_INTERRUPTMASK(__OS_INTERRUPT_PI_RSW) +#define OS_INTERRUPTMASK_PI_ERROR OS_INTERRUPTMASK(__OS_INTERRUPT_PI_ERROR) +#define OS_INTERRUPTMASK_PI_VI OS_INTERRUPTMASK(__OS_INTERRUPT_PI_VI) +#define OS_INTERRUPTMASK_PI_DEBUG OS_INTERRUPTMASK(__OS_INTERRUPT_PI_DEBUG) +#define OS_INTERRUPTMASK_PI_HSP OS_INTERRUPTMASK(__OS_INTERRUPT_PI_HSP) +#define OS_INTERRUPTMASK_PI_ACR OS_INTERRUPTMASK(__OS_INTERRUPT_PI_ACR) + +#define OS_INTERRUPTMASK_PI (OS_INTERRUPTMASK_PI_CP | \ + OS_INTERRUPTMASK_PI_SI | \ + OS_INTERRUPTMASK_PI_DI | \ + OS_INTERRUPTMASK_PI_RSW | \ + OS_INTERRUPTMASK_PI_ERROR | \ + OS_INTERRUPTMASK_PI_VI | \ + OS_INTERRUPTMASK_PI_PE_TOKEN | \ + OS_INTERRUPTMASK_PI_PE_FINISH | \ + OS_INTERRUPTMASK_PI_DEBUG | \ + OS_INTERRUPTMASK_PI_HSP | \ + OS_INTERRUPTMASK_PI_ACR) +#define OS_INTERRUPTMASK_INVALID 0xFFFFFFFF + +typedef u32 OSInterruptMask; +typedef s16 __OSInterrupt; + +extern volatile OSTime __OSLastInterruptTime; +extern volatile __OSInterrupt __OSLastInterrupt; +extern volatile OSInterruptMask __OSLastInterruptSrr0; + +typedef void (*__OSInterruptHandler)(__OSInterrupt interrupt, OSContext* context); + +__OSInterruptHandler __OSSetInterruptHandler(__OSInterrupt interrupt, __OSInterruptHandler handler); + +__OSInterruptHandler __OSGetInterruptHandler(__OSInterrupt interrupt); + +void __OSDispatchInterrupt(__OSException exception, OSContext* context); + +OSInterruptMask __OSMaskInterrupts(OSInterruptMask mask); +OSInterruptMask __OSUnmaskInterrupts(OSInterruptMask mask); + +extern void __RAS_OSDisableInterrupts_begin(); +extern void __RAS_OSDisableInterrupts_end(); + +#ifdef __cplusplus +} +#endif + +#endif // PRIVATE_OS_INTERRUPT_H diff --git a/libs/RVL_SDK/include/private/os/OSIpc.h b/libs/RVL_SDK/include/private/os/OSIpc.h new file mode 100644 index 00000000..931b4bb2 --- /dev/null +++ b/libs/RVL_SDK/include/private/os/OSIpc.h @@ -0,0 +1,17 @@ +#ifndef PRIVATE_OS_IPC_H +#define PRIVATE_OS_IPC_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +void* __OSGetIPCBufferHi(); +void* __OSGetIPCBufferLo(); + +#ifdef __cplusplus +} +#endif + +#endif // PRIVATE_OS_IPC_H diff --git a/libs/RVL_SDK/include/private/os/OSMutex.h b/libs/RVL_SDK/include/private/os/OSMutex.h new file mode 100644 index 00000000..7d704418 --- /dev/null +++ b/libs/RVL_SDK/include/private/os/OSMutex.h @@ -0,0 +1,20 @@ +#ifndef PRIVATE_OS_MUTEX_H +#define PRIVATE_OS_MUTEX_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +void __OSUnlockAllMutex(OSThread* thread); + +BOOL __OSCheckDeadLock(OSThread* thread); +BOOL __OSCheckMutex(OSMutex* mutex); +BOOL __OSCheckMutexes(OSThread* thread); + +#ifdef __cplusplus +} +#endif + +#endif // PRIVATE_OS_MUTEX_H diff --git a/libs/RVL_SDK/include/private/os/OSNandbootInfo.h b/libs/RVL_SDK/include/private/os/OSNandbootInfo.h new file mode 100644 index 00000000..97cbf34a --- /dev/null +++ b/libs/RVL_SDK/include/private/os/OSNandbootInfo.h @@ -0,0 +1,43 @@ +#ifndef PRIVATE_OS_NANDBOOT_INFO_H +#define PRIVATE_OS_NANDBOOT_INFO_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct OSNandbootInfo { + u32 checkSum; // 0x00 + u32 argsOff; // 0x04 + + u8 padding_0x08[2]; + + u8 prevAppType; // 0x0A + u8 returnValue; // 0x0B + + u32 argValue; // 0x0C + + u8 padding_0x10[8]; + + u64 prevTitleId; // 0x18 + + u8 args[0x1000]; // 0x20 +} OSNandbootInfo; + +enum { + OS_NANDBOOT_RETURN_GAME = 2, + OS_NANDBOOT_RETURN_MENU = 4, +}; + +#define OS_NANDBOOT_CHECKSUM_SIZE (sizeof(OSNandbootInfo) - 4) + +BOOL __OSCreateNandbootInfo(); +BOOL __OSWriteNandbootInfo(OSNandbootInfo* info); +BOOL __OSReadNandbootInfo(OSNandbootInfo *info); + +#ifdef __cplusplus +} +#endif + +#endif // PRIVATE_OS_NANDBOOT_INFO_H diff --git a/libs/RVL_SDK/include/private/os/OSPlayRecord.h b/libs/RVL_SDK/include/private/os/OSPlayRecord.h new file mode 100644 index 00000000..6cdedae1 --- /dev/null +++ b/libs/RVL_SDK/include/private/os/OSPlayRecord.h @@ -0,0 +1,53 @@ +#ifndef PRIVATE_OS_PLAY_RECORD_H +#define PRIVATE_OS_PLAY_RECORD_H + +#include + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define OS_RECORD_NAND_PATH "/title/00000001/00000002/data/play_rec.dat" + +#define OS_RECORD_CHECKSUM_SIZE (sizeof(OSPlayRecord) - 4) + +#define OS_RECORD_TITLE_LENGTH 21 + +typedef struct OSPlayRecord { + u32 checkSum; // 0x00 + wchar_t titleName[2][OS_RECORD_TITLE_LENGTH]; // 0x04 + + s64 playStartTime; // 0x58 + s64 playTime; // 0x60 + + char gameCode[4]; // 0x68 + char companyCode[2]; // 0x6C + char padding[0x12]; // 0x6E +} OSPlayRecord; + +enum { + OS_RECORD_STATE_STARTED = 0, + OS_RECORD_STATE_OPEN, + OS_RECORD_STATE_READ, + OS_RECORD_STATE_SEEK, + OS_RECORD_STATE_SET_ALARM, + OS_RECORD_STATE_WRITE, + OS_RECORD_STATE_CLOSE, + OS_RECORD_STATE_CLOSED, + OS_RECORD_STATE_TIMEOUT, + OS_RECORD_STATE_STOPPED +}; + +void __OSCreatePlayRecord(wchar_t* titleName, char* gameCode, char* companyCode); +BOOL __OSReadPlayRecord(OSPlayRecord *record); + +void __OSStartPlayRecord(); +void __OSStopPlayRecord(); + +#ifdef __cplusplus +} +#endif + +#endif // PRIVATE_OS_PLAY_RECORD_H diff --git a/libs/RVL_SDK/include/private/os/OSPlayTime.h b/libs/RVL_SDK/include/private/os/OSPlayTime.h new file mode 100644 index 00000000..41a6ddb3 --- /dev/null +++ b/libs/RVL_SDK/include/private/os/OSPlayTime.h @@ -0,0 +1,26 @@ +#ifndef PRIVATE_OS_PLAYTIME_H +#define PRIVATE_OS_PLAYTIME_H + +#include + +#include + +#include + +typedef enum OSPlayTimeType { + OS_PLAYTIME_PERMANENT = 0, + OS_PLAYTIME_TIME_LIMIT = 1, + OS_PLAYTIME_LAUNCH_LIMIT = 4, + OS_PLAYTIME_UNKNOWN = 9, +} OSPlayTimeType; + +typedef void (*OSPlayTimeCallbackFunc)(); + +BOOL __OSWriteExpiredFlag(); +BOOL __OSWriteExpiredFlagIfSet(); + +s32 __OSPlayTimeGetConsumption(ESTicketView *ticket, ESLpEntry *lpEntry, u32 *entries); + +s32 __OSGetPlayTime(ESTicketView* ticket, OSPlayTimeType* type, u32* arg); + +#endif // PRIVATE_OS_PLAYTIME_H diff --git a/libs/RVL_SDK/include/private/os/OSReset.h b/libs/RVL_SDK/include/private/os/OSReset.h new file mode 100644 index 00000000..30f78ca2 --- /dev/null +++ b/libs/RVL_SDK/include/private/os/OSReset.h @@ -0,0 +1,33 @@ +#ifndef PRIVATE_OS_RESET_H +#define PRIVATE_OS_RESET_H + +#include + +enum { + OS_SHUTDOWN_STANDBY = 2, /* or idle */ + OS_SHUTDOWN_RESTART = 4, + OS_SHUTDOWN_RETURN_MENU = 5, + OS_SHUTDOWN_LAUNCH = 6, +}; + +enum { + OS_SETTING_NONE = 0, + OS_SETTING_CALENDAR, + OS_SETTING_DISPLAY, + OS_SETTING_SOUND, + OS_SETTING_PARENTAL_CONTROL, + OS_SETTING_INTERNET, + OS_SETTING_WIICONNECT24, + OS_SETTING_UPDATE, +}; + +BOOL __OSCallShutdownFunctions(BOOL final, u32 event); + +void __OSShutdownDevices(u32 id); + +void __OSReturnToMenuForError(); +void __OSHotResetForError(); + +u8 __OSGetDiscState(u8 prev); + +#endif // PRIVATE_OS_RESET_H diff --git a/libs/RVL_SDK/include/private/os/OSRtc.h b/libs/RVL_SDK/include/private/os/OSRtc.h new file mode 100644 index 00000000..ca130e20 --- /dev/null +++ b/libs/RVL_SDK/include/private/os/OSRtc.h @@ -0,0 +1,21 @@ +#ifndef PRIVATE_OS_RTC_H +#define PRIVATE_OS_RTC_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +BOOL __OSSetRTC(u32 rtc); +BOOL __OSGetRTC(u32* rtc); + +BOOL __OSGetRTCFlags(u32* flags); + +BOOL __OSClearRTCFlags(); + +#ifdef __cplusplus +} +#endif + +#endif // PRIVATE_OS_RTC_H diff --git a/libs/RVL_SDK/include/private/os/OSSram.h b/libs/RVL_SDK/include/private/os/OSSram.h new file mode 100644 index 00000000..4f7ef4e2 --- /dev/null +++ b/libs/RVL_SDK/include/private/os/OSSram.h @@ -0,0 +1,60 @@ +#ifndef PRIVATE_OS_SRAM_H +#define PRIVATE_OS_SRAM_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct SramControl { + u8 sram[64]; + u32 offset; + BOOL enabled; + BOOL locked; + int sync; + void (*callback)(); +} SramControl; + +typedef struct OSSram { + u16 checkSum; + u16 checkSumInv; + u32 ead0; + u32 ead1; + u32 counterBias; + s8 displayOffsetH; + u8 ntd; + u8 language; + u8 flags; +} OSSram; + +typedef struct OSSramEx { + u8 flashID[2][12]; + u32 wirelessKeyboardID; + u16 wirelessPadID[4]; + u8 dvdErrorCode; + u8 reserved; + u8 flashIDCheckSum[2]; + u16 gbs; + u8 _pad1[2]; +} OSSramEx; + +void __OSInitSram(); + +OSSram* __OSLockSram(); +OSSramEx* __OSLockSramEx(); + +BOOL __OSUnlockSram(int commit); +BOOL __OSUnlockSramEx(int commit); + +BOOL __OSSyncSram(); + +BOOL __OSCheckSram(); + +BOOL __OSReadROM(void * buffer, s32 length, s32 offset); + +#ifdef __cplusplus +} +#endif + +#endif // PRIVATE_OS_SRAM_H diff --git a/libs/RVL_SDK/include/private/os/OSStateFlags.h b/libs/RVL_SDK/include/private/os/OSStateFlags.h new file mode 100644 index 00000000..8021db08 --- /dev/null +++ b/libs/RVL_SDK/include/private/os/OSStateFlags.h @@ -0,0 +1,23 @@ +#ifndef PRIVATE_OS_STATE_FLAGS_H +#define PRIVATE_OS_STATE_FLAGS_H + +#include + +typedef struct OSStateFlags { + u32 checkSum; + u8 lastBootApp; + u8 lastShutdown; + u8 lastDiscState; + u8 menuMode; + u8 padding[24]; +} OSStateFlags; + +#define OS_STATE_FLAGS_NAND_PATH "/title/00000001/00000002/data/state.dat" + +#define OS_STATE_FLAGS_CHECKSUM_SIZE (sizeof(OSStateFlags) - 4) + +BOOL __OSCreateStateFlags(); +BOOL __OSWriteStateFlags(OSStateFlags* flags); +BOOL __OSReadStateFlags(OSStateFlags* flags); + +#endif // PRIVATE_OS_STATE_FLAGS_H diff --git a/libs/RVL_SDK/include/private/os/OSStateTM.h b/libs/RVL_SDK/include/private/os/OSStateTM.h new file mode 100644 index 00000000..b7cc5e45 --- /dev/null +++ b/libs/RVL_SDK/include/private/os/OSStateTM.h @@ -0,0 +1,32 @@ +#ifndef PRIVATE_OS_STATE_TM_H +#define PRIVATE_OS_STATE_TM_H + +#include + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +void __OSRegisterStateEvent(); +BOOL __OSGetResetButtonStateRaw(); +IOSError __OSUnRegisterStateEvent(); + +BOOL __OSInitSTM(); + +void __OSHotReset(); + +void __OSShutdownToSBY(); +void __OSShutdownToIDL(); +BOOL __OSSetVIForceDimming(BOOL enable, u32 shiftY, u32 shiftX); + +s32 __OSSetIdleLEDMode(u32 mode); + +s32 __OSUnRegisterStateEvent(); + +#ifdef __cplusplus +} +#endif + +#endif // PRIVATE_OS_STATE_TM_H diff --git a/libs/RVL_SDK/include/private/os/OSSync.h b/libs/RVL_SDK/include/private/os/OSSync.h new file mode 100644 index 00000000..5a3eabf7 --- /dev/null +++ b/libs/RVL_SDK/include/private/os/OSSync.h @@ -0,0 +1,10 @@ +#ifndef PRIVATE_OS_SYNC_H +#define PRIVATE_OS_SYNC_H + +#include + +extern void __OSSystemCallVectorStart(); +extern void __OSSystemCallVectorEnd(); +extern void __OSInitSystemCall(); + +#endif // PRIVATE_OS_SYNC_H diff --git a/libs/RVL_SDK/include/private/os/OSThread.h b/libs/RVL_SDK/include/private/os/OSThread.h new file mode 100644 index 00000000..63376c6b --- /dev/null +++ b/libs/RVL_SDK/include/private/os/OSThread.h @@ -0,0 +1,15 @@ +#ifndef PRIVATE_OS_THREAD_H +#define PRIVATE_OS_THREAD_H + +#include + +void __OSReschedule(); + +OSPriority __OSGetEffectivePriority(OSThread *thread); +void __OSPromoteThread(OSThread *thread, OSPriority priority); + +BOOL __OSIsThreadActive(OSThread* thread); + +void __OSSwitchThread(OSThread* thread); + +#endif // PRIVATE_OS_THREAD_H diff --git a/libs/RVL_SDK/include/private/os/OSTime.h b/libs/RVL_SDK/include/private/os/OSTime.h new file mode 100644 index 00000000..884f8f44 --- /dev/null +++ b/libs/RVL_SDK/include/private/os/OSTime.h @@ -0,0 +1,18 @@ +#ifndef PRIVATE_OS_TIME_H +#define PRIVATE_OS_TIME_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +void __OSSetTime(OSTime time); +OSTime __OSGetSystemTime(); +OSTime __OSTimeToSystemTime(); + +#ifdef __cplusplus +} +#endif + +#endif // PRIVATE_OS_TIME_H diff --git a/libs/RVL_SDK/include/private/pad.h b/libs/RVL_SDK/include/private/pad.h new file mode 100644 index 00000000..93582b1a --- /dev/null +++ b/libs/RVL_SDK/include/private/pad.h @@ -0,0 +1,8 @@ +#ifndef PRIVATE_PAD_H +#define PRIVATE_PAD_H + +#include + +BOOL __PADDisableRecalibration(BOOL disableCal); + +#endif // PRIVATE_PAD_H diff --git a/libs/RVL_SDK/include/private/si.h b/libs/RVL_SDK/include/private/si.h new file mode 100644 index 00000000..cba34276 --- /dev/null +++ b/libs/RVL_SDK/include/private/si.h @@ -0,0 +1,14 @@ +#ifndef PRIVATE_SI_H +#define PRIVATE_SI_H + +#ifdef __cplusplus +extern "C" { +#endif + +void SIInit(); + +#ifdef __cplusplus +} +#endif + +#endif // PRIVATE_SI_H diff --git a/libs/RVL_SDK/include/private/vi.h b/libs/RVL_SDK/include/private/vi.h new file mode 100644 index 00000000..c109f2d6 --- /dev/null +++ b/libs/RVL_SDK/include/private/vi.h @@ -0,0 +1,8 @@ +#ifndef PRIVATE_VI_H +#define PRIVATE_VI_H + +#include + +void __VISetRGBModeImm(); + +#endif // PRIVATE_VI_H diff --git a/libs/RVL_SDK/include/revolution/ai.h b/libs/RVL_SDK/include/revolution/ai.h new file mode 100644 index 00000000..2ac4196f --- /dev/null +++ b/libs/RVL_SDK/include/revolution/ai.h @@ -0,0 +1,14 @@ +#ifndef REVOLUTION_AI_H +#define REVOLUTION_AI_H + +#include + +typedef void (*AIDCallback)(); + +AIDCallback AIRegisterDMACallback(AIDCallback callback); + +void AIInitDMA(u32 startAddr, u32 length); +u32 AIGetDMALength(); +u32 AIGetDMAStartAddr(); + +#endif // REVOLUTION_AI_H diff --git a/libs/RVL_SDK/include/revolution/arc.h b/libs/RVL_SDK/include/revolution/arc.h index 8702013b..5f225122 100644 --- a/libs/RVL_SDK/include/revolution/arc.h +++ b/libs/RVL_SDK/include/revolution/arc.h @@ -50,7 +50,7 @@ typedef struct { BOOL ARCInitHandle(void* buffer, ARCHandle* pHandle); BOOL ARCOpen(ARCHandle* handle, const char* path, ARCFileInfo* info); -BOOL ARCFastOpen(ARCHandle* handle, s32 entrynum, ARCFileInfo* info); +BOOL ARCFastOpen(ARCHandle* handle, s32 entryNum, ARCFileInfo* info); s32 ARCConvertPathToEntrynum(ARCHandle* handle, const char* path); diff --git a/libs/RVL_SDK/include/revolution/ax/AXAux.h b/libs/RVL_SDK/include/revolution/ax/AXAux.h index 8eb0eb26..50a66fc3 100644 --- a/libs/RVL_SDK/include/revolution/ax/AXAux.h +++ b/libs/RVL_SDK/include/revolution/ax/AXAux.h @@ -16,22 +16,22 @@ extern "C" { * Stereo: Left, Right, Surround * DPL2: Left, Right, Left Surround, Right Surround */ -typedef enum { +enum { AX_STEREO_L, AX_STEREO_R, AX_STEREO_S, AX_STEREO_MAX -} AXStereoChannel; +}; -typedef enum { +enum { AX_DPL2_L, AX_DPL2_R, AX_DPL2_LS, AX_DPL2_RS, AX_DPL2_MAX -} AXDPL2Channel; +}; typedef void (*AXAuxCallback)(void* chans, void* context); @@ -40,5 +40,3 @@ typedef void (*AXAuxCallback)(void* chans, void* context); #endif #endif // REVOLUTION_AX_AUX_H - - diff --git a/libs/RVL_SDK/include/revolution/ax/AXPB.h b/libs/RVL_SDK/include/revolution/ax/AXPB.h index cab9b6fe..d1387b3d 100644 --- a/libs/RVL_SDK/include/revolution/ax/AXPB.h +++ b/libs/RVL_SDK/include/revolution/ax/AXPB.h @@ -24,31 +24,37 @@ extern "C" { // Amount of nibbles in a frame #define AX_ADPCM_NIBBLES_PER_FRAME (AX_ADPCM_FRAME_SIZE * 2) -typedef enum { AX_VOICE_NORMAL, AX_VOICE_STREAM } AXVOICETYPE; +enum { + AX_VOICE_NORMAL, + AX_VOICE_STREAM +}; -typedef enum { AX_VOICE_STOP, AX_VOICE_RUN } AXVOICESTATE; +enum { + AX_VOICE_STOP, + AX_VOICE_RUN +}; -typedef enum { +enum { AX_SAMPLE_FORMAT_DSP_ADPCM = 0, AX_SAMPLE_FORMAT_PCM_S16 = 10, AX_SAMPLE_FORMAT_PCM_S8 = 25, -} AXSAMPLETYPE; +}; -typedef enum { +enum { AX_PB_LPF_ON = 1, AX_PB_BIQUAD_ON, }; -typedef enum { +enum { AX_SRC_TYPE_NONE, AX_SRC_TYPE_LINEAR, AX_SRC_TYPE_4TAP_8K, AX_SRC_TYPE_4TAP_12K, AX_SRC_TYPE_4TAP_16K, AX_SRC_TYPE_4TAP_AUTO -} AXPBSRCTYPE; +} ; -typedef enum { +enum { AX_MIXER_CTRL_L = (1 << 0), AX_MIXER_CTRL_R = (1 << 1), AX_MIXER_CTRL_DELTA = (1 << 2), @@ -74,7 +80,7 @@ typedef enum { AX_MIXER_CTRL_DELTA_CS = (1 << 30) }; -typedef enum { +enum { AX_MIXER_CTRL_RMT_M0 = (1 << 0), AX_MIXER_CTRL_RMT_DELTA_M0 = (1 << 1), AX_MIXER_CTRL_RMT_A0 = (1 << 2), @@ -220,14 +226,17 @@ typedef struct _AXPBRMTMIX { u16 vDeltaMain0; // 0x02 u16 vAux0; // 0x04 u16 vDeltaAux0; // 0x06 + u16 vMain1; // 0x08 u16 vDeltaMain1; // 0x0A u16 vAux1; // 0x0C u16 vDeltaAux1; // 0x0E + u16 vMain2; // 0x10 u16 vDeltaMain2; // 0x12 u16 vAux2; // 0x14 u16 vDeltaAux2; // 0x16 + u16 vMain3; // 0x18 u16 vDeltaMain3; // 0x1A u16 vAux3; // 0x1C @@ -239,6 +248,7 @@ typedef struct _AXPBRMTDPOP { s16 aMain1; // 0x02 s16 aMain2; // 0x04 s16 aMain3; // 0x06 + s16 aAux0; // 0x08 s16 aAux1; // 0x0A s16 aAux2; // 0x0C @@ -296,5 +306,3 @@ typedef struct _AXPB { #endif #endif // REVOLUTION_AX_PB_H - - diff --git a/libs/RVL_SDK/include/revolution/base/PPCArch.h b/libs/RVL_SDK/include/revolution/base/PPCArch.h index db5f0eb4..15ec3b29 100644 --- a/libs/RVL_SDK/include/revolution/base/PPCArch.h +++ b/libs/RVL_SDK/include/revolution/base/PPCArch.h @@ -7,6 +7,14 @@ extern "C" { #endif +typedef union FpscrUnion { + f64 f; + struct { + u32 fpscr_pad; + u32 fpscr; + } u; +} FpscrUnion; + u32 PPCMfmsr(); void PPCMtmsr(u32 val); @@ -47,293 +55,418 @@ void PPCMthid4(u32 val); } #endif -#define MSR_POW (1 << (31 - 13)) -// Exception little-endian mode -#define MSR_ILE (1 << (31 - 15)) -// External interrupt enable -#define MSR_EE (1 << (31 - 16)) -// Privilege level -#define MSR_PR (1 << (31 - 17)) -// Floating-point available -#define MSR_FP (1 << (31 - 18)) -// Machine check enable -#define MSR_ME (1 << (31 - 19)) -// IEEE floating-point exception mode 0 -#define MSR_FE0 (1 << (31 - 20)) -// Single-step trace enable -#define MSR_SE (1 << (31 - 21)) -// Branch trace enable -#define MSR_BE (1 << (31 - 22)) -// IEEE floating-point exception mode 1 -#define MSR_FE1 (1 << (31 - 23)) -// Exception prefix -#define MSR_IP (1 << (31 - 25)) -// Instruction address translation -#define MSR_IR (1 << (31 - 26)) -// Data address translation -#define MSR_DR (1 << (31 - 27)) -// Performance monitor marked mode -#define MSR_PM (1 << (31 - 29)) -// Indicates whether system reset or machine check exception is recoverable -#define MSR_RI (1 << (31 - 30)) -// Little-endian mode enable -#define MSR_LE (1 << (31 - 31)) +#define CTR 9 +#define XER 1 +#define LR 8 -/** - * HID0 - * Hardware Implementation-Dependent Register 0 - */ -// Enable MCP -#define HID0_EMCP (1 << (31 - 0)) -// Enable/disable 60x bus address and data parity generation -#define HID0_DBP (1 << (31 - 1)) -// Enable/disable 60x bus address parity checking -#define HID0_EBA (1 << (31 - 2)) -// Enable 60x bus data parity checking -#define HID0_EBD (1 << (31 - 3)) -// CLK_OUT enable -#define HID0_BCLK (1 << (31 - 4)) -// CLK_OUT enable -#define HID0_ECLK (1 << (31 - 6)) -// Disable precharge of ARTRY -#define HID0_PAR (1 << (31 - 7)) -// Doze mode enable -#define HID0_DOZE (1 << (31 - 8)) -// Nap mode enable -#define HID0_NAP (1 << (31 - 9)) -// Sleep mode enable -#define HID0_SLEEP (1 << (31 - 10)) -// Dynamic power management enable -#define HID0_DPM (1 << (31 - 11)) -// Not hard reset (software-use only) -#define HID0_NHR (1 << (31 - 15)) -// Instruction cache enable -#define HID0_ICE (1 << (31 - 16)) -// Data cache enable -#define HID0_DCE (1 << (31 - 17)) -// Instruction cache lock -#define HID0_ILOCK (1 << (31 - 18)) -// Data cache lock -#define HID0_DLOCK (1 << (31 - 19)) -// Instruction cache flash invalidate -#define HID0_ICFI (1 << (31 - 20)) -// Data cache flash invalidate -#define HID0_DCFI (1 << (31 - 21)) -// Speculative cache access disable -#define HID0_SPD (1 << (31 - 22)) -// Enable M bit on bus for instruction fetches -#define HID0_IFEM (1 << (31 - 23)) -// Store gathering enable -#define HID0_SGE (1 << (31 - 24)) -// Data cache flush assist -#define HID0_DCFA (1 << (31 - 25)) -// Branch Target Instruction Cache enable -#define HID0_BTIC (1 << (31 - 26)) -// Address broadcast enable -#define HID0_ABE (1 << (31 - 28)) -// Branch history table enable -#define HID0_BHT (1 << (31 - 29)) -// No-op the data cache touch instructions -#define HID0_NOOPTI (1 << (31 - 31)) +#define UPMC1 937 +#define UPMC2 938 +#define UPMC3 941 +#define UPMC4 942 -/** - * HID1 - * Hardware Implementation-Dependent Register 1 - */ -// PLL configuration bits (read-only) -#define HID1_PC0 (1 << (31 - 0)) -#define HID1_PC1 (1 << (31 - 1)) -#define HID1_PC2 (1 << (31 - 2)) -#define HID1_PC3 (1 << (31 - 3)) -#define HID1_PC4 (1 << (31 - 4)) +#define USIA 939 -/** - * L2CR - * L2 Control Register - */ -// L2 enable -#define L2CR_L2E (1 << (31 - 0)) -// L2 Checkstop enable -#define L2CR_L2CE (1 << (31 - 1)) -// L2 data-only -#define L2CR_L2DO (1 << (31 - 9)) -// L2 global invalidate -#define L2CR_L2I (1 << (31 - 10)) -// L2 write-through -#define L2CR_L2WT (1 << (31 - 12)) -// L2 test support -#define L2CR_L2TS (1 << (31 - 13)) -// L2 global invalidate in progress (read only) -#define L2CR_L2IP (1 << (31 - 31)) +#define UMMCR0 936 +#define UMMCR1 940 -/** - * PMC1-PMC4 - * Performance Monitor Counter Registers - */ -// Overflow -#define PMC_OV (1 << (31 - 0)) +#define HID0 1008 +#define HID1 1009 -/** - * FPSCR - * Floating-Point Status and Control Register - */ -// Floating-point exception summary -#define FPSCR_FX (1 << (31 - 0)) -// Floating-point enabled exception summary -#define FPSCR_FEX (1 << (31 - 1)) -// Floating-point invalid operation exception summary -#define FPSCR_VX (1 << (31 - 2)) -// Floating-point overflow exception -#define FPSCR_OX (1 << (31 - 3)) -// Floating-point underflow exception -#define FPSCR_UX (1 << (31 - 4)) -// Floating-point zero divide exception -#define FPSCR_ZX (1 << (31 - 5)) -// Floating-point inexact exception -#define FPSCR_XX (1 << (31 - 6)) -// Floating-point invalid operation exception for SNaN -#define FPSCR_VXSNAN (1 << (31 - 7)) -// Floating-point invalid operation exception for (inf - inf) -#define FPSCR_VXISI (1 << (31 - 8)) -// Floating-point invalid operation exception for (inf / inf) -#define FPSCR_VXIDI (1 << (31 - 9)) -// Floating-point invalid operation exception for (0 / 0) -#define FPSCR_VXZDZ (1 << (31 - 10)) -// Floating-point invalid operation exception for (inf * 0) -#define FPSCR_VXIMZ (1 << (31 - 11)) -// Floating-point invalid operation exception for invalid compare -#define FPSCR_VXVC (1 << (31 - 12)) -// Floating-point fraction rounded -#define FPSCR_FR (1 << (31 - 13)) -// Floating-point fraction inexact -#define FPSCR_FI (1 << (31 - 14)) -// Floating-point result flags -#define FPSCR_FPRF (0b11111 << (31 - 19)) -// Unknown -#define FPSCR_UNK20 (1 << (31 - 20)) -// Floating-point invalid operation exception for software request -#define FPSCR_VXSOFT (1 << (31 - 21)) -// Floating-point invalid operation exception for invalid square root -#define FPSCR_VXSQRT (1 << (31 - 22)) -// Floating-point invalid operation exception for invalid integer convert -#define FPSCR_VXCVI (1 << (31 - 23)) -// Floating-point invalid operation exception enable -#define FPSCR_VE (1 << (31 - 24)) -// IEEE floating-point overflow exception enable -#define FPSCR_OE (1 << (31 - 25)) -// IEEE floating-point underflow exception enable -#define FPSCR_UE (1 << (31 - 26)) -// IEEE floating-point zero divide exception enable -#define FPSCR_ZE (1 << (31 - 27)) -// Floating-point inexact exception enable -#define FPSCR_XE (1 << (31 - 28)) -// Floating-point non-IEEE mode -#define FPSCR_NI (1 << (31 - 29)) -// Floating-point rounding control -#define FPSCR_RN (0b11 << (31 - 31)) +#define PVR 287 -/** - * HID2 - * Hardware Implementation-Dependent Register 2 - */ -// Write pipe enable -#define HID2_WPE (1 << (31 - 1)) -// Paired-single enable -#define HID2_PSE (1 << (31 - 2)) -// Locked cache enable -#define HID2_LCE (1 << (31 - 3)) -// DMA queue length (read only) -#define HID2_DMAQL \ - ((1 << (31 - 4)) | (1 << (31 - 5)) | (1 << (31 - 6)) | (1 << (31 - 7))) -// dcbz_l cache hit error -#define HID2_DCHERR (1 << (31 - 8)) -// DMA access to normal cache error -#define HID2_DNCERR (1 << (31 - 9)) -// DMA cache miss error -#define HID2_DCMERR (1 << (31 - 10)) -// DMA queue overflow error -#define HID2_DQOERR (1 << (31 - 11)) -// dcbz_l cache hit error enable -#define HID2_DCHEE (1 << (31 - 12)) -// DMA access to normal cache error enable -#define HID2_DNCEE (1 << (31 - 13)) -// DMA cache miss error enable -#define HID2_DCMEE (1 << (31 - 14)) -// DMA queue overflow error enable -#define HID2_DQOEE (1 << (31 - 15)) +#define IBAT0U 528 +#define IBAT0L 529 +#define IBAT1U 530 +#define IBAT1L 531 +#define IBAT2U 532 +#define IBAT2L 533 +#define IBAT3U 534 +#define IBAT3L 535 -/** - * WPAR - * Write Pipe Address Register - */ -// High order address bits of the data to be gathered -#define WPAR_GB_ADDR (0x07FFFFFF << (31 - 26)) -// Buffer not empty (read only) -#define WPAR_BNE (1 << (31 - 31)) +#define DBAT0U 536 +#define DBAT0L 537 +#define DBAT1U 538 +#define DBAT1L 539 +#define DBAT2U 540 +#define DBAT2L 541 +#define DBAT3U 542 +#define DBAT3L 543 -/** - * DMAU - * Direct Memory Access Upper Register - */ -// High order address bits of starting address in external memory of the DMA -// transfer -#define DMAU_MEM_ADDR (0x07FFFFFF << (31 - 26)) -// High order bits of transfer length, in cache lines. Low order bits are in -// DMAL -#define DMAU_DMA_LEN_U (0x0000001F << (31 - 31)) +#define SDR1 25 -/** - * DMAL - * Direct Memory Access Lower Register - */ -// High order address bits of starting address in locked cache of the DMA -// transfer -#define DMAL_LC_ADDR (0x07FFFFFF << (31 - 26)) -// DMA load command -#define DMAL_DMA_LD (1 << (31 - 27)) -// Low order bits of transfer length, in cache lines. High order bits are in -// DMAU -#define DMAL_DMA_LEN_L (0b11 << (31 - 29)) -// Trigger bit -#define DMAL_DMA_T (1 << (31 - 30)) -// Flush bit -#define DMAL_DMA_F (1 << (31 - 31)) +#define SPRG0 272 +#define SPRG1 273 +#define SPRG2 274 +#define SPRG3 275 -/** - * PVR - * Processor Version Register - */ -// A 16-bit number that uniquely identifies a particular processor version -#define PVR_VER (0xFFFF0000) -// A 16-bit number that distinguishes between various releases of a particular -// version (that is, an engineering change level) -#define PVR_REV (0x0000FFFF) +#define DAR 19 +#define DSISR 18 -/** - * HID4 - * Hardware Implementation-Dependent Register 4 - */ -// Unknown -#define HID4_H4A (1 << (31 - 0)) -// L2 fetch mode -#define HID4_L2FM (0b11 << (31 - 2)) -// Bus pipeline depth -#define HID4_BPD (0b11 << (31 - 4)) -// L2 second castout buffer enable -#define HID4_BCO (1 << (31 - 5)) -// Secondary BAT enable -#define HID4_SBE (1 << (31 - 6)) -// Paired-singles control bit 1 -#define HID4_PS1_CTL (1 << (31 - 7)) -// Data bus parking -#define HID4_DBP (1 << (31 - 9)) -// L2 MUM enable -#define HID4_L2MUM (1 << (31 - 10)) -// L2CFI - L2 complete castout prior to L2 flash invalidate -#define HID4_L2_CCFI (1 << (31 - 11)) -// Paired-singles control bit 2 -#define HID4_PSS2_CTL (1 << (31 - 12)) +#define SRR0 26 +#define SRR1 27 + +#define EAR 282 + +#define DABR 1013 + +#define TBL 284 +#define TBU 285 + +#define L2CR 1017 + +#define DEC 22 + +#define IABR 1010 + +#define PMC1 953 +#define PMC2 954 +#define PMC3 957 +#define PMC4 958 + +#define SIA 955 + +#define MMCR0 952 +#define MMCR1 956 + +#define THRM1 1020 +#define THRM2 1021 +#define THRM3 1022 + +#define ICTC 1019 + +#define GQR0 912 +#define GQR1 913 +#define GQR2 914 +#define GQR3 915 +#define GQR4 916 +#define GQR5 917 +#define GQR6 918 +#define GQR7 919 + +#define HID2 920 + +#define WPAR 921 + +#define DMA_U 922 +#define DMA_L 923 + +#define MSR_POW 0x00040000 // Power Management +#define MSR_ILE 0x00010000 // Interrupt Little Endian +#define MSR_EE 0x00008000 // external interrupt +#define MSR_PR 0x00004000 // privilege level(should be 0) +#define MSR_FP 0x00002000 // floating point available +#define MSR_ME 0x00001000 // machine check enable +#define MSR_FE0 0x00000800 // floating point exception enable +#define MSR_SE 0x00000400 // single step trace enable +#define MSR_BE 0x00000200 // branch trace enable +#define MSR_FE1 0x00000100 // floating point exception enable +#define MSR_IP 0x00000040 // Exception prefix +#define MSR_IR 0x00000020 // instruction relocate +#define MSR_DR 0x00000010 // data relocate +#define MSR_PM 0x00000004 // Performance monitor marked mode +#define MSR_RI 0x00000002 // Recoverable interrupt +#define MSR_LE 0x00000001 // Little Endian + +#define MSR_POW_BIT 13 // Power Management +#define MSR_ILE_BIT 15 // Interrupt Little Endian +#define MSR_EE_BIT 16 // external interrupt +#define MSR_PR_BIT 17 // privilege level (should be 0) +#define MSR_FP_BIT 18 // floating point available +#define MSR_ME_BIT 19 // machine check enable +#define MSR_FE0_BIT 20 // floating point exception enable +#define MSR_SE_BIT 21 // single step trace enable +#define MSR_BE_BIT 22 // branch trace enable +#define MSR_FE1_BIT 23 // floating point exception enable +#define MSR_IP_BIT 25 // Exception prefix +#define MSR_IR_BIT 26 // instruction relocate +#define MSR_DR_BIT 27 // data relocate +#define MSR_PM_BIT 29 // Performance monitor marked mode +#define MSR_RI_BIT 30 // Recoverable interrupt +#define MSR_LE_BIT 31 // Little Endian + +#define HID0_EMCP 0x80000000 // Enable MCP +#define HID0_DBP 0x40000000 // Enable 60x bus address and data parity chk +#define HID0_EBA 0x20000000 // Enable 60x address parity checking +#define HID0_EBD 0x10000000 // Enable 60x data parity checking +#define HID0_BCLK 0x08000000 // CLK_OUT output enable and clk selection +#define HID0_ECLK 0x02000000 // CLK_OUT output enable and clk selection +#define HID0_PAR 0x01000000 // Disable !ARTRY precharge +#define HID0_DOZE 0x00800000 // Doze mode enable +#define HID0_NAP 0x00400000 // Nap mode enable +#define HID0_SLEEP 0x00200000 // Sleep mode enable +#define HID0_DPM 0x00100000 // Dynamic power management enable +#define HID0_NHR 0x00010000 // Not hard reset (0 hard reset if s/w set it) +#define HID0_ICE 0x00008000 // Instruction cache enable +#define HID0_DCE 0x00004000 // Data cache enable +#define HID0_ILOCK 0x00002000 // ICache lock +#define HID0_DLOCK 0x00001000 // DCache lock +#define HID0_ICFI 0x00000800 // ICache flash invalidate +#define HID0_DCFI 0x00000400 // DCache flash invalidate +#define HID0_SPD 0x00000200 // Speculative cache access enable (0 enable) +#define HID0_IFEM 0x00000100 // Enable M bit on bus for Ifetch +#define HID0_SGE 0x00000080 // Store gathering enable +#define HID0_DCFA 0x00000040 // DCache flush assist - set before a flush +#define HID0_BTIC 0x00000020 // Branch target icache enable +#define HID0_ABE 0x00000008 // Address bcast enable +#define HID0_BHT 0x00000004 // Branch history table enable +#define HID0_NOOPTI 0x00000001 // No-op Dcache touch instructions + +#define HID0_ICE_BIT 16 // Instruction cache enable +#define HID0_DCE_BIT 17 // Data cache enable +#define HID0_ILOCK_BIT 18 // ICache lock +#define HID0_DLOCK_BIT 19 // DCache lock + +#define HID2_LSQE 0x80000000 // L/S quantize enable +#define HID2_WPE 0x40000000 // Write pipe enable +#define HID2_PSE 0x20000000 // Paired single enable +#define HID2_LCE 0x10000000 // Locked cache enable + +#define HID2_DCHERR 0x00800000 // ERROR: dcbz_l cache hit +#define HID2_DNCERR 0x00400000 // ERROR: DMA access to normal cache +#define HID2_DCMERR 0x00200000 // ERROR: DMA cache miss error +#define HID2_DQOERR 0x00100000 // ERROR: DMA queue overflow +#define HID2_DCHEE 0x00080000 // dcbz_l cache hit error enable +#define HID2_DNCEE 0x00040000 // DMA access to normal cache error enable +#define HID2_DCMEE 0x00020000 // DMA cache miss error error enable +#define HID2_DQOEE 0x00010000 // DMA queue overflow error enable + +#define HID2_DMAQL_MASK 0x0F000000 // DMA queue length mask +#define HID2_DMAQL_SHIFT 24 // DMA queue shift + +#define HID2_LSQE_BIT 0 +#define HID2_WPE_BIT 1 +#define HID2_PSE_BIT 2 +#define HID2_LCE_BIT 3 + +#define HID2_DCHERR_BIT 8 +#define HID2_DNCERR_BIT 9 +#define HID2_DCMERR_BIT 10 +#define HID2_DQOERR_BIT 11 +#define HID2_DCHEE_BIT 12 +#define HID2_DNCEE_BIT 13 +#define HID2_DCMEE_BIT 14 +#define HID2_DQOEE_BIT 15 + +#define GQR_LOAD_SCALE_MASK 0x3F000000 // load scale field +#define GQR_LOAD_TYPE_MASK 0x00070000 // load type field +#define GQR_STORE_SCALE_MASK 0x00003F00 // store scale field +#define GQR_STORE_TYPE_MASK 0x00000007 // store type field + +#define DMA_U_ADDR_MASK 0xFFFFFFE0 // Start addr in memory +#define DMA_U_LEN_U_MASK 0x0000001F // lines to transfer (U) + +#define DMA_L_LC_ADDR_MASK 0xFFFFFFE0 // Start addr in LC +#define DMA_L_LOAD 0x00000010 // 0 - store, 1 - load +#define DMA_L_STORE 0x00000000 // 0 - store, 1 - load +#define DMA_L_LEN_MASK 0x0000000C // lines to transfer (L) +#define DMA_L_TRIGGER 0x00000002 // 0 - cmd inactive, 1 - cmd rdy +#define DMA_L_FLUSH 0x00000001 // 1 - Flush DMA queue + +#define WPAR_ADDR 0xFFFFFFE0 // 32byte gather address +#define WPAR_BNE 0x00000001 // Buffer not empty (R) + +#define SRR1_DMA_BIT 0x00200000 +#define SRR1_L2DP_BIT 0x00100000 + +#define L2CR_L2E 0x80000000 // L2 Enable +#define L2CR_L2PE 0x40000000 // L2 data parity generation and checking enable + +#define L2CR_L2SIZ_256K 0x10000000 // L2 size 256K +#define L2CR_L2SIZ_512K 0x20000000 // L2 size 512 +#define L2CR_L2SIZ_1M 0x30000000 // L2 size 1M + +#define L2CR_L2CLK_1_0 0x02000000 // L2 clock ratio 1 +#define L2CR_L2CLK_1_5 0x04000000 // L2 clock ratio 1.5 +#define L2CR_L2CLK_2_0 0x08000000 // L2 clock ratio 2 +#define L2CR_L2CLK_2_5 0x0A000000 // L2 clock ratio 2.5 +#define L2CR_L2CLK_3_0 0x0C000000 // L2 clock ratio 3 + +#define L2CR_RAM_FLOW_THRU_BURST 0x00000000 // L2 RAM type flow-through sync. burst SRAM +#define L2CR_RAM_PIPELINE_BURST 0x01000000 // L2 RAM type pipelined sync. burst SRAM +#define L2CR_RAM_PIPELINE_LATE 0x01800000 // L2 RAM type pipelined sync. late-write SRAM + +#define L2CR_L2DO 0x00400000 // Data only +#define L2CR_L2I 0x00200000 // Global invalidate +#define L2CR_L2CTL 0x00100000 // ZZ enable +#define L2CR_L2WT 0x00080000 // L2 write through +#define L2CR_L2TS 0x00040000 // L2 test support + +#define L2CR_L2OH_0_5 0x00000000 // L2 output hold 0.5 ns +#define L2CR_L2OH_1_0 0x00010000 // L2 output hold 1.0 ns + +#define L2CR_L2SL 0x00008000 // L2 DLL slow +#define L2CR_L2DF 0x00004000 // L2 differential clock +#define L2CR_L2BYP 0x00002000 // L2 DLL bypass +#define L2CR_L2CS 0x00000200 // L2 clock stop +#define L2CR_L2DRO 0x00000100 // L2 DLL rollover checkstop enable +#define L2CR_L2CTR_MASK 0x000000FE // L2 counter value mask +#define L2CR_L2IP 0x00000001 // L2 global invalidate in progress + +#define MMCR0_DIS 0x80000000 // Disables counting unconditionally +#define MMCR0_DP 0x40000000 // Disables counting while in supervisor mode +#define MMCR0_DU 0x20000000 // Disables counting while in user mode +#define MMCR0_DMS 0x10000000 // Disables counting while MSR[PM] is set +#define MMCR0_DMR 0x08000000 // Disables counting while MSR[PM] is zero +#define MMCR0_ENINT 0x04000000 // Enables performance monitor interrupt signaling +#define MMCR0_DISCOUNT 0x02000000 // Disables counting of PMCn when a performance monitor interrupt is signaled or... +#define MMCR0_RTCSELECT_MASK 0x01800000 // 64-bit time base, bit selection enable +#define MMCR0_RTCSELECT_63 0x00000000 // Pick bit 63 to count +#define MMCR0_RTCSELECT_55 0x00800000 // Pick bit 55 to count +#define MMCR0_RTCSELECT_51 0x01000000 // Pick bit 51 to count +#define MMCR0_RTCSELECT_47 0x01800000 // Pick bit 47 to count +#define MMCR0_INTONBITTRANS 0x00400000 // Causes interrupt signaling on bit transition from off to on +#define MMCR0_THRESHOLD_MASK 0x003F0000 // Threshold value +#define MMCR0_THRESHOLD(n) ((n) << 16) // Threshold value (0 - 63) +#define MMCR0_PMC1INTCONTROL 0x00008000 // Enables interrupt signaling due to PMC1 counter overflow +#define MMCR0_PMC2INTCONTROL 0x00004000 // Enables interrupt signaling due to PMC2-PMC4 counter overflow +#define MMCR0_PMCTRIGGER 0x00002000 // Can be used to trigger counting of PMC2-PMC4 after PMC1 has overflowed or... +#define MMCR0_PMC1SELECT_MASK 0x00001FC0 // PMC1 input selector +#define MMCR0_PMC2SELECT_MASK 0x0000003F // PMC2 input selector + +#define MMCR1_PMC3SELECT_MASK 0xF8000000 // PMC3 input selector +#define MMCR1_PMC4SELECT_MASK 0x07C00000 // PMC4 input selector + +#define PMC1_OV 0x80000000 // Overflow +#define PMC1_COUNTER 0x7FFFFFFF // Counter value +#define PMC2_OV 0x80000000 // Overflow +#define PMC2_COUNTER 0x7FFFFFFF // Counter value +#define PMC3_OV 0x80000000 // Overflow +#define PMC3_COUNTER 0x7FFFFFFF // Counter value +#define PMC4_OV 0x80000000 // Overflow +#define PMC4_COUNTER 0x7FFFFFFF // Counter value + +#define MMCR0_PMC1_HOLD 0x00000000 // Register holds current value +#define MMCR0_PMC1_CYCLE 0x00000040 // Processor cycles +#define MMCR0_PMC1_INSTRUCTION 0x00000080 // # of instructions completed. +#define MMCR0_PMC1_TRANSITION 0x000000C0 // # of transitions for 0 to 1 +#define MMCR0_PMC1_DISPATCHED 0x00000100 // # of instructions dispatched +#define MMCR0_PMC1_EIEIO 0x00000140 // # of eieio instructions completed +#define MMCR0_PMC1_ITLB_CYCLE 0x00000180 // # of cycles spent performing table search op. for the ITLB +#define MMCR0_PMC1_L2_HIT 0x000001C0 // # of access that hit the L2. +#define MMCR0_PMC1_EA 0x00000200 // # of valid instruction EAs delivered to the memory subsystem +#define MMCR0_PMC1_IABR 0x00000240 // # of time the address of an instruction matches the IABR +#define MMCR0_PMC1_L1_MISS 0x00000280 // # of loads that miss the L1 +#define MMCR0_PMC1_Bx_UNRESOLVED 0x000002C0 // # of branches that are unresolved when processed +#define MMCR0_PMC1_Bx_STALL_CYCLE 0x00000300 // # of cycles that dispatcher stalls due to a second + // unresolved branch in the instruction stream +#define MMCR0_PMC1_IC_FETCH_MISS 0x00000340 // # of times an instruction fetch missed the L1 Icache +#define MMCR0_PMC2_HOLD 0x00000000 // Register holds current value +#define MMCR0_PMC2_CYCLE 0x00000001 // Processor cycles +#define MMCR0_PMC2_INSTRUCTION 0x00000002 // # of instructions completed +#define MMCR0_PMC2_TRANSITION 0x00000003 // # of time-base (lower) bit transitions +#define MMCR0_PMC2_DISPATCHED 0x00000004 // # of instructions dispatched +#define MMCR0_PMC2_IC_MISS 0x00000005 // # of L1 instruction cache misses +#define MMCR0_PMC2_ITLB_MISS 0x00000006 // # of ITLB misses +#define MMCR0_PMC2_L2_I_MISS 0x00000007 // # of L2 instruction misses +#define MMCR0_PMC2_Bx_FALL_TROUGH 0x00000008 // # of fall-through branches +#define MMCR0_PMC2_PR_SWITCH 0x00000009 // # of MSR[PR] bit toggles +#define MMCR0_PMC2_RESERVED_LOAD 0x0000000A // # of reserved loads completed +#define MMCR0_PMC2_LOAD_STORE 0x0000000B // # of completed loads and stores +#define MMCR0_PMC2_SNOOP 0x0000000C // # of snoops +#define MMCR0_PMC2_L1_CASTOUT 0x0000000D // # of L1 castouts to L2 +#define MMCR0_PMC2_SYSTEM 0x0000000E // # of completed system unit instructions +#define MMCR0_PMC2_IC_FETCH_MISS 0x0000000F // # of instruction fetch misses in the L1 +#define MMCR0_PMC2_Bx_OUT_OF_ORDER 0x00000010 // # of branches allowing out-of-order execution + +#define MMCR1_PMC3_HOLD 0x00000000 // Register holds current value +#define MMCR1_PMC3_CYCLE 0x08000000 // Processor cycles +#define MMCR1_PMC3_INSTRUCTION 0x10000000 // # of instructions completed +#define MMCR1_PMC3_TRANSITION 0x18000000 // # of time-base (lower) bit transitions +#define MMCR1_PMC3_DISPATCHED 0x20000000 // # of instructions dispatched +#define MMCR1_PMC3_DC_MISS 0x28000000 // # of L1 data cache misses +#define MMCR1_PMC3_DTLB_MISS 0x30000000 // # of DTLB misses +#define MMCR1_PMC3_L2_D_MISS 0x38000000 // # of L2 data misses +#define MMCR1_PMC3_Bx_TAKEN 0x40000000 // # predicted branches that were taken +#define MMCR1_PMC3_PM_SWITCH 0x48000000 // # of transitions between marked and unmarked processes +#define MMCR1_PMC3_COND_STORE 0x50000000 // # of store conditional instructions completed +#define MMCR1_PMC3_FPU 0x58000000 // # of instructions completed from the FPU +#define MMCR1_PMC3_L2_SNOOP_CASTOUT 0x60000000 // # of L2 castout caused by snoops to modified lines +#define MMCR1_PMC3_L2_HIT 0x68000000 // # of cache operations that hit in the L2 cache +#define MMCR1_PMC3_L1_MISS_CYCLE 0x78000000 // # of cycles generated by L1 load misses +#define MMCR1_PMC3_Bx_SECOND 0x80000000 // # of branches in the second speculative branch + // resolved correctly +#define MMCR1_PMC3_BPU_LR_CR 0x88000000 // # of cycles the BPU stalls due to LR or CR unresolved + // dependencies + +#define MMCR1_PMC4_HOLD 0x00000000 // Register holds current value +#define MMCR1_PMC4_CYCLE 0x00400000 // Processor cycles +#define MMCR1_PMC4_INSTRUCTION 0x00800000 // # of instructions completed +#define MMCR1_PMC4_TRANSITION 0x00C00000 // # of time-base (lower) bit transitions +#define MMCR1_PMC4_DISPATCHED 0x01000000 // # of instructions dispatched +#define MMCR1_PMC4_L2_CASTOUT 0x01400000 // # of L2 castouts +#define MMCR1_PMC4_DTLB_CYCLE 0x01800000 // # of cycles spent performing table searches for DTLB accesses +#define MMCR1_PMC4_Bx_MISSED 0x02000000 // # of mispredicted branches +#define MMCR1_PMC4_COND_STORE_INT 0x02800000 // # of store conditional instructions completed + // with reservation intact +#define MMCR1_PMC4_SYNC 0x02C00000 // # of completed sync instructions +#define MMCR1_PMC4_SNOOP_RETRY 0x03000000 // # of snoop request retries +#define MMCR1_PMC4_INTEGER 0x03400000 // # of completed integer operations +#define MMCR1_PMC4_BPU_THIRD 0x03800000 // # of cycles the BPU cannot process new branches + // due to having two unresolved branches +#define MMCR1_PMC4_DC_MISS 0x07C00000 // # of L1 data cache misses + +#define FPSCR_FX 0x80000000 // Exception summary +#define FPSCR_FEX 0x40000000 // Enabled exception summary +#define FPSCR_VX 0x20000000 // Invalid operation +#define FPSCR_OX 0x10000000 // Overflow exception +#define FPSCR_UX 0x08000000 // Underflow exception +#define FPSCR_ZX 0x04000000 // Zero divide exception +#define FPSCR_XX 0x02000000 // Inexact exception +#define FPSCR_VXSNAN 0x01000000 // SNaN +#define FPSCR_VXISI 0x00800000 // Infinity - Infinity +#define FPSCR_VXIDI 0x00400000 // Infinity / Infinity +#define FPSCR_VXZDZ 0x00200000 // 0 / 0 +#define FPSCR_VXIMZ 0x00100000 // Infinity * 0 +#define FPSCR_VXVC 0x00080000 // Invalid compare +#define FPSCR_FR 0x00040000 // Fraction rounded +#define FPSCR_FI 0x00020000 // Fraction inexact +#define FPSCR_VXSOFT 0x00000400 // Software request +#define FPSCR_VXSQRT 0x00000200 // Invalid square root +#define FPSCR_VXCVI 0x00000100 // Invalid integer convert +#define FPSCR_VE 0x00000080 // Invalid operation exception enable +#define FPSCR_OE 0x00000040 // Overflow exception enable +#define FPSCR_UE 0x00000020 // Underflow exception enable +#define FPSCR_ZE 0x00000010 // Zero divide exception enable +#define FPSCR_XE 0x00000008 // Inexact exception enable +#define FPSCR_NI 0x00000004 // Non-IEEE mode + +#define FPSCR_FX_BIT 0 // Exception summary +#define FPSCR_FEX_BIT 1 // Enabled exception summary +#define FPSCR_VX_BIT 2 // Invalid operation +#define FPSCR_OX_BIT 3 // Overflow exception +#define FPSCR_UX_BIT 4 // Underflow exception +#define FPSCR_ZX_BIT 5 // Zero divide exception +#define FPSCR_XX_BIT 6 // Inexact exception +#define FPSCR_VXSNAN_BIT 7 // SNaN +#define FPSCR_VXISI_BIT 8 // Infinity - Infinity +#define FPSCR_VXIDI_BIT 9 // Infinity / Infinity +#define FPSCR_VXZDZ_BIT 10 // 0 / 0 +#define FPSCR_VXIMZ_BIT 11 // Infinity * 0 +#define FPSCR_VXVC_BIT 12 // Invalid compare +#define FPSCR_FR_BIT 13 // Fraction rounded +#define FPSCR_FI_BIT 14 // Fraction inexact +#define FPSCR_VXSOFT_BIT 21 // Software request +#define FPSCR_VXSQRT_BIT 22 // Invalid square root +#define FPSCR_VXCVI_BIT 23 // Invalid integer convert +#define FPSCR_VE_BIT 24 // Invalid operation exception enable +#define FPSCR_OE_BIT 25 // Overflow exception enable +#define FPSCR_UE_BIT 26 // Underflow exception enable +#define FPSCR_ZE_BIT 27 // Zero divide exception enable +#define FPSCR_XE_BIT 28 // Inexact exception enable +#define FPSCR_NI_BIT 29 // Non-IEEE mode + +/** BROADWAY EXCLUSIVE **/ + +#define HID4 1011 +#define HID4_H4A (1 << (31 - 0)) // H4A (Apparently "reserved") +#define HID4_L2FM (0b11 << (31 - 2)) // L2 fetch mode +#define HID4_BPD (0b11 << (31 - 4)) // Bus pipeline depth +#define HID4_BCO (1 << (31 - 5)) // L2 second castout buffer enable +#define HID4_SBE (1 << (31 - 6)) // Secondary BAT enable +#define HID4_PS1_CTL (1 << (31 - 7)) // Paired-singles control bit 1 +#define HID4_DBP (1 << (31 - 9)) // Data bus parking +#define HID4_L2MUM (1 << (31 - 10)) // L2 MUM enable +#define HID4_L2_CCFI (1 << (31 - 11)) // L2CFI - L2 complete castout prior to L2 flash invalidate +#define HID4_PSS2_CTL (1 << (31 - 12)) // Paired-singles control bit 2 #endif // REVOLUTION_BASE_ARCH_H - - diff --git a/libs/RVL_SDK/include/revolution/dvd.h b/libs/RVL_SDK/include/revolution/dvd.h index f4cd7509..6677f27f 100644 --- a/libs/RVL_SDK/include/revolution/dvd.h +++ b/libs/RVL_SDK/include/revolution/dvd.h @@ -8,28 +8,80 @@ extern "C" { #endif -typedef struct { - char gameName[4]; - char company[2]; +typedef struct DVDDiskID { + char gameName[4]; // 0x00 + char company[2]; // 0x04 - u8 diskNumber; - u8 gameVersion; + u8 diskNumber; // 0x06 + u8 gameVersion; // 0x07 - u8 streaming; - u8 streamingBufSize; + u8 streaming; // 0x08 + u8 streamingBufSize; // 0x09 - u8 padding[14]; + u8 padding[14]; // 0x0A - u32 rvlMagic; // Wii disc magic - u32 gcMagic; // GameCube disc magic + u32 rvlMagic; // 0x18 + u32 gcMagic; // 0x1C } DVDDiskID; -BOOL __DVDTestAlarm(OSAlarm*); +DVDDiskID* DVDGetCurrentDiskID(); + +typedef struct DVDDriveInfo { + u16 revisionLevel; + u16 deviceCode; + u32 releaseDate; + + u8 pad[24]; +} DVDDriveInfo; + +typedef struct DVDCommandBlock DVDCommandBlock; +typedef void (*DVDCommandCallback)(s32 result, DVDCommandBlock* block); + +enum { + DVD_COMMAND_STATE_IDLE = 0 +}; + +struct DVDCommandBlock { + DVDCommandBlock* next; // 0x00 + DVDCommandBlock* prev; // 0x04 + + u32 command; // 0x08 + + long state; // 0x0C + + u32 offset; // 0x10 + u32 length; // 0x14 + void* addr; // 0x18 + + u32 currTransferSize; // 0x1C + u32 transferredSize; // 0x20 + + DVDDiskID* id; // 0x24 + DVDCommandCallback callback; // 0x28 + + void* userData; // 0x2C +}; + +typedef struct DVDFileInfo DVDFileInfo; +typedef void (*DVDFileCallback)(s32 result, DVDFileInfo* block); + +struct DVDFileInfo { + DVDCommandBlock cb; // 0x00 + + u32 startAddr; // 0x30 + u32 length; // 0x34 + + DVDFileCallback callback; // 0x38 +}; + +typedef void (*DVDCBCallback)(s32 result, DVDCommandBlock* block); + +void DVDInit(); + +BOOL DVDInquiryAsync(DVDCommandBlock* block, DVDDriveInfo* info, DVDCBCallback callback); #ifdef __cplusplus } #endif #endif // REVOLUTION_DVD_H - - diff --git a/libs/RVL_SDK/include/revolution/esp.h b/libs/RVL_SDK/include/revolution/esp.h new file mode 100644 index 00000000..bd05ccb5 --- /dev/null +++ b/libs/RVL_SDK/include/revolution/esp.h @@ -0,0 +1,31 @@ +#ifndef REVOLUTION_ESP_H +#define REVOLUTION_ESP_H + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +s32 ESP_InitLib(); +s32 ESP_CloseLib(); + +s32 ESP_GetTmdView(ESTitleId titleId, ESTmdView* tmdView, u32* tmdCount); +s32 ESP_GetTicketViews(ESTitleId titleId, ESTicketView* ticketView, u32* ticketCount); + +s32 ESP_GetTitleId(ESTitleId* titleId); + +s32 ESP_LaunchTitle(ESTitleId titleId, ESTicketView* ticketView); + +s32 ESP_ListTitleContentsOnCard(ESTitleId titleId, ESContentId* cIds, u32* cntCount); + +s32 ESP_GetConsumption(ESTicketId ticket, ESLpEntry* lpEntry, u32* entries); + +s32 ESP_DiGetTicketView(const void*, ESTicketView*); + +#ifdef __cplusplus +} +#endif + +#endif // REVOLUTION_ESP_H diff --git a/libs/RVL_SDK/include/revolution/nand.h b/libs/RVL_SDK/include/revolution/nand.h index 576aae7d..e35ef56e 100644 --- a/libs/RVL_SDK/include/revolution/nand.h +++ b/libs/RVL_SDK/include/revolution/nand.h @@ -49,21 +49,23 @@ enum { NAND_ACCESS_RW }; -#define USER_MASK 4 -#define GROUP_MASK 2 -#define BOTH_MASK 0 +enum { + NAND_PERM_MASK_BOTH = 0, + NAND_PERM_MASK_GROUP = 2, + NAND_PERM_MASK_USER = 4, +}; enum { - NAND_PERM_USER_READ = (NAND_ACCESS_READ << USER_MASK), - NAND_PERM_USER_WRITE = (NAND_ACCESS_WRITE << USER_MASK), + NAND_PERM_USER_READ = (NAND_ACCESS_READ << NAND_PERM_MASK_USER), + NAND_PERM_USER_WRITE = (NAND_ACCESS_WRITE << NAND_PERM_MASK_USER), NAND_PERM_USER = NAND_PERM_USER_READ | NAND_PERM_USER_WRITE, - NAND_PERM_GROUP_READ = (NAND_ACCESS_READ << GROUP_MASK), - NAND_PERM_GROUP_WRITE = (NAND_ACCESS_WRITE << GROUP_MASK), + NAND_PERM_GROUP_READ = (NAND_ACCESS_READ << NAND_PERM_MASK_GROUP), + NAND_PERM_GROUP_WRITE = (NAND_ACCESS_WRITE << NAND_PERM_MASK_GROUP), NAND_PERM_GROUP = NAND_PERM_GROUP_READ | NAND_PERM_GROUP_WRITE, - NAND_PERM_BOTH_READ = (NAND_ACCESS_READ << BOTH_MASK), - NAND_PERM_BOTH_WRITE = (NAND_ACCESS_WRITE << BOTH_MASK), + NAND_PERM_BOTH_READ = (NAND_ACCESS_READ << NAND_PERM_MASK_BOTH), + NAND_PERM_BOTH_WRITE = (NAND_ACCESS_WRITE << NAND_PERM_MASK_BOTH), NAND_PERM_BOTH = NAND_PERM_BOTH_READ | NAND_PERM_BOTH_WRITE, NAND_PERM_ALL_READ = NAND_PERM_USER_READ | NAND_PERM_GROUP_READ | NAND_PERM_BOTH_READ, @@ -90,14 +92,69 @@ typedef struct NANDStatus { u8 permission; // 0x07 } NANDStatus; -void NANDInit(); +typedef struct NANDCommandBlock NANDCommandBlock; +typedef void (*NANDAsyncCallback)(s32 result, NANDCommandBlock* block); + +struct NANDCommandBlock { + void* userData; // 0x00 + NANDAsyncCallback callback; // 0x04 + void* fileInfo; // 0x08 + void* bytes; // 0x0C + void* inodes; // 0x10 + void* status; // 0x14 + + u32 ownerId; // 0x18 + u16 groupId; // 0x1C + + u8 nextStage; // 0x1E + u32 attr; // 0x20 + + u32 ownerAcc; // 0x24 + u32 groupAcc; // 0x28 + u32 othersAcc; // 0x2C + + u32 num; // 0x30 + char absPath[NAND_MAX_PATH]; // 0x34 + u32* length; // 0x74 + u32* pos; // 0x78 + int state; // 0x7C + void* copyBuf; // 0x80 + u32 bufLength; // 0x84 + u8* type; // 0x88 + u32 uniqueNo; // 0x8C + + u32 reqBlocks; // 0x90 + u32 reqInodes; // 0x94 + + u32* answer; // 0x98 + + u32 homeBlocks; // 0x9C + u32 homeInodes; // 0xA0 + + u32 userBlocks; // 0xA4 + u32 userInodes; // 0xA8 + + u32 workBlocks; // 0xAC + u32 workInodes; // 0xB0 + + const char** dir; // 0xB4 + + BOOL simpleFlag; // 0xB8 +}; + +s32 NANDInit(); s32 NANDCreate(const char* path, u8 perm, u8 attr); s32 NANDOpen(const char* path, NANDFileInfo* info, u8 attr); +s32 NANDOpenAsync(const char* path, NANDFileInfo* info, u8 attr, NANDAsyncCallback callback, NANDCommandBlock* block); s32 NANDClose(NANDFileInfo* info); +s32 NANDCloseAsync(NANDFileInfo* info, NANDAsyncCallback callback, NANDCommandBlock* block); s32 NANDRead(NANDFileInfo* info, void* buf, u32 len); +s32 NANDReadAsync(NANDFileInfo* info, void* buf, u32 len, NANDAsyncCallback callback, NANDCommandBlock* block); s32 NANDWrite(NANDFileInfo* info, const void* buf, u32 len); +s32 NANDWriteAsync(NANDFileInfo* info, const void* buf, u32 len, NANDAsyncCallback callback, NANDCommandBlock* block); s32 NANDSeek(NANDFileInfo* info, s32 offset, s32 whence); +s32 NANDSeekAsync(NANDFileInfo* info, s32 offset, s32 whence, NANDAsyncCallback callback, NANDCommandBlock* block); s32 NANDGetLength(NANDFileInfo* info, u32* len); s32 NANDSafeClose(NANDFileInfo* info); s32 NANDDelete(const char* path); @@ -108,7 +165,11 @@ s32 NANDCreateDir(const char* path, u8 perm, u8 attr); s32 NANDReadDir(const char* path, char* fsList, u32* fsCount); s32 NANDChangeDir(const char* path); -s32 NANDCheck(u32 fsBlock, u32 iNode, u32 *answer); +s32 NANDGetHomeDir(char* path); + +s32 NANDGetStatus(const char* path, NANDStatus* stat); + +s32 NANDCheck(u32 fsBlock, u32 iNode, u32* answer); #include #include diff --git a/libs/RVL_SDK/include/revolution/nand/nandprivate.h b/libs/RVL_SDK/include/revolution/nand/nandprivate.h index c19d366b..d3069c2a 100644 --- a/libs/RVL_SDK/include/revolution/nand/nandprivate.h +++ b/libs/RVL_SDK/include/revolution/nand/nandprivate.h @@ -12,6 +12,7 @@ s32 NANDPrivateOpen(const char* path, NANDFileInfo* pInfo, u8 attr); s32 NANDPrivateSafeOpen(const char* path, NANDFileInfo* pInfo, u8 attr, void* pBuf, u32 len); s32 NANDPrivateDelete(const char* path); s32 NANDPrivateMove(const char* path, const char* newPath); +s32 NANDPrivateGetStatus(const char* path, NANDStatus* status); s32 NANDPrivateGetType(const char* path, u8* type); s32 NANDPrivateCreateDir(const char* path, u8 perm, u8 attr); @@ -22,5 +23,3 @@ s32 NANDPrivateReadDir(const char* path, char* fsList, u32* fsCount); #endif #endif // REVOLUTION_NAND_PRIVATE_H - - diff --git a/libs/RVL_SDK/include/revolution/os.h b/libs/RVL_SDK/include/revolution/os.h index f45baf64..45d88ae8 100644 --- a/libs/RVL_SDK/include/revolution/os.h +++ b/libs/RVL_SDK/include/revolution/os.h @@ -2,31 +2,36 @@ #define REVOLUTION_OS_H #include -#include - -#include #ifdef __cplusplus extern "C" { #endif -typedef s64 OSTime; -typedef u32 OSTick; +#include -#define OS_CONSOLE_MASK 0xF0000000 -#define OS_CONSOLE_MASK_RVL 0x00000000 -#define OS_CONSOLE_MASK_EMU 0x10000000 -#define OS_CONSOLE_MASK_TDEV 0x20000000 -#define OS_CONSOLE_RVL_PP_1 0x00000011 -#define OS_CONSOLE_RVL_PP_2_1 0x00000012 -#define OS_CONSOLE_RVL_PP_2_2 0x00000020 -#define OS_CONSOLE_RVL_EMU 0x10000008 -#define OS_CONSOLE_NDEV_1_0 0x10000010 -#define OS_CONSOLE_NDEV_1_1 0x10000011 -#define OS_CONSOLE_NDEV_1_2 0x10000012 -#define OS_CONSOLE_NDEV_2_0 0x10000020 -#define OS_CONSOLE_NDEV_2_1 0x10000021 -#define OS_CONSOLE_RETAIL 0x00000021 +#include + +#define OS_CONSOLE_MASK (0xF000 << 16) +#define OS_CONSOLE_MASK_RVL (0x0000 << 16) +#define OS_CONSOLE_MASK_DEV (0x1000 << 16) +#define OS_CONSOLE_MASK_TDEV (0x2000 << 16) + +#define OS_CONSOLE_RVL_PP_0 (OS_CONSOLE_MASK_RVL + 0x0010) +#define OS_CONSOLE_RVL_PP_1 (OS_CONSOLE_MASK_RVL + 0x0011) +#define OS_CONSOLE_RVL_PP_2_1 (OS_CONSOLE_MASK_RVL + 0x0012) +#define OS_CONSOLE_RVL_PP_2_2 (OS_CONSOLE_MASK_RVL + 0x0020) +#define OS_CONSOLE_RETAIL (OS_CONSOLE_MASK_RVL + 0x0021) +#define OS_CONSOLE_RETAIL_RVA (OS_CONSOLE_MASK_RVL + 0x0100) + +#define OS_CONSOLE_UNK (OS_CONSOLE_MASK_DEV + 0x0002) +#define OS_CONSOLE_RVL_EMU (OS_CONSOLE_MASK_DEV + 0x0008) +#define OS_CONSOLE_NDEV_1_0 (OS_CONSOLE_MASK_DEV + 0x0010) +#define OS_CONSOLE_NDEV_1_1 (OS_CONSOLE_MASK_DEV + 0x0011) +#define OS_CONSOLE_NDEV_1_2 (OS_CONSOLE_MASK_DEV + 0x0012) +#define OS_CONSOLE_NDEV_2_0 (OS_CONSOLE_MASK_DEV + 0x0020) +#define OS_CONSOLE_NDEV_2_1 (OS_CONSOLE_MASK_DEV + 0x0021) + +#define OS_CONSOLE_TDEV_EMU (OS_CONSOLE_MASK_TDEV + 0x0000) #define OS_CACHED_REGION_PREFIX 0x8000 #define OS_UNCACHED_REGION_PREFIX 0xC000 @@ -37,21 +42,24 @@ typedef u32 OSTick; #define OSPhysicalToCached(paddr) ((void*)((u32)(paddr) + OS_BASE_CACHED)) #define OSPhysicalToUncached(paddr) ((void*)((u32)(paddr) + OS_BASE_UNCACHED)) -#define OSCachedToPhysical(caddr) ((u32) ((u8*)(caddr) - OS_BASE_CACHED)) -#define OSUncachedToPhysical(ucaddr) ((u32) ((u8*)(ucaddr) - OS_BASE_UNCACHED)) +#define OSCachedToPhysical(caddr) ( (u32)((u8*)(caddr) - OS_BASE_CACHED)) +#define OSUncachedToPhysical(ucaddr) ( (u32)((u8*)(ucaddr) - OS_BASE_UNCACHED)) #define OSCachedToUncached(caddr) ((void*)((u8*)(caddr) + (OS_BASE_UNCACHED - OS_BASE_CACHED))) #define OSUncachedToCached(ucaddr) ((void*)((u8*)(ucaddr) - (OS_BASE_UNCACHED - OS_BASE_CACHED))) -u32 __OSBusClock ADDRESS(OS_BASE_CACHED + 0x000000F8); -u32 __OSCoreClock ADDRESS(OS_BASE_CACHED + 0x000000FC); +#define OSRoundUp32B(x) ROUNDUP((unsigned long)(x), 32) +#define OSRoundDown32B(x) ROUNDDOWN((unsigned long)(x), 32) + +u32 __OSBusClock ADDRESS(OS_BASE_CACHED + OS_ADDR_BUS_CLOCK_SPEED); +u32 __OSCoreClock ADDRESS(OS_BASE_CACHED + OS_ADDR_CPU_CLOCK_SPEED); #define OS_BUS_CLOCK __OSBusClock #define OS_CORE_CLOCK __OSCoreClock #define OS_TIMER_CLOCK (OS_BUS_CLOCK / 4) #define OSTicksToCycles(ticks) (((ticks) * ((OS_CORE_CLOCK * 2) / OS_TIMER_CLOCK)) / 2) -#define OSTicksToSeconds(ticks) ((ticks) / OS_TIMER_CLOCK) -#define OSTicksToMilliseconds(ticks) ((ticks) / (OS_TIMER_CLOCK / 1000)) +#define OSTicksToSeconds(ticks) ((ticks) / OS_TIMER_CLOCK) +#define OSTicksToMilliseconds(ticks) ((ticks) / (OS_TIMER_CLOCK / 1000)) #define OSTicksToMicroseconds(ticks) (((ticks) * 8) / (OS_TIMER_CLOCK / 125000)) #define OSTicksToNanoseconds(ticks) (((ticks) * 8000) / (OS_TIMER_CLOCK / 125000)) @@ -67,63 +75,30 @@ u32 __OSCoreClock ADDRESS(OS_BASE_CACHED + 0x000000FC); #define OSSleepMicroseconds(us) OSSleepTicks(OSMicrosecondsToTicks((OSTime)us)) #define OSSleepNanoseconds(ns) OSSleepTicks(OSNanosecondsToTicks((OSTime)ns)) -#define OSRoundUp32B(x) ROUNDUP((unsigned long)(x), 32) -#define OSRoundDown32B(x) ROUNDDOWN((unsigned long)(x), 32) - -/* Arena */ - -void* OSGetArenaHi(); -void* OSGetArenaLo(); -void OSSetArenaHi(void* newHi); -void OSSetArenaLo(void* newLo); - -/* OS Log */ - -void OSReport(const char* msg, ...); -void OSVReport(const char* msg, va_list list); - -void OSPanic(const char* file, int line, const char* msg, ...); -#define OSHalt(msg, line) OSPanic(__FILE__, line, msg) -#define OSAssertMsg(exp, msg, line) if (!(exp)) OSHalt(msg, line) - -void OSRegisterVersion(const char* version); - -void OSFatal(GXColor front, GXColor back, const char* msg); - -/* Time and ticks */ - -OSTime OSGetTime(); -OSTick OSGetTick(); -void OSSleepTicks(OSTime ticks); - -/* Interupts */ - -int OSDisableInterrupts(); -int OSEnableInterrupts(); -int OSRestoreInterrupts(int level); - -/* Return to menu and shutdown */ - -void OSReturnToMenu(); - -void OSShutdownSystem(); - -/* The rest of OS */ +u8 OSGetAppType(); +u32 OSGetConsoleType(); #include #include -#include -#include -#include +#include +#include #include +#include +#include #include +#include +#include +#include #include #include +#include +#include #include +#include + #include #include -#include -#include +#include #ifdef __cplusplus } diff --git a/libs/RVL_SDK/include/revolution/os/OSAlarm.h b/libs/RVL_SDK/include/revolution/os/OSAlarm.h index 2c783af1..3c0f1bb2 100644 --- a/libs/RVL_SDK/include/revolution/os/OSAlarm.h +++ b/libs/RVL_SDK/include/revolution/os/OSAlarm.h @@ -3,6 +3,7 @@ #include +#include #include #ifdef __cplusplus @@ -31,8 +32,16 @@ typedef struct OSAlarmQueue { OSAlarm* tail; // 0x04 } OSAlarmQueue; -void OSCreateAlarm(OSAlarm* pAlarm); -void OSSetAlarm(OSAlarm* alarm, OSTime tick, OSAlarmHandler handler); +void OSCreateAlarm(OSAlarm* alarm); +void OSSetAlarm(OSAlarm* alarm, OSTime start, OSAlarmHandler handler); +void OSCancelAlarm(OSAlarm* alarm); + +void OSSetPeriodicAlarm(OSAlarm* alarm, OSTime start, OSTime period, OSAlarmHandler handler); + +void OSSetAlarmTag(OSAlarm* alarm, u32 tag); + +void OSSetAlarmUserData(OSAlarm* alarm, void* userData); +void* OSGetAlarmUserData(OSAlarm* alarm); #ifdef __cplusplus } diff --git a/libs/RVL_SDK/include/revolution/os/OSArena.h b/libs/RVL_SDK/include/revolution/os/OSArena.h new file mode 100644 index 00000000..a6b692af --- /dev/null +++ b/libs/RVL_SDK/include/revolution/os/OSArena.h @@ -0,0 +1,35 @@ + + +#ifndef REVOLUTION_OS_ARENA_H +#define REVOLUTION_OS_ARENA_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +void* OSGetMEM1ArenaHi(); +void* OSGetMEM2ArenaHi(); +void* OSGetArenaHi(); + +void* OSGetMEM1ArenaLo(); +void* OSGetMEM2ArenaLo(); +void* OSGetArenaLo(); + +void OSSetMEM1ArenaHi(void* hi); +void OSSetMEM2ArenaHi(void* hi); +void OSSetArenaHi(void* hi); + +void OSSetMEM1ArenaLo(void* lo); +void OSSetMEM2ArenaLo(void* lo); +void OSSetArenaLo(void* lo); + +void* OSAllocFromMEM1ArenaLo(u32 size, u32 align); +void* OSAllocFromMEM2ArenaLo(u32 size, u32 align); + +#ifdef __cplusplus +} +#endif + +#endif // REVOLUTION_OS_ARENA_H diff --git a/libs/RVL_SDK/include/revolution/os/OSBootInfo.h b/libs/RVL_SDK/include/revolution/os/OSBootInfo.h index 459276e1..6195915a 100644 --- a/libs/RVL_SDK/include/revolution/os/OSBootInfo.h +++ b/libs/RVL_SDK/include/revolution/os/OSBootInfo.h @@ -27,50 +27,8 @@ typedef struct OSBootInfo { u32 FSTMaxLength; // 0x3C } OSBootInfo; -typedef struct RVLBootInfo { - u32 physicalMem1Size; // 0x00 - u32 simulatedMem1Size; // 0x04 - u32 mem1Addr; // 0x08 - - void* mem1Start; // 0x0C - void* mem1End; // 0x10 - undefined4 unk_0x14; // 0x0C - - u32 physicalMem2Size; // 0x18 - u32 simulatedMem2Size; // 0x1C - u32 mem2Addr; // 0x20 - - void* mem2Start; // 0x24 - void* mem2End; // 0x28 - undefined4 unk_0x2C; - - void* ipcStart; // 0x30 - void* ipcEnd; // 0x34 - - u32 hollywoodRev; // 0x38 - undefined4 unk_0x3C; - - u32 iosVersion; // 0x40 - u32 iosBuildDate; // 0x44 - void* iosHeapStart; // 0x48 - void* iosHeapEnd; // 0x4C - - undefined4 unk_0x50; - undefined4 unk_0x54; - - u32 gddrVendorID; // 0x58 - u8 bootTarget; // 0x5C - u8 unk_0x5D; // 0x5D - u16 devKitVersion; // 0x5E - - undefined4 unk_0x60; - BOOL gcMode; // 0x64 -} RVLBootInfo; - #ifdef __cplusplus } #endif #endif // REVOLUTION_OS_BOOT_INFO_H - - diff --git a/libs/RVL_SDK/include/revolution/os/OSCache.h b/libs/RVL_SDK/include/revolution/os/OSCache.h index 3b24b065..bfaba5b6 100644 --- a/libs/RVL_SDK/include/revolution/os/OSCache.h +++ b/libs/RVL_SDK/include/revolution/os/OSCache.h @@ -2,15 +2,31 @@ #define REVOLUTION_OS_CACHE_H #include +#include #ifdef __cplusplus extern "C" { #endif -void DCFlushRange(void* addr, u32 size); +#define LC_MAX_DMA_BLOCKS (128) +#define LC_MAX_DMA_BYTES (LC_MAX_DMA_BLOCKS * 32) -void DCStoreRange(void* addr, u32 size); -void DCInvalidateRange(void* addr, u32 size); +void DCEnable(); + +void DCInvalidateRange(void* addr, u32 len); + +void DCFlushRange(void* addr, u32 len); +void DCFlushRangeNoSync(void* addr, u32 len); + +void DCStoreRange(void* addr, u32 len); + +void DCZeroRange(void* addr, u32 len); + +void ICEnable(); +void ICFlashInvalidate(); +void ICInvalidateRange(void* addr, u32 len); + +void LCDisable(); #ifdef __cplusplus } diff --git a/libs/RVL_SDK/include/revolution/os/OSCond.h b/libs/RVL_SDK/include/revolution/os/OSCond.h new file mode 100644 index 00000000..c41ccea2 --- /dev/null +++ b/libs/RVL_SDK/include/revolution/os/OSCond.h @@ -0,0 +1,19 @@ +#ifndef REVOLUTION_OS_COND_H +#define REVOLUTION_OS_COND_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include + +void OSInitCond(OSCond* cond); +void OSWaitCond(OSCond* cond, OSMutex* mutex); + +void OSSignalCond(OSCond* cond); + +#ifdef __cplusplus +} +#endif + +#endif // REVOLUTION_OS_COND_H diff --git a/libs/RVL_SDK/include/revolution/os/OSContext.h b/libs/RVL_SDK/include/revolution/os/OSContext.h index 1d0f728b..de30f688 100644 --- a/libs/RVL_SDK/include/revolution/os/OSContext.h +++ b/libs/RVL_SDK/include/revolution/os/OSContext.h @@ -7,6 +7,8 @@ extern "C" { #endif +#define OS_CONTEXT_STATE_FPSAVED (1<<0) + typedef struct OSContext { u32 gpr[32]; // 0x00 u32 cr; // 0x80 @@ -29,10 +31,31 @@ typedef struct OSContext { f64 psf[32]; // 0x1C8 } OSContext; +void OSLoadFPUContext(OSContext* fpucontext); +void OSSaveFPUContext(OSContext* fpucontext); + +void OSFillFPUContext(OSContext* context); + +void OSInitContext(OSContext* context, u32 pc, u32 newsp); + +void OSSetCurrentContext(OSContext* context); +OSContext* OSGetCurrentContext(); + +u32 OSSaveContext(OSContext* context); +void OSLoadContext(OSContext* context); + +void OSClearContext(OSContext* context); + +void OSDumpContext(OSContext* context); + +u32 OSGetStackPointer(); +u32 OSSwitchStack(u32 newsp); + +int OSSwitchFiber(u32 pc, u32 newsp); +void OSSwitchFiberEx(u32 r3, u32 r4, u32 r5, u32 r6, void* pc, void* newsp); + #ifdef __cplusplus } #endif #endif // REVOLUTION_OS_CONTEXT_H - - diff --git a/libs/RVL_SDK/include/revolution/os/OSError.h b/libs/RVL_SDK/include/revolution/os/OSError.h new file mode 100644 index 00000000..778d1d59 --- /dev/null +++ b/libs/RVL_SDK/include/revolution/os/OSError.h @@ -0,0 +1,39 @@ +#ifndef REVOLUTION_OS_ERROR_H +#define REVOLUTION_OS_ERROR_H + +#include + +#include +#include + +#include + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#define OS_ERROR_MAX 15 + +typedef u16 OSError; +typedef void (*OSErrorHandler)(OSError, OSContext*, ...); + +OSErrorHandler OSSetErrorHandler(OSError error, OSErrorHandler handler); + +void OSReport(const char* msg, ...); +void OSVReport(const char* msg, va_list list); + +void OSPanic(const char* file, int line, const char* msg, ...); +#define OSHalt(msg, line) OSPanic(__FILE__, line, msg) +#define OSAssertMsg(exp, msg, line) if (!(exp)) OSHalt(msg, line) + +void OSRegisterVersion(const char* version); + +void OSFatal(GXColor front, GXColor back, const char* msg); + +#ifdef __cplusplus +} +#endif + +#endif // REVOLUTION_OS_ERROR_H diff --git a/libs/RVL_SDK/include/revolution/os/OSException.h b/libs/RVL_SDK/include/revolution/os/OSException.h index 9e61df35..042142b9 100644 --- a/libs/RVL_SDK/include/revolution/os/OSException.h +++ b/libs/RVL_SDK/include/revolution/os/OSException.h @@ -8,25 +8,27 @@ extern "C" { #endif -#define OS_EXCEPTION_SYSTEM_RESET 0 -#define OS_EXCEPTION_MACHINE_CHECK 1 -#define OS_EXCEPTION_DSI 2 -#define OS_EXCEPTION_ISI 3 -#define OS_EXCEPTION_EXTERNAL_INTERRUPT 4 -#define OS_EXCEPTION_ALIGNMENT 5 -#define OS_EXCEPTION_PROGRAM 6 -#define OS_EXCEPTION_FLOATING_POINT 7 -#define OS_EXCEPTION_DECREMENTER 8 -#define OS_EXCEPTION_SYSTEM_CALL 9 -#define OS_EXCEPTION_TRACE 10 -#define OS_EXCEPTION_PERFORMACE_MONITOR 11 -#define OS_EXCEPTION_BREAKPOINT 12 -#define OS_EXCEPTION_SYSTEM_INTERRUPT 13 -#define OS_EXCEPTION_THERMAL_INTERRUPT 14 -#define OS_EXCEPTION_MAX (OS_EXCEPTION_THERMAL_INTERRUPT + 1) +#define OS_EXCEPTION_SYSTEM_RESET 0 +#define OS_EXCEPTION_MACHINE_CHECK 1 +#define OS_EXCEPTION_DSI 2 +#define OS_EXCEPTION_ISI 3 +#define OS_EXCEPTION_EXTERNAL_INTERRUPT 4 +#define OS_EXCEPTION_ALIGNMENT 5 +#define OS_EXCEPTION_PROGRAM 6 +#define OS_EXCEPTION_FLOATING_POINT 7 +#define OS_EXCEPTION_DECREMENTER 8 +#define OS_EXCEPTION_SYSTEM_CALL 9 +#define OS_EXCEPTION_TRACE 10 +#define OS_EXCEPTION_PERFORMACE_MONITOR 11 +#define OS_EXCEPTION_BREAKPOINT 12 +#define OS_EXCEPTION_SYSTEM_INTERRUPT 13 +#define OS_EXCEPTION_THERMAL_INTERRUPT 14 +#define OS_EXCEPTION_MEMORY_PROTECTION 15 +#define OS_EXCEPTION_FLOATING_POINT_EXCEPTION 16 +#define OS_EXCEPTION_MAX 17 -typedef u8 __OSException; -typedef void (*__OSExceptionHandler)(__OSException exception, OSContext* context); +typedef u8 __OSException; +typedef void (*__OSExceptionHandler)(__OSException exception, OSContext* context); __OSExceptionHandler __OSGetExceptionHandler(__OSException type); __OSExceptionHandler __OSSetExceptionHandler(__OSException type, __OSExceptionHandler handler); @@ -36,5 +38,3 @@ __OSExceptionHandler __OSSetExceptionHandler(__OSException type, __OSExceptio #endif #endif // REVOLUTION_OS_EXCEPTION_H - - diff --git a/libs/RVL_SDK/include/revolution/os/OSFont.h b/libs/RVL_SDK/include/revolution/os/OSFont.h new file mode 100644 index 00000000..74ad6e1d --- /dev/null +++ b/libs/RVL_SDK/include/revolution/os/OSFont.h @@ -0,0 +1,70 @@ +#ifndef REVOLUTION_OS_FONT_H +#define REVOLUTION_OS_FONT_H + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +enum { + OS_FONT_ENCODE_ANSI = 0, + OS_FONT_ENCODE_SJIS, + OS_FONT_ENCODE_UNKNOWN, + OS_FONT_ENCODE_UTF8, + OS_FONT_ENCODE_UTF16, + OS_FONT_ENCODE_UTF32, + OS_FONT_ENCODE_MAX = OS_FONT_ENCODE_UTF32, +}; + +#define OS_FONT_SIZE_ANSI (288 + 131072) // 9 sheets +#define OS_FONT_SIZE_SJIS (3840 + 1179648) // 1 sheet +#define OS_FONT_ROM_OFFSET_SJIS 0x1AFF00 +#define OS_FONT_ROM_OFFSET_ANSI 0x1FCF00 +#define OS_FONT_ROM_SIZE_ANSI 0x003000 +#define OS_FONT_ROM_SIZE_ANSI 0x003000 +#define OS_FONT_ROM_SIZE_SJIS 0x04D000 + +typedef struct OSFontHeader { + u16 fontType; + + u16 firstChar; + u16 lastChar; + u16 invalChar; + + u16 ascent; + u16 descent; + + u16 width; + u16 leading; + u16 cellWidth; + u16 cellHeight; + + u32 sheetSize; + u16 sheetFormat; + u16 sheetColumn; + u16 sheetRow; + u16 sheetWidth; + u16 sheetHeight; + + u16 widthTable; + + u32 sheetImage; + u32 sheetFullSize; + + GXColor col; +} OSFontHeader; + +u16 OSGetFontEncode(); +u16 OSSetFontEncode(u16 encode); + +u32 OSLoadFont(OSFontHeader* fontData, void* tmp); + +char* OSGetFontTexel(const char* string, void* image, s32 pos, s32 stride, s32* width); + +#ifdef __cplusplus +} +#endif + +#endif // REVOLUTION_OS_FONT_H diff --git a/libs/RVL_SDK/include/revolution/os/OSInterrupt.h b/libs/RVL_SDK/include/revolution/os/OSInterrupt.h index abf516b3..c2a8df62 100644 --- a/libs/RVL_SDK/include/revolution/os/OSInterrupt.h +++ b/libs/RVL_SDK/include/revolution/os/OSInterrupt.h @@ -3,17 +3,15 @@ #ifndef REVOLUTION_OS_INTERRUPT_H #define REVOLUTION_OS_INTERRUPT_H -#include - #include -#include #ifdef __cplusplus extern "C" { #endif -typedef s16 __OSInterrupt; -typedef void (*__OSInterruptHandler)(__OSInterrupt interrupt, OSContext* context); +int OSDisableInterrupts(); +int OSEnableInterrupts(); +int OSRestoreInterrupts(int level); #ifdef __cplusplus } diff --git a/libs/RVL_SDK/include/revolution/os/OSL2.h b/libs/RVL_SDK/include/revolution/os/OSL2.h new file mode 100644 index 00000000..16668b9f --- /dev/null +++ b/libs/RVL_SDK/include/revolution/os/OSL2.h @@ -0,0 +1,18 @@ +#ifndef REVOLUTION_OS_L2_H +#define REVOLUTION_OS_L2_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +void L2Enable(); +void L2Disable(); +void L2GlobalInvalidate(); + +#ifdef __cplusplus +} +#endif + +#endif // REVOLUTION_OS_L2_H diff --git a/libs/RVL_SDK/include/revolution/os/OSLink.h b/libs/RVL_SDK/include/revolution/os/OSLink.h new file mode 100644 index 00000000..f18fe6ec --- /dev/null +++ b/libs/RVL_SDK/include/revolution/os/OSLink.h @@ -0,0 +1,42 @@ + + +#ifndef REVOLUTION_OS_LINK_H +#define REVOLUTION_OS_LINK_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef u32 OSModuleID; +typedef struct OSModuleInfo OSModuleInfo; + +typedef struct OSModuleQueue { + OSModuleInfo* head; + OSModuleInfo* tail; +} OSModuleQueue; + +typedef struct OSModuleLink { + OSModuleInfo* next; + OSModuleInfo* prev; +} OSModuleLink; + +struct OSModuleInfo { + OSModuleID id; // 0x00 + OSModuleLink link; // 0x04 + + u32 numSections; // 0x0C + u32 sectionInfoOffset; // 0x10 + + u32 nameOffset; // 0x14 + u32 nameSize; // 0x18 + + u32 version; // 0x1C +}; + +#ifdef __cplusplus +} +#endif + +#endif // REVOLUTION_OS_LINK_H diff --git a/libs/RVL_SDK/include/revolution/os/OSMemMap.h b/libs/RVL_SDK/include/revolution/os/OSMemMap.h new file mode 100644 index 00000000..3295d5b9 --- /dev/null +++ b/libs/RVL_SDK/include/revolution/os/OSMemMap.h @@ -0,0 +1,98 @@ +#ifndef REVOLUTION_OS_MEMORY_MAP_H +#define REVOLUTION_OS_MEMORY_MAP_H + +#define OS_ADDR_MEMORY_MAP_PART_1 0x0000 +#define OS_ADDR_MEMORY_MAP_SIZE 0x0100 + +#define OS_ADDR_BOOT_INFO 0x0000 + +#define OS_ADDR_DB_INTERFACE 0x0040 +#define OS_ADDR_DB_INTEGRATOR_HOOK 0x0060 + +#define OS_ADDR_CURRENT_CONTEXT_REAL 0x00C0 + +#define OS_ADDR_PREVIOUS_INTERRUPT 0x00C4 +#define OS_ADDR_CURRENT_INTERRUPT 0x00C8 + +#define OS_ADDR_TV_VIDEO_FORMAT 0x00CC + +#define OS_ADDR_AUDIO_RAM_LENGTH 0x00D0 + +#define OS_ADDR_CURRENT_CONTEXT 0x00D4 +#define OS_ADDR_CURRENT_FPU_CONTEXT 0x00D8 + +#define OS_ADDR_ACTIVE_THREAD_QUEUE 0x00DC + +#define OS_ADDR_CURRENT_THREAD 0x00E4 + +#define OS_ADDR_DEBUG_MONITOR_SIZE 0x00E8 +#define OS_ADDR_DEBUG_MONITOR 0x00EC + +#define OS_ADDR_SIMULATED_MEMORY_SIZE 0x00F0 + +#define OS_ADDR_BOOT_INFO_2 0x00F4 + +#define OS_ADDR_BUS_CLOCK_SPEED 0x00F8 +#define OS_ADDR_CPU_CLOCK_SPEED 0x00FC + +#define OS_ADDR_MEMORY_MAP_PART_2 0x3000 + +#define OS_ADDR_EXCEPTION_TABLE 0x3000 + +#define OS_ADDR_INTERRUPT_TABLE 0x3040 + +#define OS_ADDR_EXI_LAST_PROBES 0x30C0 + +#define OS_ADDR_LINK_MODULE_LIST 0x30C8 +#define OS_ADDR_LINK_LAST_MODULE_LIST 0x30CC +#define OS_ADDR_LINK_STRING_TABLE 0x30D0 + +#define OS_ADDR_SYSTEM_TIME 0x30D8 + +#define OS_ADDR_DEVICE_CODE 0x30E6 +#define OS_ADDR_BI2_DEBUG_FLAG 0x30E8 +#define OS_ADDR_BI2_PAD_SPEC 0x30E9 + +#define OS_ADDR_LAUNCH_EXEC_PARAMS 0x30F0 + +#define OS_ADDR_PHYSICAL_MEM1_SIZE 0x3100 +#define OS_ADDR_SIMULATED_MEM1_SIZE 0x3104 +#define OS_ADDR_AVAILABLE_MEM1_START 0x310C +#define OS_ADDR_AVAILABLE_MEM1_END 0x3110 + +#define OS_ADDR_PHYSICAL_MEM2_SIZE 0x3118 +#define OS_ADDR_SIMULATED_MEM2_SIZE 0x311C +#define OS_ADDR_ACCESSIBLE_MEM2 0x3120 +#define OS_ADDR_AVAILABLE_MEM2_START 0x3124 +#define OS_ADDR_AVAILABLE_MEM2_END 0x3128 + +#define OS_ADDR_IPC_BUFFER_START 0x3130 +#define OS_ADDR_IPC_BUFFER_END 0x3134 + +#define OS_ADDR_HOLLYWOOD_REVISION 0x3138 + +#define OS_ADDR_IOS_REVISION 0x3140 +#define OS_ADDR_IOS_BUILD_DATE 0x3144 +#define OS_ADDR_IOS_HEAP_START 0x3148 +#define OS_ADDR_IOS_HEAP_END 0x314C + +#define OS_ADDR_GDDR_VENDOR_CODE 0x3158 + +#define OS_ADDR_BOOT_PROGRAM_TARGET 0x315C +#define OS_ADDR_APP_LOADER_TARGET 0x315D +#define OS_ADDR_DEV_KIT_VERSION 0x315E + +#define OS_ADDR_MIOS_SHUTDOWN_FLAG 0x3164 + +#define OS_ADDR_CURRENT_APP_NAME 0x3180 +#define OS_ADDR_CURRENT_APP_TYPE 0x3184 + +#define OS_ADDR_MINIMUM_IOS_VERSION 0x3188 + +#define OS_ADDR_NAND_TITLE_LAUNCH_CODE 0x318C +#define OS_ADDR_NAND_TITLE_RETURN_CODE 0x3190 + +#define OS_ADDR_BOOT_PART_TYPE 0x3194 +#define OS_ADDR_BOOT_PART_OFFSET 0x3198 + +#endif // REVOLUTION_OS_MEMORY_MAP_H diff --git a/libs/RVL_SDK/include/revolution/os/OSMemory.h b/libs/RVL_SDK/include/revolution/os/OSMemory.h new file mode 100644 index 00000000..236a7c9a --- /dev/null +++ b/libs/RVL_SDK/include/revolution/os/OSMemory.h @@ -0,0 +1,25 @@ + + +#ifndef REVOLUTION_OS_MEMORY_H +#define REVOLUTION_OS_MEMORY_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +u32 OSGetPhysicalMem1Size(); +u32 OSGetPhysicalMem2Size(); + +u32 OSGetConsoleSimulatedMem1Size(); +u32 OSGetConsoleSimulatedMem2Size(); + +#define OSIsMEM1Region(addr) (((u32)(addr) & 0x30000000) == 0) +#define OSIsMEM2Region(addr) (((u32)(addr) & 0x30000000) == 0x10000000) + +#ifdef __cplusplus +} +#endif + +#endif // REVOLUTION_OS_MEMORY_H diff --git a/libs/RVL_SDK/include/revolution/os/OSMessage.h b/libs/RVL_SDK/include/revolution/os/OSMessage.h index f2787c9a..f639da57 100644 --- a/libs/RVL_SDK/include/revolution/os/OSMessage.h +++ b/libs/RVL_SDK/include/revolution/os/OSMessage.h @@ -19,15 +19,13 @@ typedef struct { s32 usedCount; // 0x1C } OSMessageQueue; -void OSInitMessageQueue(OSMessageQueue* queue, OSMessage* msg, s32 msgCount); +void OSInitMessageQueue(OSMessageQueue* queue, OSMessage* msgArray, s32 msgCount); BOOL OSSendMessage(OSMessageQueue* queue, OSMessage msg, s32 flags); BOOL OSJamMessage(OSMessageQueue* queue, OSMessage msg, s32 flags); -BOOL OSReceiveMessage(OSMessageQueue* queue, OSMessage* msg, s32 flags); +BOOL OSReceiveMessage(OSMessageQueue* queue, OSMessage* msgArray, s32 flags); #ifdef __cplusplus } #endif #endif // REVOLUTION_OS_MESSAGE_H - - diff --git a/libs/RVL_SDK/include/revolution/os/OSMutex.h b/libs/RVL_SDK/include/revolution/os/OSMutex.h index c022be16..057be040 100644 --- a/libs/RVL_SDK/include/revolution/os/OSMutex.h +++ b/libs/RVL_SDK/include/revolution/os/OSMutex.h @@ -18,8 +18,15 @@ struct OSCond { OSThreadQueue queue; // 0x00 }; +void OSInitMutex(OSMutex* mutex); +void OSLockMutex(OSMutex* mutex); +void OSUnlockMutex(OSMutex* mutex); +BOOL OSTryLockMutex(OSMutex* mutex); + +#include + #ifdef __cplusplus } #endif -#endif // REVOLUTION_OS_MUTEX_H \ No newline at end of file +#endif // REVOLUTION_OS_MUTEX_H diff --git a/libs/RVL_SDK/include/revolution/os/OSNandbootInfo.h b/libs/RVL_SDK/include/revolution/os/OSNandbootInfo.h deleted file mode 100644 index 7f7ab5f9..00000000 --- a/libs/RVL_SDK/include/revolution/os/OSNandbootInfo.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef REVOLUTION_OS_NANDBOOT_INFO_H -#define REVOLUTION_OS_NANDBOOT_INFO_H - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct OSNandbootInfo { - u32 checksum; // 0x00 - u32 argsoff; // 0x04 - - u8 padding0[2]; // 0x08 - - u8 apptype; // 0x0A - u8 titletype; // 0x0B - - u32 launchcode; // 0x0C - u8 padding1[8]; // 0x10 - u64 launcher; // 0x18 - - u8 argBuf[0x1000]; // 0x20 -} OSNandbootInfo; - -#ifdef __cplusplus -} -#endif - -#endif // REVOLUTION_OS_NANDBOOT_INFO_H - - diff --git a/libs/RVL_SDK/include/revolution/os/OSReset.h b/libs/RVL_SDK/include/revolution/os/OSReset.h index 59444699..26d16936 100644 --- a/libs/RVL_SDK/include/revolution/os/OSReset.h +++ b/libs/RVL_SDK/include/revolution/os/OSReset.h @@ -1,6 +1,8 @@ #ifndef REVOLUTION_OS_RESET_H #define REVOLUTION_OS_RESET_H +#include + #ifdef __cplusplus extern "C" { #endif @@ -8,12 +10,11 @@ extern "C" { typedef BOOL (*OSShutdownFunction)(BOOL, u32); typedef struct OSShutdownFunctionInfo OSShutdownFunctionInfo; - struct OSShutdownFunctionInfo { OSShutdownFunction func; // 0x00 - + u32 priority; // 0x04 - + OSShutdownFunctionInfo* next; // 0x08 OSShutdownFunctionInfo* prev; // 0x0C }; @@ -26,10 +27,13 @@ typedef struct OSShutdownFunctionQueue { void OSRegisterShutdownFunction(OSShutdownFunctionInfo* info); void OSUnregisterShutdownFunction(OSShutdownFunctionInfo* info); +u32 OSGetResetCode(); + +void OSReturnToMenu(); +void OSShutdownSystem(); + #ifdef __cplusplus } #endif #endif // REVOLUTION_OS_RESET_H - - diff --git a/libs/RVL_SDK/include/revolution/os/OSResetSW.h b/libs/RVL_SDK/include/revolution/os/OSResetSW.h index 86ddb667..2d1ae04d 100644 --- a/libs/RVL_SDK/include/revolution/os/OSResetSW.h +++ b/libs/RVL_SDK/include/revolution/os/OSResetSW.h @@ -16,5 +16,3 @@ OSPowerCallback OSSetPowerCallback(OSPowerCallback callback); #endif #endif // REVOLUTION_OS_RESET_SOFTWARE_H - - diff --git a/libs/RVL_SDK/include/revolution/os/OSRtc.h b/libs/RVL_SDK/include/revolution/os/OSRtc.h index 79e45b86..d59633b8 100644 --- a/libs/RVL_SDK/include/revolution/os/OSRtc.h +++ b/libs/RVL_SDK/include/revolution/os/OSRtc.h @@ -7,7 +7,25 @@ extern "C" { #endif -BOOL __OSSyncSram(); +u16 OSGetGbsMode(); +void OSSetGbsMode(u16 mode); + +u32 OSGetSoundMode(); +void OSSetSoundMode(u32 mode); + +u32 OSGetProgressiveMode(); +void OSSetProgressiveMode(u32 mode); + +void OSSetVideoMode(u32 mode); + +u8 OSGetLanguage(); +void OSSetLanguage(u8 language); + +u32 OSGetEuRgb60Mode(); +void OSSetEuRgb60Mode(u32 on); + +u16 OSGetWirelessID(s32 chan); +void OSSetWirelessID(s32 chan, u16 id); #ifdef __cplusplus } diff --git a/libs/RVL_SDK/include/revolution/os/OSSemaphore.h b/libs/RVL_SDK/include/revolution/os/OSSemaphore.h new file mode 100644 index 00000000..b66a4b07 --- /dev/null +++ b/libs/RVL_SDK/include/revolution/os/OSSemaphore.h @@ -0,0 +1,23 @@ +#ifndef REVOLUTION_OS_SEMAPHORE_H +#define REVOLUTION_OS_SEMAPHORE_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct OSSemaphore { + s32 count; + OSThreadQueue queue; +} OSSemaphore; + +void OSInitSemaphore(OSSemaphore* sem, s32 count); +s32 OSWaitSemaphore(OSSemaphore* sem); +s32 OSSignalSemaphore(OSSemaphore* sem); + +#ifdef __cplusplus +} +#endif + +#endif // REVOLUTION_OS_SEMAPHORE_H diff --git a/libs/RVL_SDK/include/revolution/os/OSThread.h b/libs/RVL_SDK/include/revolution/os/OSThread.h index 1b68beff..321e88ef 100644 --- a/libs/RVL_SDK/include/revolution/os/OSThread.h +++ b/libs/RVL_SDK/include/revolution/os/OSThread.h @@ -10,10 +10,14 @@ extern "C" { typedef s32 OSPriority; +#define OS_PRIORITY_MIN 0 +#define OS_PRIORITY_MAX 31 + #define OS_THREAD_SPECIFIC_MAX 2 typedef struct OSThread OSThread; typedef struct OSMutex OSMutex; +typedef struct OSCond OSCond; typedef struct { OSThread* head; // 0x00 @@ -35,56 +39,85 @@ typedef struct { OSMutex* prev; // 0x04 } OSMutexLink; +void OSInitMutexQueue(OSMutexQueue* queue); + struct OSThread { OSContext context; // 0x00 - u16 state; // 0x2C8 - u16 attrs; // 0x2CA - + u16 attr; // 0x2CA s32 suspend; // 0x2CC OSPriority priority; // 0x2D0 - - s32 base; // 0x2D4 - void* val; // 0x2D8 - + OSPriority base; // 0x2D4 + + void* value; // 0x2D8 + OSThreadQueue* queue; // 0x2DC OSThreadLink link; // 0x2E0 + OSThreadQueue queueJoin; // 0x2E8 - OSMutex* mutex; // 0x2F0 OSMutexQueue queueMutex; // 0x2F4 - - OSThreadLink active; // 0x2FC - - u32* stackBase; // 0x304 + + OSThreadLink linkActive; // 0x2FC + + u8* stackBase; // 0x304 u32* stackEnd; // 0x308 - + s32 error; // 0x30C void* specific[OS_THREAD_SPECIFIC_MAX]; // 0x310 }; -typedef void (*OSIdleFunction)(void* pParam); -typedef void (*OSSwitchThreadCallback)(OSThread* pFrom, OSThread* pTo); +enum { + OS_THREAD_STATE_EXITED = 0, + OS_THREAD_STATE_READY = 1, + OS_THREAD_STATE_RUNNING = 2, + OS_THREAD_STATE_WAITING = 4, + OS_THREAD_STATE_MORIBUND = 8, +}; -BOOL OSCreateThread(OSThread* thread, void* (*ThreadFunc)(void*), void* param, void* stack, u32 stackSize, OSPriority priority, u16 attr); -BOOL OSJoinThread(OSThread* thread, void* val); -BOOL OSIsThreadTerminated(OSThread* thread); -BOOL OSIsThreadSuspended(OSThread* thread); -BOOL OSSetThreadPriority(OSThread* thread, OSPriority priority); +enum { + OS_ATTR_DETATCHED = 1, +}; -s32 OSResumeThread(OSThread* thread); -s32 OSSuspendThread(OSThread* thread); +typedef void (*OSIdleFunction)(void* param); +typedef void (*OSSwitchThreadCallback)(OSThread* from, OSThread* to); +void OSInitThreadQueue(OSThreadQueue* queue); + +void OSSleepThread(OSThreadQueue* queue); +void OSWakeupThread(OSThreadQueue* queue); + +void OSSetCurrentThread(OSThread* thread); OSThread* OSGetCurrentThread(); +s32 OSEnableScheduler(); +s32 OSDisableScheduler(); + +BOOL OSIsThreadSuspended(OSThread* thread); +BOOL OSIsThreadTerminated(OSThread* thread); + +BOOL OSCreateThread(OSThread* thread, void* (*ThreadFunc)(void*), void* param, void* stack, u32 stackSize, OSPriority priority, u16 attr); +void OSExitThread(void* val); void OSCancelThread(OSThread* thread); +BOOL OSJoinThread(OSThread* thread, void* val); +void OSDetachThread(OSThread* thread); + +void OSYieldThread(); + +s32 OSSuspendThread(OSThread* thread); +s32 OSResumeThread(OSThread* thread); + +BOOL OSSetThreadPriority(OSThread* thread, OSPriority priority); +s32 OSGetThreadPriority(OSThread* thread); + +s32 OSCheckActiveThreads(); + +void OSSetThreadSpecific(s32 index, void* ptr); +void* OSGetThreadSpecific(s32 index); #ifdef __cplusplus } #endif #endif // REVOLUTION_OS_THREAD_H - - - diff --git a/libs/RVL_SDK/include/revolution/os/OSTime.h b/libs/RVL_SDK/include/revolution/os/OSTime.h index f3eedbb4..7e1c7184 100644 --- a/libs/RVL_SDK/include/revolution/os/OSTime.h +++ b/libs/RVL_SDK/include/revolution/os/OSTime.h @@ -7,13 +7,34 @@ extern "C" { #endif -s64 __OSGetSystemTime(); -s64 __OSTimeToSystemTime(); +typedef s64 OSTime; +typedef u32 OSTick; + +typedef struct OSCalendarTime { + int sec; /* 0x00 */ + int min; /* 0x04 */ + int hour; /* 0x08 */ + + int mday; /* 0x0C */ + + int mon; /* 0x10 */ + int year; /* 0x14 */ + int wday; /* 0x18 */ + int yday; /* 0x1C */ + + int msec; /* 0x20 */ + int usec; /* 0x24 */ +} OSCalendarTime; + +OSTime OSGetTime(); +OSTick OSGetTick(); +void OSSleepTicks(OSTime ticks); + +void OSTicksToCalendarTime(OSTime ticks, OSCalendarTime* pTime); +OSTime OSCalendarTimeToTicks(OSCalendarTime* pTime); #ifdef __cplusplus } #endif -#endif // REVOLUTION_OS_TIME_H - - +#endif // REVOLUTION_OS_TIME_H diff --git a/libs/RVL_SDK/include/revolution/os/OSUtf.h b/libs/RVL_SDK/include/revolution/os/OSUtf.h new file mode 100644 index 00000000..4d4e8f3d --- /dev/null +++ b/libs/RVL_SDK/include/revolution/os/OSUtf.h @@ -0,0 +1,26 @@ +#ifndef REVOLUTION_OS_UTF_H +#define REVOLUTION_OS_UTF_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +char* OSUTF8to32(const char* utf8, u32* utf32); +char* OSUTF32to8(u32 utf32, char* utf8); + +u16* OSUTF16to32(const u16* utf16, u32* utf32); +u16* OSUTF32to16(u32 utf32, u16* utf16); + +u8 OSUTF32toANSI(u32 utf32); +u32 OSANSItoUTF32(u8 ansi); + +u16 OSUTF32toSJIS(u32 utf32); +u32 OSSJIStoUTF32(u16 sjis); + +#ifdef __cplusplus +} +#endif + +#endif // REVOLUTION_OS_UTF_H diff --git a/libs/RVL_SDK/include/revolution/sc.h b/libs/RVL_SDK/include/revolution/sc.h index f508be53..0e7d0631 100644 --- a/libs/RVL_SDK/include/revolution/sc.h +++ b/libs/RVL_SDK/include/revolution/sc.h @@ -61,8 +61,14 @@ s8 SCGetRegion(); u64 SCGetTmpTitleID(); void SCSetTmpTitleID(u64 titleId); +s8 SCGetProductGameRegion(); + +void SCInit(); + void SCFlush(); +u32 SCCheckStatus(); + #ifdef __cplusplus } #endif diff --git a/libs/RVL_SDK/include/revolution/types.h b/libs/RVL_SDK/include/revolution/types.h index c414b703..1bcedb8b 100644 --- a/libs/RVL_SDK/include/revolution/types.h +++ b/libs/RVL_SDK/include/revolution/types.h @@ -27,7 +27,11 @@ typedef volatile f32 vf32; typedef volatile f64 vf64; typedef char* Ptr; + typedef int BOOL; +typedef unsigned int uBOOL; +typedef volatile BOOL vBOOL; +typedef volatile uBOOL vuBOOL; #define TRUE 1 #define FALSE 0 @@ -45,5 +49,3 @@ typedef int BOOL; #define ALIGN32 ATTRIBUTE_ALIGN(DEFAULT_ALIGN) #endif // REVOLUTION_TYPES_H - - diff --git a/libs/RVL_SDK/include/revolution/vi/vifuncs.h b/libs/RVL_SDK/include/revolution/vi/vifuncs.h index e677a19f..776d7351 100644 --- a/libs/RVL_SDK/include/revolution/vi/vifuncs.h +++ b/libs/RVL_SDK/include/revolution/vi/vifuncs.h @@ -21,6 +21,7 @@ void VISetNextFrameBuffer(void *fb); void VISetBlack(BOOL setBlack); void VISetTrapFilter(BOOL setTrap); +void VIResetDimmingCount(); void VIEnableDimming(BOOL enableDim); u32 VIGetRetraceCount(); diff --git a/libs/RVL_SDK/src/arc/arc.c b/libs/RVL_SDK/src/arc/arc.c index 7a62aadf..0e54860b 100644 --- a/libs/RVL_SDK/src/arc/arc.c +++ b/libs/RVL_SDK/src/arc/arc.c @@ -4,197 +4,216 @@ #include +#define ARC_MAX_PATH 128 + typedef struct FSTEntry { u32 isDirAndStringOff; // 0x00 - u32 parentOrPosition; // 0x04 - u32 nextEntryOrLength; // 0x08 + union { + struct { + u32 parent; // 0x04 + u32 next; // 0x08 + } dir; + struct { + u32 position; // 0x04 + u32 length; // 0x08 + } file; + }; } FSTEntry; -#define entryIsDir(fstStart, i) (((fstStart[i].isDirAndStringOff & 0xFF000000) == 0) ? FALSE : TRUE) -#define stringOff(fstStart, i) (fstStart[i].isDirAndStringOff & 0x00FFFFFF) -#define parentDir(fstStart, i) (fstStart[i].parentOrPosition) -#define nextDir(fstStart, i) (fstStart[i].nextEntryOrLength) -#define filePosition(fstStart, i) (fstStart[i].parentOrPosition) -#define fileLength(fstStart, i) (fstStart[i].nextEntryOrLength) +#define IS_ENTRY_DIR(fstStart, i) ((((fstStart)[i].isDirAndStringOff & 0xFF000000) == 0) ? FALSE : TRUE) +#define FILE_STRING_OFF(fstStart, i) ((fstStart)[i].isDirAndStringOff & 0x00FFFFFF) + +static BOOL ARCGetCurrentDir(ARCHandle* handle, char* path, u32 maxlen); + +static BOOL isSame(const char* path, const char* string) { + while (*string != 0) { + if (tolower(*path++) != tolower(*string++)) { + return FALSE; + } + } + if ((*path == '/') || (*path == 0)) { + return TRUE; + } + return FALSE; +} + +static u32 myStrncpy(char* dest, char* src, u32 maxlen) { + u32 i = maxlen; + while (i > 0 && *src != 0) { + *dest++ = *src++; + i--; + } + return (maxlen - i); +} BOOL ARCInitHandle(void* arcStart, ARCHandle* handle) { - FSTEntry* FSTEntries; ARCHeader* header = (ARCHeader*)arcStart; + FSTEntry* FSTEntries; OSAssertMsg(header->magic == ARC_MAGIC, "ARCInitHandle: bad archive format", 74); handle->archiveStartAddr = arcStart; - handle->FSTStart = FSTEntries = (void*)((u32)arcStart + header->fstStart); + + FSTEntries = (FSTEntry*)((u32)arcStart + header->fstStart); + handle->FSTStart = FSTEntries; + handle->fileStart = (void*)((u32)arcStart + header->fileStart); - handle->entryNum = nextDir(FSTEntries, 0); - handle->FSTStringStart = (char*)&(FSTEntries[handle->entryNum]); - handle->FSTLength = (u32)header->fstSize; + handle->entryNum = FSTEntries[0].dir.next; + + handle->FSTStringStart = (char*)&FSTEntries[handle->entryNum]; + handle->FSTLength = header->fstSize; + handle->currDir = 0; return TRUE; } BOOL ARCOpen(ARCHandle* handle, const char* fileName, ARCFileInfo* file) { - s32 entrynum; - char currentDir[128]; + s32 entryNum; + char currentDir[ARC_MAX_PATH]; FSTEntry* FSTEntries = (FSTEntry*)handle->FSTStart; - entrynum = ARCConvertPathToEntrynum(handle, fileName); - if (entrynum < 0) { - ARCGetCurrentDir(handle, currentDir, 128); + // Find entry number + entryNum = ARCConvertPathToEntrynum(handle, fileName); + if (entryNum < 0) { + // Abort if not found + ARCGetCurrentDir(handle, currentDir, ARC_MAX_PATH); OSReport("Warning: ARCOpen(): file '%s' was not found under %s in the archive.\n", fileName, currentDir); return FALSE; } - if ((entrynum < 0) || entryIsDir(FSTEntries, entrynum)) { + // If entry number was not a file, abort + if (entryNum < 0 || IS_ENTRY_DIR(FSTEntries, entryNum)) { return FALSE; } + // Otherwise, prepare for read. file->handle = handle; - file->startOffset = filePosition(FSTEntries, entrynum); - file->length = fileLength(FSTEntries, entrynum); + file->startOffset = FSTEntries[entryNum].file.position; + file->length = FSTEntries[entryNum].file.length; return TRUE; } -BOOL ARCFastOpen(ARCHandle* handle, s32 entrynum, ARCFileInfo* file) { +BOOL ARCFastOpen(ARCHandle* handle, s32 entryNum, ARCFileInfo* file) { FSTEntry* FSTEntries = (FSTEntry*)handle->FSTStart; - if ((entrynum < 0) || (entrynum >= handle->entryNum) || entryIsDir(FSTEntries, entrynum)) { + // If entry was not found or was not a file, abort + if (entryNum < 0 || entryNum >= handle->entryNum || IS_ENTRY_DIR(FSTEntries, entryNum)) { return FALSE; } + // Otherwise, prepare for read. file->handle = handle; - file->startOffset = filePosition(FSTEntries, entrynum); - file->length = fileLength(FSTEntries, entrynum); + file->startOffset = FSTEntries[entryNum].file.position; + file->length = FSTEntries[entryNum].file.length; + return TRUE; } -static BOOL isSame(const char* path, const char* string) { - while (*string != '\0') { - if (tolower(*path++) != tolower(*string++)) { - return FALSE; - } - } +s32 ARCConvertPathToEntrynum(ARCHandle* handle, const char* path) { + const char* ptrPath; - if ((*path == '/') || (*path == '\0')) { - return TRUE; - } + BOOL isDir; + s32 pathLen, dirLookAt, i; - return FALSE; -} - -s32 ARCConvertPathToEntrynum(ARCHandle* handle, const char* pathPtr) { - const char* ptr; - char* stringPtr; - BOOL isDir; - s32 length, dirLookAt, i; - - const char* origPathPtr = pathPtr; - FSTEntry* FSTEntries; dirLookAt = handle->currDir; FSTEntries = (FSTEntry*)handle->FSTStart; while (TRUE) { - if (*pathPtr == '\0') { - return (s32)dirLookAt; + // End of path? Done! + if (*path == 0) { + return dirLookAt; } - else if (*pathPtr == '/') { + // Ignore initial slash. + else if (*path == '/') { dirLookAt = 0; - pathPtr++; + path++; continue; } - else if (*pathPtr == '.') { - if (*(pathPtr+1) == '.') { - if (*(pathPtr+2) == '/') { - dirLookAt = parentDir(FSTEntries, dirLookAt); - pathPtr += 3; + // Special cases + else if (*path == '.') { + if (*(path + 1) == '.') { + // Found `../`? Seek to parent. + if (*(path + 2) == '/') { + dirLookAt = FSTEntries[dirLookAt].dir.parent; + path += 3; continue; } - else if (*(pathPtr+2) == '\0') { - return (s32)parentDir(FSTEntries, dirLookAt); + // If the input path was literally just `../`, then return the parent. + else if (*(path+2) == 0) { + return FSTEntries[dirLookAt].dir.parent; } } - else if (*(pathPtr+1) == '/') { - pathPtr += 2; + // "." directory does nothing + else if (*(path+1) == '/') { + path += 2; continue; } - else if (*(pathPtr+1) == '\0') { - return (s32)dirLookAt; + // Ignore trailing dot + else if (*(path+1) == 0) { + return dirLookAt; } } - - for (ptr = pathPtr; (*ptr != '\0') && (*ptr != '/'); ptr++) {} + // The directory is not special, isolate the path! + for (ptrPath = path; *ptrPath != 0 && *ptrPath != '/'; ptrPath++) {} - isDir = (*ptr == '\0')? FALSE : TRUE; - length = (s32)(ptr - pathPtr); - ptr = pathPtr; + isDir = *ptrPath == 0 ? FALSE : TRUE; + pathLen = ptrPath - path; + ptrPath = path; - for (i = dirLookAt+1; i < nextDir(FSTEntries, dirLookAt); i = entryIsDir(FSTEntries, i) ? nextDir(FSTEntries, i) : (i+1)) { -dot: - if ((entryIsDir(FSTEntries, i) == FALSE) && (isDir == TRUE)) { + for (i = dirLookAt+1; i < FSTEntries[dirLookAt].dir.next; i = IS_ENTRY_DIR(FSTEntries, i) ? FSTEntries[i].dir.next : i+1) { + char* name; +loop_back: + // Skip directories + if (IS_ENTRY_DIR(FSTEntries, i) == FALSE && isDir == TRUE) { continue; } - stringPtr = handle->FSTStringStart + stringOff(FSTEntries, i); - - if (*stringPtr == '.' && *(stringPtr+1) == '\0') { + // Skip empty entries + name = handle->FSTStringStart + FILE_STRING_OFF(FSTEntries, i); + if (*name == '.' && *(name+1) == 0) { i++; - goto dot; + goto loop_back; } - if (isSame(ptr, stringPtr) == TRUE) { - goto next_hier; + // Advance to next file in hierarchy + if (isSame(ptrPath, name) == TRUE) { + goto next_in_hier; } } - return -1; -next_hier: +next_in_hier: + // Path was truncated? There is nowhere else to go. if (!isDir) { - return (s32)i; + return i; } - dirLookAt = i; - pathPtr += length + 1; + path += pathLen + 1; } } -static u32 myStrncpy(char* dest, char* src, u32 maxlen) { - u32 i = maxlen; - - while ((i > 0) && (*src != 0)) { - *dest++ = *src++; - i--; - } - - return (maxlen - i); -} - -// Force this function to link (it never does) #pragma push #pragma force_active on - -BOOL ARCEntrynumIsDir(ARCHandle* handle, s32 entrynum) { - FSTEntry* FSTEntries = (FSTEntry*)handle->FSTStart; - return entryIsDir(FSTEntries, entrynum); +BOOL ARCEntrynumIsDir(ARCHandle* handle, s32 entryNum) { + return IS_ENTRY_DIR((FSTEntry*)handle->FSTStart, entryNum); } - #pragma pop static u32 entryToPath(ARCHandle* handle, u32 entry, char* path, u32 maxlen) { - char* name; - u32 loc; - FSTEntry* FSTEntries = (FSTEntry*)handle->FSTStart; + char* name; + u32 loc; + FSTEntry* FSTEntries = (FSTEntry*)handle->FSTStart; if (entry == 0) { return 0; } - name = handle->FSTStringStart + stringOff(FSTEntries, entry); - loc = entryToPath(handle, parentDir(FSTEntries, entry), path, maxlen); + name = handle->FSTStringStart + FILE_STRING_OFF(FSTEntries, entry); + loc = entryToPath(handle, FSTEntries[entry].dir.parent, path, maxlen); if (loc == maxlen) { return loc; @@ -206,33 +225,31 @@ static u32 entryToPath(ARCHandle* handle, u32 entry, char* path, u32 maxlen) { return loc; } -static BOOL ARCConvertEntrynumToPath(ARCHandle* handle, s32 entrynum, char* path, u32 maxlen) { +static BOOL ARCConvertEntrynumToPath(ARCHandle* handle, s32 entryNum, char* path, u32 maxlen) { u32 loc; FSTEntry* FSTEntries = (FSTEntry*)handle->FSTStart; - loc = entryToPath(handle, (u32)entrynum, path, maxlen); + loc = entryToPath(handle, entryNum, path, maxlen); if (loc == maxlen) { - path[maxlen - 1] = '\0'; + path[maxlen-1] = 0; return FALSE; } - if (entryIsDir(FSTEntries, entrynum)) { - if (loc == maxlen - 1) { - path[loc] = '\0'; + if (IS_ENTRY_DIR(FSTEntries, entryNum)) { + if (loc == maxlen-1) { + path[loc] = 0; return FALSE; } - path[loc++] = '/'; } - - path[loc] = '\0'; + path[loc] = 0; return TRUE; } static BOOL ARCGetCurrentDir(ARCHandle* handle, char* path, u32 maxlen) { - return ARCConvertEntrynumToPath(handle, (s32)handle->currDir, path, maxlen); + return ARCConvertEntrynumToPath(handle, handle->currDir, path, maxlen); } void* ARCGetStartAddrInMem(ARCFileInfo* file) { @@ -260,7 +277,7 @@ BOOL ARCChangeDir(ARCHandle* handle, const char* dirName) { entry = ARCConvertPathToEntrynum(handle, dirName); FSTEntries = (FSTEntry*)handle->FSTStart; - if ((entry < 0) || (entryIsDir(FSTEntries, entry) == FALSE)) { + if (entry < 0 || IS_ENTRY_DIR(FSTEntries, entry) == FALSE) { return FALSE; } @@ -276,14 +293,14 @@ BOOL ARCOpenDir(ARCHandle* handle, const char* dirName, ARCDir* dir) { entry = ARCConvertPathToEntrynum(handle, dirName); FSTEntries = (FSTEntry*)handle->FSTStart; - if ((entry < 0) || (entryIsDir(FSTEntries, entry) == FALSE)) { + if (entry < 0 || IS_ENTRY_DIR(FSTEntries, entry) == FALSE) { return FALSE; } dir->handle = handle; - dir->entryNum = (u32)entry; - dir->location = (u32)entry + 1; - dir->next = nextDir(FSTEntries, entry); + dir->entryNum = entry; + dir->location = entry+1; + dir->next = FSTEntries[entry].dir.next; return TRUE; } @@ -297,21 +314,21 @@ BOOL ARCReadDir(ARCDir* dir, ARCDirEntry* dirent) { FSTEntries = (FSTEntry*)handle->FSTStart; loc = dir->location; retry: - if ((loc <= dir->entryNum) || (dir->next <= loc)) { + if (loc <= dir->entryNum || dir->next <= loc) { return FALSE; } dirent->handle = handle; dirent->entryNum = loc; - dirent->isDir = entryIsDir(FSTEntries, loc); - dirent->name = handle->FSTStringStart + stringOff(FSTEntries, loc); + dirent->isDir = IS_ENTRY_DIR(FSTEntries, loc); + dirent->name = handle->FSTStringStart + FILE_STRING_OFF(FSTEntries, loc); - if (dirent->name[0] == '.' && dirent->name[1] == '\0') { + if (dirent->name[0] == '.' && dirent->name[1] == 0) { loc++; goto retry; } - dir->location = entryIsDir(FSTEntries, loc) ? nextDir(FSTEntries, loc) : (loc+1); + dir->location = IS_ENTRY_DIR(FSTEntries, loc) ? FSTEntries[loc].dir.next : (loc+1); return TRUE; } @@ -320,5 +337,3 @@ BOOL ARCCloseDir(ARCDir* dir) { // stub return TRUE; } - - diff --git a/libs/RVL_SDK/src/ax/AXSPB.c b/libs/RVL_SDK/src/ax/AXSPB.c index 59bf951f..b4c7d5c6 100644 --- a/libs/RVL_SDK/src/ax/AXSPB.c +++ b/libs/RVL_SDK/src/ax/AXSPB.c @@ -33,7 +33,8 @@ void __AXDepopFadeMain(s32* all, s32* value, s16* depop) { *value = *all; *all -= avg * AX_SAMPLES_PER_FRAME; *depop = -avg; - } else { + } + else { *all = 0; *value = 0; *depop = 0; @@ -56,7 +57,8 @@ void __AXDepopFadeRmt(s32* all, s32* value, s16* depop) { *value = *all; *all -= avg * AX_SAMPLES_PER_FRAME_RMT; *depop = -avg; - } else { + } + else { *all = 0; *value = 0; *depop = 0; diff --git a/libs/RVL_SDK/src/base/PPCArch.c b/libs/RVL_SDK/src/base/PPCArch.c index 2ee8d621..06ac122b 100644 --- a/libs/RVL_SDK/src/base/PPCArch.c +++ b/libs/RVL_SDK/src/base/PPCArch.c @@ -2,172 +2,391 @@ #include asm u32 PPCMfmsr() { +#ifdef __MWERKS__ nofralloc - mfmsr r3 + mfmsr r3 blr +#endif // __MWERKS__ } -asm void PPCMtmsr(register u32 val) { +asm void PPCMtmsr(register u32 newMSR) { +#ifdef __MWERKS__ nofralloc - mtmsr val + mtmsr newMSR blr +#endif // __MWERKS__ +} + +asm u32 PPCOrMsr(register u32 value) { +#ifdef __MWERKS__ + nofralloc + mfmsr r4 + or value, r4, value + blr +#endif // __MWERKS__ +} + +asm u32 PPCAndMsr(register u32 value) { +#ifdef __MWERKS__ + nofralloc + mfmsr r4 + and value, r4, value + blr +#endif // __MWERKS__ +} + +asm u32 PPCAndCMsr(register u32 value) { +#ifdef __MWERKS__ + nofralloc + mfmsr r4 + andc value, r4, value + blr +#endif // __MWERKS__ } asm u32 PPCMfhid0() { +#ifdef __MWERKS__ nofralloc - mfhid0 r3 + mfspr r3, HID0 blr +#endif // __MWERKS__ } -asm void PPCMthid0(register u32 val) { +asm void PPCMthid0(register u32 newHID0) { +#ifdef __MWERKS__ nofralloc - mthid0 val + mtspr HID0, newHID0 blr +#endif // __MWERKS__ +} + +asm u32 PPCMfhid1() { +#ifdef __MWERKS__ + nofralloc + mfspr r3, HID1 + blr +#endif // __MWERKS__ } asm u32 PPCMfl2cr() { +#ifdef __MWERKS__ nofralloc - mfl2cr r3 + mfspr r3, L2CR blr +#endif // __MWERKS__ } -asm void PPCMtl2cr(register u32 val) { +asm void PPCMtl2cr(register u32 newL2cr) { +#ifdef __MWERKS__ nofralloc - mtl2cr val + mtspr L2CR, newL2cr blr +#endif // __MWERKS__ } -asm void PPCMtdec(register u32 val) { +asm void PPCMtdec(register u32 newDec) { +#ifdef __MWERKS__ nofralloc - mtdec val + mtdec newDec blr +#endif // __MWERKS__ +} + +asm u32 PPCMfdec() { +#ifdef __MWERKS__ + nofralloc + mfdec r3 + blr +#endif // __MWERKS__ } asm void PPCSync() { +#ifdef __MWERKS__ nofralloc sc blr +#endif // __MWERKS__ } -/** @note The one and only. */ +asm void PPCEieio() { +#ifdef __MWERKS__ + nofralloc + mfmsr r5 + rlwinm r6, r5, 0, 17, 15 + mtmsr r6 + mfspr r3, HID0 + ori r4, r3, 0x8 + mtspr HID0, r4 + isync + eieio + isync + mtspr HID0, r3 + mtmsr r5 + isync + blr +#endif // __MWERKS__ +} + +// The one and only... asm void PPCHalt() { +#ifdef __MWERKS__ nofralloc sync -_spin: +loop: nop li r3, 0 nop - b _spin + b loop +#endif // __MWERKS__ } -asm void PPCMtmmcr0(register u32 val) { +asm u32 PPCMfmmcr0() { +#ifdef __MWERKS__ nofralloc - mtmmcr0 val + mfspr r3, MMCR0 blr +#endif // __MWERKS__ } -asm void PPCMtmmcr1(register u32 val) { +asm void PPCMtmmcr0(register u32 newMmcr0) { +#ifdef __MWERKS__ nofralloc - mtmmcr1 val + mtspr MMCR0, newMmcr0 blr +#endif // __MWERKS__ } -asm void PPCMtpmc1(register u32 val) { +asm u32 PPCMfmmcr1() { +#ifdef __MWERKS__ nofralloc - mtpmc1 val + mfspr r3, MMCR1 blr +#endif // __MWERKS__ } -asm void PPCMtpmc2(register u32 val) { +asm void PPCMtmmcr1(register u32 newMmcr1) { +#ifdef __MWERKS__ nofralloc - mtpmc2 val + mtspr MMCR1, newMmcr1 blr +#endif // __MWERKS__ } -asm void PPCMtpmc3(register u32 val) { +asm u32 PPCMfpmc1() { +#ifdef __MWERKS__ nofralloc - mtpmc3 val + mfspr r3, PMC1 blr +#endif // __MWERKS__ } -asm void PPCMtpmc4(register u32 val){ +asm void PPCMtpmc1(register u32 newPmc1) { +#ifdef __MWERKS__ nofralloc - mtpmc4 val + mtspr PMC1, newPmc1 blr +#endif // __MWERKS__ +} + +asm u32 PPCMfpmc2() { +#ifdef __MWERKS__ + nofralloc + mfspr r3, PMC2 + blr +#endif // __MWERKS__ +} + +asm void PPCMtpmc2(register u32 newPmc2) { +#ifdef __MWERKS__ + nofralloc + mtspr PMC2, newPmc2 + blr +#endif // __MWERKS__ +} + +asm u32 PPCMfpmc3() { +#ifdef __MWERKS__ + nofralloc + mfspr r3, PMC3 + blr +#endif // __MWERKS__ +} + +asm void PPCMtpmc3(register u32 newPmc3) { +#ifdef __MWERKS__ + nofralloc + mtspr PMC3, newPmc3 + blr +#endif // __MWERKS__ +} + +asm u32 PPCMfpmc4() { +#ifdef __MWERKS__ + nofralloc + mfspr r3, PMC4 + blr +#endif // __MWERKS__ +} + +asm void PPCMtpmc4(register u32 newPmc4) { +#ifdef __MWERKS__ + nofralloc + mtspr PMC4, newPmc4 + blr +#endif // __MWERKS__ } u32 PPCMffpscr() { - register u64 fpscr; +#ifdef __MWERKS__ + union FpscrUnion m; asm { - mffs f31 - stfd f31, fpscr + mffs fp31 + stfd fp31, m.f; } - return fpscr; + return m.u.fpscr; +#endif // __MWERKS__ } -void PPCMtfpscr(register u32 val) { - register struct { - f32 tmp; - f32 data; - } fpscr; +asm u32 PPCMfsia() { +#ifdef __MWERKS__ + nofralloc + mfspr r3, SIA + blr +#endif // __MWERKS__ +} + +asm void PPCMtsia(register u32 newSia) { +#ifdef __MWERKS__ + nofralloc + mtspr SIA, newSia + blr +#endif // __MWERKS__ +} + +void PPCMtfpscr(register u32 newFPSCR) { +#ifdef __MWERKS__ + union FpscrUnion m; + asm { - li r4, 0 - stw val, fpscr.data - stw r4, fpscr.tmp - lfd f31, fpscr.tmp - mtfs f31 + li r4, 0 + stw r4, m.u.fpscr_pad; + stw newFPSCR, m.u.fpscr + lfd fp31, m.f + mtfsf 0xff, fp31 } +#endif // __MWERKS__ } asm u32 PPCMfhid2() { +#ifdef __MWERKS__ nofralloc - mfspr r3, 0x398 + mfspr r3, HID2 blr +#endif // __MWERKS__ } -asm void PPCMthid2(register u32 val) { +asm void PPCMthid2(register u32 newhid2) { +#ifdef __MWERKS__ nofralloc - mtspr 0x398, val + mtspr HID2, newhid2 blr +#endif // __MWERKS__ } asm u32 PPCMfwpar() { +#ifdef __MWERKS__ nofralloc sync - mfwpar r3 + mfspr r3, WPAR blr +#endif // __MWERKS__ } -asm void PPCMtwpar(register u32 val) { +asm void PPCMtwpar(register u32 newwpar) { +#ifdef __MWERKS__ nofralloc - mtwpar r3 + mtspr WPAR, newwpar blr +#endif // __MWERKS__ +} + +asm u32 PPCMfdmaU() { +#ifdef __MWERKS__ + nofralloc + mfspr r3, DMA_U + blr +#endif // __MWERKS__ +} + +asm u32 PPCMfdmaL() { +#ifdef __MWERKS__ + nofralloc + mfspr r3, DMA_L + blr +#endif // __MWERKS__ +} + +asm void PPCMtdmaU(register u32 newdmau) { +#ifdef __MWERKS__ + nofralloc + mtspr DMA_U, newdmau + blr +#endif // __MWERKS__ +} + +asm void PPCMtdmaL(register u32 newdmal) { +#ifdef __MWERKS__ + nofralloc + mtspr DMA_L, newdmal + blr +#endif // __MWERKS__ +} + +asm u32 PPCMfpvr() { +#ifdef __MWERKS__ + nofralloc + mfspr r3, PVR + blr +#endif // __MWERKS__ +} + +void PPCEnableSpeculation() { + PPCMthid0(PPCMfhid0() & ~HID0_SPD); } void PPCDisableSpeculation() { PPCMthid0(PPCMfhid0() | HID0_SPD); } +asm void PPCSetFpIEEEMode() { +#ifdef __MWERKS__ + nofralloc + mtfsb0 FPSCR_NI_BIT + blr +#endif // __MWERKS__ +} + asm void PPCSetFpNonIEEEMode() { - nofralloc - mtfsb1 29 - blr +#ifdef __MWERKS__ + nofralloc + mtfsb1 FPSCR_NI_BIT + blr +#endif // __MWERKS__ } void PPCMthid4(register u32 val) { +#ifdef __MWERKS__ if (val & HID4_H4A) { asm { - mtspr 0x3F3, val + mtspr HID4, val } - - } else { + } + else { OSReport("H4A should not be cleared because of Broadway errata.\n"); val |= HID4_H4A; asm { - mtspr 0x3F3, val + mtspr HID4, val } - } +#endif // __MWERKS__ } - - diff --git a/libs/RVL_SDK/src/exi/EXIBios.c b/libs/RVL_SDK/src/exi/EXIBios.c new file mode 100644 index 00000000..5b42ad2c --- /dev/null +++ b/libs/RVL_SDK/src/exi/EXIBios.c @@ -0,0 +1,788 @@ +#include + +#include + +#include + +#include + +#include + +#include + +DefineVersion(RVL_SDK, EXI, "Apr 20 2010", "11:19:09"); + +#define EXI_CHAN_REG(chan, idx) (__EXIRegs[((chan) * (EXI_REG_SIZE >> 2)) + (idx >> 2)]) + +static EXIControl Ecb[EXI_CHAN_MAX]; +static u32 IDSerialPort1; + +BOOL __EXIProbe(s32 chan); + +static void SetExiInterruptMask(s32 chan, EXIControl* exi) { + EXIControl* exi2; + exi2 = &Ecb[EXI_CHAN_2]; + + switch (chan) { + case EXI_CHAN_0: + if ((exi->exiCallback == 0 && exi2->exiCallback == 0) || HAS_FLAG(exi->state, EXI_STATE_LOCKED)) { + __OSMaskInterrupts(OS_INTERRUPTMASK_EXI_0_EXI | OS_INTERRUPTMASK_EXI_2_EXI); + } + else { + __OSUnmaskInterrupts(OS_INTERRUPTMASK_EXI_0_EXI | OS_INTERRUPTMASK_EXI_2_EXI); + } + break; + case EXI_CHAN_1: + if (exi->exiCallback == 0 || HAS_FLAG(exi->state, EXI_STATE_LOCKED)) { + __OSMaskInterrupts(OS_INTERRUPTMASK_EXI_1_EXI); + } + else { + __OSUnmaskInterrupts(OS_INTERRUPTMASK_EXI_1_EXI); + } + break; + case EXI_CHAN_2: + if (__OSGetInterruptHandler(__OS_INTERRUPT_PI_DEBUG) == 0 || HAS_FLAG(exi->state, EXI_STATE_LOCKED)) { + __OSMaskInterrupts(OS_INTERRUPTMASK_PI_DEBUG); + } + else { + __OSUnmaskInterrupts(OS_INTERRUPTMASK_PI_DEBUG); + } + break; + } +} + +static void CompleteTransfer(s32 chan) { + EXIControl* exi = &Ecb[chan]; + u8* buffer; + u32 data; + s32 length; + + if (HAS_FLAG(exi->state, EXI_STATE_BUSY)) { + if (HAS_FLAG(exi->state, EXI_STATE_IMM) && exi->immLen != 0) { + int i = 0; + + length = exi->immLen; + buffer = exi->immBuf; + data = EXI_CHAN_REG(chan, EXI_DATA); + + for (i = 0; i < length; i++) { + *buffer++ = (u8)((data >> ((3 - i) * 8)) & 0xFF); + } + } + + CLEAR_FLAG(exi->state, EXI_STATE_BUSY); + } +} + +BOOL EXIImm(s32 chan, void* buffer, s32 length, u32 type, EXICallback callback) { + EXIControl* exi; + BOOL enabled; + + exi = &Ecb[chan]; + enabled = OSDisableInterrupts(); + + if (HAS_FLAG(exi->state, EXI_STATE_BUSY) || !HAS_FLAG(exi->state, EXI_STATE_SELECTED)) { + OSRestoreInterrupts(enabled); + return FALSE; + } + + exi->tcCallback = callback; + if (exi->tcCallback) { + EXIClearInterrupts(chan, FALSE, TRUE, FALSE); + __OSUnmaskInterrupts((u32)(OS_INTERRUPTMASK_EXI_0_TC) >> (chan * EXI_CHAN_MAX)); + } + + exi->state |= EXI_STATE_IMM; + if (type != EXI_READ) { + u32 data = 0; + int i; + for(i = 0; i < length; i++) { + data |= ((u8*)buffer)[i] << ((3 - i) * 8); + } + EXI_CHAN_REG(chan, EXI_DATA) = data; + } + + exi->immBuf = buffer; + exi->immLen = (type != EXI_WRITE) ? length : 0; + EXI_CHAN_REG(chan, EXI_CONTROL) = (type << 2) | (1<state, EXI_STATE_BUSY) || !HAS_FLAG(exi->state, EXI_STATE_SELECTED)) { + OSRestoreInterrupts(enabled); + return FALSE; + } + + exi->tcCallback = callback; + if (exi->tcCallback) { + EXIClearInterrupts(chan, FALSE, TRUE, FALSE); + __OSUnmaskInterrupts((u32)(OS_INTERRUPTMASK_EXI_0_TC) >> (chan * EXI_CHAN_MAX)); + } + + SET_FLAG(exi->state, EXI_STATE_DMA); + + EXI_CHAN_REG(chan, EXI_MEM_ADDRESS) = (u32)buffer & ~0x1F; + EXI_CHAN_REG(chan, EXI_LENGTH) = length; + EXI_CHAN_REG(chan, EXI_CONTROL) = (type << 2) | (1<state, EXI_STATE_SELECTED) { + if (!HAS_FLAG(EXI_CHAN_REG(chan, EXI_CONTROL), (1<state, EXI_STATE_SELECTED)) { + CompleteTransfer(chan); + + if (__OSGetDIConfig() != 0xFF || (OSGetConsoleType() & OS_CONSOLE_MASK) == OS_CONSOLE_MASK_TDEV || exi->immLen != 4 + || (EXI_CHAN_REG(chan, EXI_CHAN_PARAM) & (7<exiCallback; + exi->exiCallback = exiCallback; + if (chan != EXI_CHAN_2) { + SetExiInterruptMask(chan, exi); + } + else { + SetExiInterruptMask(EXI_CHAN_0, &Ecb[0]); + } + + OSRestoreInterrupts(enabled); + return prev; +} + +void EXIProbeReset() { + __EXIProbeStartTime[EXI_CHAN_0] = __EXIProbeStartTime[EXI_CHAN_1] = 0; + Ecb[EXI_CHAN_0].idTime = Ecb[EXI_CHAN_1].idTime = 0; + __EXIProbe(EXI_CHAN_0); + __EXIProbe(EXI_CHAN_1); +} + +BOOL __EXIProbe(s32 chan) { + EXIControl* exi; + BOOL enabled; + BOOL result; + u32 chanParam; + s32 t; + + exi = &Ecb[chan]; + if (chan == EXI_CHAN_2) { + return TRUE; + } + + result = TRUE; + enabled = OSDisableInterrupts(); + chanParam = EXI_CHAN_REG(chan, EXI_CHAN_PARAM); + + if (!HAS_FLAG(exi->state, EXI_STATE_ATTACHED)) { + if (HAS_FLAG(chanParam, (1<idTime = 0; + } + + if (HAS_FLAG(chanParam, (1<idTime = 0; + result = FALSE; + } + } + else if (!HAS_FLAG(chanParam, (1<idTime = 0; + result = FALSE; + } + + OSRestoreInterrupts(enabled); + return result; +} + +BOOL EXIProbe(s32 chan) { + EXIControl* exi = &Ecb[chan]; + BOOL result; + u32 id; + + result = __EXIProbe(chan); + if (result && !exi->idTime) { + result = EXIGetID(chan, EXI_DEV_EXT, &id) ? TRUE : FALSE; + } + return result; +} + +s32 EXIProbeEx(s32 chan) { + if (EXIProbe(chan)) { + return 1; + } + if (__EXIProbeStartTime[chan]) { + return 0; + } + return -1; +} + +static BOOL __EXIAttach(s32 chan, EXICallback extCallback) { + EXIControl* exi; + BOOL enabled; + + exi = &Ecb[chan]; + enabled = OSDisableInterrupts(); + + if (HAS_FLAG(exi->state, EXI_STATE_ATTACHED) || !__EXIProbe(chan)) { + OSRestoreInterrupts(enabled); + return FALSE; + } + + EXIClearInterrupts(chan, TRUE, FALSE, FALSE); + exi->extCallback = extCallback; + __OSUnmaskInterrupts((u32)OS_INTERRUPTMASK_EXI_0_EXT >> (chan * EXI_CHAN_MAX)); + exi->state |= EXI_STATE_ATTACHED; + + OSRestoreInterrupts(enabled); + return TRUE; +} + +BOOL EXIAttach(s32 chan, EXICallback extCallback) { + EXIControl* exi; + BOOL enabled; + int result; + + exi = &Ecb[chan]; + + EXIProbe(chan); + enabled = OSDisableInterrupts(); + if (exi->idTime == 0) { + OSRestoreInterrupts(enabled); + return FALSE; + } + + result = __EXIAttach(chan, extCallback); + OSRestoreInterrupts(enabled); + + return result; +} + +BOOL EXIDetach(s32 chan) { + EXIControl* exi; + BOOL enabled; + + exi = &Ecb[chan]; + enabled = OSDisableInterrupts(); + + if (!HAS_FLAG(exi->state, EXI_STATE_ATTACHED)) { + OSRestoreInterrupts(enabled); + return TRUE; + } + + if (HAS_FLAG(exi->state, EXI_STATE_LOCKED) && exi->dev == EXI_DEV_EXT) { + OSRestoreInterrupts(enabled); + return FALSE; + } + + CLEAR_FLAG(exi->state, EXI_STATE_ATTACHED); + __OSMaskInterrupts((u32)(OS_INTERRUPTMASK_EXI_0_EXI | OS_INTERRUPTMASK_EXI_0_EXT) >> (chan * EXI_CHAN_MAX)); + + OSRestoreInterrupts(enabled); + return TRUE; +} + +BOOL EXISelectSD(s32 chan, u32 dev, u32 freq) { + EXIControl* exi; + u32 chanParam; + BOOL enabled; + + exi = &Ecb[chan]; + + enabled = OSDisableInterrupts(); + if (HAS_FLAG(exi->state, EXI_STATE_SELECTED) || (chan != EXI_CHAN_2 + && ((dev == EXI_DEV_EXT && !HAS_FLAG(exi->state, EXI_STATE_ATTACHED) && !EXIProbe(chan)) || !HAS_FLAG(exi->state, EXI_STATE_LOCKED) + || exi->dev != dev))) { + OSRestoreInterrupts(enabled); + return FALSE; + } + + SET_FLAG(exi->state, EXI_STATE_SELECTED); + chanParam = EXI_CHAN_REG(chan, EXI_CHAN_PARAM); + chanParam &= ((1<state, EXI_STATE_ATTACHED)) { + switch (chan) { + case EXI_CHAN_0: + __OSMaskInterrupts(OS_INTERRUPTMASK_EXI_0_EXT); + break; + case EXI_CHAN_1: + __OSMaskInterrupts(OS_INTERRUPTMASK_EXI_1_EXT); + break; + } + } + + OSRestoreInterrupts(enabled); + + return TRUE; +} + +BOOL EXISelect(s32 chan, u32 dev, u32 freq) { + EXIControl* exi; + u32 chanParam; + BOOL enabled; + + exi = &Ecb[chan]; + + enabled = OSDisableInterrupts(); + if (HAS_FLAG(exi->state, EXI_STATE_SELECTED) || (chan != EXI_CHAN_2 + && ((dev == EXI_DEV_EXT && !HAS_FLAG(exi->state, EXI_STATE_ATTACHED) && !__EXIProbe(chan)) || !HAS_FLAG(exi->state, EXI_STATE_LOCKED) + || exi->dev != dev))) { + OSRestoreInterrupts(enabled); + return FALSE; + } + + SET_FLAG(exi->state, EXI_STATE_SELECTED); + chanParam = EXI_CHAN_REG(chan, EXI_CHAN_PARAM); + chanParam &= ((1<state, EXI_STATE_ATTACHED)) { + switch (chan) { + case EXI_CHAN_0: + __OSMaskInterrupts(OS_INTERRUPTMASK_EXI_0_EXT); + break; + case EXI_CHAN_1: + __OSMaskInterrupts(OS_INTERRUPTMASK_EXI_1_EXT); + break; + } + } + + OSRestoreInterrupts(enabled); + + return TRUE; +} + +BOOL EXISelectEx(s32 chan, u32 dev, u32 freq) { + EXIControl* exi = &Ecb[chan]; + u32 chanParam; + + SET_FLAG(exi->state, EXI_STATE_SELECTED); + chanParam = EXI_CHAN_REG(chan, EXI_CHAN_PARAM); + chanParam &= ((1<state, EXI_STATE_SELECTED)) { + OSRestoreInterrupts(enabled); + return FALSE; + } + + CLEAR_FLAG(exi->state, EXI_STATE_SELECTED); + chanParam = EXI_CHAN_REG(chan, EXI_CHAN_PARAM); + EXI_CHAN_REG(chan, EXI_CHAN_PARAM) = chanParam & ((1<state, EXI_STATE_ATTACHED)) { + switch (chan) { + case EXI_CHAN_0: + __OSUnmaskInterrupts(OS_INTERRUPTMASK_EXI_0_EXT); + break; + case EXI_CHAN_1: + __OSUnmaskInterrupts(OS_INTERRUPTMASK_EXI_1_EXT); + break; + } + } + + OSRestoreInterrupts(enabled); + + if ((chan != EXI_CHAN_2) && HAS_FLAG(chanParam, (1<state, EXI_STATE_SELECTED); + chanParam = EXI_CHAN_REG(chan, 0); + EXI_CHAN_REG(chan, 0) = chanParam & ((1<exiCallback; + if (callback) { + OSContext exceptionContext; + + OSClearContext(&exceptionContext); + OSSetCurrentContext(&exceptionContext); + callback(chan, context); + OSClearContext(&exceptionContext); + OSSetCurrentContext(context); + } +} + +static void TCIntrruptHandler(__OSInterrupt interrupt, OSContext* context) { + EXIControl* exi; + s32 chan; + EXICallback callback; + OSContext temp; + + chan = (s32)((interrupt - __OS_INTERRUPT_EXI_0_TC) / EXI_CHAN_MAX); + exi = &Ecb[chan]; + + __OSMaskInterrupts((u32)OS_INTERRUPTMASK(0)/*?*/ >> interrupt); + EXIClearInterrupts(chan, FALSE, TRUE, FALSE); + + callback = exi->tcCallback; + if (callback != NULL) { + exi->tcCallback = NULL; + CompleteTransfer(chan); + OSClearContext(&temp); + OSSetCurrentContext(&temp); + callback(chan, context); + OSClearContext(&temp); + OSSetCurrentContext(context); + } +} + +static void EXTIntrruptHandler(__OSInterrupt interrupt, OSContext* context) { + s32 chan; + EXIControl* exi; + EXICallback callback; + + chan = (interrupt - __OS_INTERRUPT_EXI_0_EXT) / EXI_CHAN_MAX; + + __OSMaskInterrupts(0x500000U >> (chan * EXI_CHAN_MAX)); + exi = &Ecb[chan]; + callback = exi->extCallback; + exi->state &= ~EXI_STATE_ATTACHED; + + if (callback) { + OSContext exceptionContext; + + OSClearContext(&exceptionContext); + OSSetCurrentContext(&exceptionContext); + exi->extCallback = NULL; + callback(chan, context); + OSClearContext(&exceptionContext); + OSSetCurrentContext(context); + } +} + +void EXIInit() { + u32 id; + + while ((EXI_CHAN_REG(EXI_CHAN_0, EXI_CONTROL) & (1<state, EXI_STATE_LOCKED)) { + if (unlockedCallback) { + for (i = 0; i < exi->items; i++) { + if (exi->queue[i].device == dev) { + OSRestoreInterrupts(enabled); + return FALSE; + } + } + exi->queue[exi->items].cb = unlockedCallback; + exi->queue[exi->items].device = dev; + exi->items++; + } + + OSRestoreInterrupts(enabled); + return FALSE; + } + + SET_FLAG(exi->state, EXI_STATE_LOCKED); + exi->dev = dev; + + SetExiInterruptMask(chan, exi); + OSRestoreInterrupts(enabled); + + return TRUE; +} + +BOOL EXIUnlock(s32 chan) { + EXIControl* exi; + BOOL enabled; + EXICallback unlockedCallback; + + exi = &Ecb[chan]; + enabled = OSDisableInterrupts(); + + if (!HAS_FLAG(exi->state, EXI_STATE_LOCKED)) { + OSRestoreInterrupts(enabled); + return FALSE; + } + + CLEAR_FLAG(exi->state, EXI_STATE_LOCKED); + SetExiInterruptMask(chan, exi); + if (exi->items > 0) { + unlockedCallback = exi->queue[0].cb; + if (--exi->items > 0) { + memmove(&exi->queue[0], &exi->queue[1], exi->items * 8); + } + unlockedCallback(chan, 0); + } + + OSRestoreInterrupts(enabled); + + return TRUE; +} + +u32 EXIGetState(s32 chan) { + EXIControl* exi; + + exi = &Ecb[chan]; + return exi->state; +} + +static void UnlockedHandler(s32 chan, OSContext* context) { + u32 id; + EXIGetID(chan, EXI_DEV_EXT, &id); +} + +BOOL EXIGetID(s32 chan, u32 dev, u32* id) { + EXIControl* exi = &Ecb[chan]; + int err; + u32 cmd; + s32 startTime; + BOOL enabled; + + if (chan == EXI_CHAN_0 && dev == EXI_DEV_NET && IDSerialPort1 != 0) { + *id = IDSerialPort1; + return TRUE; + } + + if (chan < EXI_CHAN_2 && dev == EXI_DEV_EXT) { + if (!__EXIProbe(chan)) { + return FALSE; + } + + if (exi->idTime == __EXIProbeStartTime[chan]) { + *id = exi->id; + return exi->idTime; + } + + if (!__EXIAttach(chan, NULL)) { + return FALSE; + } + + startTime = __EXIProbeStartTime[chan]; + } + + enabled = OSDisableInterrupts(); + err = !EXILock(chan, dev, (chan < EXI_CHAN_2 && dev == EXI_DEV_EXT) ? UnlockedHandler : 0); + if (!err) { + err = !EXISelect(chan, dev, EXI_FREQ_1MHZ); + if (!err) { + cmd = 0; + err |= !EXIImm(chan, &cmd, sizeof(u16), EXI_WRITE, NULL); + err |= !EXISync(chan); + err |= !EXIImm(chan, id, sizeof(u32), EXI_READ, NULL); + err |= !EXISync(chan); + err |= !EXIDeselect(chan); + } + + EXIUnlock(chan); + } + + OSRestoreInterrupts(enabled); + + if (chan < EXI_CHAN_2 && dev == EXI_DEV_EXT) { + EXIDetach(chan); + enabled = OSDisableInterrupts(); + err |= __EXIProbeStartTime[chan] != startTime; + + if (!err) { + exi->id = *id; + exi->idTime = startTime; + } + + OSRestoreInterrupts(enabled); + + if (err) { + return FALSE; + } + + return exi->idTime; + } + + return err ? FALSE : TRUE; +} + +BOOL EXIGetIDEx(s32 chan, u32 dev, u32* id) { + EXIControl* exi = &Ecb[chan]; + BOOL err; + u32 cmd; + + err = !EXISelectEx(chan, dev, EXI_FREQ_1MHZ); + if (!err) { + cmd = 0; + err |= !EXIImm(chan, &cmd, sizeof(u16), EXI_WRITE, NULL); + err |= !EXISync(chan); + err |= !EXIImm(chan, id, sizeof(u32), EXI_READ, NULL); + err |= !EXISync(chan); + err |= !EXIDeselectEx(chan); + } + + if (!err) { + exi->id = *id; + exi->idTime = __EXIProbeStartTime[chan]; + } + + return err ? FALSE : TRUE; +} diff --git a/libs/RVL_SDK/src/exi/EXICommon.c b/libs/RVL_SDK/src/exi/EXICommon.c new file mode 100644 index 00000000..72097831 --- /dev/null +++ b/libs/RVL_SDK/src/exi/EXICommon.c @@ -0,0 +1,52 @@ +#include + +const u32 __EXIFreq = EXI_FREQ_16MHZ; + +static inline u32 __EXISwap32(u32 val) { + return (val >> 24 & 0x000000FF) + | (val >> 8 & 0x0000FF00) + | (val << 8 & 0x00FF0000) + | (val << 24 & 0xFF000000); +} + +BOOL EXIWriteReg(s32 chan, u32 dev, u32 exiCmd, void* reg, s32 size) { + BOOL ret = FALSE; + u32 reg32; + + switch (size) { + case 1: { + reg32 = (u32)(*(u8*)reg << 24); + break; + } + case 2: { + reg32 = (u32)(*(u16*)reg << 24 | (*(u16*)reg & 0xFF00) << 8); + break; + } + default: { + reg32 = __EXISwap32(*((u32*)reg)); + break; + } + } + + ret |= !EXILock(chan, dev, NULL); + + if (ret) { + return FALSE; + } + + ret |= !EXISelect(chan, dev, EXI_FREQ_16MHZ); + + if (ret) { + EXIUnlock(chan); + return FALSE; + } + + ret |= !EXIImm(chan, &exiCmd, sizeof(u32), EXI_WRITE, NULL); + ret |= !EXISync(chan); + ret |= !EXIImm(chan, ®32, sizeof(u32), EXI_WRITE, NULL); + ret |= !EXISync(chan); + ret |= !EXIDeselect(chan); + ret |= !EXIUnlock(chan); + + return !ret; +} diff --git a/libs/RVL_SDK/src/exi/EXIUart.c b/libs/RVL_SDK/src/exi/EXIUart.c new file mode 100644 index 00000000..f541d953 --- /dev/null +++ b/libs/RVL_SDK/src/exi/EXIUart.c @@ -0,0 +1,85 @@ +#include + +static s32 Chan; +static u32 Dev; +static u32 Enabled = 0; +static u32 BarnacleEnabled = 0; + +static BOOL ProbeBarnacle(s32 chan, u32 dev, u32* revision) { + BOOL err; + u32 cmd; + + if (chan != EXI_CHAN_2 && dev == EXI_DEV_EXT) { + if (!EXIAttach(chan, NULL)) { + return FALSE; + } + } + + err = !EXILock(chan, dev, NULL); + if (!err) { + err = !EXISelect(chan, dev, EXI_FREQ_1MHZ); + + if (!err) { + cmd = 0x20011300; + err = FALSE; + err |= !EXIImm(chan, &cmd, sizeof(u32), EXI_WRITE, NULL); + err |= !EXISync(chan); + err |= !EXIImm(chan, revision, sizeof(u32), EXI_READ, NULL); + err |= !EXISync(chan); + err |= !EXIDeselect(chan); + } + + EXIUnlock(chan); + } + + if (chan != EXI_CHAN_2 && dev == EXI_DEV_EXT) { + EXIDetach(chan); + } + + if (err) { + return FALSE; + } + + return (*revision != 0xFFFFFFFF) ? TRUE : FALSE; +} + +void __OSEnableBarnacle(s32 chan, u32 dev) { + u32 id; + + if (EXIGetID(chan, dev, &id)) { + switch (id) { + case 0xFFFFFFFF: + case 0x00000004: + case 0x00000008: + case 0x00000010: + case 0x00000020: + case 0x01010000: + case 0x01020000: + case 0x02020000: + case 0x03010000: + case 0x04220000: + case 0x04020100: + case 0x04020200: + case 0x04020300: + case 0x04040404: + case 0x04060000: + case 0x04120000: + case 0x04130000: + case 0x80000004: + case 0x80000008: + case 0x80000010: + case 0x80000020: { + break; + } + default: { + if (ProbeBarnacle(chan, dev, &id)) { + Chan = chan; + Dev = dev; + BarnacleEnabled = 0xA5FF005A; + Enabled = 0xA5FF005A; + } + break; + } + } + } +} diff --git a/libs/RVL_SDK/src/os/OS.c b/libs/RVL_SDK/src/os/OS.c new file mode 100644 index 00000000..c06061ef --- /dev/null +++ b/libs/RVL_SDK/src/os/OS.c @@ -0,0 +1,955 @@ +#include + +#include +#include +#include +#include + +#include +#include + +#include + +#include + +#include + +#include + +#include + +#include + +#include +#include <__ppc_eabi_linker.h> + +#include + +SDKDefineVersion(OS, "Apr 20 2010", "11:20:43"); + + +/* Linker generated */ +extern u8 __ArenaHi[]; +extern u8 __ArenaLo[]; + +OSExecParams __OSRebootParams; + +OSTime __OSStartTime; + +static OSBootInfo* volatile BootInfo; + +static u32* BI2DebugFlag; +static u32 BI2DebugFlagHolder; + +static char GameNameBuffer[4+1]; + +static f64 ZeroF; +static f32 ZeroPS[2]; + +static DVDDriveInfo DriveInfo; +static DVDCommandBlock DriveBlock; + +__OSExceptionHandler* OSExceptionTable; + +extern u32 __PADSpec; + +extern u32 __DVDLongFileNameFlag; + +static BOOL AreWeInitialized; + +BOOL __OSIsGcam; +BOOL __OSInNandBoot, __OSInIPL; + +void __OSEVStart(); +void __OSEVEnd(); +#define __OSEVSize ((u32)__OSEVEnd - (u32)__OSEVStart) +void __OSEVSetNumber(); + +void __DBVECTOR(); + +void __OSDBINTSTART(); +void __OSDBINTEND(); +#define __OSDBINTSIZE ((u32)__OSDBINTEND - (u32)__OSDBINTSTART) + +void __OSDBJUMPSTART(); +void __OSDBJUMPEND(); +#define __OSDBJUMPSIZE ((u32)__OSDBJUMPEND - (u32)__OSDBJUMPSTART) + +void OSDefaultExceptionHandler(u8 type, register OSContext* context); + +#define OSArenaSize() ((u32)OSGetArenaHi() - (u32)OSGetArenaLo()) +#define OSMEM2ArenaSize() ((u32)OSGetMEM2ArenaHi() - (u32)OSGetMEM2ArenaLo()) + +asm void __OSFPRInit() { +#ifdef __MWERKS__ + nofralloc + + mfmsr r3 + ori r3, r3, MSR_FP + mtmsr r3 + + mfspr r3, HID2 + rlwinm. r3, r3, 3, 31, 31 + beq skipPairedSingleInit + + lis r3, ZeroPS@ha + addi r3, r3, ZeroPS@l + + psq_l fp0, 0(r3), 0, 0 + + ps_mr fp1, fp0 + ps_mr fp2, fp0 + ps_mr fp3, fp0 + ps_mr fp4, fp0 + ps_mr fp5, fp0 + ps_mr fp6, fp0 + ps_mr fp7, fp0 + ps_mr fp8, fp0 + ps_mr fp9, fp0 + ps_mr fp10, fp0 + ps_mr fp11, fp0 + ps_mr fp12, fp0 + ps_mr fp13, fp0 + ps_mr fp14, fp0 + ps_mr fp15, fp0 + ps_mr fp16, fp0 + ps_mr fp17, fp0 + ps_mr fp18, fp0 + ps_mr fp19, fp0 + ps_mr fp20, fp0 + ps_mr fp21, fp0 + ps_mr fp22, fp0 + ps_mr fp23, fp0 + ps_mr fp24, fp0 + ps_mr fp25, fp0 + ps_mr fp26, fp0 + ps_mr fp27, fp0 + ps_mr fp28, fp0 + ps_mr fp29, fp0 + ps_mr fp30, fp0 + ps_mr fp31, fp0 + +skipPairedSingleInit: + lfd fp0, ZeroF + fmr fp1, fp0 + fmr fp2, fp0 + fmr fp3, fp0 + fmr fp4, fp0 + fmr fp5, fp0 + fmr fp6, fp0 + fmr fp7, fp0 + fmr fp8, fp0 + fmr fp9, fp0 + fmr fp10, fp0 + fmr fp11, fp0 + fmr fp12, fp0 + fmr fp13, fp0 + fmr fp14, fp0 + fmr fp15, fp0 + fmr fp16, fp0 + fmr fp17, fp0 + fmr fp18, fp0 + fmr fp19, fp0 + fmr fp20, fp0 + fmr fp21, fp0 + fmr fp22, fp0 + fmr fp23, fp0 + fmr fp24, fp0 + fmr fp25, fp0 + fmr fp26, fp0 + fmr fp27, fp0 + fmr fp28, fp0 + fmr fp29, fp0 + fmr fp30, fp0 + fmr fp31, fp0 + + mtfsf 0xFF, fp0 + + blr +#endif // __MWERKS__ +} + +u32 __OSGetHollywoodRev() { + return RAMRead32(OSPhysicalToCached((OS_ADDR_HOLLYWOOD_REVISION))); +} + + +void __OSGetIOSRev(OSIOSRev* rev) { + u32 iosVer, iosBuild; + // Read form RAM + iosVer = RAMRead32(OSPhysicalToUncached(OS_ADDR_IOS_REVISION)); + iosBuild = RAMRead32(OSPhysicalToUncached(OS_ADDR_IOS_BUILD_DATE)); + + // Sort + rev->reserved = ((iosVer >> 24) & 0xFF); + rev->major = ((iosVer >> 16) & 0xFF); + rev->minor = ((iosVer >> 8) & 0xFF); + rev->micro = (iosVer & 0xFF); + + rev->month = (((iosBuild >> 20) & 0xF) * 10 + ((iosBuild >> 16) & 0xF)); + rev->date = (((iosBuild >> 12) & 0xF) * 10 + ((iosBuild >> 8) & 0xF)); + rev->year = (((iosBuild >> 4) & 0xF) * 10 + (iosBuild & 0xF) + 2000); +} + +u32 OSGetConsoleType() { + u32 hwRev; + u32 gddrSize; + + OSBootInfo* bootInfo = (OSBootInfo*)BootInfo; + if (bootInfo == NULL || bootInfo->consoleType == 0) { + return OS_CONSOLE_UNK; + } + + hwRev = __OSGetHollywoodRev(); + + if (__OSDeviceCode & DVD_DEVICE_CODE) { + switch (__OSDeviceCode & ~DVD_DEVICE_CODE) { + // Retail and prototype boards + case 0x0002: + case 0x0003: + case 0x0203: { + switch (hwRev) { + case HOLLYWOOD_ES_1_0: + return OS_CONSOLE_RVL_PP_0; + case HOLLYWOOD_ES_1_1: + return OS_CONSOLE_RVL_PP_1; + case HOLLYWOOD_ES_1_2: + return OS_CONSOLE_RVL_PP_2_1; + case HOLLYWOOD_ES_2_0: + return OS_CONSOLE_RVL_PP_2_2; + case HOLLYWOOD_ES_2_1: + return OS_CONSOLE_RETAIL; + } + + if (hwRev > HOLLYWOOD_ES_2_1) { + return OS_CONSOLE_RETAIL; + } + } + // Development boards + case 0x0202: + case 0x0201: { + switch (hwRev) { + case HOLLYWOOD_ES_1_0: + return OS_CONSOLE_NDEV_1_0; + case HOLLYWOOD_ES_1_1: + return OS_CONSOLE_NDEV_1_1; + case HOLLYWOOD_ES_1_2: + return OS_CONSOLE_NDEV_1_2; + case HOLLYWOOD_ES_2_0: + return OS_CONSOLE_NDEV_2_0; + case HOLLYWOOD_ES_2_1: + return OS_CONSOLE_NDEV_2_1; + } + if (hwRev > HOLLYWOOD_ES_2_1) { + return OS_CONSOLE_NDEV_2_1; + } + } + // Revolution Arcade + case 0x0300: { + return OS_CONSOLE_RETAIL_RVA; + } + default: { + break; + } + } + } + + gddrSize = OSGetPhysicalMem2Size(); + // 0x4000000 = 64 MB + switch (hwRev) { + case HOLLYWOOD_ES_1_0: { + if (gddrSize == 0x4000000) { + return OS_CONSOLE_RVL_PP_0; + } + else { + return OS_CONSOLE_NDEV_1_0; + } + } + case HOLLYWOOD_ES_1_1: + if (gddrSize == 0x4000000) { + return OS_CONSOLE_RVL_PP_1; + } + else { + return OS_CONSOLE_NDEV_1_1; + } + + case HOLLYWOOD_ES_1_2: + if (gddrSize == 0x4000000) { + return OS_CONSOLE_RVL_PP_2_1; + } + else { + return OS_CONSOLE_NDEV_1_2; + } + + case HOLLYWOOD_ES_2_0: + if (gddrSize == 0x4000000) { + return OS_CONSOLE_RVL_PP_2_2; + } + else { + return OS_CONSOLE_NDEV_2_0; + } + + case HOLLYWOOD_ES_2_1: + if (gddrSize == 0x4000000) { + return OS_CONSOLE_RETAIL; + } + else { + return OS_CONSOLE_NDEV_2_1; + } + } + + if (hwRev > HOLLYWOOD_ES_2_1) { + if (gddrSize == 0x4000000) { + return OS_CONSOLE_RETAIL; + } + else { + return OS_CONSOLE_NDEV_2_1; + } + } + + return BootInfo->consoleType; +} + +static void MemClear(void *base, u32 size) { + void* lastBase = (size > 0x40000) ? (void*)((u32)base + (size - 0x40000)) : base; + DCZeroRange(base, size); + DCFlushRange(lastBase, 0x40000); +} + +static void ClearArena() NO_INLINE { + if (!((OSGetResetCode() >> 31) & 1)) { + MemClear(OSGetArenaLo(), OSArenaSize()); + } + else { + if (__OSRebootParams.regionStart == NULL || !OSIsMEM1Region(__OSRebootParams.regionStart)) { + MemClear(OSGetArenaLo(), OSArenaSize()); + } + else { + if (OSGetArenaLo() < __OSRebootParams.regionStart) { + if (OSGetArenaHi() <= __OSRebootParams.regionStart) { + MemClear(OSGetArenaLo(), OSArenaSize()); + } + else { + MemClear(OSGetArenaLo(), (u32)__OSRebootParams.regionStart - (u32)OSGetArenaLo()); + + if (OSGetArenaHi() > __OSRebootParams.regionEnd) { + MemClear(__OSRebootParams.regionEnd, (u32)OSGetArenaHi() - (u32)__OSRebootParams.regionEnd); + } + } + } + } + } +} + +static void ClearMEM2Arena() NO_INLINE { + if (!((OSGetResetCode() >> 31) & 1)) { + MemClear(OSGetMEM2ArenaLo(), OSMEM2ArenaSize()); + } + else { + if (__OSRebootParams.regionStart == NULL || !OSIsMEM2Region(__OSRebootParams.regionStart)) { + MemClear(OSGetMEM2ArenaLo(), OSMEM2ArenaSize()); + } + else { + if (OSGetMEM2ArenaLo() < __OSRebootParams.regionStart) { + if (OSGetMEM2ArenaHi() <= __OSRebootParams.regionStart) { + MemClear(OSGetMEM2ArenaLo(), OSMEM2ArenaSize()); + } + else { + MemClear(OSGetMEM2ArenaLo(), (u32)__OSRebootParams.regionStart - (u32)OSGetMEM2ArenaLo()); + + if (OSGetMEM2ArenaHi() > __OSRebootParams.regionEnd) { + MemClear(__OSRebootParams.regionEnd, (u32)OSGetMEM2ArenaHi() - (u32)__OSRebootParams.regionEnd); + } + } + } + } + } +} + +void InquiryCallback(s32 res, DVDCommandBlock *block) { + switch (block->state) { + case DVD_COMMAND_STATE_IDLE: { + __OSDeviceCode = DriveInfo.deviceCode | DVD_DEVICE_CODE; + break; + } + default: { + __OSDeviceCode = (1<<0); + break; + } + } +} + +static void ReportOSInfo() { + u32 consoleType; + u32 sysMemSize; + OSIOSRev ios; + + // Print header + OSReport("\nRevolution OS\n"); + OSReport("Kernel built : %s %s\n", "Apr 20 2010", "11:20:43"); + + // Print console type. + OSReport("Console Type : "); + + consoleType = OSGetConsoleType(); + + switch (consoleType & OS_CONSOLE_MASK) { + case OS_CONSOLE_MASK_RVL: { + switch (consoleType) { + case OS_CONSOLE_RVL_PP_1: { + OSReport("Pre-production board 1\n"); + break; + } + case OS_CONSOLE_RVL_PP_2_1: { + OSReport("Pre-production board 2-1\n"); + break; + } + case OS_CONSOLE_RVL_PP_2_2: { + OSReport("Pre-production board 2-2\n"); + break; + } + case OS_CONSOLE_RETAIL_RVA: { + OSReport("RVA 1\n"); + break; + } + default: { + OSReport("Retail %d\n", consoleType); + break; + } + } + break; + } + case OS_CONSOLE_MASK_DEV: { + switch (consoleType) { + case OS_CONSOLE_NDEV_2_1: { + OSReport("NDEV 2.1\n"); + break; + } + case OS_CONSOLE_NDEV_2_0: { + OSReport("NDEV 2.0\n"); + break; + } + case OS_CONSOLE_NDEV_1_2: { + OSReport("NDEV 1.2\n"); + break; + } + case OS_CONSOLE_NDEV_1_1: { + OSReport("NDEV 1.1\n"); + break; + } + case OS_CONSOLE_NDEV_1_0: { + OSReport("NDEV 1.0\n"); + break; + } + case OS_CONSOLE_RVL_EMU: { + OSReport("Revolution Emulator\n"); + break; + } + default: { + OSReport("Emulation platform (%08x)\n", consoleType); + break; + } + } + break; + } + case OS_CONSOLE_TDEV_EMU: { + OSReport("TDEV-based emulation HW%d\n", (consoleType & ~OS_CONSOLE_MASK) - 3); + break; + } + default: { + OSReport("%08x\n", consoleType); + break; + } + } + + // Print IOS revision + __OSGetIOSRev(&ios); + OSReport("Firmware : %d.%d.%d ", ios.major, ios.minor, ios.micro); + OSReport("(%d/%d/%d)\n", ios.month, ios.date, ios.year); + + // Print total available memory + sysMemSize = (OSGetConsoleSimulatedMem1Size() + OSGetConsoleSimulatedMem2Size()); + OSReport("Memory %d MB\n", sysMemSize / (1024 * 1024)); + + // Print available memory of the arenas + OSReport("MEM1 Arena : 0x%x - 0x%x\n", OSGetMEM1ArenaLo(), OSGetMEM1ArenaHi()); + OSReport("MEM2 Arena : 0x%x - 0x%x\n", OSGetMEM2ArenaLo(), OSGetMEM2ArenaHi()); +} + +static void CheckTargets() { + switch (RAMRead8(OSPhysicalToCached(OS_ADDR_BOOT_PROGRAM_TARGET))) { + case 0x80: { + break; + } + case 0x81: { + OSReport("OS ERROR: boot program is not for RVL target. Please use correct boot program.\n"); + OSPanic(__FILE__, 1138, "Failed to run app"); + break; + } + default: { + break; + } + } + + switch (RAMRead8(OSPhysicalToCached(OS_ADDR_APP_LOADER_TARGET))) { + case 0x80: { + break; + } + case 0x81: { + OSReport("OS ERROR: apploader[D].img is not for RVL target. Please use correct apploader[D].img.\n"); + OSPanic(__FILE__, 1156, "Failed to run app"); + break; + } + default: { + break; + } + } +} + +static void DisableWriteGatherPipe() { + u32 hid2 = PPCMfhid2(); + CLEAR_FLAG(hid2, HID2_WPE); + PPCMthid2(hid2); +} + +void OSInit() { + void* bi2StartAddr; + void* arenaAddr; + + volatile OSExecParams* params = (volatile OSExecParams*)&__OSRebootParams; + + if (AreWeInitialized == FALSE) { + BOOL enabled; + AreWeInitialized = TRUE; + + // Setup starting time + __OSStartTime = __OSGetSystemTime(); + + enabled = OSDisableInterrupts(); + + // Get restart parameters + __OSGetExecParams(&__OSRebootParams); + + /// Setup PPC stuff + // MTMMCRs + PPCMtmmcr0(MMCR0_PMC1_HOLD | MMCR0_PMC2_HOLD); + PPCMtmmcr1(MMCR1_PMC3_HOLD | MMCR1_PMC4_HOLD); + + // MTPMC + PPCMtpmc1(0); + PPCMtpmc2(0); + PPCMtpmc3(0); + PPCMtpmc4(0); + + // HID 4 + PPCMthid4(HID4_H4A | HID4_SBE | HID4_PS1_CTL | (1 << 23) /*hmmm*/ | HID4_L2_CCFI); + + // Other PPC stuff + PPCDisableSpeculation(); + PPCSetFpNonIEEEMode(); + + // Setup boot information + BootInfo = (OSBootInfo*)OSPhysicalToCached(OS_ADDR_BOOT_INFO); + BI2DebugFlag = NULL; + __DVDLongFileNameFlag = FALSE; + + bi2StartAddr = *(void**)OSPhysicalToCached(OS_ADDR_BOOT_INFO_2); + + // Get debug information from Boot Information + if (bi2StartAddr != NULL) { + BI2DebugFlag = (u32*)((u32)bi2StartAddr + BI2_OFFSET_DEBUGFLAG); + __PADSpec = *(u32*)((u32)bi2StartAddr + BI2_OFFSET_PADSPEC); + + RAMWrite8(OSPhysicalToCached(OS_ADDR_BI2_DEBUG_FLAG), *BI2DebugFlag); + RAMWrite8(OSPhysicalToCached(OS_ADDR_BI2_PAD_SPEC), __PADSpec); + } + else { + if (((OSBootInfo*)OSPhysicalToCached(OS_ADDR_BOOT_INFO))->arenaHi != NULL) { + BI2DebugFlagHolder = RAMRead8(OSPhysicalToCached(OS_ADDR_BI2_DEBUG_FLAG)); + BI2DebugFlag = &BI2DebugFlagHolder; + __PADSpec = RAMRead8(OSPhysicalToCached(OS_ADDR_BI2_PAD_SPEC)); + } + } + + __DVDLongFileNameFlag = TRUE; + + arenaAddr = RAMReadPtr32(OSPhysicalToCached(OS_ADDR_AVAILABLE_MEM1_START)); + + if (arenaAddr == NULL) { + if (OSIsMEM1Region(__ArenaLo)) { + void* tmp = BootInfo->arenaLo; + arenaAddr = tmp == NULL ? __ArenaLo : tmp; + + if (BootInfo->arenaLo == NULL && BI2DebugFlag && *BI2DebugFlag < 2) { + arenaAddr = (void*)OSRoundUp32B(_stack_addr); + } + } + else { + arenaAddr = (void*)0x80004000; + } + } + + OSSetMEM1ArenaLo(arenaAddr); + + arenaAddr = RAMReadPtr32(OSPhysicalToCached(OS_ADDR_AVAILABLE_MEM1_END)); + + if (arenaAddr == NULL) { + void* tmp = BootInfo->arenaHi; + arenaAddr = tmp == NULL ? __ArenaHi : tmp; + } + + OSSetMEM1ArenaHi(arenaAddr); + + arenaAddr = RAMReadPtr32(OSPhysicalToCached(OS_ADDR_AVAILABLE_MEM2_START)); + + if (arenaAddr != NULL) { + if (OSIsMEM2Region(__ArenaLo)) { + arenaAddr = __ArenaLo; + + if (BI2DebugFlag && *BI2DebugFlag < 2) { + arenaAddr = (void*)OSRoundUp32B(_stack_addr); + } + } + else { + if ((u32)arenaAddr >= 0x90000000 && (u32)arenaAddr < 0x90000800) { + arenaAddr = (void*)0x90000800; + } + } + + OSSetMEM2ArenaLo(arenaAddr); + } + + arenaAddr = RAMReadPtr32(OSPhysicalToCached(OS_ADDR_AVAILABLE_MEM2_END)); + + if (arenaAddr != NULL) { + OSSetMEM2ArenaHi(arenaAddr); + } + + __OSInitIPCBuffer(); + OSExceptionInit(); + __OSInitSystemCall(); + __OSInitAlarm(); + __OSModuleInit(); + __OSInterruptInit(); + __OSContextInit(); + __OSCacheInit(); + EXIInit(); + SIInit(); + __OSInitSram(); + __OSThreadInit(); + __OSInitAudioSystem(); + DisableWriteGatherPipe(); + + if (!__OSInIPL) { + __OSInitMemoryProtection(); + } + + ReportOSInfo(); + OSRegisterVersion(__OSVersion); + + if (BI2DebugFlag && *BI2DebugFlag >= 2) { + EnableMetroTRKInterrupts(); + } + + if (!__OSInNandBoot && !__OSInReboot) { + ClearArena(); + ClearMEM2Arena(); + } + + OSEnableInterrupts(); + IPCCltInit(); + + if (!__OSInNandBoot && !__OSInReboot) { + __OSInitSTM(); + + SCInit(); + + while (SCCheckStatus() == 1) {} + + __OSInitNet(); + } + + if (!__OSInIPL) { + CheckTargets(); + DVDInit(); + + if (__OSIsGcam) { + __OSDeviceCode = (u16)(DVD_DEVICE_CODE | (1<<12)); + } + else if (!__OSDeviceCode) { + DCInvalidateRange(&DriveInfo, sizeof(DriveInfo)); + DVDInquiryAsync(&DriveBlock, &DriveInfo, InquiryCallback); + } + } + + if (!__OSInIPL && !__OSInNandBoot) { + __OSInitPlayTime(); + } + + if (!__OSInIPL && !__OSInNandBoot && !__OSInReboot) { + __OSStartPlayRecord(); + } + } +} + +static u32 __OSExceptionLocations[] = { + 0x100, + 0x200, + 0x300, + 0x400, + 0x500, + 0x600, + 0x700, + 0x800, + 0x900, + 0xC00, + 0xD00, + 0xF00, + 0x1300, + 0x1400, + 0x1700 +}; + +void OSExceptionInit() { + __OSException excep; + + u32* opCodeAddr = (u32*)__OSEVSetNumber; + u32 oldOpCode = *opCodeAddr; + + u8* handlerStart = (u8*)__OSEVStart; + u32 handlerSize = __OSEVSize; + + void* destAddr = (void*)OSPhysicalToCached(OS_ADDR_DB_INTEGRATOR_HOOK); + + if (*(u32*)destAddr == 0) { + DBPrintf("Installing OSDBIntegrator\n"); + memcpy(destAddr, (void*)__OSDBINTSTART, __OSDBINTSIZE); + DCFlushRangeNoSync(destAddr, __OSDBINTSIZE); + __sync(); + ICInvalidateRange(destAddr, __OSDBINTSIZE); + } + + for (excep = 0; excep < OS_ERROR_MAX; excep++) { + if (BI2DebugFlag && *BI2DebugFlag >= 2 && __DBIsExceptionMarked(excep)) { + DBPrintf(">>> OSINIT: exception %d commandeered by TRK\n", excep); + continue; + } + + *opCodeAddr = oldOpCode | excep; + + if (__DBIsExceptionMarked(excep)) { + DBPrintf(">>> OSINIT: exception %d vectored to debugger\n", excep); + memcpy((void*)__DBVECTOR, (void*)__OSDBJUMPSTART, __OSDBJUMPSIZE); + } + else { + u32* ops = (u32*)__DBVECTOR; + int cb; + + // Clear jump with NOP opcodes + for (cb = 0; cb < __OSDBJUMPSIZE; cb += 4) { + *ops++ = 0x60000000; + } + } + + destAddr = (void*)OSPhysicalToCached(__OSExceptionLocations[excep]); + memcpy(destAddr, handlerStart, handlerSize); + DCFlushRangeNoSync(destAddr, handlerSize); + __sync(); + ICInvalidateRange(destAddr, handlerSize); + } + + OSExceptionTable = OSPhysicalToCached(OS_ADDR_EXCEPTION_TABLE); + + for (excep = 0; excep < OS_ERROR_MAX; excep++) { + __OSSetExceptionHandler(excep, OSDefaultExceptionHandler); + } + + *opCodeAddr = oldOpCode; + DBPrintf("Exceptions initialized...\n"); +} + +static asm void __OSDBIntegrator() { +#ifdef __MWERKS__ + nofralloc + +entry __OSDBINTSTART + li r5, OS_ADDR_DB_INTERFACE + + mflr r3 + stw r3, DB_EXCEPTIONOFFSET_HOOKLR(r5) + lwz r3, DB_EXCEPTIONOFFSET_HOOK(r5) + + oris r3, r3, OS_CACHED_REGION_PREFIX + mtlr r3 + li r3, MSR_IR | MSR_DR + mtmsr r3 + + blr +entry __OSDBINTEND +#endif // __MWERKS__ +} + +static asm void __OSDBJump() { + #ifdef __MWERKS__ + nofralloc +entry __OSDBJUMPSTART + bla OS_ADDR_DB_INTEGRATOR_HOOK +entry __OSDBJUMPEND +#endif // __MWERKS__ +} + +__OSExceptionHandler __OSSetExceptionHandler(__OSException ex, __OSExceptionHandler handler) { + __OSExceptionHandler cur; + cur = OSExceptionTable[ex]; + OSExceptionTable[ex] = handler; + return cur; +} + +__OSExceptionHandler __OSGetExceptionHandler(__OSException ex) { + return OSExceptionTable[ex]; +} + +static asm void OSExceptionVector() { +#ifdef __MWERKS__ + nofralloc +entry __OSEVStart + mtsprg 0, r4 + lwz r4, OS_ADDR_CURRENT_CONTEXT_REAL + stw r3, OSContext.gpr[3](r4) + mfsprg r3, 0 + stw r3, OSContext.gpr[4](r4) + stw r5, OSContext.gpr[5](r4) + lhz r3, OSContext.state(r4) + ori r3, r3, 2 + sth r3, OSContext.state(r4) + mfcr r3 + stw r3, OSContext.cr(r4) + mflr r3 + stw r3, OSContext.lr(r4) + mfctr r3 + stw r3, OSContext.ctr(r4) + mfxer r3 + stw r3, OSContext.xer(r4) + mfsrr0 r3 + stw r3, OSContext.srr0(r4) + mfsrr1 r3 + stw r3, OSContext.srr1(r4) + mr r5, r3 + +entry __DBVECTOR + nop + + mfmsr r3 + ori r3, r3, (MSR_IR | MSR_DR) + mtsrr1 r3 + +entry __OSEVSetNumber + addi r3, 0, 0 + + lwz r4, OS_ADDR_CURRENT_CONTEXT + rlwinm. r5, r5, 0, 30, 30 + bne recover + addis r5, 0, OSDefaultExceptionHandler@ha + addi r5, r5, OSDefaultExceptionHandler@l + mtsrr0 r5 + rfi + +recover: + rlwinm r5, r3, 2, 22, 29 + lwz r5, 0x3000(r5) + mtsrr0 r5 + + rfi + +entry __OSEVEnd + nop +#endif // __MWERKS__ +} + +asm void OSDefaultExceptionHandler(u8 type, register OSContext* context) { +#ifdef __MWERKS__ + nofralloc + + stw r0, context->gpr[0] + stw r1, context->gpr[1] + stw r2, context->gpr[2] + stmw r6, context->gpr[6] + + mfspr r0, GQR1 + stw r0, context->gqr[1] + mfspr r0, GQR2 + stw r0, context->gqr[2] + mfspr r0, GQR3 + stw r0, context->gqr[3] + mfspr r0, GQR4 + stw r0, context->gqr[4] + mfspr r0, GQR5 + stw r0, context->gqr[5] + mfspr r0, GQR6 + stw r0, context->gqr[6] + mfspr r0, GQR7 + stw r0, context->gqr[7] + + mfdsisr r5 + mfdar r6 + + stwu r1, -8(r1) + b __OSUnhandledException +#endif // __MWERKS__ +} + +void __OSPSInit() { + PPCMthid2(PPCMfhid2() | HID2_LSQE | HID2_PSE); + ICFlashInvalidate(); + __sync(); + +#ifdef __MWERKS__ + asm { + li r3, 0 + mtspr GQR0, r3 + mtspr GQR1, r3 + mtspr GQR2, r3 + mtspr GQR3, r3 + mtspr GQR4, r3 + mtspr GQR5, r3 + mtspr GQR6, r3 + mtspr GQR7, r3 + } +#endif // __MWERKS__ +} + +u32 __OSGetDIConfig() { + return DI_READ_REG(DI_CONFIG) & 0b11111111; +} + +void OSRegisterVersion(const char *id) { + OSReport("%s\n", id); +} + +static const char* AppGameNameForSysMenu = "HAEA"; + +const char* OSGetAppGamename() { + const char* appNameSrc = (char*)OSPhysicalToCached(OS_ADDR_BOOT_PART_TYPE); + + if (__OSInIPL) { + appNameSrc = AppGameNameForSysMenu; + } + else if ((*appNameSrc < '0') || ('9' < *appNameSrc && *appNameSrc < 'A') || ('Z' < *appNameSrc)) { + appNameSrc = (char*)OSPhysicalToCached(OS_ADDR_CURRENT_APP_NAME); + } + + // Copy app name to buffer (along with a null) + GameNameBuffer[0] = *appNameSrc++; + GameNameBuffer[1] = *appNameSrc++; + GameNameBuffer[2] = *appNameSrc++; + GameNameBuffer[3] = *appNameSrc; + GameNameBuffer[4] = 0x00; + return GameNameBuffer; +} + +u8 OSGetAppType() { + if (__OSInIPL) { + return 0x40; + } + return *((u8*)OSPhysicalToCached(OS_ADDR_CURRENT_APP_TYPE)); +} diff --git a/libs/RVL_SDK/src/os/OSAlarm.c b/libs/RVL_SDK/src/os/OSAlarm.c index 1c616f9c..1c47f8ef 100644 --- a/libs/RVL_SDK/src/os/OSAlarm.c +++ b/libs/RVL_SDK/src/os/OSAlarm.c @@ -1,6 +1,7 @@ #include +#include -#include +#include #include @@ -8,7 +9,7 @@ static BOOL OnReset(BOOL final, u32 event); static void DecrementerExceptionHandler(u8 type, OSContext* context); static OSAlarmQueue AlarmQueue; -static OSShutdownFunctionInfo ShutdownFunctionInfo = {OnReset, 0xFFFFFFFF, 0, 0}; +static OSShutdownFunctionInfo ShutdownFunctionInfo = {OnReset, (u32)-1, 0, 0}; static void SetTimer(const OSAlarm* alarm) { OSTime timeLeft = alarm->fire - __OSGetSystemTime(); @@ -33,9 +34,9 @@ void __OSInitAlarm() { } } -void OSCreateAlarm(OSAlarm* pAlarm) { - pAlarm->handler = NULL; - pAlarm->tag = 0; +void OSCreateAlarm(OSAlarm* alarm) { + alarm->handler = NULL; + alarm->tag = 0; } static void InsertAlarm(OSAlarm* alarm, OSTime end, OSAlarmHandler handler) { @@ -197,7 +198,8 @@ static void DecrementerExceptionCallback(__OSException type, OSContext* context) OSLoadContext(context); } -static asm void DecrementerExceptionHandler(register u8 type, register OSContext* context) { +static asm void DecrementerExceptionHandler(register __OSException exception, register OSContext* context) { +#ifdef __MWERKS__ nofralloc stw r0, context->gpr[0] @@ -222,6 +224,7 @@ static asm void DecrementerExceptionHandler(register u8 type, register OSContext stwu r1, -0x08(r1) b DecrementerExceptionCallback +#endif // __MWERKS__ } void OSSetAlarmTag(OSAlarm* alarm, u32 tag) { @@ -253,8 +256,6 @@ void OSSetAlarmUserData(OSAlarm* alarm, void* userData) { alarm->userData = userData; } -void* OSGetAlarmUserData(const OSAlarm* alarm) { +void* OSGetAlarmUserData(OSAlarm* alarm) { return alarm->userData; } - - diff --git a/libs/RVL_SDK/src/os/OSAlloc.c b/libs/RVL_SDK/src/os/OSAlloc.c new file mode 100644 index 00000000..0a5a489f --- /dev/null +++ b/libs/RVL_SDK/src/os/OSAlloc.c @@ -0,0 +1,207 @@ +#include + +typedef struct HeapCell HeapCell; +struct HeapCell { + HeapCell* prev; // 0x00 + HeapCell* next; // 0x04 + s32 size; // 0x08 +}; + +typedef struct HeapDesc { + s32 size; // 0x00 + HeapCell* free; // 0x04 + HeapCell* allocated; // 0x08 +} HeapDesc; + +static HeapDesc* HeapArray; +static int NumHeaps; + +static void *ArenaStart, *ArenaEnd; + +volatile OSHeapHandle __OSCurrHeap = -1; + +#define MAX_LEFT_SIZE 64 + +static HeapCell* DLAddFront(HeapCell* list, HeapCell* cell) { + cell->next = list; + cell->prev = NULL; + + if (list != NULL) { + list->prev = cell; + } + + return cell; +} + +static HeapCell* DLExtract(HeapCell* list, HeapCell* cell) { + if (cell->next) { + cell->next->prev = cell->prev; + } + + if (cell->prev == NULL) { + return cell->next; + } + else { + cell->prev->next = cell->next; + return list; + } +} + +static HeapCell* DLInsert(HeapCell* list, HeapCell* cell) { + HeapCell* prev; + HeapCell* next; + + for (next = list, prev = NULL; next; prev = next, next = next->next) { + if (cell <= next) { + break; + } + } + + cell->next = next; + cell->prev = prev; + + if (next != NULL) { + next->prev = cell; + + if ((u8*)cell + cell->size == (u8*)next) { + cell->size += next->size; + cell->next = next = next->next; + + if (next != NULL) { + next->prev = cell; + } + } + } + + if (prev != NULL) { + prev->next = cell; + if ((u8*)prev + prev->size == (u8*)cell) { + prev->size += cell->size; + prev->next = next; + + if (next != NULL) { + next->prev = prev; + } + } + return list; + } + else { + return cell; + } +} + +void* OSAllocFromHeap(OSHeapHandle heap, u32 size) { + HeapDesc* desc; + HeapCell* cell; + HeapCell* newCell; + long leftSize; + + desc = &HeapArray[heap]; + size += DEFAULT_ALIGN; + size = OSRoundUp32B(size); + + for (cell = desc->free; cell != NULL; cell = cell->next) { + if ((s32)size <= cell->size) { + break; + } + } + + if (cell == NULL) { + return NULL; + } + + leftSize = cell->size - size; + + if (leftSize < (u32)MAX_LEFT_SIZE) { + desc->free = DLExtract(desc->free, cell); + } + else { + cell->size = size; + newCell = (HeapCell*)((u8*)cell + size); + newCell->size = leftSize; + newCell->prev = cell->prev; + newCell->next = cell->next; + + if (newCell->next != NULL) { + newCell->next->prev = newCell; + } + + if (newCell->prev != NULL) { + newCell->prev->next = newCell; + } + else { + desc->free = newCell; + } + } + + desc->allocated = DLAddFront(desc->allocated, cell); + return (void*)((u8*)cell + DEFAULT_ALIGN); +} + +void OSFreeToHeap(OSHeapHandle heap, void *ptr) { + HeapDesc* desc; + HeapCell* cell; + + cell = (HeapCell*)((u8*)ptr - DEFAULT_ALIGN); + desc = &HeapArray[heap]; + desc->allocated = DLExtract(desc->allocated, cell); + desc->free = DLInsert(desc->free, cell); +} + +OSHeapHandle OSSetCurrentHeap(OSHeapHandle heap) { + OSHeapHandle prev; + prev = __OSCurrHeap; + __OSCurrHeap = heap; + return prev; +} + +void* OSInitAlloc(void* arenaStart, void* arenaEnd, int maxHeaps) { + int size, i; + size = maxHeaps * sizeof(HeapDesc); + + HeapArray = arenaStart; + NumHeaps = maxHeaps; + + for (i = 0; i < NumHeaps; i++) { + HeapDesc* desc = &HeapArray[i]; + desc->size = -1; + desc->allocated = NULL; + desc->free = NULL; + } + + __OSCurrHeap = -1; + + arenaStart = (u8*)HeapArray + size; + arenaStart = (void*)OSRoundUp32B(arenaStart); + ArenaStart = arenaStart; + + ArenaEnd = (void*)OSRoundDown32B(arenaEnd); + + return arenaStart; +} + +int OSCreateHeap(void *start, void *end) { + OSHeapHandle heap; + HeapDesc* desc; + HeapCell* cell; + + start = (void*)OSRoundUp32B(start); + end = (void*)OSRoundDown32B(end); + + for (heap = 0; heap < NumHeaps; heap++) { + desc = &HeapArray[heap]; + + if (desc->size < 0) { + desc->size = (u8*)end - (u8*)start; + cell = (HeapCell*)start; + cell->prev = NULL; + cell->next = NULL; + cell->size = desc->size; + desc->free = cell; + desc->allocated = NULL; + return heap; + } + } + + return -1; +} diff --git a/libs/RVL_SDK/src/os/OSArena.c b/libs/RVL_SDK/src/os/OSArena.c new file mode 100644 index 00000000..101fb7a9 --- /dev/null +++ b/libs/RVL_SDK/src/os/OSArena.c @@ -0,0 +1,43 @@ +#include + +void* __OSArenaLo = (void*)-1; +void* __OSArenaHi = NULL; + +static void* s_mem2ArenaLo = (void*)-1; +static void* s_mem2ArenaHi = NULL; + +void* OSGetMEM1ArenaHi() { return __OSArenaHi; } +void* OSGetMEM2ArenaHi() { return s_mem2ArenaHi; } +void* OSGetArenaHi() { return OSGetMEM1ArenaHi(); } + +void* OSGetMEM1ArenaLo() { return __OSArenaLo; } +void* OSGetMEM2ArenaLo() { return s_mem2ArenaLo; } +void* OSGetArenaLo() { return OSGetMEM1ArenaLo(); } + +void OSSetMEM1ArenaHi(void* hi) { __OSArenaHi = hi; } +void OSSetMEM2ArenaHi(void* hi) { s_mem2ArenaHi = hi; } +void OSSetArenaHi(void* hi) { OSSetMEM1ArenaHi(hi); } + +void OSSetMEM1ArenaLo(void* lo) { __OSArenaLo = lo; } +void OSSetMEM2ArenaLo(void* lo) { s_mem2ArenaLo = lo; } +void OSSetArenaLo(void* lo) { OSSetMEM1ArenaLo(lo); } + +void* OSAllocFromMEM1ArenaLo(u32 size, u32 align) { + u8* begin = (void*)ROUNDUP(OSGetMEM1ArenaLo(), align); + u8* end = begin + size; + end = (void*)ROUNDUP(end, align); + + OSSetMEM1ArenaLo(end); + + return begin; +} + +void* OSAllocFromMEM2ArenaLo(u32 size, u32 align) { + u8* begin = (void*)ROUNDUP(OSGetMEM2ArenaLo(), align); + u8* end = begin + size; + end = (void*)ROUNDUP(end, align); + + OSSetMEM2ArenaLo(end); + + return begin; +} diff --git a/libs/RVL_SDK/src/os/OSAudioSystem.c b/libs/RVL_SDK/src/os/OSAudioSystem.c new file mode 100644 index 00000000..997e6a13 --- /dev/null +++ b/libs/RVL_SDK/src/os/OSAudioSystem.c @@ -0,0 +1,234 @@ +#include + +#include +#include + +#include + +#include "DSPInitCode.inc" +#define DSP_INIT_CODE_ADDR 0x01000000 +#define DSP_INIT_CODE_SIZE 0x80 + +extern BOOL __OSInIPL; + +static void waitMicroSec(int us) { + OSTick t = OSGetTick(); + while (OSTicksToMicroseconds(OSGetTick() - t) < us); +} + +void __AIClockInit(BOOL compatB) { + u32 reg; + + reg = ACRIOP_READ_REG32(HW_COMPAT); + CLEAR_FLAG(reg, (1<<8)); + SET_FLAG(reg, (compatB<<8)); + CLEAR_FLAG(reg, (1<<7)); + ACRIOP_WRITE_REG32(HW_COMPAT, reg); + + reg = ACRIOP_READ_REG32(HW_PLLAIEXT); + CLEAR_FLAG(reg, (1< + +#include + +#include + +#include + +#define LC_BASE_PREFIX 0xE000 + +asm void DCEnable() { +#ifdef __MWERKS__ + nofralloc + + sync + + // Enable cache + mfspr r3, HID0 + ori r3, r3, HID0_DCE + mtspr HID0, r3 + + blr +#endif // __MWERKS__ +} + +asm void DCInvalidateRange(register void* addr, register u32 len) { +#ifdef __MWERKS__ + nofralloc + + cmplwi len, 0 + blelr + + clrlwi r5, addr, 27 + add len, len, r5 + addi len, len, 31 + srwi len, len, 5 + mtctr len + +do_invalidate: + dcbi 0, addr + addi addr, addr, 32 + bdnz do_invalidate + + blr +#endif // __MWERKS__ +} + +asm void DCFlushRange(register void* addr, register u32 len) { +#ifdef __MWERKS__ + nofralloc + + cmplwi len, 0 + blelr + + clrlwi r5, addr, 27 + add len, len, r5 + addi len, len, 31 + srwi len, len, 5 + mtctr len + +do_flush: + dcbf 0, addr + addi addr, addr, 32 + bdnz do_flush + sc + + blr +#endif // __MWERKS__ +} + +asm void DCStoreRange(register void* addr, register u32 len) { +#ifdef __MWERKS__ + nofralloc + + cmplwi len, 0 + blelr + + clrlwi r5, addr, 27 + add len, len, r5 + addi len, len, 31 + srwi len, len, 5 + mtctr len + +do_store: + dcbst 0, addr + addi addr, addr, 32 + bdnz do_store + sc + + blr +#endif // __MWERKS__ +} + +asm void DCFlushRangeNoSync(register void* addr, register u32 len) { +#ifdef __MWERKS__ + nofralloc + + cmplwi len, 0 + blelr + + clrlwi r5, addr, 27 + add len, len, r5 + addi len, len, 31 + srwi len, len, 5 + mtctr len + +do_flush: + dcbf 0, addr + addi addr, addr, 32 + bdnz do_flush + + blr +#endif // __MWERKS__ +} + +asm void DCZeroRange(register void* addr, register u32 len) { +#ifdef __MWERKS__ + nofralloc + + cmplwi len, 0 + blelr + + clrlwi r5, addr, 27 + add len, len, r5 + addi len, len, 31 + srwi len, len, 5 + mtctr len + +do_zero: + dcbz 0, addr + addi addr, addr, 32 + bdnz do_zero + + blr +#endif // __MWERKS__ +} + +asm void ICInvalidateRange(register void* addr, register u32 len) { +#ifdef __MWERKS__ + nofralloc + + cmplwi len, 0 + blelr + + clrlwi r5, addr, 27 + add len, len, r5 + addi len, len, 31 + srwi len, len, 5 + mtctr len + +do_invalidate: + icbi 0, addr + addi addr, addr, 32 + bdnz do_invalidate + + sync + isync + + blr +#endif // __MWERKS__ +} + +asm void ICFlashInvalidate() { +#ifdef __MWERKS__ + nofralloc + + mfspr r3, HID0 + ori r3, r3, HID0_ICFI + mtspr HID0, r3 + + blr +#endif // __MWERKS__ +} + +asm void ICEnable() { +#ifdef __MWERKS__ + nofralloc + + isync + mfspr r3, HID0 + ori r3, r3, HID0_ICE + mtspr HID0, r3 + + blr +#endif // __MWERKS__ +} + +#define LC_LINES 512 + +asm void LCDisable() { +#ifdef __MWERKS__ + nofralloc + + lis r3, LC_BASE_PREFIX + li r4, LC_LINES + mtctr r4 +do_invalidate: + dcbi 0, r3 + addi r3, r3, 32 + bdnz do_invalidate + + mfspr r4, HID2 + rlwinm r4, r4, 0, 4, 2 + mtspr HID2, r4 + + blr +#endif // __MWERKS__ +} + +static void L2Init() { + u32 msr; + + msr = PPCMfmsr(); + __sync(); + PPCMtmsr(MSR_IR | MSR_DR); + __sync(); + + L2Disable(); + L2GlobalInvalidate(); + PPCMtmsr(msr); +} + +void L2Enable() { + u32 l2cr = PPCMfl2cr(); + PPCMtl2cr((l2cr | L2CR_L2E) & ~L2CR_L2I); +} + +void L2Disable() { + u32 l2cr; + + __sync(); + l2cr = PPCMfl2cr(); + PPCMtl2cr(l2cr & ~L2CR_L2E); + __sync(); +} + +void L2GlobalInvalidate() { + u32 l2cr; + + L2Disable(); + + l2cr = PPCMfl2cr(); + PPCMtl2cr(l2cr | L2CR_L2I); + + while (PPCMfl2cr() & L2CR_L2IP) {} + + l2cr = PPCMfl2cr(); + PPCMtl2cr(l2cr & ~L2CR_L2I); + + while (PPCMfl2cr() & L2CR_L2IP) { + DBPrintf(">>> L2 INVALIDATE : SHOULD NEVER HAPPEN\n"); + } +} + +void DMAErrorHandler(OSError error, OSContext* context, ...) { + u32 hid2 = PPCMfhid2(); + + OSReport("Machine check received\n"); + OSReport("HID2 = 0x%x SRR1 = 0x%x\n", hid2, context->srr1); + + if (!(hid2 & (HID2_DCHERR | HID2_DNCERR | HID2_DCMERR | HID2_DQOERR)) || !(context->srr1 & 0x200000)) { + OSReport("Machine check was not DMA/locked cache related\n"); + OSDumpContext(context); + PPCHalt(); + } + + OSReport("DMAErrorHandler(): An error occurred while processing DMA.\n"); + OSReport("The following errors have been detected and cleared :\n"); + + if (hid2 & HID2_DCHERR) { + OSReport("\t- Requested a locked cache tag that was already in the cache\n"); + } + if (hid2 & HID2_DNCERR) { + OSReport("\t- DMA attempted to access normal cache\n"); + } + if (hid2 & HID2_DCMERR) { + OSReport("\t- DMA missed in data cache\n"); + } + if (hid2 & HID2_DQOERR) { + OSReport("\t- DMA queue overflowed\n"); + } + + PPCMthid2(hid2); +} + +void __OSCacheInit() { + if (!(PPCMfhid0() & HID0_ICE)) { + ICEnable(); + DBPrintf("L1 i-caches initialized\n"); + } + + if (!(PPCMfhid0() & HID0_DCE)) { + DCEnable(); + DBPrintf("L1 d-caches initialized\n"); + } + + if (!(PPCMfl2cr() & L2CR_L2E)) { + L2Init(); + L2Enable(); + DBPrintf("L2 cache initialized\n"); + } + + OSSetErrorHandler(OS_EXCEPTION_MACHINE_CHECK, DMAErrorHandler); + DBPrintf("Locked cache machine check handler installed\n"); +} diff --git a/libs/RVL_SDK/src/os/OSContext.c b/libs/RVL_SDK/src/os/OSContext.c new file mode 100644 index 00000000..5c5294e6 --- /dev/null +++ b/libs/RVL_SDK/src/os/OSContext.c @@ -0,0 +1,663 @@ +#include +#include + +#include + +#include + +static asm void __OSLoadFPUContext(u32 dummy, register OSContext* fpucontext) { +#ifdef __MWERKS__ + nofralloc + + lhz r5, fpucontext->state + clrlwi. r5, r5, 31 + beq _exit + + lfd f0, fpucontext->fpscr_pad + mtfs f0 + mfspr r5, HID2 + rlwinm. r5, r5, 3, 31, 31 + beq _load_fpr + + psq_l f0, OSContext.psf[0](fpucontext), 0, 0 + psq_l f1, OSContext.psf[1](fpucontext), 0, 0 + psq_l f2, OSContext.psf[2](fpucontext), 0, 0 + psq_l f3, OSContext.psf[3](fpucontext), 0, 0 + psq_l f4, OSContext.psf[4](fpucontext), 0, 0 + psq_l f5, OSContext.psf[5](fpucontext), 0, 0 + psq_l f6, OSContext.psf[6](fpucontext), 0, 0 + psq_l f7, OSContext.psf[7](fpucontext), 0, 0 + psq_l f8, OSContext.psf[8](fpucontext), 0, 0 + psq_l f9, OSContext.psf[9](fpucontext), 0, 0 + psq_l f10, OSContext.psf[10](fpucontext), 0, 0 + psq_l f11, OSContext.psf[11](fpucontext), 0, 0 + psq_l f12, OSContext.psf[12](fpucontext), 0, 0 + psq_l f13, OSContext.psf[13](fpucontext), 0, 0 + psq_l f14, OSContext.psf[14](fpucontext), 0, 0 + psq_l f15, OSContext.psf[15](fpucontext), 0, 0 + psq_l f16, OSContext.psf[16](fpucontext), 0, 0 + psq_l f17, OSContext.psf[17](fpucontext), 0, 0 + psq_l f18, OSContext.psf[18](fpucontext), 0, 0 + psq_l f19, OSContext.psf[19](fpucontext), 0, 0 + psq_l f20, OSContext.psf[20](fpucontext), 0, 0 + psq_l f21, OSContext.psf[21](fpucontext), 0, 0 + psq_l f22, OSContext.psf[22](fpucontext), 0, 0 + psq_l f23, OSContext.psf[23](fpucontext), 0, 0 + psq_l f24, OSContext.psf[24](fpucontext), 0, 0 + psq_l f25, OSContext.psf[25](fpucontext), 0, 0 + psq_l f26, OSContext.psf[26](fpucontext), 0, 0 + psq_l f27, OSContext.psf[27](fpucontext), 0, 0 + psq_l f28, OSContext.psf[28](fpucontext), 0, 0 + psq_l f29, OSContext.psf[29](fpucontext), 0, 0 + psq_l f30, OSContext.psf[30](fpucontext), 0, 0 + psq_l f31, OSContext.psf[31](fpucontext), 0, 0 + +_load_fpr: + lfd f0, fpucontext->fpr[0] + lfd f1, fpucontext->fpr[1] + lfd f2, fpucontext->fpr[2] + lfd f3, fpucontext->fpr[3] + lfd f4, fpucontext->fpr[4] + lfd f5, fpucontext->fpr[5] + lfd f6, fpucontext->fpr[6] + lfd f7, fpucontext->fpr[7] + lfd f8, fpucontext->fpr[8] + lfd f9, fpucontext->fpr[9] + lfd f10, fpucontext->fpr[10] + lfd f11, fpucontext->fpr[11] + lfd f12, fpucontext->fpr[12] + lfd f13, fpucontext->fpr[13] + lfd f14, fpucontext->fpr[14] + lfd f15, fpucontext->fpr[15] + lfd f16, fpucontext->fpr[16] + lfd f17, fpucontext->fpr[17] + lfd f18, fpucontext->fpr[18] + lfd f19, fpucontext->fpr[19] + lfd f20, fpucontext->fpr[20] + lfd f21, fpucontext->fpr[21] + lfd f22, fpucontext->fpr[22] + lfd f23, fpucontext->fpr[23] + lfd f24, fpucontext->fpr[24] + lfd f25, fpucontext->fpr[25] + lfd f26, fpucontext->fpr[26] + lfd f27, fpucontext->fpr[27] + lfd f28, fpucontext->fpr[28] + lfd f29, fpucontext->fpr[29] + lfd f30, fpucontext->fpr[30] + lfd f31, fpucontext->fpr[31] + +_exit: + blr +#endif // __MWERKS__ +} + +static asm void __OSSaveFPUContext(u32 dummy0, u32 dummy1, register OSContext* fpucontext) { +#ifdef __MWERKS__ + nofralloc + + lhz r3, fpucontext->state + ori r3, r3, OS_CONTEXT_STATE_FPSAVED + sth r3, fpucontext->state + + stfd fp0, fpucontext->fpr[0] + stfd fp1, fpucontext->fpr[1] + stfd fp2, fpucontext->fpr[2] + stfd fp3, fpucontext->fpr[3] + stfd fp4, fpucontext->fpr[4] + stfd fp5, fpucontext->fpr[5] + stfd fp6, fpucontext->fpr[6] + stfd fp7, fpucontext->fpr[7] + stfd fp8, fpucontext->fpr[8] + stfd fp9, fpucontext->fpr[9] + stfd fp10, fpucontext->fpr[10] + stfd fp11, fpucontext->fpr[11] + stfd fp12, fpucontext->fpr[12] + stfd fp13, fpucontext->fpr[13] + stfd fp14, fpucontext->fpr[14] + stfd fp15, fpucontext->fpr[15] + stfd fp16, fpucontext->fpr[16] + stfd fp17, fpucontext->fpr[17] + stfd fp18, fpucontext->fpr[18] + stfd fp19, fpucontext->fpr[19] + stfd fp20, fpucontext->fpr[20] + stfd fp21, fpucontext->fpr[21] + stfd fp22, fpucontext->fpr[22] + stfd fp23, fpucontext->fpr[23] + stfd fp24, fpucontext->fpr[24] + stfd fp25, fpucontext->fpr[25] + stfd fp26, fpucontext->fpr[26] + stfd fp27, fpucontext->fpr[27] + stfd fp28, fpucontext->fpr[28] + stfd fp29, fpucontext->fpr[29] + stfd fp30, fpucontext->fpr[30] + stfd fp31, fpucontext->fpr[31] + + mffs f0 + stfd f0, fpucontext->fpscr_pad + lfd fp0, fpucontext->fpr[0] + + mfspr r3, HID2 + rlwinm. r3, r3, 3, 31, 31 + bc 12, 2, _return + + psq_st f0, OSContext.psf[0](fpucontext), 0, 0 + psq_st f1, OSContext.psf[1](fpucontext), 0, 0 + psq_st f2, OSContext.psf[2](fpucontext), 0, 0 + psq_st f3, OSContext.psf[3](fpucontext), 0, 0 + psq_st f4, OSContext.psf[4](fpucontext), 0, 0 + psq_st f5, OSContext.psf[5](fpucontext), 0, 0 + psq_st f6, OSContext.psf[6](fpucontext), 0, 0 + psq_st f7, OSContext.psf[7](fpucontext), 0, 0 + psq_st f8, OSContext.psf[8](fpucontext), 0, 0 + psq_st f9, OSContext.psf[9](fpucontext), 0, 0 + psq_st f10, OSContext.psf[10](fpucontext), 0, 0 + psq_st f11, OSContext.psf[11](fpucontext), 0, 0 + psq_st f12, OSContext.psf[12](fpucontext), 0, 0 + psq_st f13, OSContext.psf[13](fpucontext), 0, 0 + psq_st f14, OSContext.psf[14](fpucontext), 0, 0 + psq_st f15, OSContext.psf[15](fpucontext), 0, 0 + psq_st f16, OSContext.psf[16](fpucontext), 0, 0 + psq_st f17, OSContext.psf[17](fpucontext), 0, 0 + psq_st f18, OSContext.psf[18](fpucontext), 0, 0 + psq_st f19, OSContext.psf[19](fpucontext), 0, 0 + psq_st f20, OSContext.psf[20](fpucontext), 0, 0 + psq_st f21, OSContext.psf[21](fpucontext), 0, 0 + psq_st f22, OSContext.psf[22](fpucontext), 0, 0 + psq_st f23, OSContext.psf[23](fpucontext), 0, 0 + psq_st f24, OSContext.psf[24](fpucontext), 0, 0 + psq_st f25, OSContext.psf[25](fpucontext), 0, 0 + psq_st f26, OSContext.psf[26](fpucontext), 0, 0 + psq_st f27, OSContext.psf[27](fpucontext), 0, 0 + psq_st f28, OSContext.psf[28](fpucontext), 0, 0 + psq_st f29, OSContext.psf[29](fpucontext), 0, 0 + psq_st f30, OSContext.psf[30](fpucontext), 0, 0 + psq_st f31, OSContext.psf[31](fpucontext), 0, 0 + +_return: + blr +#endif // __MWERKS__ +} + +asm void OSLoadFPUContext(register OSContext* fpucontext) { +#ifdef __MWERKS__ + nofralloc + addi r4, fpucontext, 0 + b __OSLoadFPUContext +#endif // __MWERKS__ +} + +asm void OSSaveFPUContext(register OSContext* fpucontext) { +#ifdef __MWERKS__ + nofralloc + addi r5, fpucontext, 0 + b __OSSaveFPUContext +#endif // __MWERKS__ +} + +asm void OSSetCurrentContext(register OSContext* context) { +#ifdef __MWERKS__ + nofralloc + + addis r4, r0, OS_CACHED_REGION_PREFIX + + stw context, OS_ADDR_CURRENT_CONTEXT(r4) + + clrlwi r5, context, 2 + stw r5, OS_ADDR_CURRENT_CONTEXT_REAL(r4) + + lwz r5, OS_ADDR_CURRENT_FPU_CONTEXT(r4) + cmpw r5, context + bne _disableFPU + + lwz r6, context->srr1 + ori r6, r6, 0x2000 + stw r6, context->srr1 + mfmsr r6 + ori r6, r6, 2 + mtmsr r6 + blr + +_disableFPU: + lwz r6, context->srr1 + rlwinm r6, r6, 0, 19, 17 + stw r6, context->srr1 + mfmsr r6 + rlwinm r6, r6, 0, 19, 17 + ori r6, r6, 2 + mtmsr r6 + isync + blr +#endif // __MWERKS__ +} + +OSContext* OSGetCurrentContext() { + return (OSContext*)__OSCurrentContext;; +} + +asm u32 OSSaveContext(register OSContext* context) { +#ifdef __MWERKS__ + nofralloc + + stmw r13, context->gpr[13] + mfspr r0, GQR1 + stw r0, context->gqr[1] + mfspr r0, GQR2 + stw r0, context->gqr[2] + mfspr r0, GQR3 + stw r0, context->gqr[3] + mfspr r0, GQR4 + stw r0, context->gqr[4] + mfspr r0, GQR5 + stw r0, context->gqr[5] + mfspr r0, GQR6 + stw r0, context->gqr[6] + mfspr r0, GQR7 + stw r0, context->gqr[7] + mfcr r0 + stw r0, context->cr + mflr r0 + stw r0, context->lr + stw r0, context->srr0 + mfmsr r0 + stw r0, context->srr1 + mfctr r0 + stw r0, context->ctr + mfxer r0 + stw r0, context->xer + stw r1, context->gpr[1] + stw r2, context->gpr[2] + li r0, 0x1 + stw r0, context->gpr[3] + + li r3, 0 + blr +#endif // __MWERKS__ +} + +asm void OSLoadContext(register OSContext* context) { +#ifdef __MWERKS__ + nofralloc + + lis r4, __RAS_OSDisableInterrupts_begin@ha + lwz r6, context->srr0 + addi r5, r4,__RAS_OSDisableInterrupts_begin@l + cmplw r6, r5 + ble _notInRAS + lis r4, __RAS_OSDisableInterrupts_end@ha + addi r0, r4,__RAS_OSDisableInterrupts_end@l + cmplw r6, r0 + bge _notInRAS + stw r5, context->srr0 + +_notInRAS: + lwz r0, context->gpr[0] + lwz r1, context->gpr[1] + lwz r2, context->gpr[2] + + lhz r4, context->state + rlwinm. r5, r4, 0, 30, 30 + beq notexc + rlwinm r4, r4, 0, 31, 29 + sth r4, context->state + lmw r5, context->gpr[5] + b misc + +notexc: + lmw r13, context->gpr[13] + misc: + + lwz r4, context->gqr[1] + mtspr GQR1, r4 + lwz r4, context->gqr[2] + mtspr GQR2, r4 + lwz r4, context->gqr[3] + mtspr GQR3, r4 + lwz r4, context->gqr[4] + mtspr GQR4, r4 + lwz r4, context->gqr[5] + mtspr GQR5, r4 + lwz r4, context->gqr[6] + mtspr GQR6, r4 + lwz r4, context->gqr[7] + mtspr GQR7, r4 + + lwz r4, context->cr + mtcr r4 + lwz r4, context->lr + mtlr r4 + lwz r4, context->ctr + mtctr r4 + lwz r4, context->xer + mtxer r4 + + mfmsr r4 + rlwinm r4, r4, 0, 17, 15 + rlwinm r4, r4, 0, 31, 29 + mtmsr r4 + + lwz r4, context->srr0 + mtsrr0 r4 + lwz r4, context->srr1 + mtsrr1 r4 + + lwz r4, context->gpr[4] + lwz r3, context->gpr[3] + + rfi +#endif // __MWERKS__ +} + +asm u32 OSGetStackPointer() { +#ifdef __MWERKS__ + nofralloc + mr r3, r1 + blr +#endif // __MWERKS__ +} + +asm u32 OSSwitchStack(register u32 newsp) { +#ifdef __MWERKS__ + nofralloc + mr r5, r1 + mr r1, newsp + mr r3, r5 + blr +#endif // __MWERKS__ +} + +asm int OSSwitchFiber(register u32 pc, register u32 newsp) { +#ifdef __MWERKS__ + nofralloc + mflr r0 + mr r5, r1 + stwu r5, -8(newsp) + mr r1, newsp + stw r0, 4(r5) + mtlr pc + blrl + lwz r5, 0(r1) + lwz r0, 4(r5) + mtlr r0 + mr r1, r5 + blr +#endif // __MWERKS__ +} + +asm void OSSwitchFiberEx(u32 r3, u32 r4, u32 r5, u32 r6, register void* pc, register void* newsp) { +#ifdef __MWERKS__ + nofralloc + + mflr r0 + + mr r9, r1 + stwu r9, -8(newsp) + + mr r1, newsp + stw r0, 4(r9) + + mtlr pc + blrl + + + lwz r5, 0(r1) + lwz r0, 4(r5) + mtlr r0 + mr r1, r5 + blr +#endif // __MWERKS__ +} + +void OSClearContext(OSContext* context) { + context->mode = 0; + context->state = 0; + if (context == __OSFPUContext) { + __OSFPUContext = NULL; + } +} + +asm void OSInitContext(register OSContext* context, register u32 pc, register u32 newsp) { +#ifdef __MWERKS__ + nofralloc + + stw pc, OSContext.srr0(context) + stw newsp, OSContext.gpr[1](context) + li r11, 0 + ori r11, r11, 0x00008000 | 0x00000020 | 0x00000010 | 0x00000002 | 0x00001000 + stw r11, OSContext.srr1(context) + li r0, 0x0 + stw r0, OSContext.cr(context) + stw r0, OSContext.xer(context) + + + stw r2, OSContext.gpr[2](context) + stw r13, OSContext.gpr[13](context) + + stw r0, OSContext.gpr[3](context) + stw r0, OSContext.gpr[4](context) + stw r0, OSContext.gpr[5](context) + stw r0, OSContext.gpr[6](context) + stw r0, OSContext.gpr[7](context) + stw r0, OSContext.gpr[8](context) + stw r0, OSContext.gpr[9](context) + stw r0, OSContext.gpr[10](context) + stw r0, OSContext.gpr[11](context) + stw r0, OSContext.gpr[12](context) + + stw r0, OSContext.gpr[14](context) + stw r0, OSContext.gpr[15](context) + stw r0, OSContext.gpr[16](context) + stw r0, OSContext.gpr[17](context) + stw r0, OSContext.gpr[18](context) + stw r0, OSContext.gpr[19](context) + stw r0, OSContext.gpr[20](context) + stw r0, OSContext.gpr[21](context) + stw r0, OSContext.gpr[22](context) + stw r0, OSContext.gpr[23](context) + stw r0, OSContext.gpr[24](context) + stw r0, OSContext.gpr[25](context) + stw r0, OSContext.gpr[26](context) + stw r0, OSContext.gpr[27](context) + stw r0, OSContext.gpr[28](context) + stw r0, OSContext.gpr[29](context) + stw r0, OSContext.gpr[30](context) + stw r0, OSContext.gpr[31](context) + + stw r0, OSContext.gqr[0](context) + stw r0, OSContext.gqr[1](context) + stw r0, OSContext.gqr[2](context) + stw r0, OSContext.gqr[3](context) + stw r0, OSContext.gqr[4](context) + stw r0, OSContext.gqr[5](context) + stw r0, OSContext.gqr[6](context) + stw r0, OSContext.gqr[7](context) + + b OSClearContext +#endif // __MWERKS__ +} + +void OSDumpContext(OSContext* context) { + u32 i; + u32* sp; + + OSReport("------------------------- Context 0x%08x -------------------------\n", context); + + for (i = 0; i < 16; i++) { + OSReport("r%-2d = 0x%08x (%14d) r%-2d = 0x%08x (%14d)\n", i, + context->gpr[i], context->gpr[i], i + 16, context->gpr[i + 16], + context->gpr[i + 16]); + } + + OSReport("LR = 0x%08x CR = 0x%08x\n", context->lr, context->cr); + OSReport("SRR0 = 0x%08x SRR1 = 0x%08x\n", context->srr0, context->srr1); + + OSReport("\nGQRs----------\n"); + for (i = 0; i < 4; i++) { + OSReport("gqr%d = 0x%08x \t gqr%d = 0x%08x\n", i, context->gqr[i], i + 4, context->gqr[i + 4]); + } + + if (context->state & OS_CONTEXT_STATE_FPSAVED) { + BOOL enabled = OSDisableInterrupts(); + + OSContext* currCtx = OSGetCurrentContext(); + OSContext temp; + + OSClearContext(&temp); + OSSetCurrentContext(&temp); + + OSReport("\n\nFPRs----------\n"); + for (i = 0; i < 32; i += 2) { + OSReport("fr%d \t= %d \t fr%d \t= %d\n", i, (u32)context->fpr[i], i + 1, (u32)context->fpr[i + 1]); + } + + OSReport("\n\nPSFs----------\n"); + for (i = 0; i < 32; i += 2) { + OSReport("ps%d \t= 0x%x \t ps%d \t= 0x%x\n", i, (u32)context->psf[i], i+1, (u32)context->psf[i + 1]); + } + + OSClearContext(&temp); + OSSetCurrentContext(currCtx); + OSRestoreInterrupts(enabled); + } + + OSReport("\nAddress: Back Chain LR Save\n"); + for (i = 0, sp = (u32*)context->gpr[1]; sp != NULL && sp != (u32*)0xFFFFFFFF && i++ < 16; sp = (u32*)*sp) { + OSReport("0x%08x: 0x%08x 0x%08x\n", sp, *sp, sp[1]); + } +} + +static asm void OSSwitchFPUContext(register u8 err, register OSContext* context) { +#ifdef __MWERKS__ + nofralloc + mfmsr r5 + ori r5, r5, 0x2000 + mtmsr r5 + isync + lwz r5, OSContext.srr1(context) + ori r5, r5, 0x2000 + mtsrr1 r5 + addis r3, r0, OS_CACHED_REGION_PREFIX + lwz r5, OS_ADDR_CURRENT_FPU_CONTEXT(r3) + stw context, OS_ADDR_CURRENT_FPU_CONTEXT(r3) + cmpw r5, r4 + beq _restoreAndExit + cmpwi r5, 0x0 + beq _loadNewFPUContext + bl __OSSaveFPUContext + +_loadNewFPUContext: + bl __OSLoadFPUContext + +_restoreAndExit: + lwz r3, OSContext.cr(context) + mtcr r3 + lwz r3, OSContext.lr(context) + mtlr r3 + lwz r3, OSContext.srr0(context) + mtsrr0 r3 + lwz r3, OSContext.ctr(context) + mtctr r3 + lwz r3, OSContext.xer(context) + mtxer r3 + lhz r3, context->state + rlwinm r3, r3, 0, 31, 29 + sth r3, context->state + lwz r5, OSContext.gpr[5](context) + lwz r3, OSContext.gpr[3](context) + lwz r4, OSContext.gpr[4](context) + rfi +#endif // __MWERKS__ +} + +void __OSContextInit() { + __OSSetExceptionHandler(OS_EXCEPTION_FLOATING_POINT, OSSwitchFPUContext); + __OSFPUContext = NULL; + DBPrintf("FPU-unavailable handler installed\n"); +} + +asm void OSFillFPUContext(register OSContext* context) { +#ifdef __MWERKS__ + nofralloc + + mfmsr r5 + ori r5, r5, 0x2000 + mtmsr r5 + isync + + stfd fp0, context->fpr[0] + stfd fp1, context->fpr[1] + stfd fp2, context->fpr[2] + stfd fp3, context->fpr[3] + stfd fp4, context->fpr[4] + stfd fp5, context->fpr[5] + stfd fp6, context->fpr[6] + stfd fp7, context->fpr[7] + stfd fp8, context->fpr[8] + stfd fp9, context->fpr[9] + stfd fp10, context->fpr[10] + stfd fp11, context->fpr[11] + stfd fp12, context->fpr[12] + stfd fp13, context->fpr[13] + stfd fp14, context->fpr[14] + stfd fp15, context->fpr[15] + stfd fp16, context->fpr[16] + stfd fp17, context->fpr[17] + stfd fp18, context->fpr[18] + stfd fp19, context->fpr[19] + stfd fp20, context->fpr[20] + stfd fp21, context->fpr[21] + stfd fp22, context->fpr[22] + stfd fp23, context->fpr[23] + stfd fp24, context->fpr[24] + stfd fp25, context->fpr[25] + stfd fp26, context->fpr[26] + stfd fp27, context->fpr[27] + stfd fp28, context->fpr[28] + stfd fp29, context->fpr[29] + stfd fp30, context->fpr[30] + stfd fp31, context->fpr[31] + + mffs fp0 + stfd fp0, OSContext.fpscr_pad(context) + + lfd fp0, context->fpr[0] + + mfspr r5, HID2 + rlwinm. r5, r5, 3, 31, 31 + bc 12, 2, _return + + psq_st fp0, OSContext.psf[0](context), 0, 0 + psq_st fp1, OSContext.psf[1](context), 0, 0 + psq_st fp2, OSContext.psf[2](context), 0, 0 + psq_st fp3, OSContext.psf[3](context), 0, 0 + psq_st fp4, OSContext.psf[4](context), 0, 0 + psq_st fp5, OSContext.psf[5](context), 0, 0 + psq_st fp6, OSContext.psf[6](context), 0, 0 + psq_st fp7, OSContext.psf[7](context), 0, 0 + psq_st fp8, OSContext.psf[8](context), 0, 0 + psq_st fp9, OSContext.psf[9](context), 0, 0 + psq_st fp10, OSContext.psf[10](context), 0, 0 + psq_st fp11, OSContext.psf[11](context), 0, 0 + psq_st fp12, OSContext.psf[12](context), 0, 0 + psq_st fp13, OSContext.psf[13](context), 0, 0 + psq_st fp14, OSContext.psf[14](context), 0, 0 + psq_st fp15, OSContext.psf[15](context), 0, 0 + psq_st fp16, OSContext.psf[16](context), 0, 0 + psq_st fp17, OSContext.psf[17](context), 0, 0 + psq_st fp18, OSContext.psf[18](context), 0, 0 + psq_st fp19, OSContext.psf[19](context), 0, 0 + psq_st fp20, OSContext.psf[20](context), 0, 0 + psq_st fp21, OSContext.psf[21](context), 0, 0 + psq_st fp22, OSContext.psf[22](context), 0, 0 + psq_st fp23, OSContext.psf[23](context), 0, 0 + psq_st fp24, OSContext.psf[24](context), 0, 0 + psq_st fp25, OSContext.psf[25](context), 0, 0 + psq_st fp26, OSContext.psf[26](context), 0, 0 + psq_st fp27, OSContext.psf[27](context), 0, 0 + psq_st fp28, OSContext.psf[28](context), 0, 0 + psq_st fp29, OSContext.psf[29](context), 0, 0 + psq_st fp30, OSContext.psf[30](context), 0, 0 + psq_st fp31, OSContext.psf[31](context), 0, 0 +_return: + blr +#endif // __MWERKS__ +} diff --git a/libs/RVL_SDK/src/os/OSError.c b/libs/RVL_SDK/src/os/OSError.c new file mode 100644 index 00000000..de7f3418 --- /dev/null +++ b/libs/RVL_SDK/src/os/OSError.c @@ -0,0 +1,201 @@ +#include +#include + +#include + +#include +#include + +#include + +OSErrorHandler __OSErrorTable[OS_EXCEPTION_MAX]; + +u32 __OSFpscrEnableBits = FPSCR_ENABLE; + +void OSReport(const char* msg, ...) { + va_list marker; + va_start(marker, msg); + OSVReport(msg, marker); + va_end(marker); +} + +void OSVReport(const char* msg, va_list list) { + vprintf(msg, list); +} + +void OSPanic(const char* file, int line, const char* msg, ...) { + va_list marker; + u32 i; + u32* p; + + BOOL enabled = OSDisableInterrupts(); + + va_start(marker, msg); + OSVReport(msg, marker); + va_end(marker); + OSReport(" in \"%s\" on line %d.\n", file, line); + + OSReport("\nAddress: Back Chain LR Save\n"); + for (i = 0, p = (u32*)OSGetStackPointer(); p && (u32)p != 0xFFFFFFFF && i++ < 16; p = (u32*)*p) { + OSReport("0x%08x: 0x%08x 0x%08x\n", p, p[0], p[1]); + } + + PPCHalt(); +} + +OSErrorHandler OSSetErrorHandler(OSError error, OSErrorHandler handler) { + OSErrorHandler oldHandler; + OSThread* thread; + + BOOL enabled = OSDisableInterrupts(); + u32 msr, fpscr; + + int i; + + oldHandler = __OSErrorTable[error]; + __OSErrorTable[error] = handler; + + if (error == OS_EXCEPTION_FLOATING_POINT_EXCEPTION) { + msr = PPCMfmsr(); + PPCMtmsr(msr | MSR_FP); + fpscr = PPCMffpscr(); + + if (handler) { + for (thread = __OSActiveThreadQueue.head; thread; thread = thread->linkActive.next) { + SET_FLAG(thread->context.srr1, MSR_FE0 | MSR_FE1); + if (!HAS_FLAG(thread->context.state, OS_CONTEXT_STATE_FPSAVED)) { + SET_FLAG(thread->context.state, OS_CONTEXT_STATE_FPSAVED); + for (i = 0; i < OS_PRIORITY_MAX + 1; ++i) { + *(u64*)&thread->context.fpr[i] = (u64)0xFFFFFFFFFFFFFFFFLL; + *(u64*)&thread->context.psf[i] = (u64)0xFFFFFFFFFFFFFFFFLL; + } + thread->context.fpscr = FPSCR_NI; + } + SET_FLAG(thread->context.fpscr, OS_FPSCR_ENABLE); + CLEAR_FLAG(thread->context.fpscr, FPSCR_VXVC | FPSCR_VXIMZ | FPSCR_VXZDZ | FPSCR_VXIDI | FPSCR_VXISI | + FPSCR_VXSNAN | FPSCR_VXSOFT | FPSCR_VXSQRT | FPSCR_VXCVI | FPSCR_XX | + FPSCR_ZX | FPSCR_UX | FPSCR_OX | FPSCR_FX | FPSCR_FI); + } + SET_FLAG(fpscr, __OSFpscrEnableBits & FPSCR_ENABLE); + SET_FLAG(msr, MSR_FE0 | MSR_FE1); + } + else { + for (thread = __OSActiveThreadQueue.head; thread; thread = thread->linkActive.next) { + CLEAR_FLAG(thread->context.srr1, MSR_FE0 | MSR_FE1); + CLEAR_FLAG(thread->context.fpscr, FPSCR_ENABLE); + CLEAR_FLAG(thread->context.fpscr, FPSCR_VXVC | FPSCR_VXIMZ | FPSCR_VXZDZ | FPSCR_VXIDI | FPSCR_VXISI | + FPSCR_VXSNAN | FPSCR_VXSOFT | FPSCR_VXSQRT | FPSCR_VXCVI | FPSCR_XX | + FPSCR_ZX | FPSCR_UX | FPSCR_OX | FPSCR_FX | FPSCR_FI); + } + CLEAR_FLAG(fpscr, FPSCR_ENABLE); + CLEAR_FLAG(msr, MSR_FE0 | MSR_FE1); + } + + CLEAR_FLAG(fpscr, FPSCR_VXVC | FPSCR_VXIMZ | FPSCR_VXZDZ | FPSCR_VXIDI | FPSCR_VXISI | + FPSCR_VXSNAN | FPSCR_VXSOFT | FPSCR_VXSQRT | FPSCR_VXCVI | FPSCR_XX | + FPSCR_ZX | FPSCR_UX | FPSCR_OX | FPSCR_FX | FPSCR_FI); + + PPCMtfpscr(fpscr); + PPCMtmsr(msr); + } + + OSRestoreInterrupts(enabled); + + return oldHandler; +} + +void __OSUnhandledException(__OSException exception, OSContext* context, u32 dsisr, u32 dar) { + OSTime now; + u32 fpscr, msr; + + now = OSGetTime(); + + if (!HAS_FLAG(context->srr1, MSR_RI)) { + OSReport("Non-recoverable Exception %d", exception); + } + else { + if (exception == OS_EXCEPTION_PROGRAM && (context->srr1 & SRR1_L2DP_BIT) && __OSErrorTable[OS_EXCEPTION_FLOATING_POINT_EXCEPTION] != NULL) { + exception = OS_EXCEPTION_FLOATING_POINT_EXCEPTION; + + msr = PPCMfmsr(); + PPCMtmsr(msr | MSR_FP); + + if (__OSFPUContext) { + OSSaveFPUContext((OSContext*)__OSFPUContext); + } + + fpscr = PPCMffpscr(); + CLEAR_FLAG(fpscr, FPSCR_VXVC | FPSCR_VXIMZ | FPSCR_VXZDZ | FPSCR_VXIDI | FPSCR_VXISI | + FPSCR_VXSNAN | FPSCR_VXSOFT | FPSCR_VXSQRT | FPSCR_VXCVI | FPSCR_XX | + FPSCR_ZX | FPSCR_UX | FPSCR_OX | FPSCR_FX | FPSCR_FI); + PPCMtfpscr(fpscr); + + PPCMtmsr(msr); + + if (__OSFPUContext == context) { + OSDisableScheduler(); + __OSErrorTable[exception](exception, context, dsisr, dar); + CLEAR_FLAG(context->srr1, MSR_FP); + __OSFPUContext = NULL; + + CLEAR_FLAG(context->fpscr, FPSCR_VXVC | FPSCR_VXIMZ | FPSCR_VXZDZ | FPSCR_VXIDI | FPSCR_VXISI | + FPSCR_VXSNAN | FPSCR_VXSOFT | FPSCR_VXSQRT | FPSCR_VXCVI | FPSCR_XX | + FPSCR_ZX | FPSCR_UX | FPSCR_OX | FPSCR_FX | FPSCR_FI); + OSEnableScheduler(); + __OSReschedule(); + } + else { + CLEAR_FLAG(context->srr1, MSR_FP); + __OSFPUContext = NULL; + } + + OSLoadContext(context); + } + + if (__OSErrorTable[exception]) { + OSDisableScheduler(); + __OSErrorTable[exception](exception, context, dsisr, dar); + OSEnableScheduler(); + __OSReschedule(); + OSLoadContext(context); + } + if (exception == OS_EXCEPTION_DECREMENTER) { + OSLoadContext(context); + } + OSReport("Unhandled Exception %d", exception); + } + + OSReport("\n"); + OSDumpContext(context); + OSReport("\nDSISR = 0x%08x DAR = 0x%08x\n", dsisr, dar); + OSReport("TB = 0x%016llx\n", now); + + switch (exception) { + case OS_EXCEPTION_DSI: { + OSReport("\nInstruction at 0x%x (read from SRR0) attempted to access invalid address 0x%x (read from DAR)\n", context->srr0, dar); + break; + } + case OS_EXCEPTION_ISI: { + OSReport("\nAttempted to fetch instruction from invalid address 0x%x (read from SRR0)\n", context->srr0); + break; + } + case OS_EXCEPTION_ALIGNMENT: { + OSReport("\nInstruction at 0x%x (read from SRR0) attempted to access unaligned address 0x%x (read from DAR)\n", context->srr0, dar); + break; + } + case OS_EXCEPTION_PROGRAM: { + OSReport("\nProgram exception : Possible illegal instruction/operation at or around 0x%x (read from SRR0)\n", context->srr0, dar); + break; + } + case OS_EXCEPTION_MEMORY_PROTECTION: { + OSReport("\n"); + OSReport("AI DMA Address = 0x%04x%04x\n", DSP_READ_REG(DSP_DMA_START_ADDR_H), DSP_READ_REG(DSP_DMA_START_ADDR_L)); + OSReport("ARAM DMA Address = 0x%04x%04x\n", DSP_READ_REG(DSP_AR_DMA_MMADDR_H), DSP_READ_REG(DSP_AR_DMA_MMADDR_L)); + OSReport("DI DMA Address = 0x%08x\n", DI_READ_REG(DI_DMA_MEM_ADDRESS)); + break; + } + } + + OSReport("\nLast interrupt (%d): SRR0 = 0x%08x TB = 0x%016llx\n", __OSLastInterrupt, __OSLastInterruptSrr0, __OSLastInterruptTime); + PPCHalt(); +} diff --git a/libs/RVL_SDK/src/os/OSExec.c b/libs/RVL_SDK/src/os/OSExec.c new file mode 100644 index 00000000..1dcedaa1 --- /dev/null +++ b/libs/RVL_SDK/src/os/OSExec.c @@ -0,0 +1,499 @@ +#include +#include +#include + +#include + +#include +#include + +#include +#include + +#include + +#include + +/* some string pooling (the first one is used but is just pooled first...)*/ +DECOMP_FORCE_ACTIVE(OSExec_c, "\nOSExec(): Failed to exec %d in %d\n"); +DECOMP_FORCE_ACTIVE(OSExec_c, "\nOSExec(): The specified game doesn't exist in the disc\n"); + +extern BOOL __OSInIPL; +extern BOOL __OSInNandBoot; + +BOOL __OSInReboot; + +#define BI2_ROUND(x, a) (((x) & ~((a) - 1))) + +BOOL PackArgs(void *addr, int argc, char** argv) { + int argCount; + u8* bootInfo2; + u8* argPtr; + + bootInfo2 = addr; + memset(bootInfo2, 0, BI2_SIZE); + + if (argc == 0) { + RAMWrite32(&bootInfo2[BI2_OFFSET_ARGOFFSET], 0); + } + else { + argCount = argc; + argPtr = bootInfo2 + BI2_OFFSET_ARGS; // Arguments are located after BI2 + + // For each argument + while (--argc >= 0) { + // Copy arguments + argPtr -= (strlen(argv[argc]) + 1); + strcpy((char*)argPtr, argv[argc]); + + argv[argc] = (char*)(argPtr - bootInfo2); + } + + argPtr = bootInfo2 + BI2_ROUND(argPtr - bootInfo2, 4); + argPtr -= (argCount + 1) * sizeof(argv); + + { + u32 i; + char** argList = (char**)argPtr; + for (i = 0; i < argCount + 1; i++) { + argList[i] = argv[i]; + } + } + + // Write copied arguments to BI2 + argPtr -= sizeof(argCount); + RAMWrite32(argPtr, argCount); + RAMWrite32(&bootInfo2[BI2_OFFSET_ARGOFFSET], argPtr - bootInfo2); + } + + return TRUE; +} + +void __OSGetExecParams(OSExecParams *params) { + if ((u32)__OSExecParamsAddr >= OS_BASE_CACHED) { + memcpy(params, __OSExecParamsAddr, sizeof(OSExecParams)); + } + else { + params->valid = FALSE; + } +} + +BOOL __OSCheckCompanyCode(ESTitleId titleId, BOOL diskApp) { + NANDStatus status; + char homePath[NAND_MAX_PATH+1]; + char dataPath[NAND_MAX_PATH+1]; + u16 curGroupId, launchGroupId; + + int ret = NAND_RESULT_OK; + + // Get home path + ret = NANDGetHomeDir(homePath); + if (ret != NAND_RESULT_OK) { + return FALSE; + } + + // Get status of home path + ret = NANDGetStatus(homePath, &status); + if (ret != NAND_RESULT_OK) { + return FALSE; + } + + curGroupId = status.groupId; + if (curGroupId == 2) { + if (OSGetAppType() == 0x80 && (OSGetConsoleType() & OS_CONSOLE_MASK) == OS_CONSOLE_MASK_DEV) { + DVDDiskID* diskId = DVDGetCurrentDiskID(); + curGroupId = *(u16*)diskId->company; + } + } + + if (diskApp) { + // Get group ID from disc + DVDDiskID* diskId = DVDGetCurrentDiskID(); + launchGroupId = *(u16*)diskId->company; + } + else { + // Get group ID from title's data folder + sprintf(dataPath, "/title/%08x/%08x/data", NANDTitleIdHi(titleId), NANDTitleIdLo(titleId)); + ret = NANDGetStatus(dataPath, &status); + if (ret != NAND_RESULT_OK) { + return FALSE; + } + launchGroupId = status.groupId; + } + + return curGroupId == launchGroupId ? TRUE : FALSE; +} + +BOOL __OSCheckTmdCountryCode(ESTmdView* tmd) { + u32 country = 0; + country = tmd->head.reserved.region; + + if (country == ES_REGION_ALL) { + // Do not bother checking if its region free + return TRUE; + } + else { + // Check if region matches the system region + return country == SCGetProductGameRegion() ? TRUE : FALSE; + } +} + +int __OSGetValidTicketIndex(ESTicketView *ticketViewList, u32 numTickets) { + int ret, i; + int bestIdx = 0; + BOOL permanent = FALSE; + u32 maxBit = 0, maxTime = 0; + + // Check if there are any tickets + if (ticketViewList == NULL) { + OSReport("NULL pointer detected: line %d in %s\n", 1339, __FILE__); + return ES_ERR_INVALID_ARGUMENTS; + } + + for (i = 0; i < numTickets; i++) { + u32 playTime; + u16 accessMask; + OSPlayTimeType type; + // Get play time for its limit tickets + ret = __OSGetPlayTime(&ticketViewList[i], &type, &playTime); + if (ret > 0) { + ret = ES_ERR_OK; + continue; + } + else if (ret != ES_ERR_OK) { + return ret; + } + + switch (type) { + case OS_PLAYTIME_PERMANENT: { + u32 j, bits = 0; + if (!permanent) { + bestIdx = i; + permanent = TRUE; + } + + // Get bits to access. + accessMask = (u16)((ticketViewList[i].sysAccessMask[1] << 8) + | ticketViewList[i].sysAccessMask[0]); + for (j = 0; j < 16; j++) { + if (accessMask & (1 << j)) bits++; + } + + if (bits > maxBit) { + bestIdx = i; + maxBit = bits; + } + break; + } + case OS_PLAYTIME_TIME_LIMIT: { + if (!permanent) { + if (playTime > maxTime) { + bestIdx = i; + maxTime = playTime; + } + } + break; + } + case OS_PLAYTIME_UNKNOWN: + default: { + break; + } + } + } + + if (!permanent && maxTime == 0) { + return -1; + } + + return bestIdx; +} + +void __OSLaunchTitle(ESTitleId titleId) { + int ret; + ESTicketView* tik; + ESTicketView* tikList; + u32 ticketLen = 1; + + // Initialize ESP library + ret = ESP_InitLib(); + if (ret != ES_ERR_OK) { + return; + } + // Allocate used ticket + tik = (ESTicketView*)OSAllocFromMEM1ArenaLo(OSRoundUp32B(sizeof(ESTicketView)), DEFAULT_ALIGN); + if (tik == NULL) { + return; + } + memset(tik, 0, OSRoundUp32B(sizeof(ESTicketView))); + + // Get ticket counts + ret = ESP_GetTicketViews(titleId, NULL, &ticketLen); + if (ret != ES_ERR_OK) { + return; + } + + // Allocate list of tickets + tikList = (ESTicketView*)OSAllocFromMEM1ArenaLo(OSRoundUp32B(sizeof(ESTicketView) * ticketLen), DEFAULT_ALIGN); + if (tikList == NULL) { + return; + } + // Get list of tickets + ret = ESP_GetTicketViews(titleId, tikList, &ticketLen); + if (ret != ES_ERR_OK) { + return; + } + + // Find the valid ticket + ret = __OSGetValidTicketIndex(tikList, ticketLen); + if (ret < 0) { + return; + } + + // Launch the title with the valid ticket. + memcpy(tik, &tikList[ret], sizeof(ESTicketView)); + ret = ESP_LaunchTitle(titleId, tik); + if (ret != ES_ERR_OK) { + return; + } + + // Lock up + while (TRUE) {} +} + +inline BOOL __OSCheckTmdSysVersion(ESTmdView* tmd) { + ESSysVersion systemId = 0x0000000100000003; + + char syspath[NAND_MAX_PATH+1] ALIGN32; + + int ret = ES_ERR_OK; + u32 numTicket = 0, numContent = 0; + + systemId = tmd->head.sysVersion; + ret = ESP_GetTicketViews(systemId, NULL, &numTicket); + if (ret != ES_ERR_OK || numTicket != 1) { + return FALSE; + } + + ret = ESP_ListTitleContentsOnCard(systemId, NULL, &numContent); + if (ret != ES_ERR_OK || numContent == 0) { + return FALSE; + } + + return TRUE; +} + +static BOOL __OSCheckTmdDriveSpinFlag(ESTmdView* tmd) { + if (tmd->head.reserved.driveSpin & 1) { + return TRUE; + } + else { + return FALSE; + } +} + +void LaunchCommon(ESTitleId titleId, u32 launchArg, const char** argv, BOOL launchCheck) { + OSStateFlags state; + OSNandbootInfo *info; + u8* bi2; + int argLen; + + char titleIdString[20]; + char** argvToPass; + + int i; + + ESTitleId title ALIGN32; + ESTmdView* tmd = NULL; + u32 tmdSize = 0; + + int ret = ES_ERR_OK; + + ret = ESP_InitLib(); + if (ret != ES_ERR_OK) { + __OSReturnToMenuForError(); + } + + ret = ESP_GetTmdView(titleId, NULL, &tmdSize); + if (ret != ES_ERR_OK) { + __OSReturnToMenuForError(); + } + + tmd = (ESTmdView*)OSAllocFromMEM1ArenaLo(OSRoundUp32B(tmdSize), 64); + if (tmd == NULL) { + __OSReturnToMenuForError(); + } + + ret = ESP_GetTmdView(titleId, tmd, &tmdSize); + if (ret != ES_ERR_OK) { + __OSReturnToMenuForError(); + } + + if (!__OSCheckTmdSysVersion(tmd)) { + OSReport("OSLaunchTitle(): Firmware is not installed\n"); + __OSReturnToMenuForError(); + } + + if (launchCheck) { + if (!__OSCheckCompanyCode(titleId, FALSE)) { + OSReport("OSLaunchTitle(): Company code is not correct\n"); + __OSReturnToMenuForError(); + } + + if (!__OSCheckTmdCountryCode(tmd)) { + OSReport("OSLaunchTitle(): Country code is not correct\n"); + __OSReturnToMenuForError(); + } + } + + if (!__OSCheckTmdDriveSpinFlag(tmd)) { + if (__DVDGetCoverStatus() == 2) { + __DVDResetWithNoSpinup(); + } + } + + if (argv || launchArg) { + bi2 = (u8*)OSAllocFromMEM1ArenaLo(0x2000, 64); + info = (OSNandbootInfo*)((u32)bi2 + (0x2000 - sizeof(OSNandbootInfo))); + + sprintf(titleIdString, "%016llx", titleId); + argLen = 0; + + if (argv) { + while (argv[argLen]) + argLen++; + } + + argvToPass = OSAllocFromMEM1ArenaLo((++argLen + 1) * sizeof(char*), 1); + argvToPass[0] = titleIdString; + + for (i = 1; i < argLen; i++) { + argvToPass[i] = (char*)argv[i - 1]; + } + + PackArgs(bi2, argLen, argvToPass); + + if (__OSInIPL) { + title = EXEC_SYSTEM_MENU_ID; + } + else { + ret = ESP_InitLib(); + if (ret != ES_ERR_OK) { + OSReport("\nOSExec(): Failed to exec %d in %d\n", ret, 1712); + __OSHotResetForError(); + } + + ret = ESP_GetTitleId(&title); + if (ret != ES_ERR_OK) { + OSReport("\nOSExec(): Failed to exec %d in %d\n", ret, 1720); + __OSHotResetForError(); + } + } + + // Setup NANDBOOTINFO + info->prevTitleId = title; + info->argsOff = *(u32*)&bi2[BI2_OFFSET_ARGOFFSET]; + info->prevAppType = OSGetAppType(); + if (titleId == EXEC_SYSTEM_MENU_ID) { + info->returnValue = OS_NANDBOOT_RETURN_MENU; + } + else { + info->returnValue = OS_NANDBOOT_RETURN_GAME; + } + info->argValue = launchArg; + + // Write NANDBOOTINFO + __OSCreateNandbootInfo(); + __OSWriteNandbootInfo(info); + + __OSReadStateFlags(&state); + state.lastShutdown = 3; + if (titleId == EXEC_SYSTEM_MENU_ID) { + state.lastDiscState = __OSGetDiscState(state.lastDiscState); + state.menuMode = 2; + } + __OSWriteStateFlags(&state); + } + + OSDisableScheduler(); + __OSShutdownDevices(OS_SHUTDOWN_LAUNCH); + OSEnableScheduler(); + + __OSLaunchTitle(titleId); + + // If failed to launch title, launch back to the menu. + __OSLaunchMenu(); +} + +#define __COPY_VA_ARGS_TO_ARRAY(arg0, argv) { \ + va_list list; \ + char* argPtr; \ + int i; \ + argv = OSAllocFromMEM1ArenaLo(sizeof(*argv), 0x1000); \ + va_start(list, arg0); \ + for (i = 0, argPtr = (char*)arg0; (argv[i++] = argPtr) != NULL;) { \ + argPtr = va_arg(list, char*); \ + } \ + va_end(list); \ +} + +// "System" as in system menu +void __OSLaunchTitlevForSystem(ESTitleId titleId, u32 launchCode, const char** argv) { + __OSUnRegisterStateEvent(); + + OSSetArenaLo(EXEC_WORK_ARENA_LO); + OSSetArenaHi(EXEC_WORK_ARENA_HI); + + // If we are in the system menu (but NOT in a nandloader) + if (__OSInIPL && !__OSInNandBoot) { + LaunchCommon(titleId, launchCode, argv, FALSE); + } + else { + OSReport("__OSLaunchTitlevForSystem(): only system can call this function\n"); + __OSReturnToMenuForError(); + } +} + +void __OSLaunchTitlelForSystem(ESTitleId titleId, u32 launchCode, const char* arg0, ...) { + char** argv; + + __OSUnRegisterStateEvent(); + + OSSetArenaLo(EXEC_WORK_ARENA_LO); + OSSetArenaHi(EXEC_WORK_ARENA_HI); + + __COPY_VA_ARGS_TO_ARRAY(arg0, argv); + + // If we are in the system menu (but NOT in a nandloader) + if (__OSInIPL && !__OSInNandBoot) { + LaunchCommon(titleId, launchCode, (const char**)argv, FALSE); + } + else { + OSReport("__OSLaunchTitlelForSystem(): only system can call this function\n"); + __OSReturnToMenuForError(); + } +} + +void __OSReturnToMenul(u32 launchArg, const char *arg0, ...) { + char** argv; + + __OSUnRegisterStateEvent(); + + OSSetArenaLo(EXEC_WORK_ARENA_LO); + OSSetArenaHi(EXEC_WORK_ARENA_HI); + + __COPY_VA_ARGS_TO_ARRAY(arg0, argv); + + LaunchCommon(EXEC_SYSTEM_MENU_ID, launchArg, (const char**)argv, FALSE); + + // If failed to launch title, launch back to the menu. + __OSReturnToMenuForError(); +} + +/* more string pooling...*/ +DECOMP_FORCE_ACTIVE(OSExec_c, "OSLaunchDisk(): You can't call this API from DVD application. \n"); +DECOMP_FORCE_ACTIVE(OSExec_c, "OSLaunchDisk(): You must call DVDPrepareDisk before launching disc.\n"); +DECOMP_FORCE_ACTIVE(OSExec_c, "OSLaunchDisk(): Specified id is different from one specified to DVDPrepareDisk.\n"); +DECOMP_FORCE_ACTIVE(OSExec_c, "0000000000000000"); +DECOMP_FORCE_ACTIVE(OSExec_c, "2004/02/01"); +DECOMP_FORCE_ACTIVE(OSExec_c, "OSLaunchPartition(): You can't call this API from NAND application. \n"); +DECOMP_FORCE_ACTIVE(OSExec_c, "OSLaunchPartition(): Specified title ID is not DISC application. \n"); diff --git a/libs/RVL_SDK/src/os/OSFont.c b/libs/RVL_SDK/src/os/OSFont.c new file mode 100644 index 00000000..37ce97c4 --- /dev/null +++ b/libs/RVL_SDK/src/os/OSFont.c @@ -0,0 +1,622 @@ +#include +#include + +#include + +#include + +typedef char* (*ParseStringCallback)(u16, char*, OSFontHeader**, int*); + +static char* ParseStringS(u16 encode, const char* string, OSFontHeader** pfont, int* pfontCode); +static char* ParseStringW(u16 encode, const char* string, OSFontHeader** pfont, int* pfontCode); + +static u16 HankakuToCode[] = { + 0x20C, 0x20D, 0x20E, 0x20F, 0x210, 0x211, 0x212, 0x213, + 0x214, 0x215, 0x216, 0x217, 0x218, 0x219, 0x21A, 0x21B, + 0x21C, 0x21D, 0x21E, 0x21F, 0x220, 0x221, 0x222, 0x223, + 0x224, 0x225, 0x226, 0x227, 0x228, 0x229, 0x22A, 0x22B, + 0x22C, 0x22D, 0x22E, 0x22F, 0x230, 0x231, 0x232, 0x233, + 0x234, 0x235, 0x236, 0x237, 0x238, 0x239, 0x23A, 0x23B, + 0x23C, 0x23D, 0x23E, 0x23F, 0x240, 0x241, 0x242, 0x243, + 0x244, 0x245, 0x246, 0x247, 0x248, 0x249, 0x24A, 0x24B, + 0x24C, 0x24D, 0x24E, 0x24F, 0x250, 0x251, 0x252, 0x253, + 0x254, 0x255, 0x256, 0x257, 0x258, 0x259, 0x25A, 0x25B, + 0x25C, 0x25D, 0x25E, 0x25F, 0x260, 0x261, 0x262, 0x263, + 0x264, 0x265, 0x266, 0x267, 0x268, 0x269, 0x26A, 0x20C, + 0x20C, 0x20C, 0x20C, 0x20C, 0x20C, 0x20C, 0x20C, 0x20C, + 0x20C, 0x20C, 0x20C, 0x20C, 0x20C, 0x20C, 0x20C, 0x20C, + 0x20C, 0x20C, 0x20C, 0x20C, 0x20C, 0x20C, 0x20C, 0x20C, + 0x20C, 0x20C, 0x20C, 0x20C, 0x20C, 0x20C, 0x20C, 0x20C, + 0x20C, 0x26B, 0x26C, 0x26D, 0x26E, 0x26F, 0x270, 0x271, + 0x272, 0x273, 0x274, 0x275, 0x276, 0x277, 0x278, 0x279, + 0x27A, 0x27B, 0x27C, 0x27D, 0x27E, 0x27F, 0x280, 0x281, + 0x282, 0x283, 0x284, 0x285, 0x286, 0x287, 0x288, 0x289, + 0x28A, 0x28B, 0x28C, 0x28D, 0x28E, 0x28F, 0x290, 0x291, + 0x292, 0x293, 0x294, 0x295, 0x296, 0x297, 0x298, 0x299, + 0x29A, 0x29B, 0x29C, 0x29D, 0x29E, 0x29F, 0x2A0, 0x2A1, + 0x2A2, 0x2A3, 0x2A4, 0x2A5, 0x2A6, 0x2A7, 0x2A8, 0x2A9, +}; + +static u16 Zenkaku2Code[] = { + 0x000, 0x001, 0x002, 0x003, 0x004, 0x005, 0x006, 0x007, + 0x008, 0x009, 0x00A, 0x00B, 0x00C, 0x00D, 0x00E, 0x00F, + 0x010, 0x011, 0x012, 0x013, 0x014, 0x015, 0x016, 0x017, + 0x018, 0x019, 0x01A, 0x01B, 0x01C, 0x01D, 0x01E, 0x01F, + 0x020, 0x021, 0x022, 0x023, 0x024, 0x025, 0x026, 0x027, + 0x028, 0x029, 0x02A, 0x02B, 0x02C, 0x02D, 0x02E, 0x02F, + 0x030, 0x031, 0x032, 0x033, 0x034, 0x035, 0x036, 0x037, + 0x038, 0x039, 0x03A, 0x03B, 0x03C, 0x03D, 0x03E, + 0x03F, 0x040, 0x041, 0x042, 0x043, 0x044, 0x045, 0x046, + 0x047, 0x048, 0x049, 0x04A, 0x04B, 0x04C, 0x04D, 0x04E, + 0x04F, 0x050, 0x051, 0x052, 0x053, 0x054, 0x055, 0x056, + 0x057, 0x058, 0x059, 0x05A, 0x05B, 0x05C, 0x05D, 0x05E, + 0x05F, 0x060, 0x061, 0x062, 0x063, 0x064, 0x065, 0x066, + 0x067, 0x068, 0x069, 0x06A, 0x06B, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x06C, 0x06D, 0x06E, 0x06F, 0x070, 0x071, 0x072, 0x073, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x074, 0x075, 0x076, 0x077, 0x078, 0x079, 0x07A, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x07B, 0x07C, 0x07D, 0x07E, 0x07F, 0x080, + 0x081, 0x082, 0x083, 0x084, 0x085, 0x086, 0x087, 0x088, + 0x089, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x08A, 0x08B, 0x08C, 0x08D, 0x08E, 0x08F, 0x090, 0x091, + 0x000, 0x000, 0x000, 0x000, 0x092, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x093, + 0x094, 0x095, 0x096, 0x097, 0x098, 0x099, 0x09A, 0x09B, + 0x09C, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x09D, 0x09E, 0x09F, 0x0A0, 0x0A1, 0x0A2, 0x0A3, 0x0A4, + 0x0A5, 0x0A6, 0x0A7, 0x0A8, 0x0A9, 0x0AA, 0x0AB, 0x0AC, + 0x0AD, 0x0AE, 0x0AF, 0x0B0, 0x0B1, 0x0B2, 0x0B3, 0x0B4, + 0x0B5, 0x0B6, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x0B7, 0x0B8, 0x0B9, 0x0BA, 0x0BB, 0x0BC, 0x0BD, + 0x0BE, 0x0BF, 0x0C0, 0x0C1, 0x0C2, 0x0C3, 0x0C4, 0x0C5, + 0x0C6, 0x0C7, 0x0C8, 0x0C9, 0x0CA, 0x0CB, 0x0CC, 0x0CD, + 0x0CE, 0x0CF, 0x0D0, 0x000, 0x000, 0x000, 0x000, 0x0D1, + 0x0D2, 0x0D3, 0x0D4, 0x0D5, 0x0D6, 0x0D7, 0x0D8, 0x0D9, + 0x0DA, 0x0DB, 0x0DC, 0x0DD, 0x0DE, 0x0DF, 0x0E0, 0x0E1, + 0x0E2, 0x0E3, 0x0E4, 0x0E5, 0x0E6, 0x0E7, 0x0E8, 0x0E9, + 0x0EA, 0x0EB, 0x0EC, 0x0ED, 0x0EE, 0x0EF, 0x0F0, 0x0F1, + 0x0F2, 0x0F3, 0x0F4, 0x0F5, 0x0F6, 0x0F7, 0x0F8, 0x0F9, + 0x0FA, 0x0FB, 0x0FC, 0x0FD, 0x0FE, 0x0FF, 0x100, 0x101, + 0x102, 0x103, 0x104, 0x105, 0x106, 0x107, 0x108, 0x109, + 0x10A, 0x10B, 0x10C, 0x10D, 0x10E, 0x10F, 0x110, 0x111, + 0x112, 0x113, 0x114, 0x115, 0x116, 0x117, 0x118, 0x119, + 0x11A, 0x11B, 0x11C, 0x11D, 0x11E, 0x11F, 0x120, 0x121, + 0x122, 0x123, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, + 0x124, 0x125, 0x126, 0x127, 0x128, 0x129, 0x12A, 0x12B, + 0x12C, 0x12D, 0x12E, 0x12F, 0x130, 0x131, 0x132, 0x133, + 0x134, 0x135, 0x136, 0x137, 0x138, 0x139, 0x13A, 0x13B, + 0x13C, 0x13D, 0x13E, 0x13F, 0x140, 0x141, 0x142, 0x143, + 0x144, 0x145, 0x146, 0x147, 0x148, 0x149, 0x14A, 0x14B, + 0x14C, 0x14D, 0x14E, 0x14F, 0x150, 0x151, 0x152, 0x153, + 0x154, 0x155, 0x156, 0x157, 0x158, 0x159, 0x15A, 0x15B, + 0x15C, 0x15D, 0x15E, 0x15F, 0x160, 0x161, 0x162, + 0x163, 0x164, 0x165, 0x166, 0x167, 0x168, 0x169, 0x16A, + 0x16B, 0x16C, 0x16D, 0x16E, 0x16F, 0x170, 0x171, 0x172, + 0x173, 0x174, 0x175, 0x176, 0x177, 0x178, 0x179, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x17A, + 0x17B, 0x17C, 0x17D, 0x17E, 0x17F, 0x180, 0x181, 0x182, + 0x183, 0x184, 0x185, 0x186, 0x187, 0x188, 0x189, 0x18A, + 0x18B, 0x18C, 0x18D, 0x18E, 0x18F, 0x190, 0x191, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x192, + 0x193, 0x194, 0x195, 0x196, 0x197, 0x198, 0x199, 0x19A, + 0x19B, 0x19C, 0x19D, 0x19E, 0x19F, 0x1A0, 0x1A1, 0x1A2, + 0x1A3, 0x1A4, 0x1A5, 0x1A6, 0x1A7, 0x1A8, 0x1A9, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, + 0x1AA, 0x1AB, 0x1AC, 0x1AD, 0x1AE, 0x1AF, 0x1B0, 0x1B1, + 0x1B2, 0x1B3, 0x1B4, 0x1B5, 0x1B6, 0x1B7, 0x1B8, 0x1B9, + 0x1BA, 0x1BB, 0x1BC, 0x1BD, 0x1BE, 0x1BF, 0x1C0, 0x1C1, + 0x1C2, 0x1C3, 0x1C4, 0x1C5, 0x1C6, 0x1C7, 0x1C8, 0x1C9, + 0x1CA, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x1CB, 0x1CC, 0x1CD, 0x1CE, 0x1CF, 0x1D0, 0x1D1, 0x1D2, + 0x1D3, 0x1D4, 0x1D5, 0x1D6, 0x1D7, 0x1D8, 0x1D9, + 0x1DA, 0x1DB, 0x1DC, 0x1DD, 0x1DE, 0x1DF, 0x1E0, 0x1E1, + 0x1E2, 0x1E3, 0x1E4, 0x1E5, 0x1E6, 0x1E7, 0x1E8, 0x1E9, + 0x1EA, 0x1EB, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x1EC, + 0x1ED, 0x1EE, 0x1EF, 0x1F0, 0x1F1, 0x1F2, 0x1F3, 0x1F4, + 0x1F5, 0x1F6, 0x1F7, 0x1F8, 0x1F9, 0x1FA, 0x1FB, 0x1FC, + 0x1FD, 0x1FE, 0x1FF, 0x200, 0x201, 0x202, 0x203, 0x204, + 0x205, 0x206, 0x207, 0x208, 0x209, 0x20A, 0x20B, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x20C, + 0x20D, 0x20E, 0x20F, 0x210, 0x211, 0x212, 0x213, 0x214, + 0x215, 0x216, 0x217, 0x218, 0x219, 0x21A, 0x21B, 0x21C, + 0x21D, 0x21E, 0x21F, 0x220, 0x221, 0x222, 0x223, 0x224, + 0x225, 0x226, 0x227, 0x228, 0x229, 0x22A, 0x22B, 0x22C, + 0x22D, 0x22E, 0x22F, 0x230, 0x231, 0x232, 0x233, 0x234, + 0x235, 0x236, 0x237, 0x238, 0x239, 0x23A, 0x23B, 0x23C, + 0x23D, 0x23E, 0x23F, 0x240, 0x241, 0x242, 0x243, 0x244, + 0x245, 0x246, 0x247, 0x248, 0x249, 0x24A, 0x24B, + 0x24C, 0x24D, 0x24E, 0x24F, 0x250, 0x251, 0x252, 0x253, + 0x254, 0x255, 0x256, 0x257, 0x258, 0x259, 0x25A, 0x25B, + 0x25C, 0x25D, 0x25E, 0x25F, 0x260, 0x261, 0x262, 0x263, + 0x264, 0x265, 0x266, 0x267, 0x268, 0x269, 0x26A, 0x26B, + 0x26C, 0x26D, 0x26E, 0x26F, 0x270, 0x271, 0x272, 0x273, + 0x274, 0x275, 0x276, 0x277, 0x278, 0x279, 0x27A, 0x27B, + 0x27C, 0x27D, 0x27E, 0x27F, 0x280, 0x281, 0x282, 0x283, + 0x284, 0x285, 0x286, 0x287, 0x288, 0x289, 0x28A, 0x28B, + 0x28C, 0x28D, 0x28E, 0x28F, 0x290, 0x291, 0x292, 0x293, + 0x294, 0x295, 0x296, 0x297, 0x298, 0x299, 0x29A, 0x29B, + 0x29C, 0x29D, 0x29E, 0x29F, 0x2A0, 0x2A1, 0x2A2, 0x2A3, + 0x2A4, 0x2A5, 0x2A6, 0x2A7, 0x2A8, 0x2A9, 0x2AA, 0x2AB, + 0x2AC, 0x2AD, 0x2AE, 0x2AF, 0x2B0, 0x2B1, 0x2B2, 0x2B3, + 0x2B4, 0x2B5, 0x2B6, 0x2B7, 0x2B8, 0x2B9, 0x2BA, 0x2BB, + 0x2BC, 0x2BD, 0x2BE, 0x2BF, 0x2C0, 0x2C1, 0x2C2, 0x2C3, + 0x2C4, 0x2C5, 0x2C6, 0x2C7, 0x2C8, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, + 0x2C9, 0x2CA, 0x2CB, 0x2CC, 0x2CD, 0x2CE, 0x2CF, 0x2D0, + 0x2D1, 0x2D2, 0x2D3, 0x2D4, 0x2D5, 0x2D6, 0x2D7, 0x2D8, + 0x2D9, 0x2DA, 0x2DB, 0x2DC, 0x2DD, 0x2DE, 0x2DF, 0x2E0, + 0x2E1, 0x2E2, 0x2E3, 0x2E4, 0x2E5, 0x2E6, 0x000, 0x2E7, + 0x2E8, 0x2E9, 0x2EA, 0x2EB, 0x2EC, 0x2ED, 0x2EE, 0x2EF, + 0x2F0, 0x2F1, 0x2F2, 0x2F3, 0x2F4, 0x2F5, 0x2F6, 0x2F7, + 0x2F8, 0x2F9, 0x2FA, 0x2FB, 0x2FC, 0x2FD, 0x000, 0x000, + 0x000, 0x000, 0x000, 0x000, 0x000, 0x000, 0x2FE, + 0x2FF, 0x300, 0x301, 0x302, 0x303, 0x304, 0x305, 0x306, + 0x307, 0x308, 0x309, 0x30A, 0x30B, 0x30C, 0x30D, 0x30E, + 0x30F, 0x310, 0x311, 0x312, 0x313, 0x314, 0x315, 0x316, + 0x317, 0x318, 0x319, 0x31A, 0x31B, 0x000 +}; + +static OSFontHeader* FontDataAnsi; +static OSFontHeader* FontDataSjis; +static u16 FontEncode = 0xFFFF; + +static int FixedPitch; + +static ParseStringCallback ParseString; + +static BOOL IsSjisLeadByte(u8 c) { + return (0x81 <= c && c <= 0x9F) || (0xE0 <= c && c <= 0xFC); +} + +static BOOL IsSjisTrailByte(u8 c) { + return (0x40 <= c && c <= 0xFC) && (c != 0x7F); +} + +static int GetFontCode(u16 encode, u16 code) { + if (encode == OS_FONT_ENCODE_SJIS) { + if (code >= 0x20 && code <= 0xDF) { + return HankakuToCode[code - 0x20]; + } + + if (code > 0x889E && code <= 0x9872) { + int i = ((code >> 8) - 0x88) * 188; + int j = (code & 0xFF); + + if (!IsSjisTrailByte(j)) { + return 0; + } + + j -= 0x40; + if (j >= 0x40) { + j--; + } + + return (i + j + 0x2BE); + } + + if (code >= 0x8140 && code < 0x879E) { + int i = ((code >> 8) - 0x81) * 188; + int j = (code & 0xFF); + + if (!IsSjisTrailByte(j)) { + return 0; + } + + j -= 0x40; + if (j >= 0x40) { + j--; + } + + return Zenkaku2Code[i + j]; + } + } + else if (code > 0x20 && code <= 0xFF) { + return code - 0x20; + } + + return 0; +} + +static void Decode(u8* src, u8* dst) { + int j; + s32 linkOfs; + s32 chunkPos; + int i; + s32 chunksOfs; + u32 maskTblPos; + s32 expandSize; + s32 linkTblOfs; + s32 count; + u32 maskBits; + u32 mask; + + expandSize = *(s32*)(src + 0x4); + linkTblOfs = *(s32*)(src + 0x8); + chunksOfs = *(s32*)(src + 0xC); + + i = 0; + maskBits = 0; + maskTblPos = 16; + + do { + // Get next mask + if (maskBits == 0) { + mask = *(u32*)(src + maskTblPos); + maskTblPos += sizeof(u32); + maskBits = sizeof(u32) * 8; + } + + // Non-linked chunk + if (mask & 0x80000000) { + dst[i++] = src[chunksOfs++]; + } + // Linked chunk + else { + // Read offset from link table + linkOfs = src[linkTblOfs] << 8 | src[linkTblOfs + 1]; + linkTblOfs += sizeof(u16); + + // Apply offset + chunkPos = i - (linkOfs & 0x0FFF); + count = linkOfs >> 12; + if (count == 0) { + count = src[chunksOfs++] + 0x12; + } + else { + count += 2; + } + + // Copy chunk + for (j = 0; j < count; j++, i++, chunkPos++) { + dst[i] = dst[chunkPos - 1]; + } + } + + // Prepare next mask bit + mask <<= 1; + maskBits--; + } while (i < expandSize); +} + +static u32 GetFontSize(const u8* buffer) { + if (buffer[0] == 'Y' && buffer[1] == 'a' && buffer[2] == 'y') { + return *(u32*)(buffer + 0x4); + } + return 0; +} + +u16 OSGetFontEncode() { + if (FontEncode != 0xFFFF) { + return FontEncode; + } + + switch (RAMRead32(OSPhysicalToCached(OS_ADDR_TV_VIDEO_FORMAT))) { + case VI_NTSC: { + FontEncode = (VI_READ_REG(VI_DTV_STATUS) & 2) ? OS_FONT_ENCODE_SJIS : OS_FONT_ENCODE_ANSI; + break; + } + case VI_PAL: + case VI_MPAL: + case VI_DEBUG: + case VI_DEBUG_PAL: + case VI_EURGB60: + default: { + FontEncode = OS_FONT_ENCODE_ANSI; + } + } + + ParseString = (ParseStringCallback)ParseStringS; + return FontEncode; +} + +u16 OSSetFontEncode(u16 encode) { + u16 prev; + + prev = OSGetFontEncode(); + if (encode <= OS_FONT_ENCODE_MAX) { + FontEncode = encode; + if (encode >= 3 && encode <= OS_FONT_ENCODE_MAX) { + ParseString = (ParseStringCallback)ParseStringW; + } + } + + return prev; +} + +static void ReadROM(u8* buf, int length, int offset) { + int len; + while (length > 0) { + len = (length <= 0x100) ? length : 0x100; + length -= len; + + while (!__OSReadROM(buf, len, offset)) {} + + offset += len; + buf += len; + } +} + +u32 ReadFont(void* img, u16 encode, void* fontData) { + u32 size; + + if (encode == OS_FONT_ENCODE_SJIS) { + ReadROM(img, OS_FONT_ROM_SIZE_SJIS, OS_FONT_ROM_OFFSET_SJIS); + } + else { + ReadROM(img, OS_FONT_ROM_SIZE_ANSI, OS_FONT_ROM_OFFSET_ANSI); + } + + size = GetFontSize(img); + if (size == 0) { + return 0; + } + + Decode(img, fontData); + if (encode == OS_FONT_ENCODE_SJIS) { + OSFontHeader* font = (OSFontHeader*)fontData; + int fontCode; + u8* imageSrc; + int sheet, numChars; + int row, column; + int x, y; + u8* src; + u16 imageT[4] = {0x2ABE, 0x003D, 0x003D, 0x003D}; + + fontCode = GetFontCode(encode, 0x54); + sheet = fontCode / (font->sheetColumn * font->sheetRow); + numChars = fontCode - (sheet * (font->sheetColumn * font->sheetRow)); + row = numChars / font->sheetColumn; + column = numChars - (row * font->sheetColumn); + row *= font->cellHeight; + column *= font->cellWidth; + + imageSrc = (u8*)font + font->sheetImage; + imageSrc += ((sheet * font->sheetSize) >> 1); + + for (y = 4; y < 8; y++) { + x = 0; + src = imageSrc + ((((font->sheetWidth / 8) << 5) / 2) * ((row + y) / 8)); + src += ((column + x) / 8) * 0x10; + src += ((row + y) % 8) * 2; + src += ((column + x) % 8) / 4; + + *(u16*)src = imageT[y - 4]; + } + } + + return size; +} + +u32 OSLoadFont(OSFontHeader* fontData, void* tmp) { + u16 encode; + u32 size; + + encode = OSGetFontEncode(); + switch (encode) { + case OS_FONT_ENCODE_ANSI: { + FontDataAnsi = fontData; + size = ReadFont(tmp, OS_FONT_ENCODE_ANSI, FontDataAnsi); + break; + } + case OS_FONT_ENCODE_SJIS: { + FontDataSjis = fontData; + size = ReadFont(tmp, OS_FONT_ENCODE_SJIS, FontDataSjis); + break; + } + case OS_FONT_ENCODE_UTF8: + case OS_FONT_ENCODE_UTF16: + case OS_FONT_ENCODE_UTF32: { + FontDataAnsi = fontData; + size = ReadFont(tmp, OS_FONT_ENCODE_ANSI, FontDataAnsi); + if (size != 0) { + FontDataSjis = (OSFontHeader*)((u8*)FontDataAnsi + size); + size += ReadFont(tmp, OS_FONT_ENCODE_SJIS, FontDataSjis); + } + break; + } + case OS_FONT_ENCODE_UNKNOWN: + default: { + size = 0; + break; + } + } + + return size; +} + +static char* ParseStringS(u16 encode, const char* string, OSFontHeader **pfont, int *pfontCode) { + OSFontHeader* font; + u16 code = 0; + + switch (encode) { + case OS_FONT_ENCODE_ANSI: { + font = FontDataAnsi; + code = (u8)*string; + if (code == '\0') { + break; + } + ++string; + break; + } + case OS_FONT_ENCODE_SJIS: { + font = FontDataSjis; + code = (u8)*string; + if (code == '\0') { + break; + } + ++string; + if (IsSjisLeadByte(code) && IsSjisTrailByte((u8)*string)) { + code = ((code << 8) | (u8)*string++); + } + break; + } + } + + *pfont = font; + *pfontCode = GetFontCode(encode, code); + + return (char*)string; +} + +static char* ParseStringW(u16 encode, const char* string, OSFontHeader** pfont, int* pfontCode) { + OSFontHeader* font; + u16 code = 0; + u32 utf32 = 0; + + switch (encode) { + case OS_FONT_ENCODE_ANSI: { + font = FontDataAnsi; + code = (u8)*string; + if (code == 0) { + break; + } + ++string; + break; + } + case OS_FONT_ENCODE_SJIS: { + font = FontDataSjis; + code = (u8)*string; + if (code == 0) { + break; + } + ++string; + if (IsSjisLeadByte((u8) code) && IsSjisTrailByte((u8)*string)) { + code = (u16) ((code << 8) | (u8)*string++); + } + break; + } + case OS_FONT_ENCODE_UTF8: { + string = OSUTF8to32(string, &utf32); + break; + } + case OS_FONT_ENCODE_UTF16: { + string = (const char*)OSUTF16to32((const u16*)string, &utf32); + break; + } + case OS_FONT_ENCODE_UTF32: { + utf32 = *(const u32*)string; + if (utf32 != 0) { + string += sizeof(u32); + } + break; + } + } + + if (utf32) { + encode = 0; + font = FontDataAnsi; + code = OSUTF32toANSI(utf32); + if (code == 0 || FixedPitch && utf32 <= 0x7F) { + code = OSUTF32toSJIS(utf32); + if (code) { + encode = 1; + font = FontDataSjis; + } + } + } + + *pfont = font; + *pfontCode = GetFontCode(encode, code); + + return (char*)string; +} + +char* OSGetFontTexel(const char* string, void* image, s32 pos, s32 stride, s32* width) { + u16 encode; + OSFontHeader* font; + u8* src; + u8* dst; + int fontCode; + int sheet; + int numChars; + int row; + int column; + int x; + int y; + int offsetSrc; + int offsetDst; + u8* colorIndex; + u8* imageSrc; + + encode = OSGetFontEncode(); + string = ParseString(encode, (char*)string, &font, &fontCode); + colorIndex = &font->col.r; + + sheet = fontCode / (font->sheetColumn * font->sheetRow); + numChars = fontCode - (sheet * (font->sheetColumn * font->sheetRow)); + + row = numChars / font->sheetColumn; + column = numChars - (row * font->sheetColumn); + + row *= font->cellHeight; + column *= font->cellWidth; + + imageSrc = (u8*)font + font->sheetImage; + imageSrc += ((sheet * font->sheetSize) >> 1); + + for (y = 0; y < font->cellHeight; y++) { + for (x = 0; x < font->cellWidth; x++) { + src = imageSrc + (((font->sheetWidth / 8) * 32) / 2) * ((row + y) / 8); + src += ((column + x) / 8) * 16; + src += ((row + y) % 8) * 2; + src += ((column + x) % 8) / 4; + + offsetSrc = (column + x) % 4; + + dst = (u8*)image + ((y / 8) * (((stride * 4) / 8) * 32)); + dst += (((pos + x) / 8) * 32); + dst += ((y % 8) * 4); + dst += ((pos + x) % 8) / 2; + + offsetDst = (pos + x) % 2; + + *dst |= (u8)(colorIndex[*src >> (6 - (offsetSrc * 2)) & 3] & ((offsetDst != 0) ? 0x0F : 0xF0)); + } + } + + if (width != 0) { + *width = ((u8*)font + font->widthTable)[fontCode]; + } + + return (char*)string; +} diff --git a/libs/RVL_SDK/src/os/OSInterrupt.c b/libs/RVL_SDK/src/os/OSInterrupt.c new file mode 100644 index 00000000..6e5444bd --- /dev/null +++ b/libs/RVL_SDK/src/os/OSInterrupt.c @@ -0,0 +1,518 @@ +#include +#include + +#include + +#include + +#include + +#include +#include + +static __OSInterruptHandler* InterruptHandlerTable; + +volatile OSTime __OSLastInterruptTime; +volatile __OSInterrupt __OSLastInterrupt; +volatile u32 __OSLastInterruptSrr0; + +static OSInterruptMask InterruptPrioTable[] = { + OS_INTERRUPTMASK_PI_ERROR, + OS_INTERRUPTMASK_PI_DEBUG, + OS_INTERRUPTMASK_MEM, + OS_INTERRUPTMASK_PI_RSW, + OS_INTERRUPTMASK_PI_VI, + OS_INTERRUPTMASK_PI_ACR, + OS_INTERRUPTMASK_PI_PE, + OS_INTERRUPTMASK_PI_HSP, + OS_INTERRUPTMASK_DSP_ARAM | OS_INTERRUPTMASK_DSP_DSP | OS_INTERRUPTMASK_AI | + OS_INTERRUPTMASK_EXI | OS_INTERRUPTMASK_PI_SI | OS_INTERRUPTMASK_PI_DI, + OS_INTERRUPTMASK_DSP_AI, + OS_INTERRUPTMASK_PI_CP, + OS_INTERRUPTMASK_INVALID, +}; + +static void ExternalInterruptHandler(register __OSException exception, register OSContext* context); +void __RAS_OSDisableInterrupts_begin(); +void __RAS_OSDisableInterrupts_end(); + +asm BOOL OSDisableInterrupts() { +#ifdef __MWERKS__ + nofralloc +entry __RAS_OSDisableInterrupts_begin + mfmsr r3 + rlwinm r4, r3, 0, 17, 15 + mtmsr r4 +entry __RAS_OSDisableInterrupts_end + rlwinm r3, r3, 17, 31, 31 + blr +#endif // __MWERKS__ +} + +asm BOOL OSEnableInterrupts() { +#ifdef __MWERKS__ + nofralloc + + mfmsr r3 + ori r4, r3, MSR_EE + mtmsr r4 + rlwinm r3, r3, 17, 31, 31 + blr +#endif // __MWERKS__ +} + +asm BOOL OSRestoreInterrupts(register BOOL level) { +#ifdef __MWERKS__ + nofralloc + + cmpwi level, 0 + mfmsr r4 + beq _disable + ori r5, r4, MSR_EE + b _restore +_disable: + rlwinm r5, r4, 0, 17, 15 +_restore: + mtmsr r5 + rlwinm r3, r4, 17, 31, 31 + blr +#endif // __MWERKS__ +} + +__OSInterruptHandler __OSSetInterruptHandler(__OSInterrupt interrupt, __OSInterruptHandler handler) { + __OSInterruptHandler oldHandler; + oldHandler = InterruptHandlerTable[interrupt]; + InterruptHandlerTable[interrupt] = handler; + return oldHandler; +} + +__OSInterruptHandler __OSGetInterruptHandler(__OSInterrupt interrupt) { + return InterruptHandlerTable[interrupt]; +} + +void __OSInterruptInit() { + InterruptHandlerTable = (void*)OSPhysicalToCached(OS_ADDR_INTERRUPT_TABLE); + memset(InterruptHandlerTable, 0, __OS_INTERRUPT_MAX * sizeof(__OSInterruptHandler)); + + RAMWrite32(OSPhysicalToCached(OS_ADDR_PREVIOUS_INTERRUPT), 0); + RAMWrite32(OSPhysicalToCached(OS_ADDR_CURRENT_INTERRUPT), 0); + + PI_WRITE_REG(PI_INTERRUPT_MASK, (1< __OS_INTERRUPT_MEM_ADDRESS) { + __OSLastInterrupt = interrupt; + __OSLastInterruptTime = OSGetTime(); + __OSLastInterruptSrr0 = context->srr0; + } + + OSDisableScheduler(); + handler(interrupt, context); + OSEnableScheduler(); + __OSReschedule(); + OSLoadContext(context); + } + } + + OSLoadContext(context); +} + +static asm void ExternalInterruptHandler(register __OSException exception, register OSContext* context) { +#ifdef __MWERKS__ + nofralloc + + stw r0, context->gpr[0] + stw r1, context->gpr[1] + stw r2, context->gpr[2] + stmw r6, context->gpr[6] + + mfspr r0, GQR1 + stw r0, context->gqr[1] + mfspr r0, GQR2 + stw r0, context->gqr[2] + mfspr r0, GQR3 + stw r0, context->gqr[3] + mfspr r0, GQR4 + stw r0, context->gqr[4] + mfspr r0, GQR5 + stw r0, context->gqr[5] + mfspr r0, GQR6 + stw r0, context->gqr[6] + mfspr r0, GQR7 + stw r0, context->gqr[7] + + stwu r1, -0x08(r1) + b __OSDispatchInterrupt +#endif // __MWERKS__ +} diff --git a/libs/RVL_SDK/src/os/OSIpc.c b/libs/RVL_SDK/src/os/OSIpc.c new file mode 100644 index 00000000..46e552a3 --- /dev/null +++ b/libs/RVL_SDK/src/os/OSIpc.c @@ -0,0 +1,19 @@ +#include + +#include + +static void* IpcBufferHi; +static void* IpcBufferLo = (void*)0xFFFFFFFF; + +void* __OSGetIPCBufferHi() { + return IpcBufferHi; +} + +void* __OSGetIPCBufferLo() { + return IpcBufferLo; +} + +void __OSInitIPCBuffer() { + IpcBufferLo = (void*)RAMRead32(OSPhysicalToCached(OS_ADDR_IPC_BUFFER_START)); + IpcBufferHi = (void*)RAMRead32(OSPhysicalToCached(OS_ADDR_IPC_BUFFER_END)); +} diff --git a/libs/RVL_SDK/src/os/OSLink.c b/libs/RVL_SDK/src/os/OSLink.c new file mode 100644 index 00000000..e5e09d11 --- /dev/null +++ b/libs/RVL_SDK/src/os/OSLink.c @@ -0,0 +1,8 @@ +#include +#include + +void __OSModuleInit() { + __OSModuleInfoList.tail = NULL; + __OSModuleInfoList.head = NULL; + __OSStringTable = NULL; +} diff --git a/libs/RVL_SDK/src/os/OSMemory.c b/libs/RVL_SDK/src/os/OSMemory.c new file mode 100644 index 00000000..daaa2161 --- /dev/null +++ b/libs/RVL_SDK/src/os/OSMemory.c @@ -0,0 +1,660 @@ +#include +#include + +#include + +static BOOL OnShutdown(BOOL final, u32 event); + +static OSShutdownFunctionInfo ShutdownFunctionInfo = { + OnShutdown, 0x7F, NULL, NULL, +}; + +u32 OSGetPhysicalMem1Size() { + return *(u32*)OSPhysicalToCached(OS_ADDR_PHYSICAL_MEM1_SIZE); +} + +u32 OSGetPhysicalMem2Size() { + return *(u32*)OSPhysicalToCached(OS_ADDR_PHYSICAL_MEM2_SIZE); +} + +u32 OSGetConsoleSimulatedMem1Size() { + return *(u32*)OSPhysicalToCached(OS_ADDR_SIMULATED_MEM1_SIZE); +} + +u32 OSGetConsoleSimulatedMem2Size() { + return *(u32*)OSPhysicalToCached(OS_ADDR_SIMULATED_MEM2_SIZE); +} + +static BOOL OnShutdown(BOOL final, u32 event) { + if (final != FALSE) { + MEM_WRITE_REG(MEM_MARR_CONTROL, 0b11111111); + __OSMaskInterrupts(OS_INTERRUPTMASK_MEM_RESET); + } + + return TRUE; +} + +void MEMIntrruptHandler(__OSInterrupt interrupt, OSContext *context) { + u32 addr, cause; + cause = MEM_READ_REG(MEM_INT_STAT); + addr = (((u32)(MEM_READ_REG(MEM_INT_ADDRH) & 0b0000001111111111) << 16) | MEM_READ_REG(MEM_INT_ADDRL)); + MEM_WRITE_REG(MEM_INT_CLR, 0); + + if (__OSErrorTable[OS_EXCEPTION_MEMORY_PROTECTION]) { + __OSErrorTable[OS_EXCEPTION_MEMORY_PROTECTION](OS_EXCEPTION_MEMORY_PROTECTION, context, cause, addr); + return; + } + + __OSUnhandledException(OS_EXCEPTION_MEMORY_PROTECTION, context, cause, addr); +} + +void OSProtectRange(u32 chan, void *addr, u32 nBytes, u32 control) { + BOOL enabled; + u32 start, end; + u16 reg; + + if (chan >= 4) { + return; + } + + control &= 3; + end = (u32)addr + nBytes; + start = ROUNDDOWN(addr, 1 << 10); + end = ROUNDUP(end, 1 << 10); + DCFlushRange((void*)start, end - start); + + enabled = OSDisableInterrupts(); + __OSMaskInterrupts(0x80000000 /* OS_INTERRUPTMASK_MEM_0 */ >> (chan)); + + MEM_WRITE_REG(MEM_MARR0_START + 4 * chan, (start >> 10)); + __MEMRegs[(MEM_MARR0_END>>1) + 2 * chan] = (end >> 10); // todo: make it use MEM_WRITE_REG + + reg = MEM_READ_REG(MEM_MARR_CONTROL); + reg &= ~(3 << 2 * chan); + reg |= control << 2 * chan; + MEM_WRITE_REG(MEM_MARR_CONTROL, reg); + + if (control != 3) { + __OSUnmaskInterrupts(0x80000000 /* OS_INTERRUPTMASK_MEM_0 */ >> (chan)); + } + + OSRestoreInterrupts(enabled); +} + +static asm void ConfigMEM1_24MB() { +#ifdef __MWERKS__ + nofralloc + addi r7, r0, 0 + + addis r4,r0,0x00000002@ha + addi r4,r4,0x00000002@l + addis r3,r0,0x800001ff@ha + addi r3,r3,0x800001ff@l + + addis r6,r0,0x01000002@ha + addi r6,r6,0x01000002@l + addis r5,r0,0x810000ff@ha + addi r5,r5,0x810000ff@l + + isync + + mtspr DBAT0U,r7 + mtspr DBAT0L,r4 + mtspr DBAT0U,r3 + isync + + mtspr IBAT0U,r7 + mtspr IBAT0L,r4 + mtspr IBAT0U,r3 + isync + + mtspr DBAT2U,r7 + mtspr DBAT2L,r6 + mtspr DBAT2U,r5 + isync + + mtspr IBAT2U,r7 + mtspr IBAT2L,r6 + mtspr IBAT2U,r5 + isync + + mfmsr r3 + ori r3, r3, 0x30 + mtsrr1 r3 + + mflr r3 + mtsrr0 r3 + rfi +#endif // __MWERKS__ +} + +static asm void ConfigMEM1_48MB() { +#ifdef __MWERKS__ + nofralloc + + addi r7,r0, 0 + + addis r4,r0,0x00000002@ha + addi r4,r4,0x00000002@l + addis r3,r0,0x800003ff@ha + addi r3,r3,0x800003ff@l + + addis r6,r0,0x02000002@ha + addi r6,r6,0x02000002@l + addis r5,r0,0x820001ff@ha + addi r5,r5,0x820001ff@l + + isync + + mtspr DBAT0U,r7 + mtspr DBAT0L,r4 + mtspr DBAT0U,r3 + isync + + mtspr IBAT0U,r7 + mtspr IBAT0L,r4 + mtspr IBAT0U,r3 + isync + + mtspr DBAT2U,r7 + mtspr DBAT2L,r6 + mtspr DBAT2U,r5 + isync + + mtspr IBAT2U,r7 + mtspr IBAT2L,r6 + mtspr IBAT2U,r5 + isync + + mfmsr r3 + ori r3, r3, 0x30 + mtsrr1 r3 + + mflr r3 + mtsrr0 r3 + rfi +#endif // __MWERKS__ +} + +static asm void ConfigMEM2_52MB() { +#ifdef __MWERKS__ + nofralloc + + addi r7, r0, 0 + + addis r4,r0,0x10000002@ha + addi r4,r4,0x10000002@l + addis r3,r0,0x900003ff@ha + addi r3,r3,0x900003ff@l + + addis r6,r0,0x1000002a@ha + addi r6,r6,0x1000002a@l + addis r5,r0,0xD00007ff@ha + addi r5,r5,0xD00007ff@l + + isync + + mtspr DBAT4U,r7 + mtspr DBAT4L,r4 + mtspr DBAT4U,r3 + isync + + mtspr IBAT4U,r7 + mtspr IBAT4L,r4 + mtspr IBAT4U,r3 + + isync + + mtspr DBAT5U,r7 + mtspr DBAT5L,r6 + mtspr DBAT5U,r5 + isync + + mtspr IBAT5U,r7 + mtspr IBAT5L,r7 + isync + + addis r4,r0,0x12000002@ha + addi r4,r4,0x12000002@l + addis r3,r0,0x920001ff@ha + addi r3,r3,0x920001ff@l + + addis r6,r0,0x13000002@ha + addi r6,r6,0x13000002@l + addis r5,r0,0x9300007f@ha + addi r5,r5,0x9300007f@l + + isync + + mtspr DBAT6U,r7 + mtspr DBAT6L,r4 + mtspr DBAT6U,r3 + isync + + mtspr IBAT6U,r7 + mtspr IBAT6L,r4 + mtspr IBAT6U,r3 + + isync + + mtspr DBAT7U,r7 + mtspr DBAT7L,r6 + mtspr DBAT7U,r5 + isync + + mtspr IBAT7U,r7 + mtspr IBAT7L,r6 + mtspr IBAT7U,r5 + + isync + + mfmsr r3 + ori r3, r3, 0x30 + mtsrr1 r3 + + mflr r3 + mtsrr0 r3 + rfi +#endif // __MWERKS__ +} + +static asm void ConfigMEM2_56MB() { +#ifdef __MWERKS__ + nofralloc + + addi r7,r0, 0 + + addis r4,r0,0x10000002@ha + addi r4,r4,0x10000002@l + addis r3,r0,0x900003ff@ha + addi r3,r3,0x900003ff@l + + addis r6,r0,0x1000002a@ha + addi r6,r6,0x1000002a@l + addis r5,r0,0xD00007ff@ha + addi r5,r5,0xD00007ff@l + + isync + + mtspr DBAT4U,r7 + mtspr DBAT4L,r4 + mtspr DBAT4U,r3 + isync + + mtspr IBAT4U,r7 + mtspr IBAT4L,r4 + mtspr IBAT4U,r3 + + isync + + mtspr DBAT5U,r7 + mtspr DBAT5L,r6 + mtspr DBAT5U,r5 + isync + + mtspr IBAT5U,r7 + mtspr IBAT5L,r7 + isync + + addis r4,r0,0x12000002@ha + addi r4,r4,0x12000002@l + addis r3,r0,0x920001ff@ha + addi r3,r3,0x920001ff@l + + addis r6,r0,0x13000002@ha + addi r6,r6,0x13000002@l + addis r5,r0,0x930000ff@ha + addi r5,r5,0x930000ff@l + + isync + + mtspr DBAT6U,r7 + mtspr DBAT6L,r4 + mtspr DBAT6U,r3 + isync + + mtspr IBAT6U,r7 + mtspr IBAT6L,r4 + mtspr IBAT6U,r3 + + isync + + mtspr DBAT7U,r7 + mtspr DBAT7L,r6 + mtspr DBAT7U,r5 + isync + + mtspr IBAT7U,r7 + mtspr IBAT7L,r6 + mtspr IBAT7U,r5 + + isync + + mfmsr r3 + ori r3, r3, 0x30 + mtsrr1 r3 + + mflr r3 + mtsrr0 r3 + rfi +#endif // __MWERKS__ +} + +static asm void ConfigMEM2_64MB() { +#ifdef __MWERKS__ + nofralloc + + addi r7,r0,0x0000 + + addis r4,r0,0x10000002@ha + addi r4,r4,0x10000002@l + addis r3,r0,0x900007ff@ha + addi r3,r3,0x900007ff@l + + addis r6,r0,0x1000002a@ha + addi r6,r6,0x1000002a@l + addis r5,r0,0xD00007ff@ha + addi r5,r5,0xD00007ff@l + + isync + + mtspr DBAT4U,r7 + mtspr DBAT4L,r4 + mtspr DBAT4U,r3 + isync + + mtspr IBAT4U,r7 + mtspr IBAT4L,r4 + mtspr IBAT4U,r3 + + isync + + mtspr DBAT5U,r7 + mtspr DBAT5L,r6 + mtspr DBAT5U,r5 + isync + + mtspr IBAT5U,r7 + mtspr IBAT5L,r7 + isync + + mtspr IBAT6U,r7 + mtspr IBAT6L,r7 + isync + + mtspr IBAT7U,r7 + mtspr IBAT7L,r7 + isync + + mtspr DBAT6U,r7 + mtspr DBAT6L,r7 + isync + + mtspr DBAT7U,r7 + mtspr DBAT7L,r7 + isync + + mfmsr r3 + ori r3, r3, 0x30 + mtsrr1 r3 + + mflr r3 + mtsrr0 r3 + rfi +#endif // __MWERKS__ +} + +static asm void ConfigMEM2_112MB() { +#ifdef __MWERKS__ + nofralloc + + addi r7, r0, 0 + + addis r4,r0,0x10000002@ha + addi r4,r4,0x10000002@l + addis r3,r0,0x900007ff@ha + addi r3,r3,0x900007ff@l + + addis r6,r0,0x1000002a@ha + addi r6,r6,0x1000002a@l + addis r5,r0,0xD0000fff@ha + addi r5,r5,0xD0000fff@l + + isync + + mtspr DBAT4U,r7 + mtspr DBAT4L,r4 + mtspr DBAT4U,r3 + isync + + mtspr IBAT4U,r7 + mtspr IBAT4L,r4 + mtspr IBAT4U,r3 + + isync + + mtspr DBAT5U,r7 + mtspr DBAT5L,r6 + mtspr DBAT5U,r5 + isync + + mtspr IBAT5U,r7 + mtspr IBAT5L,r7 + isync + + addis r4,r0,0x14000002@ha + addi r4,r4,0x14000002@l + addis r3,r0,0x940003ff@ha + addi r3,r3,0x940003ff@l + + addis r6,r0,0x16000002@ha + addi r6,r6,0x16000002@l + addis r5,r0,0x960001ff@ha + addi r5,r5,0x960001ff@l + + isync + + mtspr DBAT6U,r7 + mtspr DBAT6L,r4 + mtspr DBAT6U,r3 + isync + + mtspr IBAT6U,r7 + mtspr IBAT6L,r4 + mtspr IBAT6U,r3 + isync + + mtspr DBAT7U,r7 + mtspr DBAT7L,r6 + mtspr DBAT7U,r5 + isync + + mtspr IBAT7U,r7 + mtspr IBAT7L,r6 + mtspr IBAT7U,r5 + + isync + + mfmsr r3 + ori r3, r3, 0x30 + mtsrr1 r3 + + mflr r3 + mtsrr0 r3 + rfi +#endif // __MWERKS__ +} + +static asm void ConfigMEM2_128MB() { +#ifdef __MWERKS__ + nofralloc + + addi r7, r0, 0 + + addis r4,r0,0x10000002@ha + addi r4,r4,0x10000002@l + addis r3,r0,0x90000fff@ha + addi r3,r3,0x90000fff@l + + addis r6,r0,0x1000002a@ha + addi r6,r6,0x1000002a@l + addis r5,r0,0xD0000fff@ha + addi r5,r5,0xD0000fff@l + + isync + + mtspr DBAT4U,r7 + mtspr DBAT4L,r4 + mtspr DBAT4U,r3 + isync + + mtspr IBAT4U,r7 + mtspr IBAT4L,r4 + mtspr IBAT4U,r3 + + isync + + mtspr DBAT5U,r7 + mtspr DBAT5L,r6 + mtspr DBAT5U,r5 + isync + + mtspr IBAT5U,r7 + mtspr IBAT5L,r7 + isync + + mtspr IBAT6U,r7 + mtspr IBAT6L,r7 + isync + + mtspr IBAT7U,r7 + mtspr IBAT7L,r7 + isync + + mtspr DBAT6U,r7 + mtspr DBAT6L,r7 + isync + + mtspr DBAT7U,r7 + mtspr DBAT7L,r7 + isync + + mfmsr r3 + ori r3, r3, 0x30 + mtsrr1 r3 + + mflr r3 + mtsrr0 r3 + rfi +#endif // __MWERKS__ +} + +static asm void ConfigMEM_ES1_0() { +#ifdef __MWERKS__ + nofralloc + + addi r7, r0, 0 + + addis r4,r0,0x00000002@ha + addi r4,r4,0x00000002@l + addis r3,r0,0x80000fff@ha + addi r3,r3,0x80000fff@l + + isync + + mtspr DBAT0U,r7 + mtspr DBAT0L,r4 + mtspr DBAT0U,r3 + isync + + mtspr IBAT0U,r7 + mtspr IBAT0L,r4 + mtspr IBAT0U,r3 + isync + + mfmsr r3 + ori r3, r3, 0x30 + mtsrr1 r3 + + mflr r3 + mtsrr0 r3 + rfi +#endif // __MWERKS__ +} + +static asm void RealMode(register u32 addr) { +#ifdef __MWERKS__ + nofralloc + + clrlwi r3, r3, 2 + mtsrr0 addr + mfmsr r3 + rlwinm r3, r3, 0, 28, 25 + mtsrr1 r3 + rfi +#endif // __MWERKS__ +} + +static void BATConfig() { + u32 size1, size2, prot; + + if (*(u32*)OSPhysicalToCached(OS_ADDR_HOLLYWOOD_REVISION) == HOLLYWOOD_ES_1_0) { + if ((u32*)OSGetPhysicalMem1Size == 0 /* what */) { + RealMode((u32)ConfigMEM_ES1_0); + return; + } + } + + size1 = OSGetConsoleSimulatedMem1Size(); + + if (size1 < OSGetPhysicalMem1Size() && size1 == 0x01800000) { + DCInvalidateRange((void*)0x81800000, 0x01800000); + MEM_WRITE_REG(MEM_CONFIG, (1<<1)); + } + + if (size1 <= 0x01800000) { + RealMode((u32)ConfigMEM1_24MB); + } + else if (size1 <= 0x03000000) { + RealMode((u32)ConfigMEM1_48MB); + } + + size2 = OSGetConsoleSimulatedMem2Size(); + prot = *(u32*)OSPhysicalToCached(0x3120); + + if (size2 <= 0x04000000) { + if (prot <= 0x93400000) { + RealMode((u32)ConfigMEM2_52MB); + } + else if (prot <= 0x93800000) { + RealMode((u32)ConfigMEM2_56MB); + } + else { + RealMode((u32)ConfigMEM2_64MB); + } + } + else if (size2 <= 0x08000000) { + if (prot <= 0x97000000) { + RealMode((u32)ConfigMEM2_112MB); + } + else { + RealMode((u32)ConfigMEM2_128MB); + } + } +} + +void __OSInitMemoryProtection() { + BOOL enabled = OSDisableInterrupts(); + MEM_WRITE_REG(MEM_INT_CLR, 0); + MEM_WRITE_REG(MEM_MARR_CONTROL, 0b11111111); + __OSMaskInterrupts(OS_INTERRUPTMASK_MEM_RESET); + __OSSetInterruptHandler(__OS_INTERRUPT_MEM_0, MEMIntrruptHandler); + __OSSetInterruptHandler(__OS_INTERRUPT_MEM_1, MEMIntrruptHandler); + __OSSetInterruptHandler(__OS_INTERRUPT_MEM_2, MEMIntrruptHandler); + __OSSetInterruptHandler(__OS_INTERRUPT_MEM_3, MEMIntrruptHandler); + __OSSetInterruptHandler(__OS_INTERRUPT_MEM_ADDRESS, MEMIntrruptHandler); + OSRegisterShutdownFunction(&ShutdownFunctionInfo); + BATConfig(); + __OSUnmaskInterrupts(OS_INTERRUPTMASK_MEM_ADDRESS); + OSRestoreInterrupts(enabled); +} diff --git a/libs/RVL_SDK/src/os/OSMessage.c b/libs/RVL_SDK/src/os/OSMessage.c new file mode 100644 index 00000000..61f25923 --- /dev/null +++ b/libs/RVL_SDK/src/os/OSMessage.c @@ -0,0 +1,76 @@ +#include + +void OSInitMessageQueue(OSMessageQueue* queue, OSMessage* msgArray, s32 msgCount) { + OSInitThreadQueue(&queue->queueSend); + OSInitThreadQueue(&queue->queueReceive); + + queue->msgArray = msgArray; + queue->msgCount = msgCount; + + queue->firstIndex = 0; + queue->usedCount = 0; +} + +BOOL OSSendMessage(OSMessageQueue* queue, OSMessage msg, s32 flags) { + BOOL enabled; + s32 lastIndex; + + enabled = OSDisableInterrupts(); + while (queue->msgCount <= queue->usedCount) { + if (!(flags & 1)) { + OSRestoreInterrupts(enabled); + return FALSE; + } + OSSleepThread(&queue->queueSend); + } + lastIndex = (queue->firstIndex + queue->usedCount) % queue->msgCount; + ((u32*)queue->msgArray)[lastIndex] = (u32)msg; + queue->usedCount++; + + OSWakeupThread(&queue->queueReceive); + OSRestoreInterrupts(enabled); + + return TRUE; +} + +BOOL OSReceiveMessage(OSMessageQueue* queue, OSMessage* msg, s32 flags) { + BOOL enabled = OSDisableInterrupts(); + + while (queue->usedCount == 0) { + if (!(flags & 1)) { + OSRestoreInterrupts(enabled); + return FALSE; + } + OSSleepThread(&queue->queueReceive); + } + if (msg != NULL) { + *(u32*)msg = ((u32*)queue->msgArray)[queue->firstIndex]; + } + + queue->firstIndex = (queue->firstIndex + 1) % queue->msgCount; + queue->usedCount--; + OSWakeupThread(&queue->queueSend); + OSRestoreInterrupts(enabled); + + return TRUE; +} + +BOOL OSJamMessage(OSMessageQueue* queue, OSMessage msg, s32 flags) { + BOOL enabled = OSDisableInterrupts(); + + while (queue->msgCount <= queue->usedCount) { + if (!(flags & 1)) { + OSRestoreInterrupts(enabled); + return FALSE; + } + OSSleepThread(&queue->queueSend); + } + queue->firstIndex = (queue->firstIndex + queue->msgCount - 1) % queue->msgCount; + ((u32*)queue->msgArray)[queue->firstIndex] = (u32)msg; + queue->usedCount++; + + OSWakeupThread(&queue->queueReceive); + OSRestoreInterrupts(enabled); + + return TRUE; +} diff --git a/libs/RVL_SDK/src/os/OSMutex.c b/libs/RVL_SDK/src/os/OSMutex.c new file mode 100644 index 00000000..76a6ec78 --- /dev/null +++ b/libs/RVL_SDK/src/os/OSMutex.c @@ -0,0 +1,244 @@ +#include +#include + +#define ENQUEUE_MUTEX(mutex, queue, link) { \ + OSMutex* __prev = (queue)->tail; \ + if (__prev == NULL) { \ + (queue)->head = (mutex); \ + } \ + else { \ + __prev->link.next = (mutex); \ + } \ + (mutex)->link.prev = __prev; \ + (mutex)->link.next = NULL; \ + (queue)->tail = (mutex); \ +} + +#define DEQUEUE_MUTEX(mutex, queue, link) { \ + OSMutex* __next = (mutex)->link.next; \ + OSMutex* __prev = (mutex)->link.prev; \ + if (__next == NULL) { \ + (queue)->tail = __prev; \ + } \ + else { \ + __next->link.prev = __prev; \ + } \ + if (__prev == NULL) { \ + (queue)->head = __next; \ + } \ + else { \ + __prev->link.next = __next; \ + } \ +} + +#define DEQUEUE_HEAD(mutex, queue, link) { \ + OSMutex* __next = mutex->link.next; \ + if (__next == NULL) { \ + (queue)->tail = NULL; \ + } \ + else { \ + __next->link.prev = NULL; \ + } \ + (queue)->head = __next; \ +} + +static int IsMember(OSMutexQueue* queue, OSMutex* mutex); + +int __OSCheckMutex(OSMutex* mutex); +int __OSCheckDeadLock(OSThread* thread); +int __OSCheckMutexes(OSThread* thread); + +void OSInitMutex(OSMutex* mutex) { + OSInitThreadQueue(&mutex->queue); + mutex->thread = NULL; + mutex->count = 0; +} + +void OSLockMutex(OSMutex* mutex) { + BOOL enabled = OSDisableInterrupts(); + OSThread* currentThread = OSGetCurrentThread(); + + while (TRUE) { + OSThread* ownerThread = mutex->thread; + if (ownerThread == NULL) { + mutex->thread = currentThread; + mutex->count++; + ENQUEUE_MUTEX(mutex, ¤tThread->queueMutex, link); + break; + } + else if (ownerThread == currentThread) { + mutex->count++; + break; + } + else { + currentThread->mutex = mutex; + __OSPromoteThread(mutex->thread, currentThread->priority); + OSSleepThread(&mutex->queue); + currentThread->mutex = NULL; + } + } + OSRestoreInterrupts(enabled); +} + +void OSUnlockMutex(OSMutex* mutex) { + BOOL enabled = OSDisableInterrupts(); + OSThread* currentThread = OSGetCurrentThread(); + + if (mutex->thread == currentThread) { + if (!--mutex->count) { + DEQUEUE_MUTEX(mutex, ¤tThread->queueMutex, link); + mutex->thread = 0; + + if (currentThread->priority < currentThread->base) { + currentThread->priority = __OSGetEffectivePriority(currentThread); + } + OSWakeupThread(&mutex->queue); + } + } + OSRestoreInterrupts(enabled); +} + +void __OSUnlockAllMutex(OSThread* thread) { + OSMutex* mutex; + + while (thread->queueMutex.head) { + mutex = thread->queueMutex.head; + DEQUEUE_HEAD(mutex, &thread->queueMutex, link); + mutex->count = 0; + mutex->thread = 0; + OSWakeupThread(&mutex->queue); + } +} + +BOOL OSTryLockMutex(OSMutex* mutex) { + BOOL enabled = OSDisableInterrupts(); + OSThread* currentThread = OSGetCurrentThread(); + BOOL locked; + + if (!mutex->thread) { + mutex->thread = currentThread; + mutex->count++; + ENQUEUE_MUTEX(mutex, ¤tThread->queueMutex, link); + locked = TRUE; + } + else if (mutex->thread == currentThread) { + mutex->count++; + locked = TRUE; + } + else { + locked = FALSE; + } + OSRestoreInterrupts(enabled); + return locked; +} + +void OSInitCond(OSCond* cond) { + OSInitThreadQueue(&cond->queue); +} + +void OSWaitCond(OSCond* cond, OSMutex* mutex) { + BOOL enabled = OSDisableInterrupts(); + OSThread* currentThread = OSGetCurrentThread(); + + if (mutex->thread == currentThread) { + s32 count = mutex->count; + mutex->count = 0; + DEQUEUE_MUTEX(mutex, ¤tThread->queueMutex, link); + mutex->thread = 0; + if (currentThread->priority < currentThread->base) { + currentThread->priority = __OSGetEffectivePriority(currentThread); + } + OSDisableScheduler(); + OSWakeupThread(&mutex->queue); + OSEnableScheduler(); + OSSleepThread(&cond->queue); + OSLockMutex(mutex); + mutex->count = count; + } + OSRestoreInterrupts(enabled); +} + +void OSSignalCond(OSCond* cond) { + OSWakeupThread(&cond->queue); +} + +static BOOL IsMember(OSMutexQueue* queue, OSMutex* mutex) { + OSMutex* member = queue->head; + + while (member) { + if (mutex == member) { + return TRUE; + } + member = member->link.next; + } + return FALSE; +} + +BOOL __OSCheckMutex(OSMutex* mutex) { + OSThread* thread; + OSThreadQueue* queue; + s32 priority; + + priority = 0; + queue = &mutex->queue; + + if (queue->head != NULL && queue->head->link.prev != NULL) { + return FALSE; + } + if (queue->tail != NULL && queue->tail->link.next != NULL) { + return FALSE; + } + thread = queue->head; + while (thread) { + if (thread->link.next != NULL && (thread != thread->link.next->link.prev)) { + return FALSE; + } + if (thread->link.prev != NULL && (thread != thread->link.prev->link.next)) { + return FALSE; + } + if (thread->state != 4) { + return FALSE; + } + if (thread->priority < priority) { + return FALSE; + } + priority = thread->priority; + thread = thread->link.next; + } + if (mutex->thread) { + if (mutex->count <= 0) { + return FALSE; + } + } + else if (mutex->count != 0) { + return FALSE; + } + return TRUE; +} + +int __OSCheckDeadLock(OSThread* thread) { + OSMutex* mutex = thread->mutex; + + while (mutex && mutex->thread) { + if (mutex->thread == thread) { + return TRUE; + } + mutex = mutex->thread->mutex; + } + return FALSE; +} + +BOOL __OSCheckMutexes(OSThread* thread) { + OSMutex* mutex = thread->queueMutex.head; + + while (mutex) { + if (mutex->thread != thread) { + return FALSE; + } + if (__OSCheckMutex(mutex) == FALSE) { + return FALSE; + } + mutex = mutex->link.next; + } + return TRUE; +} diff --git a/libs/RVL_SDK/src/os/OSNandbootInfo.c b/libs/RVL_SDK/src/os/OSNandbootInfo.c new file mode 100644 index 00000000..159b041c --- /dev/null +++ b/libs/RVL_SDK/src/os/OSNandbootInfo.c @@ -0,0 +1,103 @@ +#include +#include + +#include + +#include + +static u32 checkSum(OSNandbootInfo* info) { + u32 *ptr, i, sum; + + ptr = (u32*)&(info->argsOff); + sum = 0; + for (i = 0; i < OS_NANDBOOT_CHECKSUM_SIZE / sizeof(u32); i++) { + sum = sum + *ptr; + ptr++; + } + + return sum; +} + +BOOL __OSCreateNandbootInfo() { + NANDStatus status; + s32 result; + + result = NANDPrivateGetStatus("/shared2/sys/NANDBOOTINFO", &status); + if (result == NAND_RESULT_OK && status.permission == NAND_PERM_ALL_RW) { + return TRUE; + } + else if (result == NAND_RESULT_OK && status.permission != NAND_PERM_ALL_RW) { + result = NANDPrivateDelete("/shared2/sys/NANDBOOTINFO"); + + if (result != NAND_RESULT_OK) { + return FALSE; + } + } + else if (result == NAND_RESULT_NOEXISTS) { + // Seems to be some code stripped out but this now blank condition still exists. + } + else { + return FALSE; + } + + result = NANDPrivateCreate("/shared2/sys/NANDBOOTINFO", NAND_PERM_ALL_RW, 0); + + if (result != NAND_RESULT_OK) { + return FALSE; + } + + return TRUE; +} + +BOOL __OSWriteNandbootInfo(OSNandbootInfo *info) { + NANDFileInfo fileInfo; + s32 result; + info->checkSum = checkSum(info); + result = NANDPrivateOpen("/shared2/sys/NANDBOOTINFO", &fileInfo, 2); + + if (result == NAND_RESULT_OK) { + result = NANDWrite(&fileInfo, info, sizeof(OSNandbootInfo)); + + if (result != sizeof(OSNandbootInfo)) { + NANDClose(&fileInfo); + return FALSE; + } + + result = NANDClose(&fileInfo); + if (result != NAND_RESULT_OK) { + return FALSE; + } + } + else { + return FALSE; + } + + return TRUE; +} + +BOOL __OSReadNandbootInfo(OSNandbootInfo *info) { + NANDFileInfo fileInfo; + s32 result; + + result = NANDPrivateOpen("/shared2/sys/NANDBOOTINFO", &fileInfo, NAND_ACCESS_READ); + if (result == NAND_RESULT_OK) { + result = NANDRead(&fileInfo, info, sizeof(OSNandbootInfo)); + NANDClose(&fileInfo); + if (result != sizeof(OSNandbootInfo)) + { + memset(info, 0,sizeof(OSNandbootInfo)); + return FALSE; + } + } + else { + memset(info, 0, sizeof(OSNandbootInfo)); + return FALSE; + } + + if (info->checkSum != checkSum(info)) { + memset(info, 0, sizeof(OSNandbootInfo)); + return FALSE; + } + + return TRUE; +} diff --git a/libs/RVL_SDK/src/os/OSNet.c b/libs/RVL_SDK/src/os/OSNet.c new file mode 100644 index 00000000..6c9f9cea --- /dev/null +++ b/libs/RVL_SDK/src/os/OSNet.c @@ -0,0 +1,48 @@ +#include +#include + +#include +#include + +void __OSInitNet() { + NWC24Err ret; + OSIOSRev iosRev; + + __OSGetIOSRev(&iosRev); + + if (iosRev.major <= 4 || iosRev.major == 9) { + return; + } + + ret = NWC24iPrepareShutdown(); + + if (ret != NWC24_OK) { + if (ret < NWC24_OK) { + OSReport("Failed to register network shutdown function. %d\n", ret); + } + ret = NWC24SuspendScheduler(); + if (ret < NWC24_OK) { + OSReport("Failed to suspend the WiiConnect24 scheduler. %d\n", ret); + } + } + + if (!__OSInIPL) { + ret = NWC24iSynchronizeRtcCounter(FALSE); + if (ret != NWC24_OK) { + OSReport("Failed to synchronize time with network resource managers. %d\n", ret); + } + } +} + +NWC24Err __OSSyncTimeWithNetRM() { + return NWC24iSynchronizeRtcCounter(FALSE); +} + +DECOMP_FORCE_ACTIVE(OSNet_c, "NWC24iPrepareShutdown"); +DECOMP_FORCE_ACTIVE(OSNet_c, "/dev/net/kd/request"); +DECOMP_FORCE_ACTIVE(OSNet_c, "NWC24SuspendScheduler"); +DECOMP_FORCE_ACTIVE(OSNet_c, "NWC24ResumeScheduler"); +DECOMP_FORCE_ACTIVE(OSNet_c, "NWC24iRequestShutdown"); +DECOMP_FORCE_ACTIVE(OSNet_c, "NWC24Shutdown_: Give up!\n"); // Give up! +DECOMP_FORCE_ACTIVE(OSNet_c, "NWC24iSetRtcCounter_"); +DECOMP_FORCE_ACTIVE(OSNet_c, "/dev/net/kd/time"); diff --git a/libs/RVL_SDK/src/os/OSPlayRecord.c b/libs/RVL_SDK/src/os/OSPlayRecord.c new file mode 100644 index 00000000..0874b116 --- /dev/null +++ b/libs/RVL_SDK/src/os/OSPlayRecord.c @@ -0,0 +1,344 @@ +#include +#include + +#include + +#include + +static OSPlayRecord PlayRecord ALIGN32; +static NANDFileInfo FileInfo; +static NANDCommandBlock Block; +static OSAlarm PlayRecordAlarm; + +DECOMP_FORCE_ACTIVE(OSPlayRecord_c, PlayRecord); + +static BOOL PlayRecordGet = FALSE; +static s32 PlayRecordState = OS_RECORD_STATE_STOPPED; +static BOOL PlayRecordError = FALSE; + +static vBOOL PlayRecordTerminate = FALSE; +static vBOOL PlayRecordTerminated = FALSE; + +static BOOL PlayRecordRetry = FALSE; + +static OSTime PlayRecordLastCloseTime; +static s32 PlayRecordLastError = NAND_RESULT_OK; + +// bullcrap +#define PLAY_RECORD_TICK(x) ((OSTime)(x)*(OSTime)OSSecondsToTicks(1)) + +static u32 RecordCheckSum(OSPlayRecord* record) { + u32* ptr = (u32*)(record->titleName); + u32 sum = 0; + + u32 i; + for (i = 0; i < OS_RECORD_CHECKSUM_SIZE / sizeof(u32); i++) { + sum = sum + *ptr; + ptr++; + } + + return sum; +} + +void __OSCreatePlayRecord(wchar_t* titleName, char* gameCode, char* companyCode) { + NANDFileInfo recFile; + s32 ret; + + memcpy(PlayRecord.titleName, titleName, sizeof(PlayRecord.titleName)); + memcpy(PlayRecord.gameCode, gameCode, sizeof(PlayRecord.gameCode)); + memcpy(PlayRecord.companyCode, companyCode, sizeof(PlayRecord.companyCode)); + + PlayRecord.playStartTime = OSGetTime(); + PlayRecord.playTime = PlayRecord.playStartTime; + + memset(PlayRecord.padding, 0, sizeof(PlayRecord.padding)); + + PlayRecord.checkSum = RecordCheckSum(&PlayRecord); + + ret = NANDCreate(OS_RECORD_NAND_PATH, NAND_PERM_ALL_RW, 0); + + if (ret == NAND_RESULT_OK || ret == NAND_RESULT_EXISTS) { + ret = NANDOpen(OS_RECORD_NAND_PATH, &recFile, NAND_ACCESS_WRITE); + + if (ret == NAND_RESULT_OK) { + NANDWrite(&recFile, &PlayRecord, sizeof(PlayRecord)); + NANDClose(&recFile); + } + } +} + +BOOL __OSReadPlayRecord(OSPlayRecord *record) { + NANDFileInfo fileInfo; + s32 result; + + result = NANDOpen(OS_RECORD_NAND_PATH, &fileInfo, NAND_ACCESS_READ); + if (result == NAND_RESULT_OK) { + result = NANDRead(&fileInfo, &PlayRecord, sizeof(OSPlayRecord)); + NANDClose(&fileInfo); + if (result != sizeof(OSPlayRecord)) { + return FALSE; + } + } + else { + return FALSE; + } + + if (RecordCheckSum(&PlayRecord) != PlayRecord.checkSum) { + return FALSE; + } + + memcpy(record, &PlayRecord, sizeof(OSPlayRecord)); + + return TRUE; +} + +static void PlayRecordCallback(s32 result, NANDCommandBlock* block); + +void PlayRecordAlarmCallback(OSAlarm* alarm, OSContext* context) { + PlayRecordCallback(NAND_RESULT_OK, NULL); +} + +static void PlayRecordCallback(s32 result, NANDCommandBlock* block) { + s32 ret = NAND_RESULT_OK; + PlayRecordLastError = result; + + if (PlayRecordTerminate) { + PlayRecordTerminated = TRUE; + return; + } + + if (!PlayRecordRetry) { + // Check results + switch (PlayRecordState) { + case OS_RECORD_STATE_STARTED: { + PlayRecordState = OS_RECORD_STATE_OPEN; + break; + } + case OS_RECORD_STATE_OPEN: { + if (result == NAND_RESULT_MAXFD) { + PlayRecordRetry = TRUE; + OSCreateAlarm(&PlayRecordAlarm); + OSSetAlarm(&PlayRecordAlarm, PLAY_RECORD_TICK(1), PlayRecordAlarmCallback); + return; + } + else if (result == NAND_RESULT_OK) { + if (!PlayRecordGet) { + PlayRecordState = OS_RECORD_STATE_READ; + } + else { + PlayRecordState = OS_RECORD_STATE_SET_ALARM; + } + break; + } + else { + PlayRecordError = TRUE; + PlayRecordState = OS_RECORD_STATE_CLOSED; + return; + } + } + case OS_RECORD_STATE_READ: { + if (result == sizeof(OSPlayRecord)) { + PlayRecordGet = TRUE; + PlayRecordLastCloseTime = PlayRecord.playTime; + PlayRecordState = OS_RECORD_STATE_SEEK; + } + else { + PlayRecordError = TRUE; + PlayRecordState = OS_RECORD_STATE_CLOSE; + } + break; + } + case OS_RECORD_STATE_SEEK: { + if (result == NAND_RESULT_OK) { + PlayRecordState = OS_RECORD_STATE_SET_ALARM; + } + else { + PlayRecordError = TRUE; + PlayRecordState = OS_RECORD_STATE_CLOSE; + } + break; + } + case OS_RECORD_STATE_SET_ALARM: { + PlayRecordState = OS_RECORD_STATE_WRITE; + break; + } + case OS_RECORD_STATE_WRITE: { + if (result == sizeof(OSPlayRecord)) { + if (OSGetTime() - PlayRecordLastCloseTime > PLAY_RECORD_TICK(300)) { + PlayRecordState = OS_RECORD_STATE_CLOSE; + } + else { + PlayRecordState = OS_RECORD_STATE_SEEK; + } + } + else { + PlayRecordError = TRUE; + PlayRecordState = OS_RECORD_STATE_CLOSE; + } + break; + } + case OS_RECORD_STATE_CLOSE: { + if (PlayRecordError) { + PlayRecordState = OS_RECORD_STATE_CLOSED; + return; + } + else { + if (result == NAND_RESULT_OK) { + PlayRecordLastCloseTime = PlayRecord.playTime; + PlayRecordState = OS_RECORD_STATE_OPEN; + break; + } + else { + PlayRecordState = OS_RECORD_STATE_CLOSED; + PlayRecordError = TRUE; + return; + } + } + } + default: { + PlayRecordState = OS_RECORD_STATE_CLOSED; + PlayRecordError = TRUE; + return; + } + } + } + + PlayRecordRetry = FALSE; + + switch (PlayRecordState) { + case OS_RECORD_STATE_OPEN: { + ret = NANDOpenAsync(OS_RECORD_NAND_PATH, &FileInfo, NAND_ACCESS_RW, PlayRecordCallback, &Block); + break; + } + case OS_RECORD_STATE_READ: { + ret = NANDReadAsync(&FileInfo, &PlayRecord, sizeof(OSPlayRecord), PlayRecordCallback, &Block); + break; + } + case OS_RECORD_STATE_SEEK: { + ret = NANDSeekAsync(&FileInfo, 0, 0, PlayRecordCallback, &Block); + break; + } + case OS_RECORD_STATE_SET_ALARM: { + OSCreateAlarm(&PlayRecordAlarm); + OSSetAlarm(&PlayRecordAlarm, PLAY_RECORD_TICK(60), PlayRecordAlarmCallback); + break; + } + case OS_RECORD_STATE_WRITE: { + PlayRecord.playTime = OSGetTime(); + PlayRecord.checkSum = RecordCheckSum(&PlayRecord); + ret = NANDWriteAsync(&FileInfo, &PlayRecord, sizeof(OSPlayRecord), PlayRecordCallback, &Block); + break; + } + case OS_RECORD_STATE_CLOSE: { + ret = NANDCloseAsync(&FileInfo, PlayRecordCallback, &Block); + break; + } + } + + if (ret != NAND_RESULT_OK) { + if (ret == NAND_RESULT_BUSY) { + OSCreateAlarm(&PlayRecordAlarm); + OSSetAlarm(&PlayRecordAlarm, PLAY_RECORD_TICK(1), PlayRecordAlarmCallback); + PlayRecordRetry = TRUE; + } + else { + PlayRecordError = TRUE; + switch (PlayRecordState) { + case OS_RECORD_STATE_READ: + case OS_RECORD_STATE_SEEK: + case OS_RECORD_STATE_WRITE: { + PlayRecordState = OS_RECORD_STATE_CLOSE; + ret = NANDCloseAsync(&FileInfo, PlayRecordCallback, &Block); + + if (ret == NAND_RESULT_BUSY) { + PlayRecordRetry = TRUE; + OSCreateAlarm(&PlayRecordAlarm); + OSSetAlarm(&PlayRecordAlarm, PLAY_RECORD_TICK(1), PlayRecordAlarmCallback); + } + break; + } + default: { + PlayRecordState = OS_RECORD_STATE_CLOSED; + } + } + } + } + + PlayRecordLastError = ret; +} + +void __OSStartPlayRecord() { + if (NANDInit() == NAND_RESULT_OK) { + PlayRecordGet = FALSE; + PlayRecordState = OS_RECORD_STATE_STARTED; + PlayRecordError = FALSE; + PlayRecordRetry = FALSE; + PlayRecordTerminate = FALSE; + PlayRecordTerminated = FALSE; + PlayRecordLastError = NAND_RESULT_OK; + PlayRecordCallback(NAND_RESULT_OK, NULL); + } +} + +void __OSStopPlayRecord() { + OSTime start; + BOOL enabled = OSDisableInterrupts(); + + PlayRecordTerminate = TRUE; + + if (PlayRecordState == OS_RECORD_STATE_CLOSED + || PlayRecordState == OS_RECORD_STATE_STARTED + || PlayRecordState == OS_RECORD_STATE_STOPPED + || PlayRecordState == OS_RECORD_STATE_TIMEOUT) { + OSRestoreInterrupts(enabled); + } + else if (PlayRecordState == OS_RECORD_STATE_SET_ALARM) { + OSCancelAlarm(&PlayRecordAlarm); + OSRestoreInterrupts(enabled); + PlayRecord.playTime = OSGetTime(); + PlayRecord.checkSum = RecordCheckSum(&PlayRecord); + NANDWrite(&FileInfo, &PlayRecord, sizeof(PlayRecord)); + NANDClose(&FileInfo); + } + else { + if (PlayRecordRetry) { + OSCancelAlarm(&PlayRecordAlarm); + OSRestoreInterrupts(enabled); + } + else { + OSRestoreInterrupts(enabled); + start = OSGetTime(); + while (TRUE) { + if (PlayRecordTerminated) { + break; + } + if ((OSGetTime() - start) > OSMillisecondsToTicks(500)) { + PlayRecordState = OS_RECORD_STATE_TIMEOUT; + return; + } + } + } + switch (PlayRecordState) { + case OS_RECORD_STATE_READ: + case OS_RECORD_STATE_SEEK: + case OS_RECORD_STATE_WRITE: { + NANDClose(&FileInfo); + break; + } + case OS_RECORD_STATE_OPEN: { + if (PlayRecordLastError == NAND_RESULT_OK && !PlayRecordRetry) { + NANDClose(&FileInfo); + } + break; + } + case OS_RECORD_STATE_CLOSE: { + if (PlayRecordRetry) { + NANDClose(&FileInfo); + } + break; + } + } + } + + PlayRecordState = OS_RECORD_STATE_STOPPED; +} diff --git a/libs/RVL_SDK/src/os/OSPlayTime.c b/libs/RVL_SDK/src/os/OSPlayTime.c new file mode 100644 index 00000000..e651dbde --- /dev/null +++ b/libs/RVL_SDK/src/os/OSPlayTime.c @@ -0,0 +1,393 @@ +#include +#include + +#include +#include + +#include + +#include + +#include + +#include + +typedef struct __OSExpireAIFadeStruct { + s16 aiBuffer[2][288]; // 0x00 + s32 aiIndex; // 0x480 + s16* aiSrcIndex; // 0x484 + + u32 frames; // 0x488 + + s16 auxL; // 0x48C + s16 auxR; // 0x48E + + AIDCallback gameAIDCallback; // 0x490 +} __OSExpireAIFadeStruct; + +OSAlarm __OSExpireAlarm; +OSTime __OSExpireTime; +OSThread* __OSExpireThread; +BOOL __OSExpireSetExpiredFlag; + +__OSExpireAIFadeStruct* __OSExpireAIFade = NULL; + +void __OSPlayTimeRebootCallback(OSAlarm* alarm, OSContext* context); +void* __OSPlayTimeRebootThread(void* args); + +void __OSPlayTimeRebootCallback(OSAlarm* alarm, OSContext* context) { + void* arenaHi; + u32 memSize; + OSThread* thread; + void* stack; + + for (thread = __OSActiveThreadQueue.head; thread; thread = thread->linkActive.next) { + OSSuspendThread(thread); + } + + memSize = OSRoundUp32B(sizeof(OSThread)) + 0x1000; + arenaHi = *(void**)OSPhysicalToCached(OS_ADDR_AVAILABLE_MEM2_END); + arenaHi = (void*)((u32)arenaHi - memSize); + + thread = (OSThread*)arenaHi; + arenaHi = (void*)((u32)arenaHi + OSRoundUp32B(sizeof(OSThread))); + stack = arenaHi; + + if (!OSCreateThread(thread, __OSPlayTimeRebootThread, NULL, (void*)((u32)stack + 0x1000), 0x1000, 0, 0)) { + __OSHotResetForError(); + } + + OSResumeThread(thread); +} + +void __OSPlayTimeFadeLastAIDCallback() { + if (__OSExpireAIFade->gameAIDCallback) { + __OSExpireAIFade->gameAIDCallback(); + } + + // First frame: Get AI buffer + if (__OSExpireAIFade->frames == 0) { + __OSExpireAIFade->aiSrcIndex = (s16*)OSPhysicalToCached(AIGetDMAStartAddr()); + } + + // Second Frame: Setup fade with AI buffer + if (__OSExpireAIFade->frames == 1) { + DCInvalidateRange(__OSExpireAIFade->aiSrcIndex, 4); + __OSExpireAIFade->auxL = (s16)(*__OSExpireAIFade->aiSrcIndex++); + __OSExpireAIFade->auxR = (s16)(*__OSExpireAIFade->aiSrcIndex); + } + + // The rest of the frames: Fading out the audio. + if (__OSExpireAIFade->frames >= 1) { + s16* buffer = __OSExpireAIFade->aiBuffer[__OSExpireAIFade->aiIndex]; + s16* dest = buffer; + u32 bytes = AIGetDMALength(); + f32 delta = 0.995f; + + int i = bytes; + while (i) { + *dest++ = __OSExpireAIFade->auxL; + *dest++ = __OSExpireAIFade->auxR; + + __OSExpireAIFade->auxL *= delta; + __OSExpireAIFade->auxR *= delta; + + i -= 4; + } + + DCFlushRange(buffer, bytes); + AIInitDMA((u32)buffer, bytes); + __OSExpireAIFade->aiIndex++; + __OSExpireAIFade->aiIndex &= 1; + } + + __OSExpireAIFade->frames++; +} + +BOOL __OSWriteExpiredFlag() { + s32 ret = NAND_RESULT_OK; + NANDFileInfo nInfo; + BOOL openNInfo = FALSE; + u8 titleId[32] ALIGN32; + + ret = NANDPrivateCreate("/shared2/expired", NAND_PERM_ALL_RW, 0); + + if (ret != NAND_RESULT_OK && ret != NAND_RESULT_EXISTS) { + goto close; + } + + ret = NANDPrivateOpen("/shared2/expired", &nInfo, 2); + + if (ret != NAND_RESULT_OK) { + goto close; + } + + openNInfo = TRUE; + + ret = ESP_InitLib(); + if (ret != ES_ERR_OK) { + goto close; + } + + memset(titleId, 0, 32); + ret = ESP_GetTitleId((ESTitleId*)titleId); + + if (ret != ES_ERR_OK) { + goto close; + } + + ret = NANDWrite(&nInfo, titleId, 32); + if (ret < NAND_RESULT_OK) { + goto close; + } + else if (ret != 32) { + ret = NAND_RESULT_INVALID; + goto close; + } + else { + ret = NAND_RESULT_OK; + } + +close: + if (openNInfo) { + NANDClose(&nInfo); + } + + return ret == NAND_RESULT_OK ? TRUE : FALSE; +} + +BOOL __OSWriteExpiredFlagIfSet() { + if (__OSExpireSetExpiredFlag) { + return __OSWriteExpiredFlag(); + } + return FALSE; +} + +void* __OSPlayTimeRebootThread(void* args) { + BOOL enabled; + u32 frames, fadeShift = 1; + __OSExpireAIFadeStruct aiFade ALIGN32; + + // Setup sound fade out + __OSExpireAIFade = &aiFade; + memset(__OSExpireAIFade, 0, sizeof(__OSExpireAIFadeStruct)); + __OSExpireAIFade->gameAIDCallback = AIRegisterDMACallback(__OSPlayTimeFadeLastAIDCallback); + + // Force fade out video + for (frames = 0; frames < 20; frames++) { + fadeShift = (frames / 5) + 1; + if (fadeShift > 7) { + fadeShift = 7; + } + + VIWaitForRetrace(); + __OSSetVIForceDimming(TRUE, fadeShift, fadeShift); + } + + // Done fading out! + + AIRegisterDMACallback(NULL); + + VISetBlack(TRUE); + VIFlush(); + + enabled = OSDisableInterrupts(); + + // Write expired flag + __OSWriteExpiredFlagIfSet(); + OSRestoreInterrupts(enabled); + + // Aaaand back to the System Menu you go! + OSReturnToMenu(); + return NULL; +} + +void __OSPlayTimeAlarmExpired(OSAlarm* alarm, OSContext* context) { + void *arenaHi; + u32 memSize; + OSThread *thread; + void *stack; + + if (__OSExpireThread != NULL) { + for (thread = __OSActiveThreadQueue.head; thread; thread = thread->linkActive.next) { + if (thread != __OSExpireThread) { + OSSuspendThread(thread); + } + } + + OSCreateAlarm(&__OSExpireAlarm); + OSSetAlarm(&__OSExpireAlarm, OSSecondsToTicks((OSTime)240), __OSPlayTimeRebootCallback); + + while (__OSExpireThread->suspend > 0) { + OSResumeThread(__OSExpireThread); + } + } + else { + for (thread = __OSActiveThreadQueue.head; thread; thread = thread->linkActive.next) { + OSSuspendThread(thread); + } + + memSize = OSRoundUp32B(sizeof(OSThread)) + 0x1000; + arenaHi = *(void**)OSPhysicalToCached(OS_ADDR_AVAILABLE_MEM2_END); + arenaHi = (void*)((u32)arenaHi - memSize); + + thread = (OSThread*)arenaHi; + arenaHi = (void*)((u32)arenaHi + OSRoundUp32B(sizeof(OSThread))); + stack = arenaHi; + + if (!OSCreateThread(thread, __OSPlayTimeRebootThread, NULL, (void*)((u32)stack + 0x1000), 0x1000, 0, 0)) { + __OSHotResetForError(); + } + + OSResumeThread(thread); + } +} + +s32 __OSPlayTimeGetConsumption(ESTicketView *ticket, ESLpEntry *lpEntry, u32 *entries) { + s32 ret = ESP_GetConsumption(ticket->ticketId, NULL, entries); + + if (ret > ES_ERR_OK) { + goto getout; + } + + if (ret != ES_ERR_OK) { + ret = ret; + goto getout; + } + + if (*entries != 0) { + ret = ESP_GetConsumption(ticket->ticketId, lpEntry, entries); + + if (ret != ES_ERR_OK) { + ret = ret; + return ret; + } + } + +getout: + return ret; +} + +s32 __OSGetPlayTime(ESTicketView *ticket, OSPlayTimeType *type, u32 *playTime) { + s32 ret; + u32 i, numCc = 0, seenOther = 0; + + ESTicketView ticketAligned ALIGN32; + ESLpEntry lpEntry[8] ALIGN32; + + if ((u32)ticket & 31) { + memcpy(&ticketAligned, ticket, sizeof(ESTicketView)); + ticket = &ticketAligned; + } + + ret = __OSPlayTimeGetConsumption(ticket, lpEntry, &numCc); + if (ret != ES_ERR_OK) { + goto getout; + } + + for (i = 0; i < 8; i++) { + if (ticket->limits[i].code == OS_PLAYTIME_TIME_LIMIT) { + *type = OS_PLAYTIME_TIME_LIMIT; + + if (numCc == 0) { + *playTime = ticket->limits[i].limit; + goto getout; + } + if (lpEntry[i].limit >= ticket->limits[i].limit) { + *playTime = 0; + goto getout; + } + *playTime = ticket->limits[i].limit - lpEntry[i].limit; + goto getout; + } + else if (ticket->limits[i].code != OS_PLAYTIME_PERMANENT) { + seenOther = i + 1; + } + } + + if (!seenOther) { + *type = OS_PLAYTIME_PERMANENT; + *playTime = 0xFFFFFFFF; + } + else { + seenOther--; + + if (ticket->limits[seenOther].code == OS_PLAYTIME_LAUNCH_LIMIT) { + *type = OS_PLAYTIME_LAUNCH_LIMIT; + *playTime = ticket->limits[seenOther].limit; + + if (numCc > 0) { + *playTime -= lpEntry[seenOther].limit; + } + } + else { + *type = OS_PLAYTIME_UNKNOWN; + } + } + +getout: + return ret; +} + +s32 __OSGetPlayTimeCurrent(OSPlayTimeType* type, u32* playTime) { + s32 ret; + ESTicketView ticket ALIGN32; + + ret = ESP_DiGetTicketView(NULL, &ticket); + + if (ret == ES_ERR_INVALID_ARGUMENTS) { + goto out; + } + if (ret != ES_ERR_OK) { + ret = ret; + goto out; + } + + ret = __OSGetPlayTime(&ticket, type, playTime); + +out: + return ret; +} + +void __OSInitPlayTime() { + s32 ret; + u32 limit; + OSPlayTimeType type; + + __OSExpireTime = 0; + __OSExpireThread = NULL; + __OSExpireSetExpiredFlag = TRUE; + + ret = ESP_InitLib(); + + if (ret != ES_ERR_OK) { + ret = ret; + goto out; + } + + ret = __OSGetPlayTimeCurrent(&type, &limit); + + if (ret != ES_ERR_OK) { + if (ret != ES_ERR_INVALID_ARGUMENTS) { + ret = ret; + } + goto out; + } + + if (type == OS_PLAYTIME_PERMANENT) { + goto out; + } + else if (type == OS_PLAYTIME_TIME_LIMIT) { + // User still trying to launch the app even though it had expired? Hah I don't think so... + // The fact this only happens on channels with a time limit... + OSAssertMsg(limit != 0, "Expired", 775); + + OSCreateAlarm(&__OSExpireAlarm); + OSSetAlarm(&__OSExpireAlarm, OSSecondsToTicks((OSTime)limit + 1), __OSPlayTimeAlarmExpired); + __OSExpireTime = __OSExpireAlarm.fire; + OSReport("PlayTime: %d seconds left\n", limit); + } + +out: + ESP_CloseLib(); +} diff --git a/libs/RVL_SDK/src/os/OSReset.c b/libs/RVL_SDK/src/os/OSReset.c new file mode 100644 index 00000000..23b78560 --- /dev/null +++ b/libs/RVL_SDK/src/os/OSReset.c @@ -0,0 +1,258 @@ +#include +#include + +#include + +#include +#include + +#include + +static OSShutdownFunctionQueue ShutdownFunctionQueue; +vBOOL __OSIsReturnToIdle; + +#define ENQUEUE_INFO(info, queue) { \ + OSShutdownFunctionInfo* __prev = (queue)->tail; \ + if (__prev == 0) { \ + (queue)->head = (info); \ + } \ + else { \ + __prev->next = (info); \ + } \ + (info)->prev = __prev; \ + (info)->next = 0; \ + (queue)->tail = (info); \ +} + +#define DEQUEUE_INFO(info, queue) { \ + OSShutdownFunctionInfo* __next = (info)->next; \ + OSShutdownFunctionInfo* __prev = (info)->prev; \ + if (__next == 0) { \ + (queue)->tail = __prev; \ + } \ + else { \ + __next->prev = __prev; \ + } \ + if (__prev == 0) { \ + (queue)->head = __next; \ + } \ + else { \ + __prev->next = __next; \ + } \ +} + +#define ENQUEUE_INFO_PRIO(info, queue) { \ + OSShutdownFunctionInfo* __prev; \ + OSShutdownFunctionInfo* __next; \ + for (__next = (queue)->head; __next \ + && (__next->priority <= (info)->priority); \ + __next = __next->next) ; \ + \ + if (__next == 0) { \ + ENQUEUE_INFO(info, queue); \ + } \ + else { \ + (info)->next = __next; \ + __prev = __next->prev; \ + __next->prev = (info); \ + (info)->prev = __prev; \ + if (__prev == 0) { \ + (queue)->head = (info); \ + } else { \ + __prev->next = (info); \ + } \ + } \ +} + +// They're used but pooled first. +DECOMP_FORCE_ACTIVE(OSReset_c, "OSReset.c"); +DECOMP_FORCE_ACTIVE(OSReset_c, "__OSHotReset(): Falied to reset system.\n"); + +DECOMP_FORCE_ACTIVE(OSReset_c, "OSReturnToMenu(): Falied to boot system menu.\n"); +DECOMP_FORCE_ACTIVE(OSReset_c, "OSReturnToDataManager(): Falied to boot system menu.\n"); + +static void KillThreads() { + OSThread* thread; + OSThread* next; + + for (thread = __OSActiveThreadQueue.head; thread; thread = next) { + next = thread->linkActive.next; + + switch (thread->state) { + case 1: + case 4: { + OSCancelThread(thread); + break; + } + default: { + break; + } + } + } +} + +void OSRegisterShutdownFunction(OSShutdownFunctionInfo* info) { + ENQUEUE_INFO_PRIO(info, &ShutdownFunctionQueue); +} + +BOOL __OSCallShutdownFunctions(BOOL final, u32 event) { + OSShutdownFunctionInfo* info; + BOOL err; + u32 priority = 0; + + err = FALSE; + info = ShutdownFunctionQueue.head; + while (info) { + if (err && priority != info->priority) { + break; + } + + err |= !info->func(final, event); + priority = info->priority; + info = info->next; + } + err |= !__OSSyncSram(); + return err ? FALSE : TRUE; +} + +void __OSShutdownDevices(u32 event) { + BOOL rc, disableRecalibration, doRecal; + + switch(event) { + case 0: + case OS_SHUTDOWN_RETURN_MENU: + case OS_SHUTDOWN_LAUNCH: { + doRecal = FALSE; + break; + } + case OS_SHUTDOWN_STANDBY: + case 1: + case OS_SHUTDOWN_RESTART: + case 3: + default: { + doRecal = TRUE; + break; + } + } + + __OSStopAudioSystem(); + + if (!doRecal) { + disableRecalibration = __PADDisableRecalibration(TRUE); + } + + while (!__OSCallShutdownFunctions(FALSE, event)) {} + while (!__OSSyncSram()) {} + + OSDisableInterrupts(); + rc = __OSCallShutdownFunctions(TRUE, event); + LCDisable(); + + if (!doRecal) { + __PADDisableRecalibration(disableRecalibration); + } + + KillThreads(); +} + +// what the hell +u8 __OSGetDiscState(u8 out) { + u32 flags; + + if (__DVDGetCoverStatus() != DVD_COVER_CLOSED) { + return 3; + } + else if (out == 1) { + if (!__OSGetRTCFlags(&flags) || flags == 0) { + goto status_1; + } + status_2: + return 2; + } + else { + goto status_2; + status_1: + return 1; + } +} + +void OSReturnToSetting(u8 setting) { + char* url; + switch (setting) { + case OS_SETTING_CALENDAR: { + url = "Calendar/Calendar_index.html"; + break; + } + case OS_SETTING_DISPLAY: { + url = "Display/Display_index.html"; + break; + } + case OS_SETTING_SOUND: { + url = "Sound/Sound_index.html"; + break; + } + case OS_SETTING_PARENTAL_CONTROL: { + url = "Parental_Control/Parental_Control_index.html"; + break; + } + case OS_SETTING_INTERNET: { + url = "Internet/Internet_index.html"; + break; + } + case OS_SETTING_WIICONNECT24: { + url = "WiiConnect24/Wiiconnect24_index.html"; + break; + } + case OS_SETTING_UPDATE: { + url = "Update/Update_index.html"; + break; + } + default: { + OSReport("OSReturnToSetting(): You can't specify %d. \n", setting); + OSHalt("", 910); + } + } + + __OSReturnToMenul(1, url, NULL); +} + + +void __OSReturnToMenuForError() { + OSStateFlags state; + + __OSReadStateFlags(&state); + state.lastDiscState = 2; + state.lastShutdown = 3; + __OSClearRTCFlags(); + __OSWriteStateFlags(&state); + + __OSLaunchMenu(); + + OSDisableScheduler(); + __VISetRGBModeImm(); + __OSHotResetForError(); + + OSHalt("__OSReturnToMenu(): Falied to boot system menu.\n", 949); +} + +void __OSHotResetForError() { + if (__OSInNandBoot || __OSInReboot) { + __OSInitSTM(); + } + __OSHotReset(); + OSHalt("__OSHotReset(): Falied to reset system.\n", 973); +} + +u32 OSGetResetCode() { + u32 code; + if (__OSRebootParams.valid) { + code = ((1<<31) | __OSRebootParams.restartCode); + } + else { + code = (PI_READ_REG(PI_RESET_REQUEST) & 0xFFFFFFF8) >> 3; + } + return code; +} + +DECOMP_FORCE_ACTIVE(OSReset_c, "OSResetSystem() is obsoleted. It doesn't work any longer.\n"); +DECOMP_FORCE_ACTIVE(OSReset_c, "OSSetBootDol() is obsoleted. It doesn't work any longer.\n"); diff --git a/libs/RVL_SDK/src/os/OSRtc.c b/libs/RVL_SDK/src/os/OSRtc.c new file mode 100644 index 00000000..00204431 --- /dev/null +++ b/libs/RVL_SDK/src/os/OSRtc.c @@ -0,0 +1,479 @@ +#include +#include + +#include + +static SramControl Scb ALIGN32; + +u16 OSGetGbsMode(); +void OSSetGbsMode(u16 mode); + +static BOOL GetRTC(u32* rtc) { + int err; + u32 cmd; + + if (!EXILock(EXI_CHAN_0, EXI_DEV_INT, NULL)) { + return FALSE; + } + if (!EXISelect(EXI_CHAN_0, EXI_DEV_INT, EXI_FREQ_8MHZ)) { + EXIUnlock(EXI_CHAN_0); + return FALSE; + } + cmd = 0x20000000; + err = 0; + err |= !EXIImm(EXI_CHAN_0, &cmd, sizeof(u32), EXI_WRITE, NULL); + err |= !EXISync(EXI_CHAN_0); + err |= !EXIImm(EXI_CHAN_0, &cmd, sizeof(u32), EXI_READ, NULL); + err |= !EXISync(EXI_CHAN_0); + err |= !EXIDeselect(EXI_CHAN_0); + EXIUnlock(EXI_CHAN_0); + + rtc[0] = cmd; + + return !err; +} + +BOOL __OSGetRTC(u32* rtc) { + int err; + u32 t0; + u32 t1; + int i; + + for(i = 0; i < 16; i++) { + err = 0; + err |= !GetRTC(&t0); + err |= !GetRTC(&t1); + if (err) { + break; + } + if (t0 == t1) { + rtc[0] = t0; + return TRUE; + } + } + return FALSE; +} + +BOOL __OSSetRTC(u32 rtc) { + int err; + u32 cmd; + + if (!EXILock(EXI_CHAN_0, EXI_DEV_INT, NULL)) { + return FALSE; + } + if (!EXISelect(EXI_CHAN_0, EXI_DEV_INT, EXI_FREQ_8MHZ)) { + EXIUnlock(EXI_CHAN_0); + return FALSE; + } + cmd = 0xA0000000; + err = 0; + err |= !EXIImm(EXI_CHAN_0, &cmd, sizeof(u32), EXI_WRITE, NULL); + err |= !EXISync(EXI_CHAN_0); + err |= !EXIImm(EXI_CHAN_0, &rtc, sizeof(u32), EXI_WRITE, NULL); + err |= !EXISync(EXI_CHAN_0); + err |= !EXIDeselect(EXI_CHAN_0); + EXIUnlock(EXI_CHAN_0); + return !err; +} + +static BOOL ReadSram(void* buffer) { + BOOL err; + u32 cmd; + + DCInvalidateRange(buffer, 64); + + if (!EXILock(EXI_CHAN_0, EXI_DEV_INT, NULL)) { + return FALSE; + } + + if (!EXISelect(EXI_CHAN_0, EXI_DEV_INT, EXI_FREQ_8MHZ)) { + EXIUnlock(EXI_CHAN_0); + return FALSE; + } + + cmd = 0x20000000 | 0x100; + err = FALSE; + err |= !EXIImm(EXI_CHAN_0, &cmd, sizeof(u32), EXI_WRITE, NULL); + err |= !EXISync(EXI_CHAN_0); + err |= !EXIDma(EXI_CHAN_0, buffer, 64, EXI_READ, NULL); + err |= !EXISync(EXI_CHAN_0); + err |= !EXIDeselect(EXI_CHAN_0); + EXIUnlock(EXI_CHAN_0); + return !err; +} + +static BOOL WriteSram(void* buffer, u32 offset, u32 size); + +static void WriteSramCallback(s32 chan, OSContext* context) { + Scb.sync = WriteSram(Scb.sram + Scb.offset, Scb.offset, 64 - Scb.offset); + + if (Scb.sync) { + Scb.offset = 64; + } +} + +void __OSInitSram() { + Scb.locked = Scb.enabled = FALSE; + Scb.sync = ReadSram(Scb.sram); + Scb.offset = 64; + + OSSetGbsMode(OSGetGbsMode()); +} + +static BOOL WriteSram(void* buffer, u32 offset, u32 size) { + BOOL err; + u32 cmd; + + if (!EXILock(EXI_CHAN_0, EXI_WRITE, WriteSramCallback)) { + return FALSE; + } + + if (!EXISelect(EXI_CHAN_0, EXI_WRITE, EXI_FREQ_8MHZ)) { + EXIUnlock(EXI_CHAN_0); + return FALSE; + } + + offset <<= 6; + cmd = 0xA0000000 | 0x000000100 + offset; + err = FALSE; + err |= !EXIImm(EXI_CHAN_0, &cmd, sizeof(u32), EXI_WRITE, NULL); + err |= !EXISync(EXI_CHAN_0); + err |= !EXIImmEx(EXI_CHAN_0, buffer, size, EXI_WRITE); + err |= !EXIDeselect(EXI_CHAN_0); + EXIUnlock(EXI_CHAN_0); + return !err; +} + +static void* LockSram(u32 offset) { + BOOL enabled; + enabled = OSDisableInterrupts(); + + if (Scb.locked) { + OSRestoreInterrupts(enabled); + return NULL; + } + + Scb.enabled = enabled; + Scb.locked = TRUE; + return Scb.sram + offset; +} + +OSSram* __OSLockSram() { + return LockSram(0); +} + +OSSramEx* __OSLockSramEx() { + return LockSram(sizeof(OSSram)); +} + +BOOL UnlockSram(BOOL commit, u32 offset) { + u16* p; + + if (commit) { + if (offset == 0) { + OSSram* sram = (OSSram*)Scb.sram; + + if ((sram->flags & 3) > (u32)2) { + sram->flags &= ~3; + } + + sram->checkSum = sram->checkSumInv = 0; + + for (p = (u16*)&sram->counterBias; p < (u16*)(Scb.sram + sizeof(OSSram)); p++) { + sram->checkSum += *p; + sram->checkSumInv += ~*p; + } + } + + if (offset < Scb.offset) { + Scb.offset = offset; + } + + if (Scb.offset <= sizeof(OSSram)) { + OSSramEx* sram = (OSSramEx*)(Scb.sram + sizeof(OSSram)); + + if ((sram->gbs & 0x7C00) == (u32)0x5000 || (sram->gbs & 0xC0) == (u32)0xC0) { + sram->gbs = 0; + } + } + + Scb.sync = WriteSram(Scb.sram + Scb.offset, Scb.offset, 64 - Scb.offset); + + if (Scb.sync) { + Scb.offset = 64; + } + } + + Scb.locked = FALSE; + OSRestoreInterrupts(Scb.enabled); + return Scb.sync; +} + + +BOOL __OSUnlockSram(BOOL commit) { + return UnlockSram(commit, 0); +} + +BOOL __OSUnlockSramEx(BOOL commit) { + return UnlockSram(commit, sizeof(OSSram)); +} + +BOOL __OSSyncSram() { + return Scb.sync; +} + +int __OSCheckSram() { + u16 *p, checkSum, checkSumInv; + OSSram* sram; + + checkSum = checkSumInv = 0; + + sram = (OSSram*)Scb.sram; + + for (p = (void*)&sram->counterBias; p < (u16*)&Scb.sram[0x14]; p++) { + checkSum += *p; + checkSumInv += ~(*p); + } + + return (sram->checkSum == checkSum && sram->checkSumInv == checkSumInv); +} + +BOOL __OSReadROM(void* buffer, s32 length, s32 offset) { + BOOL err; + u32 cmd; + + DCInvalidateRange(buffer, (u32)length); + + if (!EXILock(EXI_CHAN_0, EXI_DEV_INT, NULL)) { + return FALSE; + } + + if (!EXISelect(EXI_CHAN_0, EXI_DEV_INT, EXI_FREQ_8MHZ)) { + EXIUnlock(EXI_CHAN_0); + return FALSE; + } + + cmd = (u32)(offset << 6); + err = FALSE; + err |= !EXIImm(EXI_CHAN_0, &cmd, sizeof(u32), EXI_WRITE, NULL); + err |= !EXISync(EXI_CHAN_0); + err |= !EXIDma(EXI_CHAN_0, buffer, length, EXI_READ, NULL); + err |= !EXISync(EXI_CHAN_0); + err |= !EXIDeselect(EXI_CHAN_0); + EXIUnlock(EXI_CHAN_0); + return !err; +} + +u16 OSGetGbsMode() { + OSSramEx* sram; + u16 mode; + sram = __OSLockSramEx(); + mode = sram->gbs; + __OSUnlockSramEx(FALSE); + return mode; +} + +void OSSetGbsMode(u16 mode) { + OSSramEx* sram; + + if ((mode & 0x7C00) == (u32)0x5000 || (mode & 0xC0) == (u32)0xC0) { + mode = 0; + } + + sram = __OSLockSramEx(); + + if (mode == sram->gbs) { + __OSUnlockSramEx(FALSE); + return; + } + + sram->gbs = mode; + __OSUnlockSramEx(TRUE); +} + +u32 OSGetSoundMode() { + OSSram* sram = __OSLockSram(); + u32 mode = (sram->flags & 4) ? 1 : 0; + + __OSUnlockSram(FALSE); + return mode; +} + +void OSSetSoundMode(u32 mode) { + OSSram* sram; + + mode *= 4; + mode &= 4; + sram = __OSLockSram(); + if (mode == (sram->flags & 4)) { + __OSUnlockSram(FALSE); + return; + } + sram->flags &= 0xFFFFFFFB; + sram->flags |= mode; + __OSUnlockSram(TRUE); +} + +u32 OSGetProgressiveMode() { + OSSram* sram; + u32 mode; + + sram = __OSLockSram(); + mode = (sram->flags & 0x80) >> 7; + __OSUnlockSram(FALSE); + return mode; +} + +void OSSetProgressiveMode(u32 mode) { + OSSram* sram; + + mode <<= 7; + mode &= 0x80; + sram = __OSLockSram(); + if (mode == (sram->flags & 0x80)) { + __OSUnlockSram(FALSE); + return; + } + + sram->flags &= ~0x80; + sram->flags |= mode; + __OSUnlockSram(TRUE); +} + +void OSSetVideoMode(u32 mode) { + OSSram* sram; + + if (mode > 2) { + mode = 0; + } + + sram = __OSLockSram(); + + if (mode == (sram->flags & 3)) { + __OSUnlockSram(FALSE); + return; + } + sram->flags &= 0xFFFFFFFC; + sram->flags |= mode; + __OSUnlockSram(TRUE); +} + +u8 OSGetLanguage() { + OSSram* sram = __OSLockSram(); + u8 language = sram->language; + + __OSUnlockSram(FALSE); + return language; +} + +void OSSetLanguage(u8 language) { + OSSram* sram = __OSLockSram(); + + if (language == sram->language) { + __OSUnlockSram(FALSE); + return; + } + sram->language = language; + __OSUnlockSram(TRUE); +} + +u32 OSGetEuRgb60Mode() { + OSSram* sram; + u32 mode; + + sram = __OSLockSram(); + mode = (sram->ntd & 0x40) >> 6; + __OSUnlockSram(FALSE); + return mode; +} + +void OSSetEuRgb60Mode(u32 mode) { + OSSram* sram; + + mode <<= 6; + mode &= 0x40; + + sram = __OSLockSram(); + if (mode == (sram->ntd & 0x40)) { + __OSUnlockSram(FALSE); + } + else { + sram->ntd &= ~0x40; + sram->ntd |= mode; + __OSUnlockSram(TRUE); + } +} + +u16 OSGetWirelessID(s32 chan) { + OSSramEx* sram; + u16 id; + sram = __OSLockSramEx(); + id = sram->wirelessPadID[chan]; + __OSUnlockSramEx(FALSE); + return id; +} + +void OSSetWirelessID(s32 chan, u16 id) { + OSSramEx* sram; + sram = __OSLockSramEx(); + + if (sram->wirelessPadID[chan] != id) { + sram->wirelessPadID[chan] = id; + __OSUnlockSramEx(TRUE); + } + else { + __OSUnlockSramEx(FALSE); + } +} + +BOOL __OSGetRTCFlags(u32* flags) { + BOOL err; + u32 cmd; + + if (!EXILock(EXI_CHAN_0, EXI_DEV_INT, NULL)) { + return FALSE; + } + + if (!EXISelect(EXI_CHAN_0, EXI_DEV_INT, EXI_FREQ_8MHZ)) { + EXIUnlock(EXI_CHAN_0); + return FALSE; + } + + cmd = 0x21000800; + err = FALSE; + err |= !EXIImm(EXI_CHAN_0, &cmd, sizeof(u32), EXI_WRITE, NULL); + err |= !EXISync(EXI_CHAN_0); + err |= !EXIImm(EXI_CHAN_0, &cmd, sizeof(u32), EXI_READ, NULL); + err |= !EXISync(EXI_CHAN_0); + err |= !EXIDeselect(EXI_CHAN_0); + EXIUnlock(EXI_CHAN_0); + *flags = cmd; + + return !err; +} + +BOOL __OSClearRTCFlags() { + BOOL err; + u32 cmd; + u32 data = 0; + + if (!EXILock(EXI_CHAN_0, EXI_DEV_INT, NULL)) { + return FALSE; + } + + if (!EXISelect(EXI_CHAN_0, EXI_DEV_INT, EXI_FREQ_8MHZ)) { + EXIUnlock(EXI_CHAN_0); + return FALSE; + } + + cmd = 0xA1000800; + err = FALSE; + err |= !EXIImm(EXI_CHAN_0, &cmd, sizeof(u32), EXI_WRITE, NULL); + err |= !EXISync(EXI_CHAN_0); + err |= !EXIImm(EXI_CHAN_0, &data, sizeof(u32), EXI_WRITE, NULL); + err |= !EXISync(EXI_CHAN_0); + err |= !EXIDeselect(EXI_CHAN_0); + EXIUnlock(EXI_CHAN_0); + + return !err; +} diff --git a/libs/RVL_SDK/src/os/OSSemaphore.c b/libs/RVL_SDK/src/os/OSSemaphore.c new file mode 100644 index 00000000..9c71a514 --- /dev/null +++ b/libs/RVL_SDK/src/os/OSSemaphore.c @@ -0,0 +1,38 @@ +#include + +void OSInitSemaphore(OSSemaphore* sem, s32 count) { + BOOL enabled = OSDisableInterrupts(); + + OSInitThreadQueue(&sem->queue); + sem->count = count; + + OSRestoreInterrupts(enabled); +} + +s32 OSWaitSemaphore(OSSemaphore* sem) { + BOOL enabled = OSDisableInterrupts(); + s32 count; + + while ((count = ((volatile OSSemaphore*)sem)->count) <= 0) { + OSSleepThread(&sem->queue); + } + sem->count--; + + OSRestoreInterrupts(enabled); + + return count; +} + +s32 OSSignalSemaphore(OSSemaphore* sem) { + BOOL enabled = OSDisableInterrupts(); + s32 count; + + count = sem->count; + sem->count++; + + OSWakeupThread(&sem->queue); + + OSRestoreInterrupts(enabled); + + return count; +} diff --git a/libs/RVL_SDK/src/os/OSStateFlags.c b/libs/RVL_SDK/src/os/OSStateFlags.c new file mode 100644 index 00000000..c9db756c --- /dev/null +++ b/libs/RVL_SDK/src/os/OSStateFlags.c @@ -0,0 +1,96 @@ +#include +#include + +#include + +#include + +static OSStateFlags StateFlags __attribute__ ((aligned(32))); + +static u32 checkSum(OSStateFlags* flags) { + u32 *ptr, i, sum; + + ptr = (u32*)&flags->lastBootApp; + sum = 0; + + for (i = 0; i < OS_STATE_FLAGS_CHECKSUM_SIZE / 4; i++) { + sum = sum + *ptr; + ptr++; + } + + return sum; +} + +BOOL __OSCreateStateFlags() { + NANDStatus status; + s32 ret; + + ret = NANDGetStatus(OS_STATE_FLAGS_NAND_PATH, &status); + if (ret == NAND_RESULT_OK) { + return TRUE; + } + else if (ret == NAND_RESULT_NOEXISTS) { + return NANDCreate(OS_STATE_FLAGS_NAND_PATH, NAND_PERM_ALL_RW, 0) == NAND_RESULT_OK ? TRUE : FALSE; + } + return FALSE; +} + +BOOL __OSWriteStateFlags(OSStateFlags* flags) { + NANDFileInfo fileInfo; + s32 ret; + + memcpy(&StateFlags, flags, sizeof(StateFlags)); + StateFlags.checkSum = checkSum(&StateFlags); + + ret = NANDOpen(OS_STATE_FLAGS_NAND_PATH, &fileInfo, 2); + + if (ret == NAND_RESULT_OK) { + ret = NANDWrite(&fileInfo, &StateFlags, sizeof(StateFlags)); + + if (ret != sizeof(StateFlags)) { + NANDClose(&fileInfo); + return FALSE; + } + + ret = NANDClose(&fileInfo); + + if (ret != NAND_RESULT_OK) { + return FALSE; + } + } + else { + return FALSE; + } + + return TRUE; +} + +BOOL __OSReadStateFlags(OSStateFlags* flags) { + NANDFileInfo fileInfo; + s32 ret; + + ret = NANDOpen(OS_STATE_FLAGS_NAND_PATH, &fileInfo, 1); + + if (ret == NAND_RESULT_OK) { + ret = NANDRead(&fileInfo, &StateFlags, sizeof(OSStateFlags)); + NANDClose(&fileInfo); + + if (ret != sizeof(OSStateFlags)) { + NANDDelete(OS_STATE_FLAGS_NAND_PATH); + memset(flags, 0, sizeof(StateFlags)); + return FALSE; + } + } + else { + memset(flags, 0, sizeof(OSStateFlags)); + return FALSE; + } + + if (checkSum(&StateFlags) != StateFlags.checkSum) { + memset(flags, 0, sizeof(OSStateFlags)); + return FALSE; + } + + memcpy(flags, &StateFlags, sizeof(OSStateFlags)); + return TRUE; +} diff --git a/libs/RVL_SDK/src/os/OSStateTM.c b/libs/RVL_SDK/src/os/OSStateTM.c new file mode 100644 index 00000000..70c91e69 --- /dev/null +++ b/libs/RVL_SDK/src/os/OSStateTM.c @@ -0,0 +1,276 @@ +#include +#include + +#include + +#include +#include + +#include + +u32 StmVdOutBuf[8] ALIGN32; +u32 StmVdInBuf[8] ALIGN32; + +u32 StmImOutBuf[8] ALIGN32; +u32 StmImInBuf[8] ALIGN32; + +u32 StmEhOutBuf[8] ALIGN32; +u32 StmEhInBuf[8] ALIGN32; + +OSResetCallback ResetCallback; +OSPowerCallback PowerCallback; + +int StmVdInUse; + +int StmEhRegistered; +int StmEhDesc; +int StmImDesc; +int StmReady; + +BOOL ResetDown; + +void __OSDefaultResetCallback(); +void __OSDefaultPowerCallback(); + +s32 __OSStateEventHandler(s32 result, void* arg); +s32 __OSVIDimReplyHandler(s32 result, void* arg); + +static void LockUp() { + OSDisableInterrupts(); + ICFlashInvalidate(); + + while (TRUE) {} +} + +void __OSRegisterStateEvent() { + BOOL enabled; + enabled = OSDisableInterrupts(); + + if (IOS_IoctlAsync(StmEhDesc, 0x1000, StmEhInBuf, sizeof(StmEhInBuf), StmEhOutBuf, sizeof(StmEhOutBuf), + __OSStateEventHandler, NULL) == 0) { + StmEhRegistered = TRUE; + } + else { + StmEhRegistered = FALSE; + } + + OSRestoreInterrupts(enabled); +} + +BOOL __OSGetResetButtonStateRaw() { + return (!(__PIRegs[PI_INTERRUPT_CAUSE] & 0x10000)) ? TRUE : FALSE; +} + +OSResetCallback OSSetResetCallback(OSResetCallback callback) { + BOOL enabled; + OSResetCallback old; + + enabled = OSDisableInterrupts(); + + old = ResetCallback; + ResetCallback = callback; + + if (!StmEhRegistered) { + __OSRegisterStateEvent(); + } + + OSRestoreInterrupts(enabled); + return old; +} + +OSPowerCallback OSSetPowerCallback(OSPowerCallback callback) { + BOOL enabled; + OSPowerCallback old; + + enabled = OSDisableInterrupts(); + + old = PowerCallback; + PowerCallback = callback; + + if (!StmEhRegistered) { + __OSRegisterStateEvent(); + } + + OSRestoreInterrupts(enabled); + return old; +} + +int __OSInitSTM() { + PowerCallback = __OSDefaultPowerCallback; + ResetCallback = __OSDefaultResetCallback; + ResetDown = 0; + + if (StmReady) { + return 1; + } + + StmVdInUse = 0; + StmImDesc = IOS_Open("/dev/stm/immediate", 0); + + if (StmImDesc < 0) { + StmReady = 0; + return 0; + } + + StmEhDesc = IOS_Open("/dev/stm/eventhook", 0); + + if (StmEhDesc < 0) { + StmReady = 0; + return 0; + } + + __OSRegisterStateEvent(); + StmReady = 1; + return 1; +} + +void __OSShutdownToSBY() { + VI_WRITE_REG(VI_DISPLAY_CONFIG, 0); + + OSAssertMsg(StmReady, "Error: The firmware doesn't support shutdown feature.\n", 281); + + StmImInBuf[0] = 0; + IOS_Ioctl(StmImDesc, 0x2003, StmImInBuf, sizeof(StmImInBuf), StmImOutBuf, sizeof(StmImOutBuf)); + + LockUp(); +} + +void __OSShutdownToIDL() { + VI_WRITE_REG(VI_DISPLAY_CONFIG, 0); + + OSAssertMsg(StmReady, "Error: The firmware doesn't support shutdown feature.\n", 308); + + if (__OSGetHollywoodRev() == 0 || __OSGetHollywoodRev() == 1 || __OSGetHollywoodRev() == 2) { + StmImInBuf[0] = 0xFCA08280; + } + else { + StmImInBuf[0] = 0xFCE082C0; + } + + IOS_Ioctl(StmImDesc, 0x2004, StmImInBuf, sizeof(StmImInBuf), StmImOutBuf, sizeof(StmImOutBuf)); + + LockUp(); +} + +void __OSHotReset() { + VI_WRITE_REG(VI_DISPLAY_CONFIG, 0); + + OSAssertMsg(StmReady, "Error: The firmware doesn't support reboot feature.\n", 345); + + IOS_Ioctl(StmImDesc, 0x2001, StmImInBuf, sizeof(StmImInBuf), StmImOutBuf, sizeof(StmImOutBuf)); + + LockUp(); +} + +static BOOL AccessVIDimRegs() { + IOSError result = IOS_IoctlAsync(StmImDesc, 0x5001, StmVdInBuf, sizeof(StmVdInBuf), StmVdOutBuf, sizeof(StmVdOutBuf), + __OSVIDimReplyHandler, NULL); + return result != FALSE ? result : TRUE; +} + +BOOL __OSSetVIForceDimming(BOOL enable, u32 shiftY, u32 shiftX) { + BOOL enabled; + + if (!StmReady) { + return -10; + } + + enabled = OSDisableInterrupts(); + + if (StmVdInUse) { + OSRestoreInterrupts(enabled); + return 0; + } + + StmVdInUse = TRUE; + + OSRestoreInterrupts(enabled); + + // Screen brightness + StmVdInBuf[0] = shiftY << 3 | shiftX | enable << 7; + + StmVdInBuf[1] = 0; + StmVdInBuf[2] = 0; + StmVdInBuf[3] = 0; + StmVdInBuf[4] = 0; + + StmVdInBuf[5] = 0xFFFFFFFF; + StmVdInBuf[6] = 0xFFFF0000; + + StmVdInBuf[7] = 0; + + return AccessVIDimRegs(); +} + +s32 __OSSetIdleLEDMode(u32 mode) { + if (!StmReady) { + return -6; + } + StmImInBuf[0] = mode; + return IOS_Ioctl(StmImDesc, 0x6002, StmImInBuf, sizeof(StmImInBuf), StmImOutBuf, sizeof(StmImOutBuf)); +} + +s32 __OSUnRegisterStateEvent() { + IOSError result; + + if (!StmEhRegistered) { + return 0; + } + if (!StmReady) { + return -6; + } + + result = IOS_Ioctl(StmImDesc, 0x3002, StmImInBuf, sizeof(StmImInBuf), StmImOutBuf, sizeof(StmImOutBuf)); + if (result == 0) { + StmEhRegistered = FALSE; + } + + return result; +} + +s32 __OSVIDimReplyHandler(s32 result, void* arg) { + #pragma unused(result) + #pragma unused(arg) + StmVdInUse = FALSE; + return 0; + } + +void __OSDefaultResetCallback() {} +void __OSDefaultPowerCallback() {} + +s32 __OSStateEventHandler(s32 result, void* arg) { +#pragma unused(result) +#pragma unused(arg) + OSPowerCallback callback; + + OSAssertMsg(result == 0, "Error on STM state event handler\n", 753); + + StmEhRegistered = FALSE; + + if (((u32*)StmEhOutBuf)[0] == 0x20000) { + if (__OSGetResetButtonStateRaw()) { + BOOL enabled = OSDisableInterrupts(); + + callback = ResetCallback; + ResetDown = TRUE; + ResetCallback = __OSDefaultResetCallback; + callback(); + + OSRestoreInterrupts(enabled); + VIResetDimmingCount(); + } + __OSRegisterStateEvent(); + } + + if (((u32*)StmEhOutBuf)[0] == 0x800) { + BOOL enabled = OSDisableInterrupts(); + + callback = PowerCallback; + PowerCallback = __OSDefaultPowerCallback; + callback(); + + OSRestoreInterrupts(enabled); + } + + return 0; +} diff --git a/libs/RVL_SDK/src/os/OSSync.c b/libs/RVL_SDK/src/os/OSSync.c new file mode 100644 index 00000000..1e7e7f8d --- /dev/null +++ b/libs/RVL_SDK/src/os/OSSync.c @@ -0,0 +1,29 @@ +#include +#include + +#include + +asm void SystemCallVector() { +#ifdef __MWERKS__ +entry __OSSystemCallVectorStart + nofralloc + mfspr r9, HID0 + ori r10, r9, 0x8 + mtspr HID0, r10 + isync + sync + mtspr HID0, r9 + rfi +entry __OSSystemCallVectorEnd + nop +#endif // __MWERKS__ +} + +void __OSInitSystemCall() { + void* addr = (void*)OSPhysicalToCached(0xC00); + + memcpy(addr, __OSSystemCallVectorStart, (u32)&__OSSystemCallVectorEnd - (u32)&__OSSystemCallVectorStart); + DCFlushRangeNoSync(addr, 0x100); + __sync(); + ICInvalidateRange(addr, 0x100); +} diff --git a/libs/RVL_SDK/src/os/OSThread.c b/libs/RVL_SDK/src/os/OSThread.c new file mode 100644 index 00000000..29170f3a --- /dev/null +++ b/libs/RVL_SDK/src/os/OSThread.c @@ -0,0 +1,866 @@ +#include + +#include +#include + +#include + +/* Macros for dequeueing and enqueueing thread */ + +#define ENQUEUE_THREAD(thread, queue, link) { \ + OSThread* __prev = (queue)->tail; \ + if (__prev == NULL) { \ + (queue)->head = (thread); \ + } \ + else { \ + __prev->link.next = (thread); \ + } \ + (thread)->link.prev = __prev; \ + (thread)->link.next = NULL; \ + (queue)->tail = (thread); \ +} + +#define DEQUEUE_THREAD(thread, queue, link) { \ + OSThread* __next = (thread)->link.next; \ + OSThread* __prev = (thread)->link.prev; \ + if (__next == NULL) { \ + (queue)->tail = __prev; \ + } \ + else { \ + __next->link.prev = __prev; \ + } \ + if (__prev == NULL) { \ + (queue)->head = __next; \ + } \ + else { \ + __prev->link.next = __next; \ + } \ +} + +#define ENQUEUE_THREAD_PRIO(thread, queue, link) { \ + OSThread* __prev; \ + OSThread* __next; \ + for(__next = (queue)->head; __next \ + && (__next->priority <= (thread)->priority); \ + __next = __next->link.next) ; \ + \ + if (__next == NULL) { \ + ENQUEUE_THREAD(thread, queue, link); \ + } \ + else { \ + (thread)->link.next = __next; \ + __prev = __next->link.prev; \ + __next->link.prev = (thread); \ + (thread)->link.prev = __prev; \ + if (__prev == NULL) { \ + (queue)->head = (thread); \ + } \ + else { \ + __prev->link.next = (thread); \ + } \ + } \ +} + +#define DEQUEUE_HEAD(thread, queue, link) { \ + OSThread* __next = thread->link.next; \ + if (__next == NULL) { \ + (queue)->tail = NULL; \ + } \ + else { \ + __next->link.prev = NULL; \ + } \ + (queue)->head = __next; \ +} + +/* Exactly named `IsSuspended` for assert */ +#define IsSuspended(suspend) (suspend > 0) + +#define OS_THREAD_STACK_MAGIC 0xDEADBABE + +/* Run queue */ +static vu32 RunQueueBits; +static OSThreadQueue RunQueue[OS_PRIORITY_MAX + 1]; +static vBOOL RunQueueHint; +static vs32 Reschedule; + +/* Idle and default stuff */ +static OSThread IdleThread; +static OSThread DefaultThread; +static OSContext IdleContext; + +/* Auto generated by linker. */ +extern u8 _stack_addr[]; +extern u8 _stack_end[]; + +/* Queue initialization */ + +void OSInitMutexQueue(OSMutexQueue* queue); +void OSInitThreadQueue(OSThreadQueue* queue); + +/* Other small utilities */ + +static void OSClearStack(u8 value) { + u32 *sp, *p; + u32 pattern; + + u32 val32 = (u32)value; + pattern = (val32 << 24) | (val32 << 16) | (val32 << 8) | val32; + + sp = (u32*)OSGetStackPointer(); + for (p = __OSCurrentThread->stackEnd + 1; p < sp; ++p) { + *p = pattern; + } +} + +void OSSetCurrentThread(OSThread* thread); + +/* Switch thread callback */ + +static void DefaultSwitchThreadCallback(OSThread* from, OSThread* to) {} +static OSSwitchThreadCallback SwitchThreadCallback = DefaultSwitchThreadCallback; + +OSSwitchThreadCallback OSSetSwitchThreadCallback(OSSwitchThreadCallback callback) { + OSSwitchThreadCallback prev; + BOOL enabled; + + enabled = OSDisableInterrupts(); + prev = SwitchThreadCallback; + + SwitchThreadCallback = callback ? callback : DefaultSwitchThreadCallback; + OSRestoreInterrupts(enabled); + + if (prev == DefaultSwitchThreadCallback) { + return NULL; + } + + return prev; +} + +void __OSThreadInit() { + OSThread* thread = &DefaultThread; + OSPriority prio; + + // Setup default thread + thread->state = OS_THREAD_STATE_RUNNING; + thread->attr = OS_ATTR_DETATCHED; + thread->base = 16; + thread->priority = 16; + thread->suspend = 0; + thread->value = (void*)-1; + thread->mutex = 0; + + // Setup queues + OSInitThreadQueue(&thread->queueJoin); + OSInitMutexQueue(&thread->queueMutex); + + // Setup contexts + __OSFPUContext = &thread->context; + OSClearContext(&thread->context); + OSSetCurrentContext(&thread->context); + + // Setup stack + thread->stackBase = (u8*)&_stack_addr; + thread->stackEnd = (u32*)&_stack_end; + *thread->stackEnd = OS_THREAD_STACK_MAGIC; + OSSetCurrentThread(thread); + OSClearStack(0); + + // Setup run queues + RunQueueBits = 0; + RunQueueHint = FALSE; + for (prio = 0; prio < OS_PRIORITY_MAX + 1; prio++) { + OSInitThreadQueue(&RunQueue[prio]); + } + + // Setup active thread queue + OSInitThreadQueue(&__OSActiveThreadQueue); + ENQUEUE_THREAD(thread, &__OSActiveThreadQueue, linkActive); + + // Setup idle context + OSClearContext(&IdleContext); + + Reschedule = 0; +} + +void OSInitThreadQueue(OSThreadQueue* queue) { + queue->head = queue->tail = NULL; +} + +void OSInitMutexQueue(OSMutexQueue* queue) { + queue->head = queue->tail = NULL; +} + +void OSSetCurrentThread(OSThread* thread) { + SwitchThreadCallback(OSGetCurrentThread(), thread); + __OSCurrentThread = thread; +} + +OSThread* OSGetCurrentThread() { + return __OSCurrentThread; +} + +void __OSSwitchThread(OSThread* thread) { + OSSetCurrentThread(thread); + OSSetCurrentContext(&thread->context); + OSLoadContext(&thread->context); +} + +BOOL OSIsThreadSuspended(OSThread *thread) { + return (IsSuspended(thread->suspend)) ? TRUE : FALSE; +} + +BOOL OSIsThreadTerminated(OSThread* thread) { + return thread->state == OS_THREAD_STATE_MORIBUND || thread->state == OS_THREAD_STATE_EXITED ? TRUE : FALSE; +} + +BOOL __OSIsThreadActive(OSThread* thread) { + OSThread* active; + if (thread->state == OS_THREAD_STATE_EXITED) { + return FALSE; + } + for (active = __OSActiveThreadQueue.head; active; active = active->linkActive.next) { + if (thread == active) { + return TRUE; + } + } + return FALSE; +} + +s32 OSDisableScheduler() { + BOOL enabled; + s32 count; + enabled = OSDisableInterrupts(); + count = Reschedule++; + OSRestoreInterrupts(enabled); + return count; +} + +s32 OSEnableScheduler() { + BOOL enabled; + s32 count; + enabled = OSDisableInterrupts(); + count = Reschedule--; + OSRestoreInterrupts(enabled); + return count; +} + +static void SetRun(OSThread *thread) { + thread->queue = &RunQueue[thread->priority]; + ENQUEUE_THREAD(thread, thread->queue, link); + RunQueueBits |= 1 << (OS_PRIORITY_MAX - thread->priority); + RunQueueHint = TRUE; +} + +static void UnsetRun(OSThread *thread) NO_INLINE { + OSThreadQueue* queue; + queue = thread->queue; + DEQUEUE_THREAD(thread, queue, link); + if (queue->head == NULL) { + RunQueueBits &= ~(1 << (OS_PRIORITY_MAX - thread->priority)); + } + thread->queue = NULL; +} + +OSPriority __OSGetEffectivePriority(OSThread *thread) { + OSPriority priority; + OSMutex* mutex; + OSThread* blocked; + priority = thread->base; + for (mutex = thread->queueMutex.head; mutex; mutex = mutex->link.next) { + blocked = mutex->queue.head; + if (blocked != NULL && blocked->priority < priority) { + priority = blocked->priority; + } + } + return priority; +} + +OSThread* SetEffectivePriority(OSThread *thread, OSPriority priority) { + switch (thread->state) { + case OS_THREAD_STATE_READY: { + UnsetRun(thread); + thread->priority = priority; + SetRun(thread); + + break; + } + case OS_THREAD_STATE_WAITING: { + DEQUEUE_THREAD(thread, thread->queue, link); + thread->priority = priority; + + ENQUEUE_THREAD_PRIO(thread, thread->queue, link); + if (thread->mutex != NULL) { + return thread->mutex->thread; + } + + break; + } + case OS_THREAD_STATE_RUNNING: { + RunQueueHint = TRUE; + thread->priority = priority; + + break; + } + } + + return NULL; +} + +static void UpdatePriority(OSThread* thread) { + OSPriority priority; + do { + if (IsSuspended(thread->suspend)) { + break; + } + priority = __OSGetEffectivePriority(thread); + if (thread->priority == priority) { + break; + } + thread = SetEffectivePriority(thread, priority); + } while (thread); +} + +void __OSPromoteThread(OSThread *thread, OSPriority priority) { + do { + if (IsSuspended(thread->suspend) || thread->priority <= priority) { + break; + } + thread = SetEffectivePriority(thread, priority); + } while (thread); +} + +OSThread* SelectThread(BOOL yield) { + OSContext* currentContext; + + OSThread *currentThread, *nextThread; + + OSPriority priority; + OSThreadQueue* queue; + + if (Reschedule > 0) { + return NULL; + } + + currentContext = OSGetCurrentContext(); + currentThread = OSGetCurrentThread(); + + if (currentContext != ¤tThread->context) { + return NULL; + } + + if (currentThread) { + if (currentThread->state == OS_THREAD_STATE_RUNNING) { + if (yield == FALSE) { + priority = __cntlzw(RunQueueBits); + if (currentThread->priority <= priority) + return NULL; + } + currentThread->state = OS_THREAD_STATE_READY; + SetRun(currentThread); + } + if (!(currentThread->context.state & OS_THREAD_STATE_RUNNING) && OSSaveContext(¤tThread->context) != 0) { + return NULL; + } + } + + if (RunQueueBits == 0) { + OSSetCurrentThread(NULL); + OSSetCurrentContext(&IdleContext); + do { + OSEnableInterrupts(); + while (RunQueueBits == 0) {} + OSDisableInterrupts(); + } while (RunQueueBits == 0); + OSClearContext(&IdleContext); + } + + RunQueueHint = 0; + priority = __cntlzw(RunQueueBits); + + queue = &RunQueue[priority]; + nextThread = queue->head; + + DEQUEUE_HEAD(nextThread, queue, link); + + if (queue->head == NULL) { + RunQueueBits &= ~(1 << (OS_PRIORITY_MAX - priority)); + } + nextThread->queue = NULL; + nextThread->state = OS_THREAD_STATE_RUNNING; + __OSSwitchThread(nextThread); + return nextThread; +} + + +void __OSReschedule() { + if (RunQueueHint) { + SelectThread(FALSE); + } +} + +void OSYieldThread() { + BOOL enabled = OSDisableInterrupts(); + SelectThread(TRUE); + OSRestoreInterrupts(enabled); +} + +BOOL OSCreateThread(OSThread* thread, void* (*ThreadFunc)(void*), void* param, void* stack, u32 stackSize, OSPriority priority, u16 attr) { + BOOL enabled; + u32 sp; + int i; + + if (priority < OS_PRIORITY_MIN || priority > OS_PRIORITY_MAX) { + return FALSE; + } + + thread->state = OS_THREAD_STATE_READY; + thread->attr = attr & OS_ATTR_DETATCHED; + thread->priority = thread->base = priority; + thread->suspend = 1; + thread->value = (void*)-1; + thread->mutex = NULL; + OSInitThreadQueue(&thread->queueJoin); + OSInitMutexQueue(&thread->queueMutex); + + sp = (u32)stack; + sp = ROUNDDOWN(sp, 8); + sp -= 8; + + ((u32*)sp)[0] = 0; + ((u32*)sp)[1] = 0; + + OSInitContext(&thread->context, (u32)ThreadFunc, sp); + + thread->context.lr = (u32)OSExitThread; + thread->context.gpr[3] = (u32)param; + thread->stackBase = stack; + thread->stackEnd = (u32*)((u32)stack - stackSize); + *thread->stackEnd = OS_THREAD_STACK_MAGIC; + thread->error = 0; + for (i = 0; i < OS_THREAD_SPECIFIC_MAX; ++i) { + thread->specific[i] = 0; + } + + enabled = OSDisableInterrupts(); + if (__OSErrorTable[OS_EXCEPTION_FLOATING_POINT_EXCEPTION] != NULL) { + thread->context.srr1 |= (MSR_FE0 | MSR_FE1); + thread->context.state |= OS_THREAD_STATE_READY; + thread->context.fpscr = OS_FPSCR_ENABLE | 4; + + for (i = 0; i < OS_PRIORITY_MAX + 1; ++i) { + *(u64*)&thread->context.fpr[i] = (u64)0xFFFFFFFFFFFFFFFFLL; + *(u64*)&thread->context.psf[i] = (u64)0xFFFFFFFFFFFFFFFFLL; + } + } + + ENQUEUE_THREAD(thread, &__OSActiveThreadQueue, linkActive); + OSRestoreInterrupts(enabled); + + return TRUE; +} + +void OSExitThread(void* val) { + BOOL enabled; + OSThread* currentThread; + + enabled = OSDisableInterrupts(); + currentThread = OSGetCurrentThread(); + OSClearContext(¤tThread->context); + + if (currentThread->attr & OS_ATTR_DETATCHED) { + DEQUEUE_THREAD(currentThread, &__OSActiveThreadQueue, linkActive); + currentThread->state = OS_THREAD_STATE_EXITED; + } + else { + currentThread->state = OS_THREAD_STATE_MORIBUND; + currentThread->value = val; + } + + __OSUnlockAllMutex(currentThread); + OSWakeupThread(¤tThread->queueJoin); + + RunQueueHint = TRUE; + + __OSReschedule(); + OSRestoreInterrupts(enabled); +} + +void OSCancelThread(OSThread* thread) { + BOOL enabled = OSDisableInterrupts(); + + switch (thread->state) { + case OS_THREAD_STATE_READY: { + if (!IsSuspended(thread->suspend)) { + UnsetRun(thread); + } + break; + } + case OS_THREAD_STATE_RUNNING: { + RunQueueHint = TRUE; + break; + } + case OS_THREAD_STATE_WAITING: { + DEQUEUE_THREAD(thread, thread->queue, link); + + thread->queue = NULL; + if (!IsSuspended(thread->suspend) && thread->mutex) { + UpdatePriority(thread->mutex->thread); + } + break; + } + default: { + OSRestoreInterrupts(enabled); + return; + } + } + + OSClearContext(&thread->context); + if (thread->attr & OS_ATTR_DETATCHED) { + DEQUEUE_THREAD(thread, &__OSActiveThreadQueue, linkActive); + thread->state = OS_THREAD_STATE_EXITED; + } + else { + thread->state = OS_THREAD_STATE_MORIBUND; + } + + __OSUnlockAllMutex(thread); + OSWakeupThread(&thread->queueJoin); + __OSReschedule(); + + OSRestoreInterrupts(enabled); +} + +BOOL OSJoinThread(OSThread* thread, void* val) { + BOOL enabled = OSDisableInterrupts(); + + if (!(thread->attr & OS_ATTR_DETATCHED) && thread->state != OS_THREAD_STATE_MORIBUND && thread->queueJoin.head == NULL) { + OSSleepThread(&thread->queueJoin); + if (!__OSIsThreadActive(thread)) { + OSRestoreInterrupts(enabled); + return FALSE; + } + } + + if (((volatile OSThread*)thread)->state == OS_THREAD_STATE_MORIBUND) { + if (val != NULL) { + *(u32*)val = (u32)thread->value; + } + DEQUEUE_THREAD(thread, &__OSActiveThreadQueue, linkActive); + thread->state = OS_THREAD_STATE_EXITED; + OSRestoreInterrupts(enabled); + return TRUE; + } + + OSRestoreInterrupts(enabled); + return FALSE; +} + +void OSDetachThread(OSThread* thread) { + BOOL enabled = OSDisableInterrupts(); + + thread->attr |= OS_ATTR_DETATCHED; + if (thread->state == OS_THREAD_STATE_MORIBUND) { + DEQUEUE_THREAD(thread, &__OSActiveThreadQueue, linkActive); + thread->state = OS_THREAD_STATE_EXITED; + } + + OSWakeupThread(&thread->queueJoin); + OSRestoreInterrupts(enabled); +} + +s32 OSResumeThread(OSThread* thread) { + BOOL enabled; + s32 suspendCount; + + enabled = OSDisableInterrupts(); + + suspendCount = thread->suspend--; + + if (thread->suspend < 0) { + thread->suspend = 0; + } + else if (thread->suspend == 0) { + switch (thread->state) { + case OS_THREAD_STATE_READY: { + thread->priority = __OSGetEffectivePriority(thread); + SetRun(thread); + break; + } + + case OS_THREAD_STATE_WAITING: { + DEQUEUE_THREAD(thread, thread->queue, link); + + thread->priority = __OSGetEffectivePriority(thread); + ENQUEUE_THREAD_PRIO(thread, thread->queue, link); + + if (thread->mutex) { + UpdatePriority(thread->mutex->thread); + } + break; + } + } + + __OSReschedule(); + } + + OSRestoreInterrupts(enabled); + return suspendCount; +} + +s32 OSSuspendThread(OSThread* thread) { + BOOL enabled; + s32 suspendCount; + + enabled = OSDisableInterrupts(); + suspendCount = thread->suspend++; + + if (suspendCount == 0) { + switch (thread->state) { + case OS_THREAD_STATE_RUNNING: { + RunQueueHint = TRUE; + thread->state = OS_THREAD_STATE_READY; + break; + } + + case OS_THREAD_STATE_READY: { + UnsetRun(thread); + break; + } + + case OS_THREAD_STATE_WAITING: { + DEQUEUE_THREAD(thread, thread->queue, link); + thread->priority = OS_PRIORITY_MAX + 1; + ENQUEUE_THREAD(thread, thread->queue, link); + + if (thread->mutex) { + UpdatePriority(thread->mutex->thread); + } + break; + } + } + + __OSReschedule(); + } + + OSRestoreInterrupts(enabled); + + return suspendCount; +} + +void OSSleepThread(OSThreadQueue* queue) { + BOOL enabled; + OSThread* currentThread; + + enabled = OSDisableInterrupts(); + currentThread = OSGetCurrentThread(); + + currentThread->state = OS_THREAD_STATE_WAITING; + currentThread->queue = queue; + ENQUEUE_THREAD_PRIO(currentThread, queue, link); + + RunQueueHint = TRUE; + + __OSReschedule(); + OSRestoreInterrupts(enabled); +} + +void OSWakeupThread(OSThreadQueue* queue) { + BOOL enabled = OSDisableInterrupts(); + + while (queue->head) { + OSThread* thread = queue->head; + DEQUEUE_HEAD(thread, queue, link); + + thread->state = OS_THREAD_STATE_READY; + if (!IsSuspended(thread->suspend)) { + SetRun(thread); + } + } + __OSReschedule(); + OSRestoreInterrupts(enabled); +} + +BOOL OSSetThreadPriority(OSThread* thread, OSPriority priority) { + BOOL enabled; + + if (priority < OS_PRIORITY_MIN || priority > OS_PRIORITY_MAX) { + return FALSE; + } + + enabled = OSDisableInterrupts(); + + if (thread->base != priority) { + thread->base = priority; + UpdatePriority(thread); + __OSReschedule(); + } + + OSRestoreInterrupts(enabled); + + return TRUE; +} + +OSPriority OSGetThreadPriority(OSThread* thread) { + return thread->base; +} + +BOOL CheckThreadQueue(OSThreadQueue* queue) { + OSThread* thread; + if (queue->head != NULL && queue->head->link.prev != NULL) { + return FALSE; + } + if (queue->tail != NULL && queue->tail->link.next != NULL) { + return FALSE; + } + for (thread = queue->head; thread != NULL; thread = thread->link.next) { + if (thread->link.next != NULL && thread != thread->link.next->link.prev) { + return FALSE; + } + if (thread->link.prev != NULL && thread != thread->link.prev->link.next) { + return FALSE; + } + } + return TRUE; +} + +static BOOL IsMember(OSThreadQueue* queue, OSThread* thread) { + OSThread* threadFind; + for (threadFind = queue->head; threadFind; threadFind = threadFind->link.next) { + if (thread == threadFind) { + return TRUE; + } + } + return FALSE; +} + +#define OS_ACTIVE_THREAD_ASSERT(exp, line) { \ + if (!(exp)) { \ + OSReport("OSCheckActiveThreads: Failed "#exp" in %d\n", line); \ + OSHalt("", line); \ + } \ +} + +s32 OSCheckActiveThreads() { + OSThread* thread; + OSPriority prio; + + s32 threadId = 0; + + BOOL enabled = OSDisableInterrupts(); + + for (prio = OS_PRIORITY_MIN; prio <= OS_PRIORITY_MAX; prio++) { + if (RunQueueBits & (1 << (OS_PRIORITY_MAX - prio))) { + OS_ACTIVE_THREAD_ASSERT(RunQueue[prio].head != NULL && RunQueue[prio].tail != NULL, 1513); + } + else { + OS_ACTIVE_THREAD_ASSERT(RunQueue[prio].head == NULL && RunQueue[prio].tail == NULL, 1518); + } + OS_ACTIVE_THREAD_ASSERT(CheckThreadQueue(&RunQueue[prio]), 1520); + } + + OS_ACTIVE_THREAD_ASSERT(__OSActiveThreadQueue.head == NULL || __OSActiveThreadQueue.head->linkActive.prev == NULL, 1525); + OS_ACTIVE_THREAD_ASSERT(__OSActiveThreadQueue.tail == NULL || __OSActiveThreadQueue.tail->linkActive.next == NULL, 1527); + + for (thread = __OSActiveThreadQueue.head; thread != NULL; thread = thread->linkActive.next) { + threadId++; + + OS_ACTIVE_THREAD_ASSERT(thread->linkActive.next == NULL || thread == thread->linkActive.next->linkActive.prev, 1535); + OS_ACTIVE_THREAD_ASSERT(thread->linkActive.prev == NULL || thread == thread->linkActive.prev->linkActive.next, 1537); + + OS_ACTIVE_THREAD_ASSERT(*(thread->stackEnd) == OS_THREAD_STACK_MAGIC, 1540); + + OS_ACTIVE_THREAD_ASSERT(OS_PRIORITY_MIN <= thread->priority && thread->priority <= OS_PRIORITY_MAX+1, 1543); + OS_ACTIVE_THREAD_ASSERT(0 <= thread->suspend, 1544); + OS_ACTIVE_THREAD_ASSERT(CheckThreadQueue(&thread->queueJoin), 1545); + + switch (thread->state) { + case OS_THREAD_STATE_READY: { + if (!IsSuspended(thread->suspend)) { + OS_ACTIVE_THREAD_ASSERT(thread->queue == &RunQueue[thread->priority], 1551); + OS_ACTIVE_THREAD_ASSERT(IsMember(&RunQueue[thread->priority], thread), 1552); + OS_ACTIVE_THREAD_ASSERT(thread->priority == __OSGetEffectivePriority(thread), 1553); + } + break; + } + case OS_THREAD_STATE_RUNNING: { + OS_ACTIVE_THREAD_ASSERT(!IsSuspended(thread->suspend), 1557); + OS_ACTIVE_THREAD_ASSERT(thread->queue == NULL, 1558); + OS_ACTIVE_THREAD_ASSERT(thread->priority == __OSGetEffectivePriority(thread), 1559); + break; + } + case OS_THREAD_STATE_WAITING: { + OS_ACTIVE_THREAD_ASSERT(thread->queue != NULL, 1562); + OS_ACTIVE_THREAD_ASSERT(CheckThreadQueue(thread->queue), 1563); + OS_ACTIVE_THREAD_ASSERT(IsMember(thread->queue, thread), 1564); + if (!IsSuspended(thread->suspend)) { + OS_ACTIVE_THREAD_ASSERT(thread->priority == __OSGetEffectivePriority(thread), 1567); + } + else { + OS_ACTIVE_THREAD_ASSERT(thread->priority == 32, 1571); + } + OS_ACTIVE_THREAD_ASSERT(!__OSCheckDeadLock(thread), 1573); + break; + } + case OS_THREAD_STATE_MORIBUND: { + OS_ACTIVE_THREAD_ASSERT(thread->queueMutex.head == NULL && thread->queueMutex.tail == NULL, 1577); + break; + } + default: { + OSReport("OSCheckActiveThreads: Failed. unkown thread state (%d) of thread %p\n", thread->state, thread); + OSHalt("", 1583); + break; + } + } + + OS_ACTIVE_THREAD_ASSERT(__OSCheckMutexes(thread), 1588); + } + + OSRestoreInterrupts(enabled); + return threadId; +} + +void OSSetThreadSpecific(s32 index, void* ptr) { + OSThread* thread = __OSCurrentThread; + if (thread && 0 <= index && index < OS_THREAD_SPECIFIC_MAX) { + thread->specific[index] = ptr; + } +} + +void* OSGetThreadSpecific(s32 index) { + OSThread* thread = __OSCurrentThread; + if (thread && 0 <= index && index < OS_THREAD_SPECIFIC_MAX) { + return thread->specific[index]; + } + return NULL; +} + +static void SleepAlarmHandler(OSAlarm *alarm, OSContext *context) { + OSResumeThread((OSThread*)OSGetAlarmUserData(alarm)); +} + +void OSSleepTicks(OSTime tick) { + BOOL enabled; + OSThread* current; + OSAlarm sleepAlarm; + + enabled = OSDisableInterrupts(); + current = OSGetCurrentThread(); + + if (current == NULL) { + OSRestoreInterrupts(enabled); + return; + } + + OSCreateAlarm(&sleepAlarm); + OSSetAlarmTag(&sleepAlarm, (u32)current); + OSSetAlarmUserData(&sleepAlarm, (void*)current); + OSSetAlarm(&sleepAlarm, tick, SleepAlarmHandler); + + OSSuspendThread(current); + + OSCancelAlarm(&sleepAlarm); + + OSRestoreInterrupts(enabled); +} + +DECOMP_FORCE_ACTIVE(OSThread_c, IdleThread); // IdleThread is unused but linked anyway. diff --git a/libs/RVL_SDK/src/os/OSTime.c b/libs/RVL_SDK/src/os/OSTime.c new file mode 100644 index 00000000..f7c7e1bd --- /dev/null +++ b/libs/RVL_SDK/src/os/OSTime.c @@ -0,0 +1,176 @@ +#include +#include + +#include + +#define MICROSEC_MAX 1000 +#define MILLISEC_MAX 1000 +#define MONTH_MAX 12 +#define WEEK_DAY_MAX 7 +#define YEAR_DAY_MAX 365 + +#define SECS_IN_MIN 60 +#define SECS_IN_HOUR (SECS_IN_MIN * 60) +#define SECS_IN_DAY (SECS_IN_HOUR * 24) +#define SECS_IN_YEAR (SECS_IN_DAY * 365) + +static int YearDays[MONTH_MAX] = {0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334}; +static int LeapYearDays[MONTH_MAX] = {0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335}; + +asm OSTime OSGetTime() { +#ifdef __MWERKS__ + nofralloc + +loop: + mftbu r3 + mftb r4 + mftbu r5 + + cmpw r3, r5 + bne loop + + blr +#endif // __MWERKS__ +} + +asm OSTick OSGetTick() { +#ifdef __MWERKS__ + nofralloc + + mftb r3 + + blr +#endif // __MWERKS__ +} + +asm static void __SetTime(OSTime time) { +#ifdef __MWERKS__ + nofralloc + + li r5, 0 + mttbl r5 + mttbu r3 + mttbl r4 + + blr +#endif // __MWERKS__ +} + +void __OSSetTime(OSTime time) { + OSTime* systemTime = &__OSSystemTime; + BOOL enabled = OSDisableInterrupts(); + + *systemTime += OSGetTime() - time; + __SetTime(time); + EXIProbeReset(); + OSRestoreInterrupts(enabled); +} + +OSTime __OSGetSystemTime() { + OSTime* systemTime = &__OSSystemTime; + BOOL enabled = OSDisableInterrupts(); + + OSTime result = OSGetTime() + *systemTime; + OSRestoreInterrupts(enabled); + return result; +} + +OSTime __OSTimeToSystemTime(OSTime time) { + OSTime* systemTime = &__OSSystemTime; + BOOL enabled = OSDisableInterrupts(); + + OSTime result = *systemTime + time; + OSRestoreInterrupts(enabled); + return result; +} + +static BOOL IsLeapYear(int year) { + return (year % 4 == 0 && year % 100 != 0) || year % 400 == 0; +} + +static int GetYearDays(int year, int mon) { + int* md = (IsLeapYear(year)) ? LeapYearDays : YearDays; + return md[mon]; +} + +static int GetLeapDays(int year) { + if (year < 1) { + return 0; + } + return (year + 3) / 4 - (year - 1) / 100 + (year - 1) / 400; +} + +static void GetDates(s32 days, OSCalendarTime *pTime) NO_INLINE { + int year, dayCount, month; + int* monthArr; + + pTime->wday = (days + 6) % 7; + + for (year = days / YEAR_DAY_MAX; days < (dayCount = GetLeapDays(year) + YEAR_DAY_MAX * year); --year); + + days -= dayCount; + pTime->year = year; + pTime->yday = days; + + monthArr = IsLeapYear(year) ? LeapYearDays : YearDays; + + for (month = MONTH_MAX; days < monthArr[--month];) {} + + pTime->mon = month; + pTime->mday = days - monthArr[month] + 1; +} + +void OSTicksToCalendarTime(OSTime ticks, OSCalendarTime *pTime) { + int numDays; + int numSecs; + OSTime ticksAfter; + + ticksAfter = ticks % OSSecondsToTicks(1); + + if (ticksAfter < 0) { + ticksAfter += OSSecondsToTicks(1); + } + + pTime->usec = (OSTicksToMicroseconds(ticksAfter) % MICROSEC_MAX); + pTime->msec = (OSTicksToMilliseconds(ticksAfter) % MILLISEC_MAX); + + ticks -= ticksAfter; + + numDays = (OSTicksToSeconds(ticks) / SECS_IN_DAY + 0xB2575); + numSecs = (OSTicksToSeconds(ticks) % SECS_IN_DAY); + + if (numSecs < 0) { + numDays -= 1; + numSecs += SECS_IN_DAY; + } + + GetDates(numDays, pTime); + pTime->hour = numSecs / SECS_IN_MIN / SECS_IN_MIN; + pTime->min = (numSecs / SECS_IN_MIN) % SECS_IN_MIN; + pTime->sec = numSecs % SECS_IN_MIN; +} + +OSTime OSCalendarTimeToTicks(OSCalendarTime* pTime) { + OSTime secs; + int ov_mon; + int mon; + int year; + + ov_mon = pTime->mon / MONTH_MAX; + mon = pTime->mon - (ov_mon * MONTH_MAX); + + if (mon < 0) { + mon += MONTH_MAX; + ov_mon--; + } + + year = pTime->year + ov_mon; + + secs = (OSTime)SECS_IN_YEAR * year + + (OSTime)SECS_IN_DAY * (GetLeapDays(year) + GetYearDays(year, mon) + pTime->mday - 1) + + (OSTime)SECS_IN_HOUR * pTime->hour + + (OSTime)SECS_IN_MIN * pTime->min + + pTime->sec - (OSTime)0xEB1E1BF80; + + return OSSecondsToTicks(secs) + OSMillisecondsToTicks((OSTime)pTime->msec) + OSMicrosecondsToTicks((OSTime)pTime->usec); +} diff --git a/libs/RVL_SDK/src/os/OSUtf.c b/libs/RVL_SDK/src/os/OSUtf.c new file mode 100644 index 00000000..280a5786 --- /dev/null +++ b/libs/RVL_SDK/src/os/OSUtf.c @@ -0,0 +1,144 @@ +#include + +static u16 UcsAnsiTable[32] = { + 0x20AC, 0x0000, 0x201A, 0x0192, 0x201E, 0x2026, + 0x2020, 0x2021, 0x02C6, 0x2030, 0x0160, 0x2039, + 0x0152, 0x0000, 0x017D, 0x0000, 0x0000, 0x2018, + 0x2019, 0x201C, 0x201D, 0x2022, 0x2013, 0x2014, + 0x02DC, 0x2122, 0x0161, 0x203A, 0x0153, 0x0000, + 0x017E, 0x0178, +}; + +char* OSUTF8to32(const char* utf8, u32* utf32) { + u32 u = 0; + u8 c; + unsigned len; + unsigned i; + + c = (u8)*utf8; + if (c != '\0') { + ++utf8; + } + if ((u32)(c & 0x80) == 0) { + u = c; + len = 0; + } + else if ((u32)(c & 0xE0) == 0xC0) { + u = c & 0x1F; + len = 1; + } + else if ((u32)(c & 0xF0) == 0xE0) { + u = c & 0xF; + len = 2; + } + else if ((u32)(c & 0xF8) == 0xF0) { + u = c & 7; + len = 3; + } + else { + return NULL; + } + + for (i = 0; i < len; i++) { + u <<= 6; + c = (u8)*utf8++; + + if ((u32)(c & 0xC0) != 0x80) { + return NULL; + } + u |= (c & 0x3F); + } + + if (u <= 0x7F) { + if (len != 0) { + return NULL; + } + } + else if (u <= 0x7FF) { + if (len != 1) { + return NULL; + } + } + else if (u <= 0xFFFF) { + if (len != 2) { + return NULL; + } + } + + if (u >= 0xD800 && u <= 0xDFFF) { + return NULL; + } + + *utf32 = u; + return (char*)utf8; +} + +u16* OSUTF16to32(const u16* utf16, u32* utf32) { + u16 w1; + u16 w2; + u32 u = 0; + + w1 = *utf16; + if (w1 != 0) { + ++utf16; + } + + if (w1 < 0xD800 || 0xDFFF < w1) { + u = w1; + } + else if (w1 <= 0xDBFF) { + w2 = *utf16++; + + if (0xDC00 <= w2 && w2 <= 0xDFFF) { + u = ((w1 & 0x03FF) << 10) | (w2 & 0x03FF); + u += 0x10000; + } + else { + return NULL; + } + } + else { + return NULL; + } + + *utf32 = u; + return (u16*)utf16; +} + +u8 OSUTF32toANSI(u32 utf32) { + int i; + + if (0xFF < utf32) { + return 0; + } + + if (utf32 < 0x80 || 0x9F < utf32) { + return (u8)utf32; + } + + if (0x0152 <= utf32 && utf32 <= 0x2122) { + for (i = 0; i <= 0x1F; i++) { + if (UcsAnsiTable[i] == utf32) { + return (u8)(0x80 + i); + } + } + } + return 0; +} + +#include + +u16 OSUTF32toSJIS(u32 utf32) { + u16* table; + + if (0x10000 <= utf32) { + return 0; + } + + table = UcsSjisTable[(utf32 >> 8) & 0xFF]; + if (table != 0) { + return table[utf32 & 0xFF]; + } + + return 0; +} diff --git a/libs/RVL_SDK/src/os/__ppc_eabi_init.cpp b/libs/RVL_SDK/src/os/__ppc_eabi_init.cpp index cff88669..21f3625d 100644 --- a/libs/RVL_SDK/src/os/__ppc_eabi_init.cpp +++ b/libs/RVL_SDK/src/os/__ppc_eabi_init.cpp @@ -35,40 +35,40 @@ asm void __init_hardware() { nofralloc // Floating-point on - mfmsr r0 - ori r0, r0, MSR_FP - mtmsr r0 + mfmsr r0 + ori r0, r0, MSR_FP + mtmsr r0 - mflr r31 + mflr r31 - bl __OSPSInit - bl __OSFPRInit - bl __OSCacheInit + bl __OSPSInit + bl __OSFPRInit + bl __OSCacheInit - mtlr r31 + mtlr r31 blr #endif } asm void __flush_cache(void* pAddress, unsigned int size) { #ifdef __MWERKS__ - lis r5, 0xFFFF - ori r5, r5, 0xFFF1 + lis r5, 0xFFFF + ori r5, r5, 0xFFF1 - and r5, r5, r3 + and r5, r5, r3 - subf r3, r5, r3 - add r4, r4, r3 + subf r3, r5, r3 + add r4, r4, r3 loop: - dcbst r0, r5 + dcbst r0, r5 sync - icbi r0, r5 - addic r5, r5, 8 - subic. r4, r4, 8 + icbi r0, r5 + addic r5, r5, 8 + subic. r4, r4, 8 - bge loop + bge loop isync @@ -91,8 +91,6 @@ asm void __init_user() { static void __init_cpp() { VoidPTR *ctor; - - // Static initialization for (ctor = _ctors; *ctor != 0; ctor++) { (*ctor)(); } @@ -100,7 +98,6 @@ static void __init_cpp() { static void __fini_cpp() { VoidPTR *dtor; - for (dtor = _dtors; *dtor != 0; dtor++) { (*dtor)(); } @@ -114,5 +111,3 @@ void exit() { __fini_cpp(); _ExitProcess(); } - - diff --git a/libs/RVL_SDK/src/os/time.dolphin.c b/libs/RVL_SDK/src/os/time.dolphin.c new file mode 100644 index 00000000..59eea920 --- /dev/null +++ b/libs/RVL_SDK/src/os/time.dolphin.c @@ -0,0 +1,14 @@ +#include +#include + +OSTime __get_clock() { + return __OSGetSystemTime(); +} + +u32 __get_time() { + return OSTicksToSeconds(OSGetTime()) - 0x43E83E00; +} + +int __to_gm_time() { + return 0; +} diff --git a/libs/RevoEX/README.md b/libs/RevoEX/README.md index 5dba9f15..6a0f11ac 100644 --- a/libs/RevoEX/README.md +++ b/libs/RevoEX/README.md @@ -1,5 +1,5 @@ -Revolution Extension Decompilation -================================== +Revolution Extension +==================== A decompilation of Revolution Extension (RevoEX) from the Wii Menu. The Wii Menu has the following libraries linked: diff --git a/libs/RevoEX/include/private/nwc24.h b/libs/RevoEX/include/private/nwc24.h new file mode 100644 index 00000000..7f0854bd --- /dev/null +++ b/libs/RevoEX/include/private/nwc24.h @@ -0,0 +1,10 @@ +#ifndef PRIVATE_NWC24_H +#define PRIVATE_NWC24_H + +#include + +#include + +NWC24Err NWC24iPrepareShutdown(); + +#endif // REVOLUTION_NWC24_H diff --git a/libs/RevoEX/include/private/nwc24/NWC24Time.h b/libs/RevoEX/include/private/nwc24/NWC24Time.h new file mode 100644 index 00000000..fb552a48 --- /dev/null +++ b/libs/RevoEX/include/private/nwc24/NWC24Time.h @@ -0,0 +1,10 @@ +#ifndef PRIVATE_NWC24_TIME_H +#define PRIVATE_NWC24_TIME_H + +#include + +#include + +NWC24Err NWC24iSynchronizeRtcCounter(BOOL unk); + +#endif // PRIVATE_NWC24_TIME_H diff --git a/libs/RevoEX/include/revolution/nhttp/nhttp_err.h b/libs/RevoEX/include/revolution/nhttp/nhttp_err.h new file mode 100644 index 00000000..17ff7f38 --- /dev/null +++ b/libs/RevoEX/include/revolution/nhttp/nhttp_err.h @@ -0,0 +1,27 @@ +#ifndef NHTTP_ERROR_H +#define NHTTP_ERROR_H + +typedef enum NHTTPErr { + NHTTP_ERROR_SYSTEM = -1, + NHTTP_ERROR_NONE = 0, + NHTTP_ERROR_ALLOC = 1, + NHTTP_ERROR_TOOMANYREQ = 2, + NHTTP_ERROR_SOCKET = 3, + NHTTP_ERROR_DNS = 4, + NHTTP_ERROR_CONNECT = 5, + NHTTP_ERROR_BUFFULL = 6, + NHTTP_ERROR_HTTPPARSE = 7, + NHTTP_ERROR_CANCELED = 8, + NHTTP_ERROR_REVOLUTIONSDK = 9, + NHTTP_ERROR_REVOLUTIONWIFI = 10, + NHTTP_ERROR_UNKNOWN = 11, + NHTTP_ERROR_DNS_PROXY = 12, + NHTTP_ERROR_CONNECT_PROXY = 13, + NHTTP_ERROR_SSL = 14, + NHTTP_ERROR_BUSY = 15, + NHTTP_ERROR_SSL_ROOTCA = 16, + NHTTP_ERROR_SSL_CLIENTCERT = 17, + NHTTP_ERROR_MAX = 18, +} NHTTPErr; + +#endif // NHTTP_ERROR_H diff --git a/libs/RevoEX/include/revolution/nwc24.h b/libs/RevoEX/include/revolution/nwc24.h index c1272bef..ab0bc068 100644 --- a/libs/RevoEX/include/revolution/nwc24.h +++ b/libs/RevoEX/include/revolution/nwc24.h @@ -3,7 +3,6 @@ #include #include +#include #endif // REVOLUTION_NWC24_H - - diff --git a/libs/RevoEX/include/revolution/nwc24/NWC24MsgBoard.h b/libs/RevoEX/include/revolution/nwc24/NWC24MsgBoard.h index 7e03d35f..bc2ceb5e 100644 --- a/libs/RevoEX/include/revolution/nwc24/NWC24MsgBoard.h +++ b/libs/RevoEX/include/revolution/nwc24/NWC24MsgBoard.h @@ -1,5 +1,5 @@ -#ifndef NWC24_IPL_MSG_BOARD_H -#define NWC24_IPL_MSG_BOARD_H +#ifndef REVOLUTION_NWC24_MSG_BOARD_H +#define REVOLUTION_NWC24_MSG_BOARD_H #include @@ -24,6 +24,8 @@ typedef struct NWC224CHJumpHeader { u64 titleId; // 0x14 } NWC24CHJumpHeader; +#define NWC24_MAX_CHJP_SIZE (NWC24_MAX_CHJP_BLOCKS * 64) + (NWC24_MAX_CHJP_BLOCKS * 8) + typedef struct NWC24CHJumpObj { NWC24CHJumpHeader header; // 0x00 char data[NWC24_MAX_CHJP_SIZE]; // 0x18 @@ -34,6 +36,4 @@ NWC24Err NWC24GetCHJumpTitleId(const NWC24CHJumpObj* chjp, u64* titleId); NWC24Err NWC24GetCHJumpBlockSize(const NWC24CHJumpObj *chjp, u32* size, u32 index); NWC24Err NWC24GetCHJumpBlockData(const NWC24CHJumpObj* chjp, char* data, u32 size, u32 index); -#endif // NWC24_IPL_MSG_BOARD_H - - +#endif // REVOLUTION_NWC24_MSG_BOARD_H diff --git a/libs/RevoEX/include/revolution/nwc24/NWC24Schedule.h b/libs/RevoEX/include/revolution/nwc24/NWC24Schedule.h new file mode 100644 index 00000000..f549ce7e --- /dev/null +++ b/libs/RevoEX/include/revolution/nwc24/NWC24Schedule.h @@ -0,0 +1,10 @@ +#ifndef REVOLUTION_NWC24_SCHEDULE_H +#define REVOLUTION_NWC24_SCHEDULE_H + +#include + +#include + +NWC24Err NWC24SuspendScheduler(); + +#endif // REVOLUTION_NWC24_SCHEDULE_H diff --git a/libs/RevoEX/src/nwc24/NWC24CHJump.c b/libs/RevoEX/src/nwc24/NWC24CHJump.c index df17817f..35f2ad87 100644 --- a/libs/RevoEX/src/nwc24/NWC24CHJump.c +++ b/libs/RevoEX/src/nwc24/NWC24CHJump.c @@ -4,16 +4,21 @@ #include -static u32* NWC24iGetCHJumpTable(const NWC24CHJumpObj* chjp) { +typedef struct ChJumpEntry { + u32 offset; // 0x00 + u32 size; // 0x04 +} ChJumpEntry; + +static inline u32* NWC24iGetCHJumpTable(const NWC24CHJumpObj* chjp) { return ((u32*)(chjp->data)); } -static u32 NWC24iGetCHJumpTableSize(const NWC24CHJumpObj* chjp) { - return 8 * chjp->header.numBlocks + sizeof(NWC24CHJumpHeader); +static inline ChJumpEntry* NWC24iGetCHJumpEntry(const u32* table, u32 idx) { + return (ChJumpEntry*)(table + (idx * (sizeof(ChJumpEntry)/4))); } -static u32* NWC24iGetCHJumpEntry(u32* table, u32 idx) { - return (u32*)(table + 2 * idx); +static inline u32 NWC24iGetCHJumpTableSize(const NWC24CHJumpObj* chjp) { + return (chjp->header.numBlocks * sizeof(ChJumpEntry)) + sizeof(NWC24CHJumpHeader); } NWC24Err NWC24CheckCHJumpObj(const NWC24CHJumpObj* chjp, u32 dataSize) { @@ -38,11 +43,11 @@ NWC24Err NWC24CheckCHJumpObj(const NWC24CHJumpObj* chjp, u32 dataSize) { tableSize = NWC24iGetCHJumpTableSize(chjp); for (i = 0; i < num; i++) { - u32* entry = NWC24iGetCHJumpEntry(table, i); - if (entry[0] < tableSize) { + ChJumpEntry* entry = NWC24iGetCHJumpEntry(table, i); + if (entry->offset < tableSize) { return NWC24_ERR_FORMAT; } - if (entry[0] + entry[1] > chjp->header.totalSize) { + if (entry->offset + entry->size > chjp->header.totalSize) { return NWC24_ERR_FORMAT; } } @@ -57,12 +62,14 @@ NWC24Err NWC24GetCHJumpTitleId(const NWC24CHJumpObj* chjp, u64* titleId) { NWC24Err NWC24GetCHJumpBlockSize(const NWC24CHJumpObj *chjp, u32* size, u32 index) { u32* table = NWC24iGetCHJumpTable(chjp); + ChJumpEntry* entry; if (chjp->header.numBlocks <= index) { return NWC24_ERR_INVALID_VALUE; } - *size = NWC24iGetCHJumpEntry(table, index)[1]; + entry = NWC24iGetCHJumpEntry(table, index); + *size = entry->size; return NWC24_OK; } @@ -76,8 +83,8 @@ NWC24Err NWC24GetCHJumpBlockData(const NWC24CHJumpObj* chjp, char* data, u32 siz return NWC24_ERR_INVALID_VALUE; } - srcData = (char*)(&NWC24iGetCHJumpEntry(table, index)[0]); - srcSize = NWC24iGetCHJumpEntry(table, index)[1]; + srcData = (char*)(NWC24iGetCHJumpEntry(table, index)); + srcSize = NWC24iGetCHJumpEntry(table, index)->size; if (srcSize > size) { return NWC24_ERR_OVERFLOW; @@ -90,5 +97,3 @@ NWC24Err NWC24GetCHJumpBlockData(const NWC24CHJumpObj* chjp, char* data, u32 siz return NWC24_OK; } - - diff --git a/libs/RevoEX/src/vf/pf_clib.c b/libs/RevoEX/src/vf/api/pf_clib.c similarity index 100% rename from libs/RevoEX/src/vf/pf_clib.c rename to libs/RevoEX/src/vf/api/pf_clib.c diff --git a/libs/RevoEX/src/vf/pf_code.c b/libs/RevoEX/src/vf/api/pf_code.c similarity index 100% rename from libs/RevoEX/src/vf/pf_code.c rename to libs/RevoEX/src/vf/api/pf_code.c diff --git a/libs/RevoEX/src/vf/pf_service.c b/libs/RevoEX/src/vf/api/pf_service.c similarity index 100% rename from libs/RevoEX/src/vf/pf_service.c rename to libs/RevoEX/src/vf/api/pf_service.c diff --git a/libs/RevoEX/src/vf/pf_str.c b/libs/RevoEX/src/vf/api/pf_str.c similarity index 99% rename from libs/RevoEX/src/vf/pf_str.c rename to libs/RevoEX/src/vf/api/pf_str.c index 7901e854..f8d487b2 100644 --- a/libs/RevoEX/src/vf/pf_str.c +++ b/libs/RevoEX/src/vf/api/pf_str.c @@ -2,7 +2,7 @@ #include #include -#pragma sym on + void VFiPFSTR_SetCodeMode(PF_STR* p_str, u32 code_mode) { p_str->code_mode = code_mode; } diff --git a/libs/RevoEX/src/vf/pf_w_clib.c b/libs/RevoEX/src/vf/api/pf_w_clib.c similarity index 100% rename from libs/RevoEX/src/vf/pf_w_clib.c rename to libs/RevoEX/src/vf/api/pf_w_clib.c diff --git a/libs/Runtime/README.md b/libs/Runtime/README.md index 220f290c..34ad85d2 100644 --- a/libs/Runtime/README.md +++ b/libs/Runtime/README.md @@ -1,4 +1,4 @@ -MetroWorks Runtime Decompilation -================================ +MetroWorks Runtime +================== A decompilation of the MetroWorks Runtime from the Wii Menu. The version seems to be GC 3.0 alpha 5.2 (4199_60831) diff --git a/libs/Runtime/src/__mem.c b/libs/Runtime/src/__mem.c index 954760f4..47e24f06 100644 --- a/libs/Runtime/src/__mem.c +++ b/libs/Runtime/src/__mem.c @@ -15,7 +15,8 @@ void* memcpy(void* dst, const void* src, size_t count) { for (i = count + 1; --i;) { *++q = *++p; } - } else { + } + else { p = (char*)src + count; q = (char*)dst + count; diff --git a/src/BS2/BS2Init.c b/src/BS2/BS2Init.c index 6e9f7236..30433612 100644 --- a/src/BS2/BS2Init.c +++ b/src/BS2/BS2Init.c @@ -3,9 +3,14 @@ #include #include -#include #include -#include + +#include + +#include + +#include +#include #include @@ -15,6 +20,7 @@ extern u32 __PADFixBits; extern void __OSFPRInit(); static asm void ClearOtherBATs() { +#ifdef __MWERKS__ nofralloc isync @@ -35,50 +41,50 @@ static asm void ClearOtherBATs() { isync blr +#endif // __MWERKS__ } static void SetConsoleInfo() { - OSBootInfo* bi = (OSBootInfo*)OSPhysicalToCached(BS2_BOOTINFO_ADDR); - RVLBootInfo* rvlBi = (RVLBootInfo*)OSPhysicalToCached(BS2_RVL_BOOTINFO_ADDR); + OSBootInfo* bi = (OSBootInfo*)OSPhysicalToCached(OS_ADDR_BOOT_INFO); // Memory bi->arenaLo = NULL; - bi->memorySize = rvlBi->physicalMem1Size; + bi->memorySize = RAMRead32(OSPhysicalToCached(OS_ADDR_PHYSICAL_MEM1_SIZE)); // Console type - bi->consoleType = OS_CONSOLE_RETAIL; - bi->consoleType += PI_REG(0x2C) >> 0x1C; + bi->consoleType = OS_CONSOLE_RETAIL; + bi->consoleType += PI_READ_REG(PI_UNIT_INFO) >> PI_UNIT_INFO_TYPE; - *(u32*)(OS_BASE_CACHED + 0x00F0) = bi->memorySize; + // Simulated memory size + RAMWrite32(OSPhysicalToCached(OS_ADDR_SIMULATED_MEMORY_SIZE), bi->memorySize); - // Main Memory - rvlBi->mem1Start = NULL; - rvlBi->mem1End = NULL; + // MEM1 + RAMWrite32(OSPhysicalToCached(OS_ADDR_AVAILABLE_MEM1_START), NULL); + RAMWrite32(OSPhysicalToCached(OS_ADDR_AVAILABLE_MEM1_END), NULL); // BS2 stuff - rvlBi->bootTarget = 0x80; - rvlBi->devKitVersion = BS2_VERSION; + RAMWrite8(OSPhysicalToCached(OS_ADDR_BOOT_PROGRAM_TARGET), 0x80); + RAMWrite16(OSPhysicalToCached(OS_ADDR_DEV_KIT_VERSION), BS2_VERSION); } void BS2Init() { - memset(OSPhysicalToCached(0x00000000), 0, 0x100); - memset(OSPhysicalToCached(0x00003000), 0, 0x100); + // Clear memorys + memset(OSPhysicalToCached(OS_ADDR_MEMORY_MAP_PART_1), 0, OS_ADDR_MEMORY_MAP_SIZE); + memset(OSPhysicalToCached(OS_ADDR_MEMORY_MAP_PART_2), 0, OS_ADDR_MEMORY_MAP_SIZE); ClearOtherBATs(); SetConsoleInfo(); __PADFixBits = -1; - __OSInIPL = TRUE; // Yes we are in the IPL! + __OSInIPL = TRUE; // Yes, we are in the IPL! __OSFPRInit(); - PPCMtmmcr0(0); - PPCMtmmcr1(0); + PPCMtmmcr0(MMCR0_PMC1_HOLD | MMCR0_PMC2_HOLD); + PPCMtmmcr1(MMCR1_PMC3_HOLD | MMCR1_PMC4_HOLD); PPCMtpmc1(0); PPCMtpmc2(0); PPCMtpmc3(0); PPCMtpmc4(0); } - - diff --git a/src/BS2/BootStart.c b/src/BS2/BootStart.c index 451ef3dc..2ff574aa 100644 --- a/src/BS2/BootStart.c +++ b/src/BS2/BootStart.c @@ -1,18 +1,16 @@ #include +#include +#include +#include + #include <__ppc_eabi_linker.h> #include <__ppc_eabi_init.h> #include -#define EXCEPTION_MASK_ADDR 0x80000044 -#define BI2_ADDR 0x800000F4 -#define BI2_ARGOFFSET 0x0008 -#define ARENAHI_ADDR 0x80000034 - -#ifdef __cplusplus -extern "C" { -#endif +#define ARENA_HI_ADDR (OS_BASE_CACHED + 0x00034) +#define EXCEPTION_MASK_ADDR (OS_BASE_CACHED + 0x00044) extern int main(int argc, char** argv); extern void exit(); @@ -21,8 +19,6 @@ extern void DBInit(); #pragma section code_type ".init" -void __start(); - __declspec(weak) asm void __start() { #ifdef __MWERKS__ nofralloc @@ -47,13 +43,13 @@ __declspec(weak) asm void __start() { stw r0, 0(r6) // Parse BI2 args - lis r6, BI2_ADDR@ha - addi r6, r6, BI2_ADDR@l + lis r6, OS_CACHED_REGION_PREFIX + addi r6, r6, BI2_ADDR lwz r5, 0(r6) cmplwi r5, 0 beq+ bi2_no_args - addi r6, r5, BI2_ARGOFFSET + addi r6, r5, BI2_OFFSET_ARGOFFSET lwz r6, 0(r6) cmplwi r6, 0 beq+ bi2_no_args @@ -74,8 +70,8 @@ loop: stw r7, 0(r6) bdnz loop - lis r5, ARENAHI_ADDR@ha - addi r5, r5, ARENAHI_ADDR@l + lis r5, ARENA_HI_ADDR@ha + addi r5, r5, ARENA_HI_ADDR@l clrrwi r7, r4, 5 stw r7, 0(r5) b bi2_end_arg_parse @@ -163,7 +159,7 @@ void __init_data() { // Copy the sections to their correct addresses rci = _rom_copy_info; - while(1) { + while (TRUE) { if (rci->size == 0) { break; } @@ -173,7 +169,7 @@ void __init_data() { // Reset BSS sections bii = _bss_init_info; - while(1) { + while (TRUE) { if (bii->size == 0) { break; } diff --git a/src/channelScript/CHANSVm.c b/src/channelScript/CHANSVm.c index 441a005f..f327ed09 100644 --- a/src/channelScript/CHANSVm.c +++ b/src/channelScript/CHANSVm.c @@ -35,15 +35,24 @@ void CHANSVmDebugPrintf(const CHANSVmStr format, ...) { /************************/ static void VmStrToU16FromU8(CHANSVmWStr output, CHANSVmStr input, CHANSVmSize length) NO_INLINE { - /* todo */ + CHANSVmInt i; + CHANSVmInt outLength = length << 1; + + for (i = length; i != 0; i--) { + CHANSVmStrCh* outChar = (CHANSVmStrCh*)(output + outLength); + outLength -= 2; + outChar--; *outChar = *--input; + outChar--; *outChar = 0; + + } } /************************/ /* OBJECT DATA */ /************************/ -static inline int VmToStrFromIntCommon(CHANSVmWStr output, CHANSVmSize length, CHANSVmInt64 integer) { - int len = snprintf((CHANSVmStr)output, length, "%lld", integer); +static inline CHANSVmInt VmToStrFromIntCommon(CHANSVmWStr output, CHANSVmSize length, CHANSVmInt64 integer) { + CHANSVmInt len = snprintf((CHANSVmStr)output, length, "%lld", integer); VmStrToU16FromU8(output, (CHANSVmStr)output, len); return len; } @@ -51,7 +60,7 @@ static inline int VmToStrFromIntCommon(CHANSVmWStr output, CHANSVmSize length, C CHANSVmObjHdr* CHANSVmConvertToStrFromInt(CHANSVm*vm, CHANSVmObjType type, CHANSVmObjHdr* object) { CHANSVmObjHdr* newObject = CHANSVmNewObject(vm, 0, NULL, CHANS_VM_OBJ_TYPE_STRING, CHANSVmWStrLength(64)); if (newObject) { - int len = VmToStrFromIntCommon(*newObject->value.wstring_v.str, 64, object->value.int64_v); + CHANSVmInt len = VmToStrFromIntCommon(*newObject->value.wstring_v.str, 64, object->value.int64_v); *newObject->value.wstring_v.len = CHANSVmWStrLength(len); if (*newObject->value.wstring_v.len == 0) { @@ -61,34 +70,34 @@ CHANSVmObjHdr* CHANSVmConvertToStrFromInt(CHANSVm*vm, CHANSVmObjType type, CHANS return newObject; } -static CHANSVmBool VmGetEnumedType(CHANSVmObjType* type, int intType) NO_INLINE { - CHANSVmObjType eType; - switch (intType) { +static CHANSVmBool VmGetEnumedType(CHANSVmObjType* eType, CHANSVmInt iType) NO_INLINE { + CHANSVmObjType type; + switch (iType) { case 0: { - eType = CHANS_VM_OBJ_TYPE_BLANK; + type = CHANS_VM_OBJ_TYPE_BLANK; break; } case 1: { - eType = CHANS_VM_OBJ_TYPE_INTEGER; + type = CHANS_VM_OBJ_TYPE_INTEGER; break; } case 2: { - eType = CHANS_VM_OBJ_TYPE_FLOAT; + type = CHANS_VM_OBJ_TYPE_FLOAT; break; } case 3: { - eType = CHANS_VM_OBJ_TYPE_STRING; + type = CHANS_VM_OBJ_TYPE_STRING; break; } case 4: { - eType = CHANS_VM_TYPE_UNK4; + type = CHANS_VM_TYPE_UNK4; break; } case 6: case 7: case 8: case 9: { - eType = CHANS_VM_TYPE_UNK5; + type = CHANS_VM_TYPE_UNK5; break; } default: { @@ -96,8 +105,8 @@ static CHANSVmBool VmGetEnumedType(CHANSVmObjType* type, int intType) NO_INLINE } } - if (type) { - *type = eType; + if (eType) { + *eType = type; } return CHANSVmTrue; } @@ -105,8 +114,8 @@ static CHANSVmBool VmGetEnumedType(CHANSVmObjType* type, int intType) NO_INLINE CHANSVmErr CHANSVmSetInteger(CHANSVm* vm, CHANSVmObjHdr* object, CHANSVmInt hiVal, CHANSVmInt loVal) { CHANSVmErr ret = CHANSVmDeleteObject(vm, object); if (ret == CHANS_VM_OK) { - object->value.int_v.lo = loVal; object->type = CHANS_VM_OBJ_TYPE_INTEGER; + object->value.int_v.lo = loVal; object->value.int_v.hi = hiVal; } return ret; @@ -127,7 +136,7 @@ CHANSVmErr CHANSVmSetFloat(CHANSVm* vm, CHANSVmObjHdr* object, CHANSVmFloat valu CHANSVmErr CHANSVmSetU16String(CHANSVm* vm, CHANSVmObjHdr* object, CHANSVmWStr str, CHANSVmSize strLen) { CHANSVmErr ret = CHANSVmDeleteObject(vm, object); if (ret == CHANS_VM_OK) { - // Set up object with `CHANSVmNewObject` so t allocates needed memory size for the string. + // Set up object with `CHANSVmNewObject` so it allocates needed memory size for the string. if (CHANSVmNewObject(vm, 0, object, CHANS_VM_OBJ_TYPE_STRING, strLen) == CHANSVmNull) { return CHANS_VM_ERR_SET_STRING; } @@ -142,7 +151,7 @@ CHANSVmErr CHANSVmSetU16String(CHANSVm* vm, CHANSVmObjHdr* object, CHANSVmWStr s CHANSVmErr CHANSVmSetU16StringFromU8(CHANSVm* vm, CHANSVmObjHdr* object, CHANSVmStr str, CHANSVmSize strLen) { CHANSVmErr ret = CHANSVmDeleteObject(vm, object); if (ret == CHANS_VM_OK) { - // Set up object with `CHANSVmNewObject` so t allocates needed memory size for the string. + // Set up object with `CHANSVmNewObject` so it allocates needed memory size for the string. if (CHANSVmNewObject(vm, 0, object, CHANS_VM_OBJ_TYPE_STRING, CHANSVmWStrLength(strLen)) == CHANSVmNull) { return CHANS_VM_ERR_SET_STRING; } diff --git a/src/layout/iplGuiManager.cpp b/src/layout/iplGuiManager.cpp index 667a6f03..1ee3cb0a 100644 --- a/src/layout/iplGuiManager.cpp +++ b/src/layout/iplGuiManager.cpp @@ -20,7 +20,7 @@ namespace ipl { if (System::getFader()->getStatus() == EGG::Fader::STATUS_PREPARE_OUT) { if (con && (!mbDisableCon || !mbDoneUpdateWithCon)) { // Get Projection Area - nw4r::ut::Rect projRect(0.0f ,0.0f, 0.0f, 0.0f); + nw4r::ut::Rect projRect(0.0f, 0.0f, 0.0f, 0.0f); System::getProjectionRect(&projRect); // Get Cursor Position diff --git a/src/layout/iplLayout.cpp b/src/layout/iplLayout.cpp index 6d60393e..ecc5bcb8 100644 --- a/src/layout/iplLayout.cpp +++ b/src/layout/iplLayout.cpp @@ -9,12 +9,11 @@ namespace ipl { namespace layout { enum { - FLAG_NONE = 0, - FLAG_RECURSIVE, - FLAG_PLAY_NOW, // Unused + FLAG_RECURSIVE = 0, + FLAG_UNUSED, }; - Animator::Animator(nw4r::lyt::AnimTransform* animTrans, bool bRecursive, bool bPlayNow) : + Animator::Animator(nw4r::lyt::AnimTransform* animTrans, bool bRecursive, bool bUnused) : mAnimTrans(animTrans) { mFlags = 0; @@ -30,13 +29,13 @@ namespace ipl { maxFrame = animTrans->GetFrameSize() - 1.0f; // Last frame } - utility::FrameController::init(anmType, maxFrame, 0.0); + utility::FrameController::init(anmType, maxFrame, 0.0f); if (bRecursive != FALSE) { - mFlags |= FLAG_RECURSIVE; + mFlags |= (1<BindAnimation(mAnimTrans, mFlags & FLAG_RECURSIVE); + mPane->BindAnimation(mAnimTrans, mFlags & (1<SetAnimationEnable(mAnimTrans, flag, mFlags & FLAG_RECURSIVE); + mPane->SetAnimationEnable(mAnimTrans, flag, mFlags & (1<GetPaneList(); for (nw4r::lyt::PaneLinkList::Iterator it = list.GetBeginIter(); it != list.GetEndIter(); ++it) { - it->mTarget->BindAnimation(mAnimTrans, mFlags & FLAG_RECURSIVE); + it->mTarget->BindAnimation(mAnimTrans, mFlags & (1<GetPaneList(); for (nw4r::lyt::PaneLinkList::Iterator it = list.GetBeginIter(); it != list.GetEndIter(); ++it) { - it->mTarget->SetAnimationEnable(mAnimTrans, flag, mFlags & FLAG_RECURSIVE); + it->mTarget->SetAnimationEnable(mAnimTrans, flag, mFlags & (1<FindPaneByName(paneName), bRecursive, bPlayNow); + PaneAnimator* Object::bind(const char* fileName, const char* paneName, bool bRecursive, bool bUnused) { + return bind_(fileName, mLayout.GetRootPane()->FindPaneByName(paneName), bRecursive, bUnused); } - PaneAnimator* Object::bind_(const char* fileName, nw4r::lyt::Pane* pane, bool bRecursive, bool bPlayNow) { + PaneAnimator* Object::bind_(const char* fileName, nw4r::lyt::Pane* pane, bool bRecursive, bool bUnused) { void* animBuf = mArc.GetResource(0, fileName); PaneAnimator* anim = new(mpHeap, CLASS_HEAP) PaneAnimator(mLayout.CreateAnimTransform(animBuf, &mArc), pane, bRecursive, - bPlayNow); + bUnused); anim->bind(); - anim->setFlag(bPlayNow); + anim->setFlag(bUnused); nw4r::ut::List_Append(&mAnims, anim); @@ -212,30 +211,30 @@ namespace ipl { void Animator::bind() {} - GroupAnimator* Object::bindToGroup(const char* fileName, const char* groupName, bool bRecursive, bool bPlayNow) { + GroupAnimator* Object::bindToGroup(const char* fileName, const char* groupName, bool bRecursive, bool bUnused) { return bind_(fileName, mLayout.GetGroupContainer()->FindGroupByName(groupName), bRecursive, - bPlayNow); + bUnused); } - GroupAnimator* Object::bindToGroup(const char* fileName, nw4r::lyt::Group* group, bool bRecursive, bool bPlayNow) { + GroupAnimator* Object::bindToGroup(const char* fileName, nw4r::lyt::Group* group, bool bRecursive, bool bUnused) { return bind_(fileName, group, bRecursive, - bPlayNow); + bUnused); } - GroupAnimator* Object::bind_(const char* fileName, nw4r::lyt::Group* group, bool bRecursive, bool bPlayNow) { + GroupAnimator* Object::bind_(const char* fileName, nw4r::lyt::Group* group, bool bRecursive, bool bUnused) { void* animBuf = mArc.GetResource(0, fileName); GroupAnimator* anim = new(mpHeap, CLASS_HEAP) GroupAnimator(mLayout.CreateAnimTransform(animBuf, &mArc), group, bRecursive, - bPlayNow); + bUnused); anim->bind(); - anim->setFlag(bPlayNow); + anim->setFlag(bUnused); nw4r::ut::List_Append(&mAnims, anim); diff --git a/src/scene/health/iplHealth.cpp b/src/scene/health/iplHealth.cpp index 9decc49b..ee1c8a18 100644 --- a/src/scene/health/iplHealth.cpp +++ b/src/scene/health/iplHealth.cpp @@ -37,18 +37,14 @@ namespace ipl { #define HAS_SEC2MS(x) (x * 1000) - #define HAS_TIMER_FADE_IN HAS_SEC2MS(1) /* Seconds after fading in */ - #define HAS_TIMER_PRESS_A HAS_SEC2MS(2) /* Seconds until the user can pass through the screen */ - #define HAS_TIMER_NOT_PRESS_A HAS_SEC2MS(60) /* Seconds for the user to do something to pass through the screen */ + #define HAS_TIMER_FADE_IN HAS_SEC2MS(1) /* Seconds after fading in */ + #define HAS_TIMER_PRESS_A HAS_SEC2MS(2) /* Seconds until the user can pass through the screen */ + #define HAS_TIMER_NOT_PRESS_A HAS_SEC2MS(60) /* Seconds for the user to do something to pass through the screen */ - #define HAS_TIMER_SAFE_MODE HAS_SEC2MS(3) /* Seconds the user has to hold the safe mode combo on for */ + #define HAS_TIMER_SAFE_MODE HAS_SEC2MS(3) /* Seconds the user has to hold the safe mode combo on for */ + + #define HAS_PRESS_A_BUTTON (controller::BTN_A | controller::BTN_B) /* Buttons the user can press to goto the main menu */ - #define HAS_PRESS_A_BUTTON (IPL_BUTTON_A | IPL_BUTTON_B) /* Buttons the user can press to goto the main menu */ - - /* Macros for Maintenance mode combo */ - #define HAS_SAFE_COMBO (System::getMasterController()->down(WPAD_BUTTON_PLUS) && System::getMasterController()->down(WPAD_BUTTON_MINUS)) - #define HAS_ONE_OF_SAFE_COMBO (System::getMasterController()->down(WPAD_BUTTON_PLUS) || System::getMasterController()->down(WPAD_BUTTON_MINUS)) - enum { LANG_JPN = 0, LANG_US_ENG, @@ -343,14 +339,16 @@ namespace ipl { void skHealth::check_safe_mode() { // If the user is holding the combo? if (!mbHeldCombo) { - if (HAS_SAFE_COMBO) { + if (System::getMasterController()->down(controller::REVO_BTN_PLUS) + && System::getMasterController()->down(controller::REVO_BTN_MINUS)) { mSafeModeTick = OSGetTick(); mbHeldCombo = true; } } else { // Have they let go of the combo? Restart the timer - if (!System::getMasterController()->down(WPAD_BUTTON_PLUS) || !System::getMasterController()->down(WPAD_BUTTON_MINUS)) { + if (!System::getMasterController()->down(controller::REVO_BTN_PLUS) + || !System::getMasterController()->down(controller::REVO_BTN_MINUS)) { mSafeModeTick = 0; mbHeldCombo = false; } @@ -367,7 +365,8 @@ namespace ipl { BOOL skHealth::finish_safe_mode_check() const { BOOL result = FALSE; - if (!HAS_ONE_OF_SAFE_COMBO || mbDoneSafeMode) { + if (!(System::getMasterController()->down(controller::REVO_BTN_PLUS) + || System::getMasterController()->down(controller::REVO_BTN_MINUS)) || mbDoneSafeMode) { result = TRUE; } diff --git a/src/scene/limitOver/iplLimitOver.cpp b/src/scene/limitOver/iplLimitOver.cpp index 4e86b25c..c520acce 100644 --- a/src/scene/limitOver/iplLimitOver.cpp +++ b/src/scene/limitOver/iplLimitOver.cpp @@ -5,7 +5,7 @@ #include "config.h" -#include +#include #include namespace ipl { @@ -16,7 +16,7 @@ namespace ipl { #define LIMIT_TIMER_PRESS_A LIMIT_SEC2MS(2) /* Seconds until the user can pass through the screen */ #define LIMIT_TIMER_NOT_PRESS_A LIMIT_SEC2MS(60) /* Seconds for the user to do something to pass through the screen */ - #define LIMIT_PRESS_A_BUTTON (IPL_BUTTON_A | IPL_BUTTON_B) /* Buttons the user can press to goto the main menu */ + #define LIMIT_PRESS_A_BUTTON (controller::BTN_A | controller::BTN_B) /* Buttons the user can press to goto the main menu */ enum { LANG_JPN = 0, diff --git a/src/scene/sceneSystem/iplSceneManager.cpp b/src/scene/sceneSystem/iplSceneManager.cpp index 1eac7471..355850b6 100644 --- a/src/scene/sceneSystem/iplSceneManager.cpp +++ b/src/scene/sceneSystem/iplSceneManager.cpp @@ -137,7 +137,8 @@ namespace ipl { BOOL Manager::isResetProcessDone() { if (!mpRootScene) { return TRUE; - } else { + } + else { for (SceneObj::iterator it = SceneObj::iterator(mpRootScene); it.getPtr() != NULL; ++it) { if (it->isResetProcessDone() == FALSE) { return FALSE; diff --git a/src/scene/settingSelect/iplSettingButton.cpp b/src/scene/settingSelect/iplSettingButton.cpp index adb15f64..209dd04b 100644 --- a/src/scene/settingSelect/iplSettingButton.cpp +++ b/src/scene/settingSelect/iplSettingButton.cpp @@ -189,7 +189,7 @@ namespace ipl { break; } case ::gui::EventHandler::ON_TRIG: { - if (controller->downTrg(IPL_BUTTON_A)) { + if (controller->downTrg(controller::BTN_A)) { start_trig_event(paneName); } break; diff --git a/src/system/RIPL_BoardRecord.c b/src/system/RIPL_BoardRecord.c index 05645a38..b3c5e201 100644 --- a/src/system/RIPL_BoardRecord.c +++ b/src/system/RIPL_BoardRecord.c @@ -37,17 +37,15 @@ u8* RBRGetPicture(u32* rbrData, s32* dataSize) { void RBRGetPosRect(f32* left, f32* right, f32* top, f32* bottom) { if (left != NULL) { - *left = -230; + *left = -230.0f; } if (right != NULL) { - *right = 230; + *right = 230.0f; } if (top != NULL) { - *top = 180; + *top = 180; } if (bottom != NULL) { - *bottom = -80; + *bottom = -80.0f; } } - - diff --git a/src/system/iplBS2Manager.cpp b/src/system/iplBS2Manager.cpp index 60ba519f..0e7ac5c6 100644 --- a/src/system/iplBS2Manager.cpp +++ b/src/system/iplBS2Manager.cpp @@ -1,6 +1,8 @@ #include "system/iplBS2Manager.h" #include +#include + #include #include "system/iplSystem.h" @@ -33,7 +35,7 @@ namespace ipl { } int Manager::update() { - if ((unk_0x04 - 9) <= 1) { + if (unk_0x04 == 9 || unk_0x04 == 10) { return unk_0x04; } @@ -125,7 +127,7 @@ namespace ipl { void Manager::getDiskInfo(char** diskID, char** diskMaker) { // Disc info is from BI read by BS2 - OSBootInfo* bi = (OSBootInfo*)OSPhysicalToCached(BS2_BOOTINFO_ADDR); + OSBootInfo* bi = (OSBootInfo*)OSPhysicalToCached(OS_ADDR_BOOT_INFO); if (diskID) *diskID = (char*)bi->DVDDiskID.gameName; if (diskMaker) *diskMaker = (char*)bi->DVDDiskID.company; @@ -230,13 +232,15 @@ namespace ipl { } else if (unk_0x0E) { if (state == BS2_STATE_52 - || state == BS2_STATE_53 - || state == BS2_STATE_55 - || state == BS2_STATE_56 - || state == BS2_STATE_66 - || state == BS2_STATE_67 - || state == BS2_STATE_68 - || (u32)(state - BS2_STATE_57) <= BS2_STATE_2) { + || state == BS2_STATE_53 + || state == BS2_STATE_55 + || state == BS2_STATE_56 + || state == BS2_STATE_66 + || state == BS2_STATE_67 + || state == BS2_STATE_68 + || state == BS2_STATE_57 + || state == BS2_STATE_58 + || state == BS2_STATE_59) { unk_0x0C = false; unk_0x04 = 8; } diff --git a/src/system/iplChannelScriptManager.cpp b/src/system/iplChannelScriptManager.cpp index cbf1c730..b1ca9900 100644 --- a/src/system/iplChannelScriptManager.cpp +++ b/src/system/iplChannelScriptManager.cpp @@ -42,78 +42,24 @@ namespace ipl { CHANSVmInit(&smCSVm, mpChansWork, CHANS_VM_DEFAULT_WORK_SIZE); - BOOL result = INIT_CS_LIB(&smCSVm, system); - if (result == false) { - OSHalt("CHANSVmSystemMenuInit error\n", 101); - } - result = INIT_CS_LIB(&smCSVm, layout); - if (result == false) { - OSHalt("VmLayoutInit error\n", 105); - } - result = INIT_CS_LIB(&smCSVm, pane); - if (result == false) { - OSHalt("VmPaneInit error\n", 109); - } - result = INIT_CS_LIB(&smCSVm, material); - if (result == false) { - OSHalt("VmMaterialInit error\n", 113); - } - result = INIT_CS_LIB(&smCSVm, texture); - if (result == false) { - OSHalt("VmTextureInit error\n", 117); - } - result = INIT_CS_LIB(&smCSVm, savedata); - if (result == false) { - OSHalt("VmSaveDataInit error\n", 121); - } - result = INIT_CS_LIB(&smCSVm, vec3); - if (result == false) { - OSHalt("VmVec3Init error\n", 125); - } - result = INIT_CS_LIB(&smCSVm, mtx34); - if (result == false) { - OSHalt("VmMTX34Init error\n", 129); - } - result = INIT_CS_LIB(&smCSVm, gx); - if (result == false) { - OSHalt("VmGXInit error\n", 133); - } - result = INIT_CS_LIB(&smCSVm, textwriter); - if (result == false) { - OSHalt("VmTextWriterInit error\n", 137); - } - result = INIT_CS_LIB(&smCSVm, font); - if (result == false) { - OSHalt("VmFontInit error\n", 141); - } - result = INIT_CS_LIB(&smCSVm, rect); - if (result == false) { - OSHalt("VmRectInit error\n", 145); - } - result = INIT_CS_LIB(&smCSVm, color); - if (result == false) { - OSHalt("VmColorInit error\n", 149); - } - result = INIT_CS_LIB(&smCSVm, color_s10); - if (result == false) { - OSHalt("VmColorS10Init error\n", 153); - } - result = INIT_CS_LIB(&smCSVm, size); - if (result == false) { - OSHalt("VmSizeInit error\n", 157); - } - result = INIT_CS_LIB(&smCSVm, anim); - if (result == false) { - OSHalt("VmAnimInit error\n", 161); - } - result = INIT_CS_LIB(&smCSVm, sound); - if (result == false) { - OSHalt("VmSoundInit error\n", 165); - } - result = INIT_CS_LIB(&smCSVm, iplimage); - if (result == false) { - OSHalt("VmIplImageInit error\n", 169); - } + OSAssertMsg(INIT_CS_LIB(&smCSVm, system), "CHANSVmSystemMenuInit error\n", 101); + OSAssertMsg(INIT_CS_LIB(&smCSVm, layout), "VmLayoutInit error\n", 105); + OSAssertMsg(INIT_CS_LIB(&smCSVm, pane), "VmPaneInit error\n", 109); + OSAssertMsg(INIT_CS_LIB(&smCSVm, material), "VmMaterialInit error\n", 113); + OSAssertMsg(INIT_CS_LIB(&smCSVm, texture), "VmTextureInit error\n", 117); + OSAssertMsg(INIT_CS_LIB(&smCSVm, savedata), "VmSaveDataInit error\n", 121); + OSAssertMsg(INIT_CS_LIB(&smCSVm, vec3), "VmVec3Init error\n", 125); + OSAssertMsg(INIT_CS_LIB(&smCSVm, mtx34), "VmMTX34Init error\n", 129); + OSAssertMsg(INIT_CS_LIB(&smCSVm, gx), "VmGXInit error\n", 133); + OSAssertMsg(INIT_CS_LIB(&smCSVm, textwriter), "VmTextWriterInit error\n", 137); + OSAssertMsg(INIT_CS_LIB(&smCSVm, font), "VmFontInit error\n", 141); + OSAssertMsg(INIT_CS_LIB(&smCSVm, rect), "VmRectInit error\n", 145); + OSAssertMsg(INIT_CS_LIB(&smCSVm, color), "VmColorInit error\n", 149); + OSAssertMsg(INIT_CS_LIB(&smCSVm, color_s10), "VmColorS10Init error\n", 153); + OSAssertMsg(INIT_CS_LIB(&smCSVm, size), "VmSizeInit error\n", 157); + OSAssertMsg(INIT_CS_LIB(&smCSVm, anim), "VmAnimInit error\n", 161); + OSAssertMsg(INIT_CS_LIB(&smCSVm, sound), "VmSoundInit error\n", 165); + OSAssertMsg(INIT_CS_LIB(&smCSVm, iplimage), "VmIplImageInit error\n", 169); BOOL retResult; if (CHANSVmGetFreeExeSize(&smCSVm) == 0) { diff --git a/src/system/iplDialogWindow.cpp b/src/system/iplDialogWindow.cpp index 2e4b769d..43e40cb5 100644 --- a/src/system/iplDialogWindow.cpp +++ b/src/system/iplDialogWindow.cpp @@ -1,6 +1,7 @@ -#include "system/iplDialogWindow.h" +#include +#include -#include "utility/iplGraphics.h" +#include "system/iplDialogWindow.h" #include "system/iplSystem.h" @@ -8,8 +9,6 @@ #include -#pragma sym on - namespace ipl { /** * BtnB = Button 0 - Button on Btn1, Right button on Btn2, Top button on Btn3 @@ -58,22 +57,14 @@ namespace ipl { ANIM_BTN3_SELECT_BTN_C, }; - enum { - DIALOG_STATE_READY = 0, - DIALOG_STATE_FADE_IN, - DIALOG_STATE_NORMAL, - DIALOG_STATE_SELECT, - DIALOG_STATE_FADE_OUT, - DIALOG_STATE_PAGE_FADE, - DIALOG_STATE_PAGE_FADE_PREPARE, - }; - enum { DIALOG_PAGE_FADE_IN = 0, DIALOG_PAGE_FADE_OUT, DIALOG_PAGE_NORMAL, }; + #define DIALOG_BTN0_PROG_SPEED 2 + DialogWindow::DialogWindow(EGG::Heap* heap) : ::gui::EventHandler(), mState(DIALOG_STATE_READY), @@ -98,86 +89,86 @@ namespace ipl { mpLayoutFile = System::getDlgArc(); // Dialog with no buttons - mDialog[DIALOG_TYPE_BTN0].mpLayout = new(heap, CLASS_HEAP) layout::Object(heap, mpLayoutFile, "arc", "my_DialogWindow_a0.brlyt"); - mDialog[DIALOG_TYPE_BTN0].mpLayout->bindToGroup("my_DialogWindow_a0_DialogIn.brlan", "G_InOut", false); - mDialog[DIALOG_TYPE_BTN0].mpLayout->bindToGroup("my_DialogWindow_a0_DialogOut.brlan", "G_InOut", false, false); - mDialog[DIALOG_TYPE_BTN0].mpLayout->bindToGroup("my_DialogWindow_a0_Wait.brlan", "G_Wait", false, false); - mDialog[DIALOG_TYPE_BTN0].mpLayout->bindToGroup("my_DialogWindow_a0_Progres.brlan", "G_Prog", false); - mDialog[DIALOG_TYPE_BTN0].mpLayout->findPane("Wait_00")->SetVisible(false); - mDialog[DIALOG_TYPE_BTN0].mpLayout->findPane("N_Prog")->SetVisible(false); - mDialog[DIALOG_TYPE_BTN0].mpLayout->finishBinding(); - mDialog[DIALOG_TYPE_BTN0].mpGui = NULL; // No user interaction for progress dialog + mDialog[DIALOG_TYPE_BTN0].gLayout = new(heap, CLASS_HEAP) layout::Object(heap, mpLayoutFile, "arc", "my_DialogWindow_a0.brlyt"); + mDialog[DIALOG_TYPE_BTN0].gLayout->bindToGroup("my_DialogWindow_a0_DialogIn.brlan", "G_InOut", false); + mDialog[DIALOG_TYPE_BTN0].gLayout->bindToGroup("my_DialogWindow_a0_DialogOut.brlan", "G_InOut", false, false); + mDialog[DIALOG_TYPE_BTN0].gLayout->bindToGroup("my_DialogWindow_a0_Wait.brlan", "G_Wait", false, false); + mDialog[DIALOG_TYPE_BTN0].gLayout->bindToGroup("my_DialogWindow_a0_Progres.brlan", "G_Prog", false); + mDialog[DIALOG_TYPE_BTN0].gLayout->findPane("Wait_00")->SetVisible(false); + mDialog[DIALOG_TYPE_BTN0].gLayout->findPane("N_Prog")->SetVisible(false); + mDialog[DIALOG_TYPE_BTN0].gLayout->finishBinding(); + mDialog[DIALOG_TYPE_BTN0].guiMgr = NULL; // No user interaction for progress dialog // Dialog with one button - mDialog[DIALOG_TYPE_BTN1].mpLayout = new(heap, CLASS_HEAP) layout::Object(heap, mpLayoutFile, "arc", "my_DialogWindow_a1.brlyt"); - mDialog[DIALOG_TYPE_BTN1].mpLayout->bindToGroup("my_DialogWindow_a1_DialogIn.brlan", "G_InOut", false); - mDialog[DIALOG_TYPE_BTN1].mpLayout->bindToGroup("my_DialogWindow_a1_DialogOut.brlan", "G_InOut", false, false); - mDialog[DIALOG_TYPE_BTN1].mpLayout->bindToGroup("my_DialogWindow_a1_FocusBtn_on.brlan", "G_FocusBtnB", false, false); - mDialog[DIALOG_TYPE_BTN1].mpLayout->bindToGroup("my_DialogWindow_a1_FocusBtn_off.brlan", "G_FocusBtnB", false, false); - mDialog[DIALOG_TYPE_BTN1].mpLayout->bindToGroup("my_DialogWindow_a1_SelectBtn_Ac.brlan", "G_SelectBtnB", false, false); - mDialog[DIALOG_TYPE_BTN1].mpLayout->finishBinding(); - mDialog[DIALOG_TYPE_BTN1].mpGui = new(heap, CLASS_HEAP) gui::PaneManager(NULL, mDialog[DIALOG_TYPE_BTN1].mpLayout->getDrawInfo(), NULL, allocator); - mDialog[DIALOG_TYPE_BTN1].mpGui->createLayoutScene(*mDialog[DIALOG_TYPE_BTN1].mpLayout->getLayout()); - mDialog[DIALOG_TYPE_BTN1].mpGui->setAllComponentTriggerTarget(false); + mDialog[DIALOG_TYPE_BTN1].gLayout = new(heap, CLASS_HEAP) layout::Object(heap, mpLayoutFile, "arc", "my_DialogWindow_a1.brlyt"); + mDialog[DIALOG_TYPE_BTN1].gLayout->bindToGroup("my_DialogWindow_a1_DialogIn.brlan", "G_InOut", false); + mDialog[DIALOG_TYPE_BTN1].gLayout->bindToGroup("my_DialogWindow_a1_DialogOut.brlan", "G_InOut", false, false); + mDialog[DIALOG_TYPE_BTN1].gLayout->bindToGroup("my_DialogWindow_a1_FocusBtn_on.brlan", "G_FocusBtnB", false, false); + mDialog[DIALOG_TYPE_BTN1].gLayout->bindToGroup("my_DialogWindow_a1_FocusBtn_off.brlan", "G_FocusBtnB", false, false); + mDialog[DIALOG_TYPE_BTN1].gLayout->bindToGroup("my_DialogWindow_a1_SelectBtn_Ac.brlan", "G_SelectBtnB", false, false); + mDialog[DIALOG_TYPE_BTN1].gLayout->finishBinding(); + mDialog[DIALOG_TYPE_BTN1].guiMgr = new(heap, CLASS_HEAP) gui::PaneManager(NULL, mDialog[DIALOG_TYPE_BTN1].gLayout->getDrawInfo(), NULL, allocator); + mDialog[DIALOG_TYPE_BTN1].guiMgr->createLayoutScene(*mDialog[DIALOG_TYPE_BTN1].gLayout->getLayout()); + mDialog[DIALOG_TYPE_BTN1].guiMgr->setAllComponentTriggerTarget(false); for (int i = 0; i <= (BUTTON_ONE_MAX - 1); i++) { - mDialog[DIALOG_TYPE_BTN1].mpGui->setTriggerTarget(mDialog[DIALOG_TYPE_BTN1].mpLayout->findPane(mscBtnName[i]), true); + mDialog[DIALOG_TYPE_BTN1].guiMgr->setTriggerTarget(mDialog[DIALOG_TYPE_BTN1].gLayout->findPane(mscBtnName[i]), true); } // Dialog with two buttons - mDialog[DIALOG_TYPE_BTN2].mpLayout = new(heap, CLASS_HEAP) layout::Object(heap, mpLayoutFile, "arc", "my_DialogWindow_a2.brlyt"); - mDialog[DIALOG_TYPE_BTN2].mpLayout->bindToGroup("my_DialogWindow_a2_DialogIn.brlan", "G_InOut", false); - mDialog[DIALOG_TYPE_BTN2].mpLayout->bindToGroup("my_DialogWindow_a2_DialogOut.brlan", "G_InOut", false, false); - mDialog[DIALOG_TYPE_BTN2].mpLayout->bindToGroup("my_DialogWindow_a2_FocusBtn_on.brlan", "G_FocusBtnB", false, false); - mDialog[DIALOG_TYPE_BTN2].mpLayout->bindToGroup("my_DialogWindow_a2_FocusBtn_off.brlan", "G_FocusBtnB", false, false); - mDialog[DIALOG_TYPE_BTN2].mpLayout->bindToGroup("my_DialogWindow_a2_SelectBtn_Ac.brlan", "G_SelectBtnB", false, false); - mDialog[DIALOG_TYPE_BTN2].mpLayout->bindToGroup("my_DialogWindow_a2_FocusBtn_on.brlan", "G_FocusBtnA", false, false); - mDialog[DIALOG_TYPE_BTN2].mpLayout->bindToGroup("my_DialogWindow_a2_FocusBtn_off.brlan", "G_FocusBtnA", false, false); - mDialog[DIALOG_TYPE_BTN2].mpLayout->bindToGroup("my_DialogWindow_a2_SelectBtn_Ac.brlan", "G_SelectBtnA", false, false); - mDialog[DIALOG_TYPE_BTN2].mpLayout->finishBinding(); - mDialog[DIALOG_TYPE_BTN2].mpGui = new(heap, CLASS_HEAP) gui::PaneManager(NULL, mDialog[DIALOG_TYPE_BTN2].mpLayout->getDrawInfo(), NULL, allocator); - mDialog[DIALOG_TYPE_BTN2].mpGui->createLayoutScene(*mDialog[DIALOG_TYPE_BTN2].mpLayout->getLayout()); - mDialog[DIALOG_TYPE_BTN2].mpGui->setAllComponentTriggerTarget(false); + mDialog[DIALOG_TYPE_BTN2].gLayout = new(heap, CLASS_HEAP) layout::Object(heap, mpLayoutFile, "arc", "my_DialogWindow_a2.brlyt"); + mDialog[DIALOG_TYPE_BTN2].gLayout->bindToGroup("my_DialogWindow_a2_DialogIn.brlan", "G_InOut", false); + mDialog[DIALOG_TYPE_BTN2].gLayout->bindToGroup("my_DialogWindow_a2_DialogOut.brlan", "G_InOut", false, false); + mDialog[DIALOG_TYPE_BTN2].gLayout->bindToGroup("my_DialogWindow_a2_FocusBtn_on.brlan", "G_FocusBtnB", false, false); + mDialog[DIALOG_TYPE_BTN2].gLayout->bindToGroup("my_DialogWindow_a2_FocusBtn_off.brlan", "G_FocusBtnB", false, false); + mDialog[DIALOG_TYPE_BTN2].gLayout->bindToGroup("my_DialogWindow_a2_SelectBtn_Ac.brlan", "G_SelectBtnB", false, false); + mDialog[DIALOG_TYPE_BTN2].gLayout->bindToGroup("my_DialogWindow_a2_FocusBtn_on.brlan", "G_FocusBtnA", false, false); + mDialog[DIALOG_TYPE_BTN2].gLayout->bindToGroup("my_DialogWindow_a2_FocusBtn_off.brlan", "G_FocusBtnA", false, false); + mDialog[DIALOG_TYPE_BTN2].gLayout->bindToGroup("my_DialogWindow_a2_SelectBtn_Ac.brlan", "G_SelectBtnA", false, false); + mDialog[DIALOG_TYPE_BTN2].gLayout->finishBinding(); + mDialog[DIALOG_TYPE_BTN2].guiMgr = new(heap, CLASS_HEAP) gui::PaneManager(NULL, mDialog[DIALOG_TYPE_BTN2].gLayout->getDrawInfo(), NULL, allocator); + mDialog[DIALOG_TYPE_BTN2].guiMgr->createLayoutScene(*mDialog[DIALOG_TYPE_BTN2].gLayout->getLayout()); + mDialog[DIALOG_TYPE_BTN2].guiMgr->setAllComponentTriggerTarget(false); for (int i = 0; i <= (BUTTON_TWO_MAX - 1); i++) { - mDialog[DIALOG_TYPE_BTN2].mpGui->setTriggerTarget(mDialog[DIALOG_TYPE_BTN2].mpLayout->findPane(mscBtnName[i]), true); + mDialog[DIALOG_TYPE_BTN2].guiMgr->setTriggerTarget(mDialog[DIALOG_TYPE_BTN2].gLayout->findPane(mscBtnName[i]), true); } // Dialog with three buttons - mDialog[DIALOG_TYPE_BTN3].mpLayout = new(heap, CLASS_HEAP) layout::Object(heap, mpLayoutFile, "arc", "my_DialogWindow_a3.brlyt"); - mDialog[DIALOG_TYPE_BTN3].mpLayout->bindToGroup("my_DialogWindow_a3_DialogIn.brlan", "G_InOut", false); - mDialog[DIALOG_TYPE_BTN3].mpLayout->bindToGroup("my_DialogWindow_a3_DialogOut.brlan", "G_InOut", false, false); - mDialog[DIALOG_TYPE_BTN3].mpLayout->bindToGroup("my_DialogWindow_a3_FocusBtn_on.brlan", "G_FocusBtnB", false, false); - mDialog[DIALOG_TYPE_BTN3].mpLayout->bindToGroup("my_DialogWindow_a3_FocusBtn_off.brlan", "G_FocusBtnB", false, false); - mDialog[DIALOG_TYPE_BTN3].mpLayout->bindToGroup("my_DialogWindow_a3_SelectBtn_Ac.brlan", "G_SelectBtnB", false, false); - mDialog[DIALOG_TYPE_BTN3].mpLayout->bindToGroup("my_DialogWindow_a3_FocusBtn_on.brlan", "G_FocusBtnA", false, false); - mDialog[DIALOG_TYPE_BTN3].mpLayout->bindToGroup("my_DialogWindow_a3_FocusBtn_off.brlan", "G_FocusBtnA", false, false); - mDialog[DIALOG_TYPE_BTN3].mpLayout->bindToGroup("my_DialogWindow_a3_SelectBtn_Ac.brlan", "G_SelectBtnA", false, false); - mDialog[DIALOG_TYPE_BTN3].mpLayout->bindToGroup("my_DialogWindow_a3_FocusBtn_on.brlan", "G_FocusBtnC", false, false); - mDialog[DIALOG_TYPE_BTN3].mpLayout->bindToGroup("my_DialogWindow_a3_FocusBtn_off.brlan", "G_FocusBtnC", false, false); - mDialog[DIALOG_TYPE_BTN3].mpLayout->bindToGroup("my_DialogWindow_a3_SelectBtn_Ac.brlan", "G_SelectBtnC", false, false); - mDialog[DIALOG_TYPE_BTN3].mpLayout->finishBinding(); - mDialog[DIALOG_TYPE_BTN3].mpGui = new(heap, CLASS_HEAP) gui::PaneManager(NULL, mDialog[DIALOG_TYPE_BTN3].mpLayout->getDrawInfo(), NULL, allocator); - mDialog[DIALOG_TYPE_BTN3].mpGui->createLayoutScene(*mDialog[DIALOG_TYPE_BTN3].mpLayout->getLayout()); - mDialog[DIALOG_TYPE_BTN3].mpGui->setAllComponentTriggerTarget(false); + mDialog[DIALOG_TYPE_BTN3].gLayout = new(heap, CLASS_HEAP) layout::Object(heap, mpLayoutFile, "arc", "my_DialogWindow_a3.brlyt"); + mDialog[DIALOG_TYPE_BTN3].gLayout->bindToGroup("my_DialogWindow_a3_DialogIn.brlan", "G_InOut", false); + mDialog[DIALOG_TYPE_BTN3].gLayout->bindToGroup("my_DialogWindow_a3_DialogOut.brlan", "G_InOut", false, false); + mDialog[DIALOG_TYPE_BTN3].gLayout->bindToGroup("my_DialogWindow_a3_FocusBtn_on.brlan", "G_FocusBtnB", false, false); + mDialog[DIALOG_TYPE_BTN3].gLayout->bindToGroup("my_DialogWindow_a3_FocusBtn_off.brlan", "G_FocusBtnB", false, false); + mDialog[DIALOG_TYPE_BTN3].gLayout->bindToGroup("my_DialogWindow_a3_SelectBtn_Ac.brlan", "G_SelectBtnB", false, false); + mDialog[DIALOG_TYPE_BTN3].gLayout->bindToGroup("my_DialogWindow_a3_FocusBtn_on.brlan", "G_FocusBtnA", false, false); + mDialog[DIALOG_TYPE_BTN3].gLayout->bindToGroup("my_DialogWindow_a3_FocusBtn_off.brlan", "G_FocusBtnA", false, false); + mDialog[DIALOG_TYPE_BTN3].gLayout->bindToGroup("my_DialogWindow_a3_SelectBtn_Ac.brlan", "G_SelectBtnA", false, false); + mDialog[DIALOG_TYPE_BTN3].gLayout->bindToGroup("my_DialogWindow_a3_FocusBtn_on.brlan", "G_FocusBtnC", false, false); + mDialog[DIALOG_TYPE_BTN3].gLayout->bindToGroup("my_DialogWindow_a3_FocusBtn_off.brlan", "G_FocusBtnC", false, false); + mDialog[DIALOG_TYPE_BTN3].gLayout->bindToGroup("my_DialogWindow_a3_SelectBtn_Ac.brlan", "G_SelectBtnC", false, false); + mDialog[DIALOG_TYPE_BTN3].gLayout->finishBinding(); + mDialog[DIALOG_TYPE_BTN3].guiMgr = new(heap, CLASS_HEAP) gui::PaneManager(NULL, mDialog[DIALOG_TYPE_BTN3].gLayout->getDrawInfo(), NULL, allocator); + mDialog[DIALOG_TYPE_BTN3].guiMgr->createLayoutScene(*mDialog[DIALOG_TYPE_BTN3].gLayout->getLayout()); + mDialog[DIALOG_TYPE_BTN3].guiMgr->setAllComponentTriggerTarget(false); for (int i = 0; i <= (BUTTON_THREE_MAX - 1); i++) { - mDialog[DIALOG_TYPE_BTN3].mpGui->setTriggerTarget(mDialog[DIALOG_TYPE_BTN3].mpLayout->findPane(mscBtnName[i]), true); + mDialog[DIALOG_TYPE_BTN3].guiMgr->setTriggerTarget(mDialog[DIALOG_TYPE_BTN3].gLayout->findPane(mscBtnName[i]), true); } // Dialog with two buttons (alternative) - mDialog[DIALOG_TYPE_BTN2B].mpLayout = new(heap, CLASS_HEAP) layout::Object(heap, mpLayoutFile, "arc", "my_DialogWindow_b.brlyt"); - mDialog[DIALOG_TYPE_BTN2B].mpLayout->bindToGroup("my_DialogWindow_b_DialogIn.brlan", "G_InOut", false); - mDialog[DIALOG_TYPE_BTN2B].mpLayout->bindToGroup("my_DialogWindow_b_DialogOut.brlan", "G_InOut", false, false); - mDialog[DIALOG_TYPE_BTN2B].mpLayout->bindToGroup("my_DialogWindow_b_FocusBtn_on.brlan", "G_FocusBtnB", false, false); - mDialog[DIALOG_TYPE_BTN2B].mpLayout->bindToGroup("my_DialogWindow_b_FocusBtn_off.brlan", "G_FocusBtnB", false, false); - mDialog[DIALOG_TYPE_BTN2B].mpLayout->bindToGroup("my_DialogWindow_b_SelectBtn_Ac.brlan", "G_SelectBtnB", false, false); - mDialog[DIALOG_TYPE_BTN2B].mpLayout->bindToGroup("my_DialogWindow_b_FocusBtn_on.brlan", "G_FocusBtnA", false, false); - mDialog[DIALOG_TYPE_BTN2B].mpLayout->bindToGroup("my_DialogWindow_b_FocusBtn_off.brlan", "G_FocusBtnA", false, false); - mDialog[DIALOG_TYPE_BTN2B].mpLayout->bindToGroup("my_DialogWindow_b_SelectBtn_Ac.brlan", "G_SelectBtnA", false, false); - mDialog[DIALOG_TYPE_BTN2B].mpLayout->finishBinding(); - mDialog[DIALOG_TYPE_BTN2B].mpGui = new(heap, CLASS_HEAP) gui::PaneManager(NULL, mDialog[DIALOG_TYPE_BTN2B].mpLayout->getDrawInfo(), NULL, allocator); - mDialog[DIALOG_TYPE_BTN2B].mpGui->createLayoutScene(*mDialog[DIALOG_TYPE_BTN2B].mpLayout->getLayout()); - mDialog[DIALOG_TYPE_BTN2B].mpGui->setAllComponentTriggerTarget(false); + mDialog[DIALOG_TYPE_BTNS2].gLayout = new(heap, CLASS_HEAP) layout::Object(heap, mpLayoutFile, "arc", "my_DialogWindow_b.brlyt"); + mDialog[DIALOG_TYPE_BTNS2].gLayout->bindToGroup("my_DialogWindow_b_DialogIn.brlan", "G_InOut", false); + mDialog[DIALOG_TYPE_BTNS2].gLayout->bindToGroup("my_DialogWindow_b_DialogOut.brlan", "G_InOut", false, false); + mDialog[DIALOG_TYPE_BTNS2].gLayout->bindToGroup("my_DialogWindow_b_FocusBtn_on.brlan", "G_FocusBtnB", false, false); + mDialog[DIALOG_TYPE_BTNS2].gLayout->bindToGroup("my_DialogWindow_b_FocusBtn_off.brlan", "G_FocusBtnB", false, false); + mDialog[DIALOG_TYPE_BTNS2].gLayout->bindToGroup("my_DialogWindow_b_SelectBtn_Ac.brlan", "G_SelectBtnB", false, false); + mDialog[DIALOG_TYPE_BTNS2].gLayout->bindToGroup("my_DialogWindow_b_FocusBtn_on.brlan", "G_FocusBtnA", false, false); + mDialog[DIALOG_TYPE_BTNS2].gLayout->bindToGroup("my_DialogWindow_b_FocusBtn_off.brlan", "G_FocusBtnA", false, false); + mDialog[DIALOG_TYPE_BTNS2].gLayout->bindToGroup("my_DialogWindow_b_SelectBtn_Ac.brlan", "G_SelectBtnA", false, false); + mDialog[DIALOG_TYPE_BTNS2].gLayout->finishBinding(); + mDialog[DIALOG_TYPE_BTNS2].guiMgr = new(heap, CLASS_HEAP) gui::PaneManager(NULL, mDialog[DIALOG_TYPE_BTNS2].gLayout->getDrawInfo(), NULL, allocator); + mDialog[DIALOG_TYPE_BTNS2].guiMgr->createLayoutScene(*mDialog[DIALOG_TYPE_BTNS2].gLayout->getLayout()); + mDialog[DIALOG_TYPE_BTNS2].guiMgr->setAllComponentTriggerTarget(false); for (int i = 0; i <= (BUTTON_TWO_MAX - 1); i++) { - mDialog[DIALOG_TYPE_BTN2B].mpGui->setTriggerTarget(mDialog[DIALOG_TYPE_BTN2B].mpLayout->findPane(mscBtnName[i]), true); + mDialog[DIALOG_TYPE_BTNS2].guiMgr->setTriggerTarget(mDialog[DIALOG_TYPE_BTNS2].gLayout->findPane(mscBtnName[i]), true); } } @@ -186,27 +177,35 @@ namespace ipl { mbBtnHovered[i] = FALSE; } + // Reset result mLastResult = RESULT_NONE; - mWaitTick = 0; - mResult = RESULT_NONE; + mResult = RESULT_NONE; - mbTerminated = false; - mbSwapSound = false; - mbIsProg = false; - mbDoProgBar = false; + // Reset wait tick + mWaitTick = 0; - mProgBarLen = 0; - mProgBarFrame = 0; + // Reset booleans + mbTerminated = false; + mbSwapSound = false; + mbIsProg = false; + mbDoProgBar = false; + + // Reset progress bar + mProgBarLen = 0; + mProgBarFrame = 0; if (mpCurDialog) { - if (mpCurDialog->mpLayout->getAnim(ANIM_FOCUS_BTN_B_ON)) { - mpCurDialog->mpLayout->getAnim(ANIM_FOCUS_BTN_B_ON)->init(); + // Initialize BtnB animator + if (mpCurDialog->gLayout->getAnim(ANIM_FOCUS_BTN_B_ON)) { + mpCurDialog->gLayout->getAnim(ANIM_FOCUS_BTN_B_ON)->init(); } - if (mpCurDialog->mpLayout->getAnim(ANIM_FOCUS_BTN_A_ON)) { - mpCurDialog->mpLayout->getAnim(ANIM_FOCUS_BTN_A_ON)->init(); + // Initialize BtnA animator + if (mpCurDialog->gLayout->getAnim(ANIM_FOCUS_BTN_A_ON)) { + mpCurDialog->gLayout->getAnim(ANIM_FOCUS_BTN_A_ON)->init(); } - if (mpCurDialog->mpGui) { - mpCurDialog->mpGui->init(); + // Initialize GUI (if one available) + if (mpCurDialog->guiMgr) { + mpCurDialog->guiMgr->init(); } } } @@ -239,81 +238,98 @@ namespace ipl { stt_prepare_pagefade(); break; } + default: { + break; + } } if (mpCurDialog) { - mpCurDialog->mpLayout->calc(); + mpCurDialog->gLayout->calc(); } } void DialogWindow::stt_fadein() { - if (!mpCurDialog->mpLayout->getAnim(ANIM_DIALOG_IN)->isPlaying()) { + // Wait for fade in to finish. + if (!mpCurDialog->gLayout->getAnim(ANIM_DIALOG_IN)->isPlaying()) { mState = DIALOG_STATE_NORMAL; } } void DialogWindow::stt_normal() { - // For those with a user interface - if (mpCurDialog->mpGui) { - mpCurDialog->mpGui->update(); + // Update userface interface + if (mpCurDialog->guiMgr) { + mpCurDialog->guiMgr->update(); } + // Did the dialog terminate? if (mbTerminated) { mbNextState = true; mResult = RESULT_TERMINATED; - mpCurDialog->mpLayout->getAnim(ANIM_DIALOG_OUT)->play(); + // Play nice sound (if it was a loading screen) + mpCurDialog->gLayout->getAnim(ANIM_DIALOG_OUT)->play(); if (mbIsProg) { snd::getSystem()->startSE("WIPL_SE_COPY_FINISH"); } mState = DIALOG_STATE_FADE_OUT; + + return; } - else { - if (mDialogType == DIALOG_TYPE_BTN0) { - if (mWaitTimer && ++mWaitTick > mWaitTimer) { + + // For those without a user interface + if (mDialogType == DIALOG_TYPE_BTN0) { + // If the dialog has a timer + if (mWaitTimer != 0 && ++mWaitTick > mWaitTimer) { + mbNextState = true; + + mResult = RESULT_WAIT; + + mpCurDialog->gLayout->getAnim(ANIM_DIALOG_OUT)->play(); + if (mbIsProg) { + snd::getSystem()->startSE("WIPL_SE_COPY_FINISH"); + } + mState = DIALOG_STATE_FADE_OUT; + + return; + } + + // If the dialog has a progress bar + if (mbDoProgBar) { + // Keep frame up with the progress bar length + if (mProgBarFrame < mProgBarLen) { + mProgBarFrame += DIALOG_BTN0_PROG_SPEED; + if (mProgBarFrame > mProgBarLen) { + mProgBarFrame = mProgBarLen; + } + } + + mpCurDialog->gLayout->getAnim(ANIM_BTN0_PRORESS)->initAnmFrame(mProgBarFrame); + + // If the progress bar eventually reaches 100% + if (mProgBarFrame == 100) { mbNextState = true; - mResult = RESULT_WAIT; + mResult = RESULT_PROGRESS; - mpCurDialog->mpLayout->getAnim(ANIM_DIALOG_OUT)->play(); + // Play a nice little sound (if it has a progress bar... which is always true in this case) + mpCurDialog->gLayout->getAnim(ANIM_DIALOG_OUT)->play(); if (mbIsProg) { snd::getSystem()->startSE("WIPL_SE_COPY_FINISH"); } mState = DIALOG_STATE_FADE_OUT; } - else { - if (mbDoProgBar) { - if (mProgBarFrame < mProgBarLen) { - mProgBarFrame += 2; - if (mProgBarFrame > mProgBarLen) { - mProgBarFrame = mProgBarLen; - } - - } - - mpCurDialog->mpLayout->getAnim(ANIM_BTN0_PRORESS)->initAnmFrame(mProgBarFrame); - - if (mProgBarFrame == 100) { - mbNextState = true; - - mResult = RESULT_PROGRESS; - - mpCurDialog->mpLayout->getAnim(ANIM_DIALOG_OUT)->play(); - if (mbIsProg) { - snd::getSystem()->startSE("WIPL_SE_COPY_FINISH"); - } - mState = DIALOG_STATE_FADE_OUT; - } - } - } + return; } + + return; } } void DialogWindow::stt_select() { s16 anim = -1; + // Get select animation if (mDialogType == DIALOG_TYPE_BTN3) { switch (mResult) { case RESULT_TOP_BUTTON: { @@ -343,25 +359,30 @@ namespace ipl { } } - // Play select animation - if (!mpCurDialog->mpLayout->getAnim(anim)->isPlaying()) { - mpCurDialog->mpLayout->getAnim(ANIM_DIALOG_OUT)->play(); + // Wait for select animation + if (!mpCurDialog->gLayout->getAnim(anim)->isPlaying()) { + mpCurDialog->gLayout->getAnim(ANIM_DIALOG_OUT)->play(); mState = DIALOG_STATE_FADE_OUT; } } void DialogWindow::stt_fadeout() { - if (!mpCurDialog->mpLayout->getAnim(ANIM_DIALOG_OUT)->isPlaying()) { + // Wait for fade out animation + if (!mpCurDialog->gLayout->getAnim(ANIM_DIALOG_OUT)->isPlaying()) { + // Set last result mLastResult = mResult; mResult = RESULT_NONE; - if (mpCurDialog->mpGui) { - mpCurDialog->mpGui->setEventHandler(NULL); + // Deinit Dialog + if (mpCurDialog->guiMgr) { + mpCurDialog->guiMgr->setEventHandler(NULL); } mpCurDialog = NULL; + // Ready for next dialog call mState = DIALOG_STATE_READY; + // Reset page mPageCount = -1; mCurPage = 0; } @@ -376,19 +397,21 @@ namespace ipl { } void DialogWindow::stt_prepare_pagefade() { - if (mpCurDialog->mpGui) { - mpCurDialog->mpGui->update(); + // Update GUI + if (mpCurDialog->guiMgr) { + mpCurDialog->guiMgr->update(); } - if (!mpCurDialog->mpLayout->isPlaying(ANIM_SELECT_BTN_B) && !mpCurDialog->mpLayout->isPlaying(ANIM_SELECT_BTN_A)) { + // Wait for select animation to stop + if (!mpCurDialog->gLayout->isPlaying(ANIM_SELECT_BTN_B) && !mpCurDialog->gLayout->isPlaying(ANIM_SELECT_BTN_A)) { if (mResult == RESULT_LEFT_BUTTON) { if (mbBtnHovered[DIALOG_BTN_TYPE_BTN2] != FALSE && mpPages[mCurPage].isTwoBtn) { - mpCurDialog->mpLayout->getAnim(ANIM_FOCUS_BTN_A_ON)->play(); + mpCurDialog->gLayout->getAnim(ANIM_FOCUS_BTN_A_ON)->play(); } } else { if (mbBtnHovered[DIALOG_BTN_TYPE_BTN1] != FALSE) { - mpCurDialog->mpLayout->getAnim(ANIM_FOCUS_BTN_B_ON)->play(); + mpCurDialog->gLayout->getAnim(ANIM_FOCUS_BTN_B_ON)->play(); } } mState = DIALOG_STATE_PAGE_FADE; @@ -396,8 +419,8 @@ namespace ipl { } void DialogWindow::stt_pagefade() { - if (mpCurDialog->mpGui) { - mpCurDialog->mpGui->update(); + if (mpCurDialog->guiMgr) { + mpCurDialog->guiMgr->update(); } switch (mPageState) { @@ -408,14 +431,14 @@ namespace ipl { if (mPageAlpha > 255) { mPageAlpha = 255; } - nw4r::lyt::TextBox* textBox = nw4r::ut::DynamicCast(mpCurDialog->mpLayout->findPane("T_Dialog")); + nw4r::lyt::TextBox* textBox = nw4r::ut::DynamicCast(mpCurDialog->gLayout->findPane("T_Dialog")); textBox->SetAlpha(mPageAlpha); // If the next page has the left button, make it visible (if it was invisible before) if (mpPages[mCurPage].isTwoBtn != mpPages[mPrevPage].isTwoBtn && mpPages[mCurPage].isTwoBtn == true) { - nw4r::lyt::Pane* pBtnA = mpCurDialog->mpLayout->findPane("N_BtnA"); - nw4r::lyt::Pane* pBtnAPic = mpCurDialog->mpLayout->findPane("N_BtnA_Pic"); + nw4r::lyt::Pane* pBtnA = mpCurDialog->gLayout->findPane("N_BtnA"); + nw4r::lyt::Pane* pBtnAPic = mpCurDialog->gLayout->findPane("N_BtnA_Pic"); pBtnA->SetVisible(true); @@ -424,7 +447,7 @@ namespace ipl { // If alpha faded in, init button animations if (mPageAlpha == 255) { mbBtnHovered[DIALOG_BTN_TYPE_BTN2] = FALSE; - mpCurDialog->mpLayout->getAnim(ANIM_FOCUS_BTN_A_ON)->init(); + mpCurDialog->gLayout->getAnim(ANIM_FOCUS_BTN_A_ON)->init(); } } else { @@ -435,14 +458,14 @@ namespace ipl { else { // Has the text changed? Fade in the text to the new one if (mpPages[mCurPage].lBtnMsgId != mpPages[mPrevPage].lBtnMsgId) { - nw4r::lyt::Pane* pPane = mpCurDialog->mpLayout->findPane("T_BtnA"); + nw4r::lyt::Pane* pPane = mpCurDialog->gLayout->findPane("T_BtnA"); pPane->SetAlpha(mPageAlpha); } } // Has the text changed? Fade in the text to the new one if (mpPages[mCurPage].rBtnMsgId != mpPages[mPrevPage].rBtnMsgId) { - nw4r::lyt::Pane* pPane = mpCurDialog->mpLayout->findPane("T_BtnB"); + nw4r::lyt::Pane* pPane = mpCurDialog->gLayout->findPane("T_BtnB"); pPane->SetAlpha(mPageAlpha); } @@ -469,14 +492,14 @@ namespace ipl { if (mPageAlpha < 0) { mPageAlpha = 0; } - nw4r::lyt::TextBox* textBox = nw4r::ut::DynamicCast(mpCurDialog->mpLayout->findPane("T_Dialog")); + nw4r::lyt::TextBox* textBox = nw4r::ut::DynamicCast(mpCurDialog->gLayout->findPane("T_Dialog")); textBox->SetAlpha(mPageAlpha); // If the previous page has no left button, make it invisible (if it was visible before) if (mpPages[mCurPage].isTwoBtn != mpPages[mPrevPage].isTwoBtn && mpPages[mPrevPage].isTwoBtn == true) { - nw4r::lyt::Pane* pBtnA = mpCurDialog->mpLayout->findPane("N_BtnA"); - nw4r::lyt::Pane* pBtnAPic = mpCurDialog->mpLayout->findPane("N_BtnA_Pic"); + nw4r::lyt::Pane* pBtnA = mpCurDialog->gLayout->findPane("N_BtnA"); + nw4r::lyt::Pane* pBtnAPic = mpCurDialog->gLayout->findPane("N_BtnA_Pic"); // The fuck is this? { @@ -493,20 +516,20 @@ namespace ipl { pBtnA->SetVisible(false); mbBtnHovered[DIALOG_BTN_TYPE_BTN2] = FALSE; - mpCurDialog->mpLayout->getAnim(ANIM_FOCUS_BTN_A_ON)->init(); + mpCurDialog->gLayout->getAnim(ANIM_FOCUS_BTN_A_ON)->init(); } } else { // Has the text changed? Fade out the old text if (mpPages[mCurPage].lBtnMsgId != mpPages[mPrevPage].lBtnMsgId) { - nw4r::lyt::Pane* pPane = mpCurDialog->mpLayout->findPane("T_BtnA"); + nw4r::lyt::Pane* pPane = mpCurDialog->gLayout->findPane("T_BtnA"); pPane->SetAlpha(mPageAlpha); } } // Has the text changed? Fade out the old text if (mpPages[mCurPage].rBtnMsgId != mpPages[mPrevPage].rBtnMsgId) { - nw4r::lyt::Pane* pPane = mpCurDialog->mpLayout->findPane("T_BtnB"); + nw4r::lyt::Pane* pPane = mpCurDialog->gLayout->findPane("T_BtnB"); pPane->SetAlpha(mPageAlpha); } @@ -545,14 +568,17 @@ namespace ipl { void DialogWindow::draw() { if (mpCurDialog) { - utility::Graphics::setDefaultOrtho(); - mpCurDialog->mpLayout->draw(); + // Draw layout + layout::Object::setCamera(); + mpCurDialog->gLayout->draw(); + // Draw custom layout for page if (mpCustomLayout) { - const nw4r::math::VEC3 dlgPos = mpCurDialog->mpLayout->findPane("N_Dialog")->GetTranslate(); - const nw4r::math::VEC3 lytPos(dlgPos.x + mCustomLayoutPos.x, dlgPos.y + mCustomLayoutPos.y, dlgPos.z); - mpCustomLayout->getRoot()->SetTranslate(lytPos); - + nw4r::math::VEC3 dlgPos = mpCurDialog->gLayout->findPane("N_Dialog")->GetTranslate(); + dlgPos.x += mCustomLayoutPos.x; + dlgPos.y += mCustomLayoutPos.y; + mpCustomLayout->getRoot()->SetTranslate(dlgPos); + mpCustomLayout->calcMtx(); if (mState != DIALOG_STATE_PAGE_FADE || mPageAlpha != 0) { mpCustomLayout->draw(); @@ -562,8 +588,7 @@ namespace ipl { } void DialogWindow::set_text(const char* pane, const wchar_t* text) { - nw4r::lyt::TextBox* pPane = nw4r::ut::DynamicCast(mpCurDialog->mpLayout->findPane(pane)); - pPane->SetString(text); + mpCurDialog->setString(pane, text); } void DialogWindow::set_message(u32 id) { @@ -607,7 +632,7 @@ namespace ipl { } void DialogWindow::set_dialog_size(const nw4r::lyt::Size& size) { - nw4r::lyt::TextBox* pPane = nw4r::ut::DynamicCast(mpCurDialog->mpLayout->findPane("T_Dialog")); + nw4r::lyt::TextBox* pPane = nw4r::ut::DynamicCast(mpCurDialog->gLayout->findPane("T_Dialog")); pPane->SetFontSize(size); } @@ -624,12 +649,12 @@ namespace ipl { init(); // Prepare GUI events - if (mpCurDialog->mpGui) { - mpCurDialog->mpGui->setEventHandler(this); + if (mpCurDialog->guiMgr) { + mpCurDialog->guiMgr->setEventHandler(this); } // Play fade in - mpCurDialog->mpLayout->getAnim(ANIM_DIALOG_IN)->play(); + mpCurDialog->gLayout->getAnim(ANIM_DIALOG_IN)->play(); mState = DIALOG_STATE_FADE_IN; // For dialog pages @@ -637,7 +662,7 @@ namespace ipl { mpCustomLayout = NULL; // Do we need the shade background? - nw4r::lyt::Pane* pPane = mpCurDialog->mpLayout->findPane("Shade"); + nw4r::lyt::Pane* pPane = mpCurDialog->gLayout->findPane("Shade"); if (pPane) { if (mbNoShade) { pPane->SetVisible(false); @@ -648,7 +673,7 @@ namespace ipl { } // Do we need BtnA? - pPane = mpCurDialog->mpLayout->findPane("N_BtnA"); + pPane = mpCurDialog->gLayout->findPane("N_BtnA"); if (pPane) { if (mbHideBtnA) { pPane->SetVisible(false); @@ -678,16 +703,16 @@ namespace ipl { mbDoProgBar = false; set_message(msgId); - mpCurDialog->mpLayout->findPane("N_Prog")->SetVisible(false); + mpCurDialog->gLayout->findPane("N_Prog")->SetVisible(false); if (mbIsProg) { - mpCurDialog->mpLayout->findPane("Wait_00")->SetVisible(true); - mpCurDialog->mpLayout->getAnim(ANIM_BTN0_WAIT)->play(); + mpCurDialog->gLayout->findPane("Wait_00")->SetVisible(true); + mpCurDialog->gLayout->getAnim(ANIM_BTN0_WAIT)->play(); snd::getSystem()->startSE("WIPL_SE_COPYING"); } else { - mpCurDialog->mpLayout->findPane("Wait_00")->SetVisible(false); + mpCurDialog->gLayout->findPane("Wait_00")->SetVisible(false); snd::getSystem()->startSE("WIPL_SE_INFO_WINDOW"); } @@ -710,16 +735,16 @@ namespace ipl { set_message(msgId); - mpCurDialog->mpLayout->findPane("N_Prog")->SetVisible(false); + mpCurDialog->gLayout->findPane("N_Prog")->SetVisible(false); if (mbIsProg) { - mpCurDialog->mpLayout->findPane("Wait_00")->SetVisible(true); - mpCurDialog->mpLayout->getAnim(ANIM_BTN0_WAIT)->play(); + mpCurDialog->gLayout->findPane("Wait_00")->SetVisible(true); + mpCurDialog->gLayout->getAnim(ANIM_BTN0_WAIT)->play(); snd::getSystem()->startSE("WIPL_SE_COPYING"); } else { - mpCurDialog->mpLayout->findPane("Wait_00")->SetVisible(false); + mpCurDialog->gLayout->findPane("Wait_00")->SetVisible(false); snd::getSystem()->startSE("WIPL_SE_INFO_WINDOW"); } @@ -872,7 +897,7 @@ namespace ipl { return result; } - BOOL DialogWindow::callBtn2(Page* pages, int pageCount, int fadeDelay) { + BOOL DialogWindow::callBtn2Multi(Page* pages, int pageCount, int fadeDelay) { BOOL result = FALSE; if (!pages[0].isTwoBtn) { @@ -954,10 +979,10 @@ namespace ipl { BOOL DialogWindow::callSBtn2(u32 msgId, u32 rBtnId, u32 lBtnId, bool bSwapSound) { BOOL result = FALSE; - if (call(DIALOG_TYPE_BTN2B)) { + if (call(DIALOG_TYPE_BTNS2)) { mbSwapSound = bSwapSound; - mpCurDialog->mpLayout->findPane("N_Top")->SetVisible(true); + mpCurDialog->gLayout->findPane("N_Top")->SetVisible(true); set_message(msgId); set_rbtn_text(rBtnId); @@ -974,10 +999,10 @@ namespace ipl { BOOL DialogWindow::callS2Btn2(u32 rBtnId, u32 lBtnId, bool bSwapSound) { BOOL result = FALSE; - if (call(DIALOG_TYPE_BTN2B)) { + if (call(DIALOG_TYPE_BTNS2)) { mbSwapSound = bSwapSound; - mpCurDialog->mpLayout->findPane("N_Top")->SetVisible(false); + mpCurDialog->gLayout->findPane("N_Top")->SetVisible(false); set_rbtn_text(rBtnId); set_lbtn_text(lBtnId); @@ -1004,13 +1029,13 @@ namespace ipl { set_message(msgId); - mpCurDialog->mpLayout->findPane("N_Prog")->SetVisible(true); - mpCurDialog->mpLayout->findPane("Wait_00")->SetVisible(true); + mpCurDialog->gLayout->findPane("N_Prog")->SetVisible(true); + mpCurDialog->gLayout->findPane("Wait_00")->SetVisible(true); // Play waiting icon - mpCurDialog->mpLayout->getAnim(ANIM_BTN0_WAIT)->play(); + mpCurDialog->gLayout->getAnim(ANIM_BTN0_WAIT)->play(); // Prepare progress bar - mpCurDialog->mpLayout->getAnim(ANIM_BTN0_PRORESS)->init(); + mpCurDialog->gLayout->getAnim(ANIM_BTN0_PRORESS)->init(); snd::getSystem()->startSE("WIPL_SE_COPYING"); @@ -1035,13 +1060,13 @@ namespace ipl { set_text("T_Dialog", msg); - mpCurDialog->mpLayout->findPane("N_Prog")->SetVisible(true); - mpCurDialog->mpLayout->findPane("Wait_00")->SetVisible(true); + mpCurDialog->gLayout->findPane("N_Prog")->SetVisible(true); + mpCurDialog->gLayout->findPane("Wait_00")->SetVisible(true); // Play waiting icon - mpCurDialog->mpLayout->getAnim(ANIM_BTN0_WAIT)->play(); + mpCurDialog->gLayout->getAnim(ANIM_BTN0_WAIT)->play(); // Prepare progress bar - mpCurDialog->mpLayout->getAnim(ANIM_BTN0_PRORESS)->init(); + mpCurDialog->gLayout->getAnim(ANIM_BTN0_PRORESS)->init(); snd::getSystem()->startSE("WIPL_SE_COPYING"); @@ -1053,11 +1078,12 @@ namespace ipl { void DialogWindow::start_point_event(const char* paneName, controller::Interface* controller) { int btnNo = get_button_no(paneName); - if ((u32)(mState - DIALOG_STATE_PAGE_FADE) > 1 + if (!(mState == DIALOG_STATE_PAGE_FADE || mState == DIALOG_STATE_PAGE_FADE_PREPARE) || (btnNo != DIALOG_BTN_TYPE_BTN2 || mpPages[mCurPage].isTwoBtn == mpPages[mPrevPage].isTwoBtn)) { if (btnNo != -1 && mbBtnHovered[btnNo] == FALSE) { int animIdx = -1; + // Get focus animation if (mDialogType == DIALOG_TYPE_BTN3) { switch (btnNo) { case DIALOG_BTN_TYPE_BTN2: { @@ -1089,11 +1115,13 @@ namespace ipl { snd::getSystem()->startSE("WIPL_SE_BT_TARGETTING"); + // Rumble controller if (controller) { controller->rumble(); } - mpCurDialog->mpLayout->getAnim(animIdx)->play(); + // Play focus animation + mpCurDialog->gLayout->getAnim(animIdx)->play(); } mbBtnHovered[btnNo]++; @@ -1102,11 +1130,12 @@ namespace ipl { void DialogWindow::start_left_event(const char* paneName) { int btnNo = get_button_no(paneName); - if ((u32)(mState - DIALOG_STATE_PAGE_FADE) > 1 + if (!(mState == DIALOG_STATE_PAGE_FADE || mState == DIALOG_STATE_PAGE_FADE_PREPARE) || (btnNo != DIALOG_BTN_TYPE_BTN2 || mpPages[mCurPage].isTwoBtn == mpPages[mPrevPage].isTwoBtn)) { if (btnNo != -1 && mbBtnHovered[btnNo] == TRUE) { int animIdx = -1; + // Get unfocus animation if (mDialogType == DIALOG_TYPE_BTN3) { switch (btnNo) { case DIALOG_BTN_TYPE_BTN2: { @@ -1136,7 +1165,8 @@ namespace ipl { } } - mpCurDialog->mpLayout->getAnim(animIdx)->play(); + // Play unfocus animation + mpCurDialog->gLayout->getAnim(animIdx)->play(); } if (mbBtnHovered[btnNo] > 0) { @@ -1147,9 +1177,10 @@ namespace ipl { void DialogWindow::start_trig_event(const char* paneName) { int btnNo; - if (mState != DIALOG_STATE_PAGE_FADE && (btnNo = get_button_no(paneName), btnNo != -1)) { + if (!(mState == DIALOG_STATE_PAGE_FADE) && (btnNo = get_button_no(paneName), btnNo != -1)) { int animIdx = -1; + // Get select animation if (mDialogType == DIALOG_TYPE_BTN3) { switch (btnNo) { case DIALOG_BTN_TYPE_BTN2: { @@ -1203,8 +1234,10 @@ namespace ipl { } } - mpCurDialog->mpLayout->getAnim(animIdx)->play(); + // Play select animation + mpCurDialog->gLayout->getAnim(animIdx)->play(); + // Change page if (mPageCount > 0) { if (mpPages[mPrevPage].isLytAnim && mpPages[mPrevPage].layoutObj) { mpPages[mPrevPage].layoutObj->getAnim(0)->stop(); @@ -1244,16 +1277,19 @@ namespace ipl { controller::Interface* con = reinterpret_cast(data); switch (event) { + // Pointer on button case ::gui::EventHandler::ON_POINT: { start_point_event(paneName, con); break; } + // Pointer not on button anymore case ::gui::EventHandler::ON_LEFT: { start_left_event(paneName); break; } + // Pointer click on button case ::gui::EventHandler::ON_TRIG: { - if (mState == DIALOG_STATE_NORMAL && con->downTrg(IPL_BUTTON_A)) { + if (mState == DIALOG_STATE_NORMAL && con->downTrg(controller::BTN_A)) { start_trig_event(paneName); } break; diff --git a/src/system/iplErrorHandler.cpp b/src/system/iplErrorHandler.cpp index 8a16eae3..60690112 100644 --- a/src/system/iplErrorHandler.cpp +++ b/src/system/iplErrorHandler.cpp @@ -9,8 +9,6 @@ #include "system/rvl_dec.h" #include "system/iplSystem.h" -#include "utility/iplGraphics.h" - /** These declarations are auto generated **/ extern u8 fatalDlg_ash[]; @@ -141,7 +139,7 @@ namespace ipl { void ErrorHandler::draw() { if (mbReady == TRUE) { - utility::Graphics::setDefaultOrtho(); + layout::Object::setCamera(); mpLayout->draw(); } } diff --git a/src/system/iplNand.cpp b/src/system/iplNand.cpp index 6e113f66..74e5542b 100644 --- a/src/system/iplNand.cpp +++ b/src/system/iplNand.cpp @@ -9,7 +9,7 @@ #include "utility/iplUtility.h" #include -#include +#include #include @@ -18,9 +18,6 @@ #define STANDARD_SIZE sizeof(MD5Head) #define EXT_SIZE sizeof(MD5Head) + 0x20 -#define CHECK_MAGIC3(b, c0, c1, c2) (b[0] == c0 && b[1] == c1 && b[2] == c2) -#define CHECK_MAGIC4(b, c0, c1, c2, c3) (b[0] == c0 && b[1] == c1 && b[2] == c2 && b[3] == c3) - namespace ipl { namespace nand { Base::Base() {} @@ -41,9 +38,9 @@ namespace ipl { mbFatalError(false), mbIsFullForTask(false), mbIsNandFile(bIsInNand) { - strncpy(msFileName, fileName, NAND_MAX_PATH + 1); + strncpy(msFileName, fileName, NAND_MAX_PATH+1); if (nandFileName) { - strncpy(msNandFileName, nandFileName, NAND_MAX_PATH + 1); + strncpy(msNandFileName, nandFileName, NAND_MAX_PATH+1); } memset(&mNandFile, 0, sizeof(NANDFileInfo)); } @@ -63,7 +60,7 @@ namespace ipl { mbFatalError(false), mbIsFullForTask(false), mbIsNandFile(TRUE) { - strncpy(msFileName, fileName, NAND_MAX_PATH + 1); + strncpy(msFileName, fileName, NAND_MAX_PATH+1); mpCmpBuffer = new(mpHeap, -BUFFER_HEAP) u8[mFileLength]; memcpy(mpCmpBuffer, mpBuffer, mFileLength); @@ -135,13 +132,13 @@ namespace ipl { arcOffset = ARCGetStartOffset(&mArcFile); result = ES_SeekContentFile(System::getNandManager()->getDescriptor(), mFileOffset + arcOffset + offset, NAND_SEEK_BEG); - if (result < 0) { + if (result < ES_ERR_OK) { System::err_log("ES", result, 229); System::err_display(MESG_ERR_FILE); } result = ES_ReadContentFile(System::getNandManager()->getDescriptor(), buffer, length); - if (result < 0) { + if (result < ES_ERR_OK) { System::err_log("ES", result, 237); System::err_display(MESG_ERR_FILE); } @@ -153,13 +150,13 @@ namespace ipl { if (stricmp(&msFileName[strlen(msFileName) - 4], ".lz7") == 0) { // Check file extension return CXGetUncompressedSize(buffer); } - else if (buffer[0] == 'Y') { // See if it is Yaz0 by checking if the first letter is 'Y' + else if (buffer[0] == 'Y') { // Is Yaz0? (.szs; horrible way to check) return Rvl_decode_szs_size(buffer); } - else if (buffer[0] == 'L') { // See if it is LZ77 by checking if the first letter is 'L' + else if (buffer[0] == 'L') { // Is LZ77? (horrible way to check) return CXGetUncompressedSize(&buffer[4]); } - else { // Otherwise, decompress it with Rvl_decode + else { // Otherwise, it's an ASH file. return Rvl_decode_ash_size(buffer); } } @@ -184,7 +181,7 @@ namespace ipl { } BOOL File::isSliCompressed(const u8* buffer) { - return CHECK_MAGIC3(buffer, 'Y', 'a', 'z'); + return NAND_CHECK_MAGIC3(buffer, 'Y','a','z'); } /* @@ -194,11 +191,11 @@ namespace ipl { */ BOOL File::isAsrCompressed(const u8* buffer) { - return CHECK_MAGIC3(buffer, 'A','S','H'); + return NAND_CHECK_MAGIC3(buffer, 'A','S','H'); } BOOL File::isAshCompressed(const u8* buffer) { - return CHECK_MAGIC3(buffer, 'A','S','R'); + return NAND_CHECK_MAGIC3(buffer, 'A','S','R'); } BOOL File::isLz7Compressed(const u8* buffer) { @@ -209,7 +206,7 @@ namespace ipl { // Check the magic else { BOOL result = FALSE; - if (CHECK_MAGIC4(buffer, 'L','Z','7','7')) { + if (NAND_CHECK_MAGIC4(buffer, 'L','Z','7','7')) { result = TRUE; } return result; @@ -263,7 +260,7 @@ namespace ipl { u32 fileLen, fileOff = 0; // Check if the header is an MD5 file. - if (CHECK_MAGIC4(md5Head->sig, 'I','M','D','5')) { + if (NAND_CHECK_MAGIC4(md5Head->sig, 'I','M','D','5')) { fileLen = md5Head->length; bHasMd5 = true; @@ -369,26 +366,26 @@ namespace ipl { } LangFile::LangFile(EGG::Heap* heap, const char* dirName, const char* fileName, ARCHandle* arc, bool bIsNandFile) { - char fullName[NAND_MAX_PATH + 1]; + char fullName[NAND_MAX_PATH+1]; mpCommonFile = NULL; mpLangFile = NULL; // Open the "common" file. - strncpy(fullName, dirName, NAND_MAX_PATH + 1); - strncat(fullName, "/common/", (NAND_MAX_PATH + 1) - strlen(fullName)); - strncat(fullName, fileName, (NAND_MAX_PATH + 1) - strlen(fullName)); + strncpy(fullName, dirName, NAND_MAX_PATH+1); + strncat(fullName, "/common/", (NAND_MAX_PATH+1) - strlen(fullName)); + strncat(fullName, fileName, (NAND_MAX_PATH+1) - strlen(fullName)); mpCommonFile = new(heap, CLASS_HEAP) File(heap, fullName, arc, NULL, 0, 0, bIsNandFile); char* langPath = utility::Language::getPath(); // Open the language exclusive file - strncpy(fullName, dirName, NAND_MAX_PATH + 1); - strncat(fullName, "/", (NAND_MAX_PATH + 1) - strlen(fullName)); - strncat(fullName, langPath, (NAND_MAX_PATH + 1) - strlen(fullName)); - strncat(fullName, "/", (NAND_MAX_PATH + 1) - strlen(fullName)); - strncat(fullName, fileName, (NAND_MAX_PATH + 1) - strlen(fullName)); + strncpy(fullName, dirName, NAND_MAX_PATH+1); + strncat(fullName, "/", (NAND_MAX_PATH+1) - strlen(fullName)); + strncat(fullName, langPath, (NAND_MAX_PATH+1) - strlen(fullName)); + strncat(fullName, "/", (NAND_MAX_PATH+1) - strlen(fullName)); + strncat(fullName, fileName, (NAND_MAX_PATH+1) - strlen(fullName)); mpLangFile = new(heap, CLASS_HEAP) File(heap, fullName, arc, NULL, 0, 0, bIsNandFile); } diff --git a/src/system/iplNandManager.cpp b/src/system/iplNandManager.cpp index 106c2e36..f56a84c7 100644 --- a/src/system/iplNandManager.cpp +++ b/src/system/iplNandManager.cpp @@ -7,9 +7,16 @@ #include +#ifdef STAND_ALONE_BUILD +#include "utility/iplESMisc.h" +#endif // STAND_ALONE_BUILD + namespace ipl { namespace nand { + static ESTicketView* spSysMenuTik = NULL; Manager::Manager(EGG::Heap* heap) { + s32 ret; + mDescriptor = -1; mpFSTBuffer = NULL; @@ -23,11 +30,20 @@ namespace ipl { ES_SetUid(SYSMENU_TITLE_ID); - s32 ret; - // Open content archive +#ifdef STAND_ALONE_BUILD + spSysMenuTik = (ESTicketView*)System::getMem2Sys()->alloc(OSRoundUp32B(sizeof(ESTicketView)), -BUFFER_HEAP); + ret = utility::ESMisc::GetTicketView(System::getMem2Sys(), SYSMENU_TITLE_ID, spSysMenuTik, 0); + if (ret < ES_ERR_OK) { + System::err_log("ES", mDescriptor, 0xBAD); + System::err_display(MESG_ERR_FILE); + } + + mDescriptor = ES_OpenTitleContentFile(SYSMENU_TITLE_ID, spSysMenuTik, SYSMENU_CONTENT_ID); +#else mDescriptor = ES_OpenContentFile(SYSMENU_CONTENT_ID); - if (mDescriptor < 0) { +#endif // STAND_ALONE_BUILD + if (mDescriptor < ES_ERR_OK) { System::err_log("ES", mDescriptor, 43); System::err_display(MESG_ERR_FILE); } @@ -40,12 +56,10 @@ namespace ipl { System::err_display(MESG_ERR_FILE); } - // @BUG Should allocate buffer with fstSize instead of fileStart u32 bufSize = OSRoundUp32B(header.fileStart); mpFSTBuffer = new(BUFFER_HEAP) u8[bufSize]; // Seek to file system table offset - // @BUG Should seek to fstStart instead of the beginning ret = ES_SeekContentFile(mDescriptor, 0, NAND_SEEK_BEG); if (ret < ES_ERR_OK) { System::err_log("ES", ret, 66); @@ -67,6 +81,9 @@ namespace ipl { void Manager::openContentsAll() {} void Manager::closeContentsAll() { +#ifdef STAND_ALONE_BUILD + System::getMem2Sys()->free(spSysMenuTik); +#endif s32 ret = ES_CloseContentFile(mDescriptor); if (ret != ES_ERR_OK) { System::err_log("ES", ret, 102); @@ -76,7 +93,7 @@ namespace ipl { } File* Manager::readAsync(EGG::Heap* heap, const char* fileName, int offset, u32 length, bool bJamRequest) { - char fullName[NAND_MAX_PATH + 1]; + char fullName[NAND_MAX_PATH+1]; // Set up path strncpy(fullName, mNandPath, sizeof(mNandPath)); @@ -95,7 +112,7 @@ namespace ipl { } File* Manager::read(EGG::Heap* heap, const char* fileName, int offset, u32 length, bool bJamRequest) { - char fullName[NAND_MAX_PATH + 1]; + char fullName[NAND_MAX_PATH+1]; // Set up path strncpy(fullName, mNandPath, sizeof(mNandPath)); @@ -155,7 +172,7 @@ namespace ipl { } LayoutFile* Manager::readLayout_(EGG::Heap* heap, const char* fileName, ARCHandle* arc, bool bIsNand) { - char fullName[NAND_MAX_PATH + 1]; + char fullName[NAND_MAX_PATH+1]; // Set up path strncpy(fullName, mNandPath, sizeof(mNandPath)); @@ -187,7 +204,7 @@ namespace ipl { } File* Manager::write_(EGG::Heap* heap, const char* fileName, void* buffer, u32 length, u8 perms) { - char fullName[NAND_MAX_PATH + 1]; + char fullName[NAND_MAX_PATH+1]; strncpy(fullName, mNandPath, sizeof(mNandPath)); strncat(fullName, fileName, sizeof(mNandPath) - strlen(fullName)); @@ -210,11 +227,11 @@ namespace ipl { BOOL Manager::receiveToken(int* token) { BOOL result = FALSE; OSMessage msg = EGG::TaskThread::waitQueueMessage(mpTask->getMessageQueue(), &result); - if (result && msg) { + if (result && msg != NULL) { *token = reinterpret_cast(msg); } - return result && msg ? TRUE : FALSE; + return (result && msg != NULL) ? TRUE : FALSE; } } } diff --git a/src/system/iplNandMeta.cpp b/src/system/iplNandMeta.cpp index 20c3da5e..003f2c3a 100644 --- a/src/system/iplNandMeta.cpp +++ b/src/system/iplNandMeta.cpp @@ -71,10 +71,10 @@ namespace ipl { BOOL MetaFile::openTicketFile_() { s32 line; - mTicket = (ESTicketView*)System::getMem2Sys()->alloc(sizeof(ESTicketView), -BUFFER_HEAP); + mTicket = (ESTicketView*)System::getMem2Sys()->alloc(OSRoundUp32B(sizeof(ESTicketView)), -BUFFER_HEAP); s32 result = utility::ESMisc::GetTicketView(System::getMem2Sys(), mTitleId, mTicket, mTicketIdx); - if (result < 0) { + if (result < ES_ERR_OK) { line = 146; } else { @@ -89,7 +89,7 @@ namespace ipl { } // Otherwise if it could not open the file for any reason, abort. - if (result < 0) { + if (result < ES_ERR_OK) { line = 163; } else { diff --git a/src/system/iplNandSDWorker.cpp b/src/system/iplNandSDWorker.cpp index d41083d4..52c56dbf 100644 --- a/src/system/iplNandSDWorker.cpp +++ b/src/system/iplNandSDWorker.cpp @@ -1,6 +1,7 @@ #include #include "system/iplNandSDWorker.h" +#include "system/iplNand.h" #include @@ -10,8 +11,6 @@ typedef struct { u32 version; // 0x08 (always 3) } MetaBlockHeader; -#define CHECK_MAGIC4_NOT(b, c0, c1, c2, c3) (b[0] != c0 || b[1] != c1 || b[2] != c2 || b[3] != c3) - namespace ipl { BOOL NandSDWorker::check_header_base(const u8 *bnrData, u32 *hashOut) { MetaBlockHeader* header = (MetaBlockHeader*)(bnrData); @@ -22,7 +21,7 @@ namespace ipl { } // Check signature - if (CHECK_MAGIC4_NOT(header->sig, 'I','M','E','T') || hash < IMET_MAX_HEADER_SIZE) { + if (!NAND_CHECK_MAGIC4(header->sig, 'I','M','E','T') || hash < IMET_MAX_HEADER_SIZE) { OSReport("BANNER WARNING: invalid signature or header size %d\n", hash); return FALSE; } diff --git a/src/system/iplNandShared.cpp b/src/system/iplNandShared.cpp index 1b467121..423483e5 100644 --- a/src/system/iplNandShared.cpp +++ b/src/system/iplNandShared.cpp @@ -32,11 +32,11 @@ namespace ipl { } else { ESTicketView* tik; - u32 tikLen; + u32 tikCount; - if (utility::ESMisc::GetTicketViewList(System::getSharedHeap(), mTitleId, &tik, &tikLen) != ES_ERR_OK) { - int tikIdx = utility::ESMisc::GetValidTicketIndex(System::getSharedHeap(), mTitleId, tik, tikLen); - if (tikIdx >= 0 && tikIdx <= tikLen) { + if (utility::ESMisc::GetTicketViewList(System::getSharedHeap(), mTitleId, &tik, &tikCount) != ES_ERR_OK) { + int tikIdx = utility::ESMisc::GetValidTicketIndex(System::getSharedHeap(), mTitleId, tik, tikCount); + if (tikIdx >= 0 && tikIdx <= tikCount) { mTicketIdx = tikIdx; memcpy(mTicket, &tik[tikIdx], sizeof(ESTicketView)); System::getSharedHeap()->free(tik); diff --git a/src/system/iplNandWall.cpp b/src/system/iplNandWall.cpp index 19a9b064..d0e0c935 100644 --- a/src/system/iplNandWall.cpp +++ b/src/system/iplNandWall.cpp @@ -37,7 +37,7 @@ namespace ipl { OSReport(" NAND USAGE : [i-nodes: %6d / %6d ] \n", global_free_inode, user_used_inodes); OSReport("**********************************************\n"); - // Check is NAND is full + // Check if NAND is full if (!isNandCapacity()){ System::setNandFull(true); } @@ -49,10 +49,10 @@ namespace ipl { BOOL isNandCapacity() { if (user_used_fsblocks <= 17408 && user_used_inodes <= 4000 && global_free_fsblock >= 3592 && global_free_inode >= 128) { - return TRUE; // We have enough free space + return TRUE; // We have enough free space! } else { - return FALSE; // We do not have enough free space + return FALSE; // We do not have enough free space! } } diff --git a/src/system/iplPointerCore.cpp b/src/system/iplPointerCore.cpp index 1c8286f5..f5dc12d3 100644 --- a/src/system/iplPointerCore.cpp +++ b/src/system/iplPointerCore.cpp @@ -8,7 +8,6 @@ #include "system/iplSystem.h" #include "utility/iplUtility.h" -#include "utility/iplGraphics.h" namespace ipl { PointerCoreObject::PointerCoreObject() : @@ -75,7 +74,7 @@ namespace ipl { } void PointerCore::draw() { - utility::Graphics::setDefaultOrtho(); + layout::Object::setCamera(); for (int i = WPAD_MAX_CONTROLLERS - 1; i >= 0; i--) { mCursors[i].draw(); } diff --git a/src/system/iplSaveDataManager.cpp b/src/system/iplSaveDataManager.cpp index 42e05c88..23ab8eae 100644 --- a/src/system/iplSaveDataManager.cpp +++ b/src/system/iplSaveDataManager.cpp @@ -74,9 +74,9 @@ namespace ipl { namespace savedata { Manager::Manager(EGG::Heap* heap) { mpHeap = heap; - unk_0x4E0 = 0; - unk_0x4E4 = 0; - unk_0x4E8 = 1; + mLastPrevPage = 0; + mLastSDPrevPage = 0; + mbBadSDPrevPage = true; mpFile = NULL; @@ -144,7 +144,7 @@ namespace ipl { for (int page = 0; page < MAX_CHANNEL_PAGE; page++) { for (int i = 0; i < MAX_CHANNEL_INDEX; i++) { if (mData.chanInfo[page][i].primaryType != channel::PRIMARY_TYPE_CHANNEL) { - ESTitleId tId = TITLE_ESTITLE(mData.chanInfo[page][i].titleType, mData.chanInfo[page][i].titleId) & mask; + ESTitleId tId = TITLE_ESTITLE(mData.chanInfo[page][i].titleType, mData.chanInfo[page][i].titleCode) & mask; if (titleId == tId || TITLE_NO_REGION(titleId) == TITLE_NO_REGION(tId) || TITLE_REGION(titleId) == TITLE_REGION_ALL) { @@ -295,15 +295,19 @@ namespace ipl { } } + // Previous page on ChannelSelect if (manager->mData.prevPage != 0) { - manager->unk_0x4E0 = manager->mData.prevPage; + manager->mLastPrevPage = manager->mData.prevPage; bNeedFlush = TRUE; manager->mData.prevPage = 0; } - if (manager->mData.unk_0x4A0 >= 0 && manager->mData.unk_0x4A0 < 20 && manager->unk_0x4E8) { - manager->unk_0x4E4 = manager->mData.unk_0x4A0; - manager->unk_0x4E8 = false; + // Prevous page on SDChannelSelect + if (manager->mData.prevSDPage >= 0 && manager->mData.prevSDPage < 20) { + if (manager->mbBadSDPrevPage) { + manager->mLastSDPrevPage = manager->mData.prevSDPage; + manager->mbBadSDPrevPage = false; + } } } @@ -412,7 +416,8 @@ namespace ipl { && ES_CHANNEL_ID(titleIds[i]) != TITLE_TYPE_UNK6 && ES_CHANNEL_ID(titleIds[i]) != TITLE_TYPE_UNK3) { titleIds[i] = TITLE_NULL; - } else { + } + else { ESTmdView* tmd = NULL; ret = utility::ESMisc::GetTmdView(mpHeap, titleIds[i], &tmd); if (ret == ES_ERR_OK) { @@ -597,9 +602,9 @@ namespace ipl { } } - int Manager::isDefaultChannel(ESId titleType, ESId titleId) { + int Manager::isDefaultChannel(ESTitleId32 titleType, ESTitleId32 titleCode) { for (int i = 0; i < DEFAULT_CHANNEL_COUNT; i++) { - if (cDefaultChanList[i].titleType == titleType && (cDefaultChanList[i].titleId & 0xFFFFFF00) == (titleId & 0xFFFFFF00)) { + if (cDefaultChanList[i].titleType == titleType && (cDefaultChanList[i].titleCode & 0xFFFFFF00) == (titleCode & 0xFFFFFF00)) { return i; } } @@ -636,9 +641,9 @@ namespace ipl { } void Manager::setDefaultTitleCache() { - mData.unk_0x31C = 1; + mData.didntGotoSDMenu = TRUE; memset(mData.titleCache, 0, sizeof(mData.titleCache)); - mData.unk_0x4A0 = 0; + mData.prevSDPage = 0; } BOOL Manager::nand_error_handling(int code) { diff --git a/src/system/iplTVRCManager.cpp b/src/system/iplTVRCManager.cpp new file mode 100644 index 00000000..5bfdf1e4 --- /dev/null +++ b/src/system/iplTVRCManager.cpp @@ -0,0 +1,16 @@ +#include + +#include "utility/iplUtility.h" + +namespace ipl { + namespace utility { + BOOL RangeCheckGELTS32(s32 value, s32 min, s32 max) { + BOOL result = FALSE; + // if the input value was max, it woule be false cause of a silly typo. + if (value >= min && value < max) { + result = TRUE; + } + return result; + } + } +} diff --git a/src/system/odh.cpp b/src/system/odh.cpp index 9617f703..6b9a4471 100644 --- a/src/system/odh.cpp +++ b/src/system/odh.cpp @@ -5,7 +5,8 @@ s32 CArGBAOdh::ScaleLimit(s32 scale) { if (newScale < 0) { newScale = 0; - } else if (scale > 255) { + } + else if (scale > 255) { newScale = 255; } diff --git a/src/utility/iplCapture.cpp b/src/utility/iplCapture.cpp index c695eb80..89e7dae1 100644 --- a/src/utility/iplCapture.cpp +++ b/src/utility/iplCapture.cpp @@ -4,14 +4,14 @@ namespace ipl { namespace utility { - Capture::Capture(EGG::Heap* pHeap, int x, int y, int width, int height, _GXTexFmt texFmt) : + Capture::Capture(EGG::Heap* heap, int x, int y, int width, int height, GXTexFmt texFmt) : mXPos(x), mYPos(y), mTextureWidth(width), mTextureHeight(height), mTextureFormat(texFmt) { mTextureSize = GXGetTexBufferSize(width, height, texFmt, GX_FALSE, 1); - mTextureBuffer = new(pHeap, BUFFER_HEAP) u8[mTextureSize]; + mTextureBuffer = new(heap, BUFFER_HEAP) u8[mTextureSize]; GXInitTexObj(&mTexObj, mTextureBuffer, mTextureWidth, mTextureHeight, mTextureFormat, GX_CLAMP, GX_CLAMP, GX_FALSE); } @@ -24,7 +24,7 @@ namespace ipl { DCInvalidateRange(mTextureBuffer, mTextureSize); if (!disableFilter) { - GXRenderModeObj *pRmode = System::getRenderModeObj(); + GXRenderModeObj* pRmode = System::getRenderModeObj(); GXSetCopyFilter(GX_FALSE, pRmode->sample_pattern, GX_FALSE, pRmode->vfilter); } @@ -35,11 +35,9 @@ namespace ipl { GXPixModeSync(); if (!disableFilter) { - GXRenderModeObj *pRmode = System::getRenderModeObj(); + GXRenderModeObj* pRmode = System::getRenderModeObj(); GXSetCopyFilter(pRmode->aa, pRmode->sample_pattern, GX_TRUE, pRmode->vfilter); } } } } - - diff --git a/src/utility/iplTree.cpp b/src/utility/iplTree.cpp index ba0ed467..7c9c144d 100644 --- a/src/utility/iplTree.cpp +++ b/src/utility/iplTree.cpp @@ -2,64 +2,51 @@ namespace ipl { namespace utility { - BOOL RangeCheckGELTS32(s32 value, s32 min, s32 max) { - BOOL result = FALSE; - // if the input value was max, it woule be false cause of a silly typo. - if (value >= min && value < max) { - result = TRUE; - } - return result; - } - Tree::Tree() : - mpParent(NULL), - mpChild(NULL), - mpNext(NULL), - mpPrev(NULL) {} + mpParent(), mpChild(), + mpNext(), mpPrev() {} - void Tree::attach(Tree* pTree) { - Tree* pTarget = mpChild; + void Tree::attach(Tree* tree) { + Tree* child = mpChild; - if (pTarget == NULL) { - mpChild = pTree; - pTree->mpParent = this; + if (child == empty()) { + mpChild = tree; + tree->mpParent = this; } else { - while (pTarget->mpNext != NULL) { - pTarget = pTarget->mpNext; + while (child->mpNext != empty()) { + child = child->mpNext; } - pTarget->mpNext = pTree; - pTree->mpPrev = pTarget; - pTree->mpParent = this; + child->mpNext = tree; + tree->mpPrev = child; + tree->mpParent = this; } } - void Tree::insert(Tree* pTree, Tree* pTree2) { - pTree->mpParent = this; - pTree->mpPrev = pTree2->mpPrev; - pTree->mpNext = pTree2; - - if (pTree2->mpPrev != NULL) { - pTree2->mpPrev->mpNext = pTree; + void Tree::insert(Tree* tree, Tree* childTree) { + tree->mpParent = this; + tree->mpPrev = childTree->mpPrev; + tree->mpNext = childTree; + + if (childTree->mpPrev != empty()) { + childTree->mpPrev->mpNext = tree; } - pTree2->mpPrev = pTree; - if (mpChild == pTree2) { - mpChild = pTree; + childTree->mpPrev = tree; + if (mpChild == childTree) { + mpChild = tree; } } void Tree::detach() { - if (mpParent != NULL && mpParent->mpChild == this) { + if (mpParent != empty() && mpParent->mpChild == this) { mpParent->mpChild = mpNext; } - if (mpNext != NULL) { + if (mpNext != empty()) { mpNext->mpPrev = mpPrev; } - if (mpPrev != NULL) { + if (mpPrev != empty()) { mpPrev->mpNext = mpNext; } } } } - - diff --git a/tools/project.py b/tools/project.py index 41c5b2db..8c366f96 100644 --- a/tools/project.py +++ b/tools/project.py @@ -1192,19 +1192,19 @@ def generate_build_ninja( dol_elf_path = dol_link_step.partial_output() n.comment("Check for mismatching symbols") n.rule( - name="bs2_diff", + name="dol_diff", command=f"{dtk} -L error dol diff $in", description=f"DIFF {dol_elf_path}", ) n.build( inputs=[config.config_path, dol_elf_path], - outputs="bs2_diff", - rule="bs2_diff", + outputs="dol_diff", + rule="dol_diff", ) n.build( outputs="diff", rule="phony", - inputs="bs2_diff", + inputs="dol_diff", ) n.newline()