mirror of
https://github.com/zeldaret/tww.git
synced 2026-09-12 20:26:07 -04:00
d_a_agbsw0 Almost OK
Biggest gaps are where it needs other actor classes, couple functions with regalloc issues too
This commit is contained in:
+2474
-205
File diff suppressed because it is too large
Load Diff
@@ -1598,7 +1598,7 @@ void daPy_lk_c::getAnmData(daPy_lk_c::daPy_ANM) const {
|
||||
}
|
||||
|
||||
/* 8012894C-80128988 .text checkGrabWeapon__9daPy_lk_cFi */
|
||||
void daPy_lk_c::checkGrabWeapon(int) {
|
||||
BOOL daPy_lk_c::checkGrabWeapon(int) {
|
||||
/* Nonmatching */
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -2728,7 +2728,7 @@ void dKy_instant_rainchg() {
|
||||
}
|
||||
|
||||
/* 801973B8-80197404 .text dKy_moon_type_chk__Fv */
|
||||
int dKy_moon_type_chk() {
|
||||
u32 dKy_moon_type_chk() {
|
||||
int weekday = dKy_get_dayofweek();
|
||||
|
||||
if (dComIfGs_getTime() < 180.0f) {
|
||||
|
||||
@@ -685,13 +685,16 @@ void mDoGaC_agbCom_c::mDoGaC_ReadResult() {
|
||||
}
|
||||
}
|
||||
|
||||
/* 8001BA34-8001BA68 .text BigLittleChange__FUl */
|
||||
// NONMATCHING - not even close
|
||||
u32 BigLittleChange(u32 param_0) {
|
||||
u8 b1 = param_0 >> 8;
|
||||
u8 b2 = param_0 >> 0x10;
|
||||
u8 b3 = param_0 >> 0x18;
|
||||
return (param_0 << 0x18) | (b1 << 0x10) | (b2 << 8) | b3;
|
||||
u32 big = param_0;
|
||||
u32 little;
|
||||
|
||||
reinterpret_cast<u8*>(&little)[0] = reinterpret_cast<u8*>(&big)[3];
|
||||
reinterpret_cast<u8*>(&little)[1] = reinterpret_cast<u8*>(&big)[2];
|
||||
reinterpret_cast<u8*>(&little)[2] = reinterpret_cast<u8*>(&big)[1];
|
||||
reinterpret_cast<u8*>(&little)[3] = reinterpret_cast<u8*>(&big)[0];
|
||||
|
||||
return little;
|
||||
}
|
||||
|
||||
/* 8001BAA0-8001BADC .text __dt__15mDoGaC_agbCom_cFv */
|
||||
|
||||
Reference in New Issue
Block a user