From dacc4322c5a2e52c2e80f51a2e5c63df47f38208 Mon Sep 17 00:00:00 2001
From: EpochFlame <82550703+EpochFlame@users.noreply.github.com>
Date: Tue, 10 Jan 2023 21:38:38 -0500
Subject: [PATCH] link gameStat.cpp
---
asm/plugProjectKandoU/gameStat.s | 709 -------------------------------
docs/recommended_todo.md | 44 +-
obj_files.mk | 2 +-
tools/progress.csv | 2 +
4 files changed, 25 insertions(+), 732 deletions(-)
delete mode 100644 asm/plugProjectKandoU/gameStat.s
diff --git a/asm/plugProjectKandoU/gameStat.s b/asm/plugProjectKandoU/gameStat.s
deleted file mode 100644
index a44f655a4..000000000
--- a/asm/plugProjectKandoU/gameStat.s
+++ /dev/null
@@ -1,709 +0,0 @@
-.include "macros.inc"
-.section .ctors, "wa" # 0x80472F00 - 0x804732C0
-lbl_constructor:
-.4byte __sinit_gameStat_cpp
-
-.section .rodata # 0x804732E0 - 0x8049E220
-.balign 8
-lbl_80480500:
- .asciz "gameStat.cpp"
-.balign 4
-lbl_80480510:
- .asciz "P2Assert"
-
-.section .data, "wa" # 0x8049E220 - 0x804EFC20
-.balign 8
-.global __vt__Q34Game8GameStat11PikiCounter
-__vt__Q34Game8GameStat11PikiCounter:
- .4byte 0
- .4byte 0
- .4byte __opi__Q34Game8GameStat11PikiCounterFv
- .4byte __cl__Q34Game8GameStat11PikiCounterFi
-
-.section .bss # 0x804EFC20 - 0x8051467C
-# gameStat.cpp
-.comm formationPikis__Q24Game8GameStat, 0x220, 4
-.comm workPikis__Q24Game8GameStat, 0xE0, 4
-.comm alivePikis__Q24Game8GameStat, 0x20, 4
-.comm mePikis__Q24Game8GameStat, 0x20, 4
-.comm zikatuPikis__Q24Game8GameStat, 0x20, 4
-
-.section .text, "ax" # 0x800056C0 - 0x80472F00
-.global clear__Q24Game8GameStatFv
-clear__Q24Game8GameStatFv:
-/* 801D0DB8 001CDCF8 94 21 FF F0 */ stwu r1, -0x10(r1)
-/* 801D0DBC 001CDCFC 7C 08 02 A6 */ mflr r0
-/* 801D0DC0 001CDD00 3C 60 80 51 */ lis r3, formationPikis__Q24Game8GameStat@ha
-/* 801D0DC4 001CDD04 90 01 00 14 */ stw r0, 0x14(r1)
-/* 801D0DC8 001CDD08 38 63 22 EC */ addi r3, r3, formationPikis__Q24Game8GameStat@l
-/* 801D0DCC 001CDD0C 48 00 04 D1 */ bl clear__Q34Game8GameStat15PikiNaviCounterFv
-/* 801D0DD0 001CDD10 3C 60 80 51 */ lis r3, mePikis__Q24Game8GameStat@ha
-/* 801D0DD4 001CDD14 38 63 26 0C */ addi r3, r3, mePikis__Q24Game8GameStat@l
-/* 801D0DD8 001CDD18 48 00 02 99 */ bl clear__Q34Game8GameStat11PikiCounterFv
-/* 801D0DDC 001CDD1C 3C 60 80 51 */ lis r3, workPikis__Q24Game8GameStat@ha
-/* 801D0DE0 001CDD20 38 63 25 0C */ addi r3, r3, workPikis__Q24Game8GameStat@l
-/* 801D0DE4 001CDD24 48 00 04 B9 */ bl clear__Q34Game8GameStat15PikiNaviCounterFv
-/* 801D0DE8 001CDD28 3C 60 80 51 */ lis r3, alivePikis__Q24Game8GameStat@ha
-/* 801D0DEC 001CDD2C 38 63 25 EC */ addi r3, r3, alivePikis__Q24Game8GameStat@l
-/* 801D0DF0 001CDD30 48 00 02 81 */ bl clear__Q34Game8GameStat11PikiCounterFv
-/* 801D0DF4 001CDD34 3C 60 80 51 */ lis r3, zikatuPikis__Q24Game8GameStat@ha
-/* 801D0DF8 001CDD38 38 63 26 2C */ addi r3, r3, zikatuPikis__Q24Game8GameStat@l
-/* 801D0DFC 001CDD3C 48 00 02 75 */ bl clear__Q34Game8GameStat11PikiCounterFv
-/* 801D0E00 001CDD40 80 01 00 14 */ lwz r0, 0x14(r1)
-/* 801D0E04 001CDD44 7C 08 03 A6 */ mtlr r0
-/* 801D0E08 001CDD48 38 21 00 10 */ addi r1, r1, 0x10
-/* 801D0E0C 001CDD4C 4E 80 00 20 */ blr
-
-.global getMapPikmins_exclude_Me__Q24Game8GameStatFi
-getMapPikmins_exclude_Me__Q24Game8GameStatFi:
-/* 801D0E10 001CDD50 94 21 FF F0 */ stwu r1, -0x10(r1)
-/* 801D0E14 001CDD54 7C 08 02 A6 */ mflr r0
-/* 801D0E18 001CDD58 2C 03 FF FF */ cmpwi r3, -1
-/* 801D0E1C 001CDD5C 90 01 00 14 */ stw r0, 0x14(r1)
-/* 801D0E20 001CDD60 40 82 00 1C */ bne .L_801D0E3C
-/* 801D0E24 001CDD64 3C 60 80 51 */ lis r3, alivePikis__Q24Game8GameStat@ha
-/* 801D0E28 001CDD68 85 83 25 EC */ lwzu r12, alivePikis__Q24Game8GameStat@l(r3)
-/* 801D0E2C 001CDD6C 81 8C 00 08 */ lwz r12, 8(r12)
-/* 801D0E30 001CDD70 7D 89 03 A6 */ mtctr r12
-/* 801D0E34 001CDD74 4E 80 04 21 */ bctrl
-/* 801D0E38 001CDD78 48 00 00 18 */ b .L_801D0E50
-.L_801D0E3C:
-/* 801D0E3C 001CDD7C 3C 80 80 51 */ lis r4, alivePikis__Q24Game8GameStat@ha
-/* 801D0E40 001CDD80 54 60 10 3A */ slwi r0, r3, 2
-/* 801D0E44 001CDD84 38 64 25 EC */ addi r3, r4, alivePikis__Q24Game8GameStat@l
-/* 801D0E48 001CDD88 7C 63 02 14 */ add r3, r3, r0
-/* 801D0E4C 001CDD8C 80 63 00 04 */ lwz r3, 4(r3)
-.L_801D0E50:
-/* 801D0E50 001CDD90 80 01 00 14 */ lwz r0, 0x14(r1)
-/* 801D0E54 001CDD94 7C 08 03 A6 */ mtlr r0
-/* 801D0E58 001CDD98 38 21 00 10 */ addi r1, r1, 0x10
-/* 801D0E5C 001CDD9C 4E 80 00 20 */ blr
-
-.global getMapPikmins__Q24Game8GameStatFi
-getMapPikmins__Q24Game8GameStatFi:
-/* 801D0E60 001CDDA0 94 21 FF F0 */ stwu r1, -0x10(r1)
-/* 801D0E64 001CDDA4 7C 08 02 A6 */ mflr r0
-/* 801D0E68 001CDDA8 2C 03 FF FF */ cmpwi r3, -1
-/* 801D0E6C 001CDDAC 90 01 00 14 */ stw r0, 0x14(r1)
-/* 801D0E70 001CDDB0 93 E1 00 0C */ stw r31, 0xc(r1)
-/* 801D0E74 001CDDB4 40 82 00 3C */ bne .L_801D0EB0
-/* 801D0E78 001CDDB8 3C 60 80 51 */ lis r3, mePikis__Q24Game8GameStat@ha
-/* 801D0E7C 001CDDBC 85 83 26 0C */ lwzu r12, mePikis__Q24Game8GameStat@l(r3)
-/* 801D0E80 001CDDC0 81 8C 00 08 */ lwz r12, 8(r12)
-/* 801D0E84 001CDDC4 7D 89 03 A6 */ mtctr r12
-/* 801D0E88 001CDDC8 4E 80 04 21 */ bctrl
-/* 801D0E8C 001CDDCC 3C 80 80 51 */ lis r4, alivePikis__Q24Game8GameStat@ha
-/* 801D0E90 001CDDD0 7C 7F 1B 78 */ mr r31, r3
-/* 801D0E94 001CDDD4 38 64 25 EC */ addi r3, r4, alivePikis__Q24Game8GameStat@l
-/* 801D0E98 001CDDD8 81 83 00 00 */ lwz r12, 0(r3)
-/* 801D0E9C 001CDDDC 81 8C 00 08 */ lwz r12, 8(r12)
-/* 801D0EA0 001CDDE0 7D 89 03 A6 */ mtctr r12
-/* 801D0EA4 001CDDE4 4E 80 04 21 */ bctrl
-/* 801D0EA8 001CDDE8 7C 63 FA 14 */ add r3, r3, r31
-/* 801D0EAC 001CDDEC 48 00 00 2C */ b .L_801D0ED8
-.L_801D0EB0:
-/* 801D0EB0 001CDDF0 3C A0 80 51 */ lis r5, alivePikis__Q24Game8GameStat@ha
-/* 801D0EB4 001CDDF4 3C 80 80 51 */ lis r4, mePikis__Q24Game8GameStat@ha
-/* 801D0EB8 001CDDF8 54 66 10 3A */ slwi r6, r3, 2
-/* 801D0EBC 001CDDFC 38 65 25 EC */ addi r3, r5, alivePikis__Q24Game8GameStat@l
-/* 801D0EC0 001CDE00 38 04 26 0C */ addi r0, r4, mePikis__Q24Game8GameStat@l
-/* 801D0EC4 001CDE04 7C 83 32 14 */ add r4, r3, r6
-/* 801D0EC8 001CDE08 7C 60 32 14 */ add r3, r0, r6
-/* 801D0ECC 001CDE0C 80 84 00 04 */ lwz r4, 4(r4)
-/* 801D0ED0 001CDE10 80 03 00 04 */ lwz r0, 4(r3)
-/* 801D0ED4 001CDE14 7C 64 02 14 */ add r3, r4, r0
-.L_801D0ED8:
-/* 801D0ED8 001CDE18 80 01 00 14 */ lwz r0, 0x14(r1)
-/* 801D0EDC 001CDE1C 83 E1 00 0C */ lwz r31, 0xc(r1)
-/* 801D0EE0 001CDE20 7C 08 03 A6 */ mtlr r0
-/* 801D0EE4 001CDE24 38 21 00 10 */ addi r1, r1, 0x10
-/* 801D0EE8 001CDE28 4E 80 00 20 */ blr
-
-.global getZikatuPikmins__Q24Game8GameStatFi
-getZikatuPikmins__Q24Game8GameStatFi:
-/* 801D0EEC 001CDE2C 94 21 FF F0 */ stwu r1, -0x10(r1)
-/* 801D0EF0 001CDE30 7C 08 02 A6 */ mflr r0
-/* 801D0EF4 001CDE34 2C 03 FF FF */ cmpwi r3, -1
-/* 801D0EF8 001CDE38 90 01 00 14 */ stw r0, 0x14(r1)
-/* 801D0EFC 001CDE3C 40 82 00 1C */ bne .L_801D0F18
-/* 801D0F00 001CDE40 3C 60 80 51 */ lis r3, zikatuPikis__Q24Game8GameStat@ha
-/* 801D0F04 001CDE44 85 83 26 2C */ lwzu r12, zikatuPikis__Q24Game8GameStat@l(r3)
-/* 801D0F08 001CDE48 81 8C 00 08 */ lwz r12, 8(r12)
-/* 801D0F0C 001CDE4C 7D 89 03 A6 */ mtctr r12
-/* 801D0F10 001CDE50 4E 80 04 21 */ bctrl
-/* 801D0F14 001CDE54 48 00 00 18 */ b .L_801D0F2C
-.L_801D0F18:
-/* 801D0F18 001CDE58 3C 80 80 51 */ lis r4, zikatuPikis__Q24Game8GameStat@ha
-/* 801D0F1C 001CDE5C 54 60 10 3A */ slwi r0, r3, 2
-/* 801D0F20 001CDE60 38 64 26 2C */ addi r3, r4, zikatuPikis__Q24Game8GameStat@l
-/* 801D0F24 001CDE64 7C 63 02 14 */ add r3, r3, r0
-/* 801D0F28 001CDE68 80 63 00 04 */ lwz r3, 4(r3)
-.L_801D0F2C:
-/* 801D0F2C 001CDE6C 80 01 00 14 */ lwz r0, 0x14(r1)
-/* 801D0F30 001CDE70 7C 08 03 A6 */ mtlr r0
-/* 801D0F34 001CDE74 38 21 00 10 */ addi r1, r1, 0x10
-/* 801D0F38 001CDE78 4E 80 00 20 */ blr
-
-.global getAllPikmins__Q24Game8GameStatFi
-getAllPikmins__Q24Game8GameStatFi:
-/* 801D0F3C 001CDE7C 94 21 FF F0 */ stwu r1, -0x10(r1)
-/* 801D0F40 001CDE80 7C 08 02 A6 */ mflr r0
-/* 801D0F44 001CDE84 90 01 00 14 */ stw r0, 0x14(r1)
-/* 801D0F48 001CDE88 93 E1 00 0C */ stw r31, 0xc(r1)
-/* 801D0F4C 001CDE8C 93 C1 00 08 */ stw r30, 8(r1)
-/* 801D0F50 001CDE90 7C 7E 1B 78 */ mr r30, r3
-/* 801D0F54 001CDE94 2C 1E FF FF */ cmpwi r30, -1
-/* 801D0F58 001CDE98 40 82 00 4C */ bne .L_801D0FA4
-/* 801D0F5C 001CDE9C 3C 60 80 51 */ lis r3, mePikis__Q24Game8GameStat@ha
-/* 801D0F60 001CDEA0 85 83 26 0C */ lwzu r12, mePikis__Q24Game8GameStat@l(r3)
-/* 801D0F64 001CDEA4 81 8C 00 08 */ lwz r12, 8(r12)
-/* 801D0F68 001CDEA8 7D 89 03 A6 */ mtctr r12
-/* 801D0F6C 001CDEAC 4E 80 04 21 */ bctrl
-/* 801D0F70 001CDEB0 3C 80 80 51 */ lis r4, alivePikis__Q24Game8GameStat@ha
-/* 801D0F74 001CDEB4 7C 7F 1B 78 */ mr r31, r3
-/* 801D0F78 001CDEB8 38 64 25 EC */ addi r3, r4, alivePikis__Q24Game8GameStat@l
-/* 801D0F7C 001CDEBC 81 83 00 00 */ lwz r12, 0(r3)
-/* 801D0F80 001CDEC0 81 8C 00 08 */ lwz r12, 8(r12)
-/* 801D0F84 001CDEC4 7D 89 03 A6 */ mtctr r12
-/* 801D0F88 001CDEC8 4E 80 04 21 */ bctrl
-/* 801D0F8C 001CDECC 80 8D 94 90 */ lwz r4, playData__4Game@sda21(r13)
-/* 801D0F90 001CDED0 7F E3 FA 14 */ add r31, r3, r31
-/* 801D0F94 001CDED4 38 64 00 A8 */ addi r3, r4, 0xa8
-/* 801D0F98 001CDED8 48 02 06 ED */ bl getTotalSum__Q24Game13PikiContainerFv
-/* 801D0F9C 001CDEDC 7C 7F 1A 14 */ add r3, r31, r3
-/* 801D0FA0 001CDEE0 48 00 00 7C */ b .L_801D101C
-.L_801D0FA4:
-/* 801D0FA4 001CDEE4 40 82 00 3C */ bne .L_801D0FE0
-/* 801D0FA8 001CDEE8 3C 60 80 51 */ lis r3, mePikis__Q24Game8GameStat@ha
-/* 801D0FAC 001CDEEC 85 83 26 0C */ lwzu r12, mePikis__Q24Game8GameStat@l(r3)
-/* 801D0FB0 001CDEF0 81 8C 00 08 */ lwz r12, 8(r12)
-/* 801D0FB4 001CDEF4 7D 89 03 A6 */ mtctr r12
-/* 801D0FB8 001CDEF8 4E 80 04 21 */ bctrl
-/* 801D0FBC 001CDEFC 3C 80 80 51 */ lis r4, alivePikis__Q24Game8GameStat@ha
-/* 801D0FC0 001CDF00 7C 7F 1B 78 */ mr r31, r3
-/* 801D0FC4 001CDF04 38 64 25 EC */ addi r3, r4, alivePikis__Q24Game8GameStat@l
-/* 801D0FC8 001CDF08 81 83 00 00 */ lwz r12, 0(r3)
-/* 801D0FCC 001CDF0C 81 8C 00 08 */ lwz r12, 8(r12)
-/* 801D0FD0 001CDF10 7D 89 03 A6 */ mtctr r12
-/* 801D0FD4 001CDF14 4E 80 04 21 */ bctrl
-/* 801D0FD8 001CDF18 7F E3 FA 14 */ add r31, r3, r31
-/* 801D0FDC 001CDF1C 48 00 00 2C */ b .L_801D1008
-.L_801D0FE0:
-/* 801D0FE0 001CDF20 3C 80 80 51 */ lis r4, alivePikis__Q24Game8GameStat@ha
-/* 801D0FE4 001CDF24 3C 60 80 51 */ lis r3, mePikis__Q24Game8GameStat@ha
-/* 801D0FE8 001CDF28 57 C5 10 3A */ slwi r5, r30, 2
-/* 801D0FEC 001CDF2C 38 84 25 EC */ addi r4, r4, alivePikis__Q24Game8GameStat@l
-/* 801D0FF0 001CDF30 38 03 26 0C */ addi r0, r3, mePikis__Q24Game8GameStat@l
-/* 801D0FF4 001CDF34 7C 84 2A 14 */ add r4, r4, r5
-/* 801D0FF8 001CDF38 7C 60 2A 14 */ add r3, r0, r5
-/* 801D0FFC 001CDF3C 80 84 00 04 */ lwz r4, 4(r4)
-/* 801D1000 001CDF40 80 03 00 04 */ lwz r0, 4(r3)
-/* 801D1004 001CDF44 7F E4 02 14 */ add r31, r4, r0
-.L_801D1008:
-/* 801D1008 001CDF48 80 6D 94 90 */ lwz r3, playData__4Game@sda21(r13)
-/* 801D100C 001CDF4C 7F C4 F3 78 */ mr r4, r30
-/* 801D1010 001CDF50 38 63 00 A8 */ addi r3, r3, 0xa8
-/* 801D1014 001CDF54 48 02 05 9D */ bl getColorSum__Q24Game13PikiContainerFi
-/* 801D1018 001CDF58 7C 7F 1A 14 */ add r3, r31, r3
-.L_801D101C:
-/* 801D101C 001CDF5C 80 01 00 14 */ lwz r0, 0x14(r1)
-/* 801D1020 001CDF60 83 E1 00 0C */ lwz r31, 0xc(r1)
-/* 801D1024 001CDF64 83 C1 00 08 */ lwz r30, 8(r1)
-/* 801D1028 001CDF68 7C 08 03 A6 */ mtlr r0
-/* 801D102C 001CDF6C 38 21 00 10 */ addi r1, r1, 0x10
-/* 801D1030 001CDF70 4E 80 00 20 */ blr
-
-.global __ct__Q34Game8GameStat11PikiCounterFv
-__ct__Q34Game8GameStat11PikiCounterFv:
-/* 801D1034 001CDF74 94 21 FF F0 */ stwu r1, -0x10(r1)
-/* 801D1038 001CDF78 7C 08 02 A6 */ mflr r0
-/* 801D103C 001CDF7C 3C 80 80 4B */ lis r4, __vt__Q34Game8GameStat11PikiCounter@ha
-/* 801D1040 001CDF80 90 01 00 14 */ stw r0, 0x14(r1)
-/* 801D1044 001CDF84 38 04 79 60 */ addi r0, r4, __vt__Q34Game8GameStat11PikiCounter@l
-/* 801D1048 001CDF88 93 E1 00 0C */ stw r31, 0xc(r1)
-/* 801D104C 001CDF8C 7C 7F 1B 78 */ mr r31, r3
-/* 801D1050 001CDF90 90 03 00 00 */ stw r0, 0(r3)
-/* 801D1054 001CDF94 48 00 00 1D */ bl clear__Q34Game8GameStat11PikiCounterFv
-/* 801D1058 001CDF98 80 01 00 14 */ lwz r0, 0x14(r1)
-/* 801D105C 001CDF9C 7F E3 FB 78 */ mr r3, r31
-/* 801D1060 001CDFA0 83 E1 00 0C */ lwz r31, 0xc(r1)
-/* 801D1064 001CDFA4 7C 08 03 A6 */ mtlr r0
-/* 801D1068 001CDFA8 38 21 00 10 */ addi r1, r1, 0x10
-/* 801D106C 001CDFAC 4E 80 00 20 */ blr
-
-.global clear__Q34Game8GameStat11PikiCounterFv
-clear__Q34Game8GameStat11PikiCounterFv:
-/* 801D1070 001CDFB0 38 00 00 00 */ li r0, 0
-/* 801D1074 001CDFB4 90 03 00 04 */ stw r0, 4(r3)
-/* 801D1078 001CDFB8 90 03 00 08 */ stw r0, 8(r3)
-/* 801D107C 001CDFBC 90 03 00 0C */ stw r0, 0xc(r3)
-/* 801D1080 001CDFC0 90 03 00 10 */ stw r0, 0x10(r3)
-/* 801D1084 001CDFC4 90 03 00 14 */ stw r0, 0x14(r3)
-/* 801D1088 001CDFC8 90 03 00 18 */ stw r0, 0x18(r3)
-/* 801D108C 001CDFCC 90 03 00 1C */ stw r0, 0x1c(r3)
-/* 801D1090 001CDFD0 4E 80 00 20 */ blr
-
-.global inc__Q34Game8GameStat11PikiCounterFPQ24Game4Piki
-inc__Q34Game8GameStat11PikiCounterFPQ24Game4Piki:
-/* 801D1094 001CDFD4 94 21 FF F0 */ stwu r1, -0x10(r1)
-/* 801D1098 001CDFD8 7C 08 02 A6 */ mflr r0
-/* 801D109C 001CDFDC 90 01 00 14 */ stw r0, 0x14(r1)
-/* 801D10A0 001CDFE0 38 00 00 00 */ li r0, 0
-/* 801D10A4 001CDFE4 93 E1 00 0C */ stw r31, 0xc(r1)
-/* 801D10A8 001CDFE8 93 C1 00 08 */ stw r30, 8(r1)
-/* 801D10AC 001CDFEC 7C 7E 1B 78 */ mr r30, r3
-/* 801D10B0 001CDFF0 8B E4 02 B8 */ lbz r31, 0x2b8(r4)
-/* 801D10B4 001CDFF4 2C 1F 00 00 */ cmpwi r31, 0
-/* 801D10B8 001CDFF8 41 80 00 10 */ blt .L_801D10C8
-/* 801D10BC 001CDFFC 2C 1F 00 07 */ cmpwi r31, 7
-/* 801D10C0 001CE000 40 80 00 08 */ bge .L_801D10C8
-/* 801D10C4 001CE004 38 00 00 01 */ li r0, 1
-.L_801D10C8:
-/* 801D10C8 001CE008 54 00 06 3F */ clrlwi. r0, r0, 0x18
-/* 801D10CC 001CE00C 40 82 00 20 */ bne .L_801D10EC
-/* 801D10D0 001CE010 3C 60 80 48 */ lis r3, lbl_80480500@ha
-/* 801D10D4 001CE014 3C A0 80 48 */ lis r5, lbl_80480510@ha
-/* 801D10D8 001CE018 38 63 05 00 */ addi r3, r3, lbl_80480500@l
-/* 801D10DC 001CE01C 38 80 00 93 */ li r4, 0x93
-/* 801D10E0 001CE020 38 A5 05 10 */ addi r5, r5, lbl_80480510@l
-/* 801D10E4 001CE024 4C C6 31 82 */ crclr 6
-/* 801D10E8 001CE028 4B E5 95 59 */ bl panic_f__12JUTExceptionFPCciPCce
-.L_801D10EC:
-/* 801D10EC 001CE02C 57 E0 10 3A */ slwi r0, r31, 2
-/* 801D10F0 001CE030 7C 9E 02 14 */ add r4, r30, r0
-/* 801D10F4 001CE034 80 64 00 04 */ lwz r3, 4(r4)
-/* 801D10F8 001CE038 38 03 00 01 */ addi r0, r3, 1
-/* 801D10FC 001CE03C 90 04 00 04 */ stw r0, 4(r4)
-/* 801D1100 001CE040 83 E1 00 0C */ lwz r31, 0xc(r1)
-/* 801D1104 001CE044 83 C1 00 08 */ lwz r30, 8(r1)
-/* 801D1108 001CE048 80 01 00 14 */ lwz r0, 0x14(r1)
-/* 801D110C 001CE04C 7C 08 03 A6 */ mtlr r0
-/* 801D1110 001CE050 38 21 00 10 */ addi r1, r1, 0x10
-/* 801D1114 001CE054 4E 80 00 20 */ blr
-
-.global dec__Q34Game8GameStat11PikiCounterFPQ24Game4Piki
-dec__Q34Game8GameStat11PikiCounterFPQ24Game4Piki:
-/* 801D1118 001CE058 94 21 FF F0 */ stwu r1, -0x10(r1)
-/* 801D111C 001CE05C 7C 08 02 A6 */ mflr r0
-/* 801D1120 001CE060 90 01 00 14 */ stw r0, 0x14(r1)
-/* 801D1124 001CE064 38 00 00 00 */ li r0, 0
-/* 801D1128 001CE068 93 E1 00 0C */ stw r31, 0xc(r1)
-/* 801D112C 001CE06C 93 C1 00 08 */ stw r30, 8(r1)
-/* 801D1130 001CE070 7C 7E 1B 78 */ mr r30, r3
-/* 801D1134 001CE074 8B E4 02 B8 */ lbz r31, 0x2b8(r4)
-/* 801D1138 001CE078 2C 1F 00 00 */ cmpwi r31, 0
-/* 801D113C 001CE07C 41 80 00 10 */ blt .L_801D114C
-/* 801D1140 001CE080 2C 1F 00 07 */ cmpwi r31, 7
-/* 801D1144 001CE084 40 80 00 08 */ bge .L_801D114C
-/* 801D1148 001CE088 38 00 00 01 */ li r0, 1
-.L_801D114C:
-/* 801D114C 001CE08C 54 00 06 3F */ clrlwi. r0, r0, 0x18
-/* 801D1150 001CE090 40 82 00 20 */ bne .L_801D1170
-/* 801D1154 001CE094 3C 60 80 48 */ lis r3, lbl_80480500@ha
-/* 801D1158 001CE098 3C A0 80 48 */ lis r5, lbl_80480510@ha
-/* 801D115C 001CE09C 38 63 05 00 */ addi r3, r3, lbl_80480500@l
-/* 801D1160 001CE0A0 38 80 00 9C */ li r4, 0x9c
-/* 801D1164 001CE0A4 38 A5 05 10 */ addi r5, r5, lbl_80480510@l
-/* 801D1168 001CE0A8 4C C6 31 82 */ crclr 6
-/* 801D116C 001CE0AC 4B E5 94 D5 */ bl panic_f__12JUTExceptionFPCciPCce
-.L_801D1170:
-/* 801D1170 001CE0B0 57 E0 10 3A */ slwi r0, r31, 2
-/* 801D1174 001CE0B4 7C 9E 02 14 */ add r4, r30, r0
-/* 801D1178 001CE0B8 80 64 00 04 */ lwz r3, 4(r4)
-/* 801D117C 001CE0BC 38 03 FF FF */ addi r0, r3, -1
-/* 801D1180 001CE0C0 90 04 00 04 */ stw r0, 4(r4)
-/* 801D1184 001CE0C4 83 E1 00 0C */ lwz r31, 0xc(r1)
-/* 801D1188 001CE0C8 83 C1 00 08 */ lwz r30, 8(r1)
-/* 801D118C 001CE0CC 80 01 00 14 */ lwz r0, 0x14(r1)
-/* 801D1190 001CE0D0 7C 08 03 A6 */ mtlr r0
-/* 801D1194 001CE0D4 38 21 00 10 */ addi r1, r1, 0x10
-/* 801D1198 001CE0D8 4E 80 00 20 */ blr
-
-.global inc__Q34Game8GameStat11PikiCounterFi
-inc__Q34Game8GameStat11PikiCounterFi:
-/* 801D119C 001CE0DC 94 21 FF F0 */ stwu r1, -0x10(r1)
-/* 801D11A0 001CE0E0 7C 08 02 A6 */ mflr r0
-/* 801D11A4 001CE0E4 90 01 00 14 */ stw r0, 0x14(r1)
-/* 801D11A8 001CE0E8 38 00 00 00 */ li r0, 0
-/* 801D11AC 001CE0EC 93 E1 00 0C */ stw r31, 0xc(r1)
-/* 801D11B0 001CE0F0 7C 9F 23 79 */ or. r31, r4, r4
-/* 801D11B4 001CE0F4 93 C1 00 08 */ stw r30, 8(r1)
-/* 801D11B8 001CE0F8 7C 7E 1B 78 */ mr r30, r3
-/* 801D11BC 001CE0FC 41 80 00 10 */ blt .L_801D11CC
-/* 801D11C0 001CE100 2C 1F 00 07 */ cmpwi r31, 7
-/* 801D11C4 001CE104 40 80 00 08 */ bge .L_801D11CC
-/* 801D11C8 001CE108 38 00 00 01 */ li r0, 1
-.L_801D11CC:
-/* 801D11CC 001CE10C 54 00 06 3F */ clrlwi. r0, r0, 0x18
-/* 801D11D0 001CE110 40 82 00 20 */ bne .L_801D11F0
-/* 801D11D4 001CE114 3C 60 80 48 */ lis r3, lbl_80480500@ha
-/* 801D11D8 001CE118 3C A0 80 48 */ lis r5, lbl_80480510@ha
-/* 801D11DC 001CE11C 38 63 05 00 */ addi r3, r3, lbl_80480500@l
-/* 801D11E0 001CE120 38 80 00 A4 */ li r4, 0xa4
-/* 801D11E4 001CE124 38 A5 05 10 */ addi r5, r5, lbl_80480510@l
-/* 801D11E8 001CE128 4C C6 31 82 */ crclr 6
-/* 801D11EC 001CE12C 4B E5 94 55 */ bl panic_f__12JUTExceptionFPCciPCce
-.L_801D11F0:
-/* 801D11F0 001CE130 57 E0 10 3A */ slwi r0, r31, 2
-/* 801D11F4 001CE134 7C 9E 02 14 */ add r4, r30, r0
-/* 801D11F8 001CE138 80 64 00 04 */ lwz r3, 4(r4)
-/* 801D11FC 001CE13C 38 03 00 01 */ addi r0, r3, 1
-/* 801D1200 001CE140 90 04 00 04 */ stw r0, 4(r4)
-/* 801D1204 001CE144 83 E1 00 0C */ lwz r31, 0xc(r1)
-/* 801D1208 001CE148 83 C1 00 08 */ lwz r30, 8(r1)
-/* 801D120C 001CE14C 80 01 00 14 */ lwz r0, 0x14(r1)
-/* 801D1210 001CE150 7C 08 03 A6 */ mtlr r0
-/* 801D1214 001CE154 38 21 00 10 */ addi r1, r1, 0x10
-/* 801D1218 001CE158 4E 80 00 20 */ blr
-
-.global dec__Q34Game8GameStat11PikiCounterFi
-dec__Q34Game8GameStat11PikiCounterFi:
-/* 801D121C 001CE15C 94 21 FF F0 */ stwu r1, -0x10(r1)
-/* 801D1220 001CE160 7C 08 02 A6 */ mflr r0
-/* 801D1224 001CE164 90 01 00 14 */ stw r0, 0x14(r1)
-/* 801D1228 001CE168 38 00 00 00 */ li r0, 0
-/* 801D122C 001CE16C 93 E1 00 0C */ stw r31, 0xc(r1)
-/* 801D1230 001CE170 7C 9F 23 79 */ or. r31, r4, r4
-/* 801D1234 001CE174 93 C1 00 08 */ stw r30, 8(r1)
-/* 801D1238 001CE178 7C 7E 1B 78 */ mr r30, r3
-/* 801D123C 001CE17C 41 80 00 10 */ blt .L_801D124C
-/* 801D1240 001CE180 2C 1F 00 07 */ cmpwi r31, 7
-/* 801D1244 001CE184 40 80 00 08 */ bge .L_801D124C
-/* 801D1248 001CE188 38 00 00 01 */ li r0, 1
-.L_801D124C:
-/* 801D124C 001CE18C 54 00 06 3F */ clrlwi. r0, r0, 0x18
-/* 801D1250 001CE190 40 82 00 20 */ bne .L_801D1270
-/* 801D1254 001CE194 3C 60 80 48 */ lis r3, lbl_80480500@ha
-/* 801D1258 001CE198 3C A0 80 48 */ lis r5, lbl_80480510@ha
-/* 801D125C 001CE19C 38 63 05 00 */ addi r3, r3, lbl_80480500@l
-/* 801D1260 001CE1A0 38 80 00 AA */ li r4, 0xaa
-/* 801D1264 001CE1A4 38 A5 05 10 */ addi r5, r5, lbl_80480510@l
-/* 801D1268 001CE1A8 4C C6 31 82 */ crclr 6
-/* 801D126C 001CE1AC 4B E5 93 D5 */ bl panic_f__12JUTExceptionFPCciPCce
-.L_801D1270:
-/* 801D1270 001CE1B0 57 E0 10 3A */ slwi r0, r31, 2
-/* 801D1274 001CE1B4 7C 9E 02 14 */ add r4, r30, r0
-/* 801D1278 001CE1B8 80 64 00 04 */ lwz r3, 4(r4)
-/* 801D127C 001CE1BC 38 03 FF FF */ addi r0, r3, -1
-/* 801D1280 001CE1C0 90 04 00 04 */ stw r0, 4(r4)
-/* 801D1284 001CE1C4 83 E1 00 0C */ lwz r31, 0xc(r1)
-/* 801D1288 001CE1C8 83 C1 00 08 */ lwz r30, 8(r1)
-/* 801D128C 001CE1CC 80 01 00 14 */ lwz r0, 0x14(r1)
-/* 801D1290 001CE1D0 7C 08 03 A6 */ mtlr r0
-/* 801D1294 001CE1D4 38 21 00 10 */ addi r1, r1, 0x10
-/* 801D1298 001CE1D8 4E 80 00 20 */ blr
-
-.global clear__Q34Game8GameStat15PikiNaviCounterFv
-clear__Q34Game8GameStat15PikiNaviCounterFv:
-/* 801D129C 001CE1DC 38 00 00 00 */ li r0, 0
-/* 801D12A0 001CE1E0 90 03 00 04 */ stw r0, 4(r3)
-/* 801D12A4 001CE1E4 90 03 00 08 */ stw r0, 8(r3)
-/* 801D12A8 001CE1E8 90 03 00 0C */ stw r0, 0xc(r3)
-/* 801D12AC 001CE1EC 90 03 00 10 */ stw r0, 0x10(r3)
-/* 801D12B0 001CE1F0 90 03 00 14 */ stw r0, 0x14(r3)
-/* 801D12B4 001CE1F4 90 03 00 18 */ stw r0, 0x18(r3)
-/* 801D12B8 001CE1F8 90 03 00 1C */ stw r0, 0x1c(r3)
-/* 801D12BC 001CE1FC 90 03 00 24 */ stw r0, 0x24(r3)
-/* 801D12C0 001CE200 90 03 00 28 */ stw r0, 0x28(r3)
-/* 801D12C4 001CE204 90 03 00 2C */ stw r0, 0x2c(r3)
-/* 801D12C8 001CE208 90 03 00 30 */ stw r0, 0x30(r3)
-/* 801D12CC 001CE20C 90 03 00 34 */ stw r0, 0x34(r3)
-/* 801D12D0 001CE210 90 03 00 38 */ stw r0, 0x38(r3)
-/* 801D12D4 001CE214 90 03 00 3C */ stw r0, 0x3c(r3)
-/* 801D12D8 001CE218 90 03 00 44 */ stw r0, 0x44(r3)
-/* 801D12DC 001CE21C 90 03 00 48 */ stw r0, 0x48(r3)
-/* 801D12E0 001CE220 90 03 00 4C */ stw r0, 0x4c(r3)
-/* 801D12E4 001CE224 90 03 00 50 */ stw r0, 0x50(r3)
-/* 801D12E8 001CE228 90 03 00 54 */ stw r0, 0x54(r3)
-/* 801D12EC 001CE22C 90 03 00 58 */ stw r0, 0x58(r3)
-/* 801D12F0 001CE230 90 03 00 5C */ stw r0, 0x5c(r3)
-/* 801D12F4 001CE234 90 03 00 64 */ stw r0, 0x64(r3)
-/* 801D12F8 001CE238 90 03 00 68 */ stw r0, 0x68(r3)
-/* 801D12FC 001CE23C 90 03 00 6C */ stw r0, 0x6c(r3)
-/* 801D1300 001CE240 90 03 00 70 */ stw r0, 0x70(r3)
-/* 801D1304 001CE244 90 03 00 74 */ stw r0, 0x74(r3)
-/* 801D1308 001CE248 90 03 00 78 */ stw r0, 0x78(r3)
-/* 801D130C 001CE24C 90 03 00 7C */ stw r0, 0x7c(r3)
-/* 801D1310 001CE250 90 03 00 84 */ stw r0, 0x84(r3)
-/* 801D1314 001CE254 90 03 00 88 */ stw r0, 0x88(r3)
-/* 801D1318 001CE258 90 03 00 8C */ stw r0, 0x8c(r3)
-/* 801D131C 001CE25C 90 03 00 90 */ stw r0, 0x90(r3)
-/* 801D1320 001CE260 90 03 00 94 */ stw r0, 0x94(r3)
-/* 801D1324 001CE264 90 03 00 98 */ stw r0, 0x98(r3)
-/* 801D1328 001CE268 90 03 00 9C */ stw r0, 0x9c(r3)
-/* 801D132C 001CE26C 90 03 00 A4 */ stw r0, 0xa4(r3)
-/* 801D1330 001CE270 90 03 00 A8 */ stw r0, 0xa8(r3)
-/* 801D1334 001CE274 90 03 00 AC */ stw r0, 0xac(r3)
-/* 801D1338 001CE278 90 03 00 B0 */ stw r0, 0xb0(r3)
-/* 801D133C 001CE27C 90 03 00 B4 */ stw r0, 0xb4(r3)
-/* 801D1340 001CE280 90 03 00 B8 */ stw r0, 0xb8(r3)
-/* 801D1344 001CE284 90 03 00 BC */ stw r0, 0xbc(r3)
-/* 801D1348 001CE288 90 03 00 C4 */ stw r0, 0xc4(r3)
-/* 801D134C 001CE28C 90 03 00 C8 */ stw r0, 0xc8(r3)
-/* 801D1350 001CE290 90 03 00 CC */ stw r0, 0xcc(r3)
-/* 801D1354 001CE294 90 03 00 D0 */ stw r0, 0xd0(r3)
-/* 801D1358 001CE298 90 03 00 D4 */ stw r0, 0xd4(r3)
-/* 801D135C 001CE29C 90 03 00 D8 */ stw r0, 0xd8(r3)
-/* 801D1360 001CE2A0 90 03 00 DC */ stw r0, 0xdc(r3)
-/* 801D1364 001CE2A4 4E 80 00 20 */ blr
-
-.global inc__Q34Game8GameStat15PikiNaviCounterFPQ24Game4Piki
-inc__Q34Game8GameStat15PikiNaviCounterFPQ24Game4Piki:
-/* 801D1368 001CE2A8 94 21 FF E0 */ stwu r1, -0x20(r1)
-/* 801D136C 001CE2AC 7C 08 02 A6 */ mflr r0
-/* 801D1370 001CE2B0 90 01 00 24 */ stw r0, 0x24(r1)
-/* 801D1374 001CE2B4 93 E1 00 1C */ stw r31, 0x1c(r1)
-/* 801D1378 001CE2B8 93 C1 00 18 */ stw r30, 0x18(r1)
-/* 801D137C 001CE2BC 93 A1 00 14 */ stw r29, 0x14(r1)
-/* 801D1380 001CE2C0 7C 7D 1B 78 */ mr r29, r3
-/* 801D1384 001CE2C4 80 A4 02 C4 */ lwz r5, 0x2c4(r4)
-/* 801D1388 001CE2C8 28 05 00 00 */ cmplwi r5, 0
-/* 801D138C 001CE2CC 41 82 00 0C */ beq .L_801D1398
-/* 801D1390 001CE2D0 A3 E5 02 DC */ lhz r31, 0x2dc(r5)
-/* 801D1394 001CE2D4 48 00 00 08 */ b .L_801D139C
-.L_801D1398:
-/* 801D1398 001CE2D8 3B E0 00 02 */ li r31, 2
-.L_801D139C:
-/* 801D139C 001CE2DC 8B C4 02 B8 */ lbz r30, 0x2b8(r4)
-/* 801D13A0 001CE2E0 38 00 00 00 */ li r0, 0
-/* 801D13A4 001CE2E4 2C 1E 00 00 */ cmpwi r30, 0
-/* 801D13A8 001CE2E8 41 80 00 10 */ blt .L_801D13B8
-/* 801D13AC 001CE2EC 2C 1E 00 07 */ cmpwi r30, 7
-/* 801D13B0 001CE2F0 40 80 00 08 */ bge .L_801D13B8
-/* 801D13B4 001CE2F4 38 00 00 01 */ li r0, 1
-.L_801D13B8:
-/* 801D13B8 001CE2F8 54 00 06 3F */ clrlwi. r0, r0, 0x18
-/* 801D13BC 001CE2FC 40 82 00 20 */ bne .L_801D13DC
-/* 801D13C0 001CE300 3C 60 80 48 */ lis r3, lbl_80480500@ha
-/* 801D13C4 001CE304 3C A0 80 48 */ lis r5, lbl_80480510@ha
-/* 801D13C8 001CE308 38 63 05 00 */ addi r3, r3, lbl_80480500@l
-/* 801D13CC 001CE30C 38 80 00 93 */ li r4, 0x93
-/* 801D13D0 001CE310 38 A5 05 10 */ addi r5, r5, lbl_80480510@l
-/* 801D13D4 001CE314 4C C6 31 82 */ crclr 6
-/* 801D13D8 001CE318 4B E5 92 69 */ bl panic_f__12JUTExceptionFPCciPCce
-.L_801D13DC:
-/* 801D13DC 001CE31C 57 E3 28 34 */ slwi r3, r31, 5
-/* 801D13E0 001CE320 57 C0 10 3A */ slwi r0, r30, 2
-/* 801D13E4 001CE324 7C 7D 1A 14 */ add r3, r29, r3
-/* 801D13E8 001CE328 7C 83 02 14 */ add r4, r3, r0
-/* 801D13EC 001CE32C 80 64 00 04 */ lwz r3, 4(r4)
-/* 801D13F0 001CE330 38 03 00 01 */ addi r0, r3, 1
-/* 801D13F4 001CE334 90 04 00 04 */ stw r0, 4(r4)
-/* 801D13F8 001CE338 83 E1 00 1C */ lwz r31, 0x1c(r1)
-/* 801D13FC 001CE33C 83 C1 00 18 */ lwz r30, 0x18(r1)
-/* 801D1400 001CE340 83 A1 00 14 */ lwz r29, 0x14(r1)
-/* 801D1404 001CE344 80 01 00 24 */ lwz r0, 0x24(r1)
-/* 801D1408 001CE348 7C 08 03 A6 */ mtlr r0
-/* 801D140C 001CE34C 38 21 00 20 */ addi r1, r1, 0x20
-/* 801D1410 001CE350 4E 80 00 20 */ blr
-
-.global dec__Q34Game8GameStat15PikiNaviCounterFPQ24Game4Piki
-dec__Q34Game8GameStat15PikiNaviCounterFPQ24Game4Piki:
-/* 801D1414 001CE354 94 21 FF E0 */ stwu r1, -0x20(r1)
-/* 801D1418 001CE358 7C 08 02 A6 */ mflr r0
-/* 801D141C 001CE35C 90 01 00 24 */ stw r0, 0x24(r1)
-/* 801D1420 001CE360 93 E1 00 1C */ stw r31, 0x1c(r1)
-/* 801D1424 001CE364 93 C1 00 18 */ stw r30, 0x18(r1)
-/* 801D1428 001CE368 93 A1 00 14 */ stw r29, 0x14(r1)
-/* 801D142C 001CE36C 7C 7D 1B 78 */ mr r29, r3
-/* 801D1430 001CE370 80 A4 02 C4 */ lwz r5, 0x2c4(r4)
-/* 801D1434 001CE374 28 05 00 00 */ cmplwi r5, 0
-/* 801D1438 001CE378 41 82 00 0C */ beq .L_801D1444
-/* 801D143C 001CE37C A3 E5 02 DC */ lhz r31, 0x2dc(r5)
-/* 801D1440 001CE380 48 00 00 08 */ b .L_801D1448
-.L_801D1444:
-/* 801D1444 001CE384 3B E0 00 02 */ li r31, 2
-.L_801D1448:
-/* 801D1448 001CE388 8B C4 02 B8 */ lbz r30, 0x2b8(r4)
-/* 801D144C 001CE38C 38 00 00 00 */ li r0, 0
-/* 801D1450 001CE390 2C 1E 00 00 */ cmpwi r30, 0
-/* 801D1454 001CE394 41 80 00 10 */ blt .L_801D1464
-/* 801D1458 001CE398 2C 1E 00 07 */ cmpwi r30, 7
-/* 801D145C 001CE39C 40 80 00 08 */ bge .L_801D1464
-/* 801D1460 001CE3A0 38 00 00 01 */ li r0, 1
-.L_801D1464:
-/* 801D1464 001CE3A4 54 00 06 3F */ clrlwi. r0, r0, 0x18
-/* 801D1468 001CE3A8 40 82 00 20 */ bne .L_801D1488
-/* 801D146C 001CE3AC 3C 60 80 48 */ lis r3, lbl_80480500@ha
-/* 801D1470 001CE3B0 3C A0 80 48 */ lis r5, lbl_80480510@ha
-/* 801D1474 001CE3B4 38 63 05 00 */ addi r3, r3, lbl_80480500@l
-/* 801D1478 001CE3B8 38 80 00 9C */ li r4, 0x9c
-/* 801D147C 001CE3BC 38 A5 05 10 */ addi r5, r5, lbl_80480510@l
-/* 801D1480 001CE3C0 4C C6 31 82 */ crclr 6
-/* 801D1484 001CE3C4 4B E5 91 BD */ bl panic_f__12JUTExceptionFPCciPCce
-.L_801D1488:
-/* 801D1488 001CE3C8 57 E3 28 34 */ slwi r3, r31, 5
-/* 801D148C 001CE3CC 57 C0 10 3A */ slwi r0, r30, 2
-/* 801D1490 001CE3D0 7C 7D 1A 14 */ add r3, r29, r3
-/* 801D1494 001CE3D4 7C 83 02 14 */ add r4, r3, r0
-/* 801D1498 001CE3D8 80 64 00 04 */ lwz r3, 4(r4)
-/* 801D149C 001CE3DC 38 03 FF FF */ addi r0, r3, -1
-/* 801D14A0 001CE3E0 90 04 00 04 */ stw r0, 4(r4)
-/* 801D14A4 001CE3E4 83 E1 00 1C */ lwz r31, 0x1c(r1)
-/* 801D14A8 001CE3E8 83 C1 00 18 */ lwz r30, 0x18(r1)
-/* 801D14AC 001CE3EC 83 A1 00 14 */ lwz r29, 0x14(r1)
-/* 801D14B0 001CE3F0 80 01 00 24 */ lwz r0, 0x24(r1)
-/* 801D14B4 001CE3F4 7C 08 03 A6 */ mtlr r0
-/* 801D14B8 001CE3F8 38 21 00 20 */ addi r1, r1, 0x20
-/* 801D14BC 001CE3FC 4E 80 00 20 */ blr
-
-.global __sinit_gameStat_cpp
-__sinit_gameStat_cpp: # static initializer
-/* 801D14C0 001CE400 94 21 FF F0 */ stwu r1, -0x10(r1)
-/* 801D14C4 001CE404 7C 08 02 A6 */ mflr r0
-/* 801D14C8 001CE408 3C 60 80 51 */ lis r3, formationPikis__Q24Game8GameStat@ha
-/* 801D14CC 001CE40C 3C 80 80 1D */ lis r4, __ct__Q34Game8GameStat11PikiCounterFv@ha
-/* 801D14D0 001CE410 90 01 00 14 */ stw r0, 0x14(r1)
-/* 801D14D4 001CE414 38 63 22 EC */ addi r3, r3, formationPikis__Q24Game8GameStat@l
-/* 801D14D8 001CE418 38 A0 00 00 */ li r5, 0
-/* 801D14DC 001CE41C 38 84 10 34 */ addi r4, r4, __ct__Q34Game8GameStat11PikiCounterFv@l
-/* 801D14E0 001CE420 38 C0 00 20 */ li r6, 0x20
-/* 801D14E4 001CE424 38 E0 00 07 */ li r7, 7
-/* 801D14E8 001CE428 4B EF 03 55 */ bl __construct_array
-/* 801D14EC 001CE42C 3C 80 80 51 */ lis r4, formationPikis__Q24Game8GameStat@ha
-/* 801D14F0 001CE430 3C 60 80 51 */ lis r3, workPikis__Q24Game8GameStat@ha
-/* 801D14F4 001CE434 39 04 22 EC */ addi r8, r4, formationPikis__Q24Game8GameStat@l
-/* 801D14F8 001CE438 38 00 00 00 */ li r0, 0
-/* 801D14FC 001CE43C 90 08 00 04 */ stw r0, 4(r8)
-/* 801D1500 001CE440 3C 80 80 1D */ lis r4, __ct__Q34Game8GameStat11PikiCounterFv@ha
-/* 801D1504 001CE444 38 63 25 0C */ addi r3, r3, workPikis__Q24Game8GameStat@l
-/* 801D1508 001CE448 38 A0 00 00 */ li r5, 0
-/* 801D150C 001CE44C 90 08 00 08 */ stw r0, 8(r8)
-/* 801D1510 001CE450 38 84 10 34 */ addi r4, r4, __ct__Q34Game8GameStat11PikiCounterFv@l
-/* 801D1514 001CE454 38 C0 00 20 */ li r6, 0x20
-/* 801D1518 001CE458 38 E0 00 07 */ li r7, 7
-/* 801D151C 001CE45C 90 08 00 0C */ stw r0, 0xc(r8)
-/* 801D1520 001CE460 90 08 00 10 */ stw r0, 0x10(r8)
-/* 801D1524 001CE464 90 08 00 14 */ stw r0, 0x14(r8)
-/* 801D1528 001CE468 90 08 00 18 */ stw r0, 0x18(r8)
-/* 801D152C 001CE46C 90 08 00 1C */ stw r0, 0x1c(r8)
-/* 801D1530 001CE470 90 08 00 24 */ stw r0, 0x24(r8)
-/* 801D1534 001CE474 90 08 00 28 */ stw r0, 0x28(r8)
-/* 801D1538 001CE478 90 08 00 2C */ stw r0, 0x2c(r8)
-/* 801D153C 001CE47C 90 08 00 30 */ stw r0, 0x30(r8)
-/* 801D1540 001CE480 90 08 00 34 */ stw r0, 0x34(r8)
-/* 801D1544 001CE484 90 08 00 38 */ stw r0, 0x38(r8)
-/* 801D1548 001CE488 90 08 00 3C */ stw r0, 0x3c(r8)
-/* 801D154C 001CE48C 90 08 00 44 */ stw r0, 0x44(r8)
-/* 801D1550 001CE490 90 08 00 48 */ stw r0, 0x48(r8)
-/* 801D1554 001CE494 90 08 00 4C */ stw r0, 0x4c(r8)
-/* 801D1558 001CE498 90 08 00 50 */ stw r0, 0x50(r8)
-/* 801D155C 001CE49C 90 08 00 54 */ stw r0, 0x54(r8)
-/* 801D1560 001CE4A0 90 08 00 58 */ stw r0, 0x58(r8)
-/* 801D1564 001CE4A4 90 08 00 5C */ stw r0, 0x5c(r8)
-/* 801D1568 001CE4A8 90 08 00 64 */ stw r0, 0x64(r8)
-/* 801D156C 001CE4AC 90 08 00 68 */ stw r0, 0x68(r8)
-/* 801D1570 001CE4B0 90 08 00 6C */ stw r0, 0x6c(r8)
-/* 801D1574 001CE4B4 90 08 00 70 */ stw r0, 0x70(r8)
-/* 801D1578 001CE4B8 90 08 00 74 */ stw r0, 0x74(r8)
-/* 801D157C 001CE4BC 90 08 00 78 */ stw r0, 0x78(r8)
-/* 801D1580 001CE4C0 90 08 00 7C */ stw r0, 0x7c(r8)
-/* 801D1584 001CE4C4 90 08 00 84 */ stw r0, 0x84(r8)
-/* 801D1588 001CE4C8 90 08 00 88 */ stw r0, 0x88(r8)
-/* 801D158C 001CE4CC 90 08 00 8C */ stw r0, 0x8c(r8)
-/* 801D1590 001CE4D0 90 08 00 90 */ stw r0, 0x90(r8)
-/* 801D1594 001CE4D4 90 08 00 94 */ stw r0, 0x94(r8)
-/* 801D1598 001CE4D8 90 08 00 98 */ stw r0, 0x98(r8)
-/* 801D159C 001CE4DC 90 08 00 9C */ stw r0, 0x9c(r8)
-/* 801D15A0 001CE4E0 90 08 00 A4 */ stw r0, 0xa4(r8)
-/* 801D15A4 001CE4E4 90 08 00 A8 */ stw r0, 0xa8(r8)
-/* 801D15A8 001CE4E8 90 08 00 AC */ stw r0, 0xac(r8)
-/* 801D15AC 001CE4EC 90 08 00 B0 */ stw r0, 0xb0(r8)
-/* 801D15B0 001CE4F0 90 08 00 B4 */ stw r0, 0xb4(r8)
-/* 801D15B4 001CE4F4 90 08 00 B8 */ stw r0, 0xb8(r8)
-/* 801D15B8 001CE4F8 90 08 00 BC */ stw r0, 0xbc(r8)
-/* 801D15BC 001CE4FC 90 08 00 C4 */ stw r0, 0xc4(r8)
-/* 801D15C0 001CE500 90 08 00 C8 */ stw r0, 0xc8(r8)
-/* 801D15C4 001CE504 90 08 00 CC */ stw r0, 0xcc(r8)
-/* 801D15C8 001CE508 90 08 00 D0 */ stw r0, 0xd0(r8)
-/* 801D15CC 001CE50C 90 08 00 D4 */ stw r0, 0xd4(r8)
-/* 801D15D0 001CE510 90 08 00 D8 */ stw r0, 0xd8(r8)
-/* 801D15D4 001CE514 90 08 00 DC */ stw r0, 0xdc(r8)
-/* 801D15D8 001CE518 4B EF 02 65 */ bl __construct_array
-/* 801D15DC 001CE51C 3C 60 80 51 */ lis r3, workPikis__Q24Game8GameStat@ha
-/* 801D15E0 001CE520 3C C0 80 4B */ lis r6, __vt__Q34Game8GameStat11PikiCounter@ha
-/* 801D15E4 001CE524 38 E3 25 0C */ addi r7, r3, workPikis__Q24Game8GameStat@l
-/* 801D15E8 001CE528 39 00 00 00 */ li r8, 0
-/* 801D15EC 001CE52C 91 07 00 04 */ stw r8, 4(r7)
-/* 801D15F0 001CE530 3C 60 80 51 */ lis r3, alivePikis__Q24Game8GameStat@ha
-/* 801D15F4 001CE534 38 A3 25 EC */ addi r5, r3, alivePikis__Q24Game8GameStat@l
-/* 801D15F8 001CE538 38 06 79 60 */ addi r0, r6, __vt__Q34Game8GameStat11PikiCounter@l
-/* 801D15FC 001CE53C 91 07 00 08 */ stw r8, 8(r7)
-/* 801D1600 001CE540 3C 60 80 51 */ lis r3, mePikis__Q24Game8GameStat@ha
-/* 801D1604 001CE544 38 83 26 0C */ addi r4, r3, mePikis__Q24Game8GameStat@l
-/* 801D1608 001CE548 91 07 00 0C */ stw r8, 0xc(r7)
-/* 801D160C 001CE54C 3C 60 80 51 */ lis r3, zikatuPikis__Q24Game8GameStat@ha
-/* 801D1610 001CE550 91 07 00 10 */ stw r8, 0x10(r7)
-/* 801D1614 001CE554 91 07 00 14 */ stw r8, 0x14(r7)
-/* 801D1618 001CE558 91 07 00 18 */ stw r8, 0x18(r7)
-/* 801D161C 001CE55C 91 07 00 1C */ stw r8, 0x1c(r7)
-/* 801D1620 001CE560 91 07 00 24 */ stw r8, 0x24(r7)
-/* 801D1624 001CE564 91 07 00 28 */ stw r8, 0x28(r7)
-/* 801D1628 001CE568 91 07 00 2C */ stw r8, 0x2c(r7)
-/* 801D162C 001CE56C 91 07 00 30 */ stw r8, 0x30(r7)
-/* 801D1630 001CE570 91 07 00 34 */ stw r8, 0x34(r7)
-/* 801D1634 001CE574 91 07 00 38 */ stw r8, 0x38(r7)
-/* 801D1638 001CE578 91 07 00 3C */ stw r8, 0x3c(r7)
-/* 801D163C 001CE57C 91 07 00 44 */ stw r8, 0x44(r7)
-/* 801D1640 001CE580 91 07 00 48 */ stw r8, 0x48(r7)
-/* 801D1644 001CE584 91 07 00 4C */ stw r8, 0x4c(r7)
-/* 801D1648 001CE588 91 07 00 50 */ stw r8, 0x50(r7)
-/* 801D164C 001CE58C 91 07 00 54 */ stw r8, 0x54(r7)
-/* 801D1650 001CE590 91 07 00 58 */ stw r8, 0x58(r7)
-/* 801D1654 001CE594 91 07 00 5C */ stw r8, 0x5c(r7)
-/* 801D1658 001CE598 91 07 00 64 */ stw r8, 0x64(r7)
-/* 801D165C 001CE59C 91 07 00 68 */ stw r8, 0x68(r7)
-/* 801D1660 001CE5A0 91 07 00 6C */ stw r8, 0x6c(r7)
-/* 801D1664 001CE5A4 91 07 00 70 */ stw r8, 0x70(r7)
-/* 801D1668 001CE5A8 91 07 00 74 */ stw r8, 0x74(r7)
-/* 801D166C 001CE5AC 91 07 00 78 */ stw r8, 0x78(r7)
-/* 801D1670 001CE5B0 91 07 00 7C */ stw r8, 0x7c(r7)
-/* 801D1674 001CE5B4 91 07 00 84 */ stw r8, 0x84(r7)
-/* 801D1678 001CE5B8 91 07 00 88 */ stw r8, 0x88(r7)
-/* 801D167C 001CE5BC 91 07 00 8C */ stw r8, 0x8c(r7)
-/* 801D1680 001CE5C0 91 07 00 90 */ stw r8, 0x90(r7)
-/* 801D1684 001CE5C4 91 07 00 94 */ stw r8, 0x94(r7)
-/* 801D1688 001CE5C8 91 07 00 98 */ stw r8, 0x98(r7)
-/* 801D168C 001CE5CC 91 07 00 9C */ stw r8, 0x9c(r7)
-/* 801D1690 001CE5D0 91 07 00 A4 */ stw r8, 0xa4(r7)
-/* 801D1694 001CE5D4 91 07 00 A8 */ stw r8, 0xa8(r7)
-/* 801D1698 001CE5D8 91 07 00 AC */ stw r8, 0xac(r7)
-/* 801D169C 001CE5DC 91 07 00 B0 */ stw r8, 0xb0(r7)
-/* 801D16A0 001CE5E0 91 07 00 B4 */ stw r8, 0xb4(r7)
-/* 801D16A4 001CE5E4 91 07 00 B8 */ stw r8, 0xb8(r7)
-/* 801D16A8 001CE5E8 91 07 00 BC */ stw r8, 0xbc(r7)
-/* 801D16AC 001CE5EC 91 07 00 C4 */ stw r8, 0xc4(r7)
-/* 801D16B0 001CE5F0 91 07 00 C8 */ stw r8, 0xc8(r7)
-/* 801D16B4 001CE5F4 91 07 00 CC */ stw r8, 0xcc(r7)
-/* 801D16B8 001CE5F8 91 07 00 D0 */ stw r8, 0xd0(r7)
-/* 801D16BC 001CE5FC 91 07 00 D4 */ stw r8, 0xd4(r7)
-/* 801D16C0 001CE600 94 03 26 2C */ stwu r0, zikatuPikis__Q24Game8GameStat@l(r3)
-/* 801D16C4 001CE604 91 07 00 D8 */ stw r8, 0xd8(r7)
-/* 801D16C8 001CE608 91 07 00 DC */ stw r8, 0xdc(r7)
-/* 801D16CC 001CE60C 90 05 00 00 */ stw r0, 0(r5)
-/* 801D16D0 001CE610 91 05 00 04 */ stw r8, 4(r5)
-/* 801D16D4 001CE614 91 05 00 08 */ stw r8, 8(r5)
-/* 801D16D8 001CE618 91 05 00 0C */ stw r8, 0xc(r5)
-/* 801D16DC 001CE61C 91 05 00 10 */ stw r8, 0x10(r5)
-/* 801D16E0 001CE620 91 05 00 14 */ stw r8, 0x14(r5)
-/* 801D16E4 001CE624 91 05 00 18 */ stw r8, 0x18(r5)
-/* 801D16E8 001CE628 91 05 00 1C */ stw r8, 0x1c(r5)
-/* 801D16EC 001CE62C 90 04 00 00 */ stw r0, 0(r4)
-/* 801D16F0 001CE630 91 04 00 04 */ stw r8, 4(r4)
-/* 801D16F4 001CE634 91 04 00 08 */ stw r8, 8(r4)
-/* 801D16F8 001CE638 91 04 00 0C */ stw r8, 0xc(r4)
-/* 801D16FC 001CE63C 91 04 00 10 */ stw r8, 0x10(r4)
-/* 801D1700 001CE640 91 04 00 14 */ stw r8, 0x14(r4)
-/* 801D1704 001CE644 91 04 00 18 */ stw r8, 0x18(r4)
-/* 801D1708 001CE648 91 04 00 1C */ stw r8, 0x1c(r4)
-/* 801D170C 001CE64C 91 03 00 04 */ stw r8, 4(r3)
-/* 801D1710 001CE650 91 03 00 08 */ stw r8, 8(r3)
-/* 801D1714 001CE654 91 03 00 0C */ stw r8, 0xc(r3)
-/* 801D1718 001CE658 91 03 00 10 */ stw r8, 0x10(r3)
-/* 801D171C 001CE65C 91 03 00 14 */ stw r8, 0x14(r3)
-/* 801D1720 001CE660 91 03 00 18 */ stw r8, 0x18(r3)
-/* 801D1724 001CE664 91 03 00 1C */ stw r8, 0x1c(r3)
-/* 801D1728 001CE668 80 01 00 14 */ lwz r0, 0x14(r1)
-/* 801D172C 001CE66C 7C 08 03 A6 */ mtlr r0
-/* 801D1730 001CE670 38 21 00 10 */ addi r1, r1, 0x10
-/* 801D1734 001CE674 4E 80 00 20 */ blr
diff --git a/docs/recommended_todo.md b/docs/recommended_todo.md
index dea9c062c..19c234632 100644
--- a/docs/recommended_todo.md
+++ b/docs/recommended_todo.md
@@ -114,28 +114,28 @@
###
| File | Size (bytes) | File | Size (bytes) |
| ---- | ---- | ---- | ---- |
-| gameTekiStat.cpp | 3425 | gameStat.cpp | 3642 |
-| aiTeki.cpp | 5860 | mapMgrTraceMove.cpp | 9037 |
-| gameDeathCount.cpp | 12493 | gamePelletList.cpp | 12594 |
-| baseHIOSection.cpp | 13022 | cellIterator.cpp | 13172 |
-| aiBreakGate.cpp | 13952 | flockMgr.cpp | 13973 |
-| itemTreasure.cpp | 14465 | aiBattle.cpp | 15727 |
-| naviWhistle.cpp | 16801 | aiAction.cpp | 18009 |
-| creatureLOD.cpp | 18538 | interactPiki.cpp | 19430 |
-| singleGS_FileSelect.cpp | 20466 | texCaster.cpp | 20820 |
-| aiRescue.cpp | 21068 | gameResultTexMgr.cpp | 21454 |
-| gamePlayCommonData.cpp | 21622 | singleGS_CaveResult.cpp | 22864 |
-| aiCrop.cpp | 26982 | singleGS_WorldMap.cpp | 27025 |
-| aiTransport.cpp | 27315 | gameSystem.cpp | 27946 |
-| pathfinder.cpp | 28384 | singleGS_MainResult.cpp | 29765 |
-| creatureStick.cpp | 29885 | singleGS_Ending.cpp | 31138 |
-| aiEnter.cpp | 31764 | singleGS_DayEnd.cpp | 32347 |
-| gameDynamics.cpp | 34058 | aiBore.cpp | 34931 |
-| baseGameSectionKantei.cpp | 35256 | aiWeed.cpp | 38096 |
-| aiAttack.cpp | 38730 | collinfo.cpp | 42495 |
-| aiFormation.cpp | 43430 | gameCPlate.cpp | 43833 |
-| gameGeneratorCache.cpp | 46655 | gamePlayDataMemCard.cpp | 48734 |
-| gameCaveInfo.cpp | 49620 | pelletCarcass.cpp | 55418 |
+| gameTekiStat.cpp | 3425 | aiTeki.cpp | 5860 |
+| mapMgrTraceMove.cpp | 9037 | gameDeathCount.cpp | 12493 |
+| gamePelletList.cpp | 12594 | baseHIOSection.cpp | 13022 |
+| cellIterator.cpp | 13172 | aiBreakGate.cpp | 13952 |
+| flockMgr.cpp | 13973 | itemTreasure.cpp | 14465 |
+| aiBattle.cpp | 15727 | naviWhistle.cpp | 16801 |
+| aiAction.cpp | 18009 | creatureLOD.cpp | 18538 |
+| interactPiki.cpp | 19430 | singleGS_FileSelect.cpp | 20466 |
+| texCaster.cpp | 20820 | aiRescue.cpp | 21068 |
+| gameResultTexMgr.cpp | 21454 | gamePlayCommonData.cpp | 21622 |
+| singleGS_CaveResult.cpp | 22864 | aiCrop.cpp | 26982 |
+| singleGS_WorldMap.cpp | 27025 | aiTransport.cpp | 27315 |
+| gameSystem.cpp | 27946 | pathfinder.cpp | 28384 |
+| singleGS_MainResult.cpp | 29765 | creatureStick.cpp | 29885 |
+| singleGS_Ending.cpp | 31138 | aiEnter.cpp | 31764 |
+| singleGS_DayEnd.cpp | 32347 | gameDynamics.cpp | 34058 |
+| aiBore.cpp | 34931 | baseGameSectionKantei.cpp | 35256 |
+| aiWeed.cpp | 38096 | aiAttack.cpp | 38730 |
+| collinfo.cpp | 42495 | aiFormation.cpp | 43430 |
+| gameCPlate.cpp | 43833 | gameGeneratorCache.cpp | 46655 |
+| gamePlayDataMemCard.cpp | 48734 | gameCaveInfo.cpp | 49620 |
+| pelletCarcass.cpp | 55418 | gameGenerator.cpp | 56181 |
###
| File | Size (bytes) | File | Size (bytes) |
diff --git a/obj_files.mk b/obj_files.mk
index bbe202632..bf9177254 100644
--- a/obj_files.mk
+++ b/obj_files.mk
@@ -532,7 +532,7 @@ KANDO:=\
$(BUILD_DIR)/asm/plugProjectKandoU/itemGate.o\
$(BUILD_DIR)/asm/plugProjectKandoU/itemMgr.o\
$(BUILD_DIR)/asm/plugProjectKandoU/aiBreakGate.o\
- $(BUILD_DIR)/asm/plugProjectKandoU/gameStat.o\
+ $(BUILD_DIR)/src/plugProjectKandoU/gameStat.o\
$(BUILD_DIR)/asm/plugProjectKandoU/itemHole.o\
$(BUILD_DIR)/asm/plugProjectKandoU/itemHoney.o\
$(BUILD_DIR)/asm/plugProjectKandoU/gameCaveInfo.o\
diff --git a/tools/progress.csv b/tools/progress.csv
index e429663a6..9a405b525 100644
--- a/tools/progress.csv
+++ b/tools/progress.csv
@@ -311,3 +311,5 @@ You have 1599 out of 10000 Pokos and 56 out of 201 treasures.",2023-01-06 19:27:
You have 1605 out of 10000 Pokos and 57 out of 201 treasures.",2023-01-06 20:31:45.916195
1611,749600,0.16112280412144223,57,203739,0.2858066706319369,"
You have 1611 out of 10000 Pokos and 57 out of 201 treasures.",2023-01-08 19:51:43.645625
+1616,752032,0.16164555046565693,57,204097,0.28630887584589315,"
+You have 1616 out of 10000 Pokos and 57 out of 201 treasures.",2023-01-10 21:37:52.979291