Curation round 2, wave A: anm2 (Anm2Ed JSON), text, config as idiomatic classes; SDL3 platform opens a window
- anm2.h/.cpp take over ANM2, AnimationState, LayerState, AnmCache and the frame data. They read Anm2Ed's JSON documents with simdjson and play them as the game does (interpolation baked at load). src/anm2/ and msvc.h are retired. - font, formatted_text, string_table and rich_text take over the text classes. FormattedText::parse is still bit-exact against its assembly. - options_config and challenge_params take over OptionsConfig, ChallengeParams and the .ini helpers. The tests include Save's exact bytes. - platform.h/.cpp and main.cpp run IsaacMain on SDL3: the window and GL context open, and the run stops at the first built-in shader (FUN_00a13fa0). - source_tree.py: a taken-over parent stays bytes, taken-over methods are not re-emitted as a namespace, and every address in a (a, b, c to d) list on a comment counts as taken over. - log.h: reconstruction_missing() for a taken-over class's methods that are not written yet. 206 functions taken over, boot path 89/615. The full build waits for wave B: item_config, entity_config and mod_manager still use the old APIs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d6e1ca7c6c
commit
780767f5e1
161 files changed
+8646
-21919
No files matched your search
+136
-134
@@ -35,7 +35,7 @@ void PauseScreen::load_drop_player_menu()
|
||||
menuAnmPath._capacity = 0x1f;
|
||||
builtin_strncpy((*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(GHIDRA_CAST<char *>(menuAnmPath._buf))) + 0x0))),"gfx/ui/Menu_DropPlayer.anm2",0x1c);
|
||||
local_14 = 0;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>((in_ECX + 4)))))->ANM2::Load(&menuAnmPath,1);
|
||||
ANM2::Load(GHIDRA_CAST<ANM2 *>((in_ECX + 4)),&menuAnmPath,1);
|
||||
local_14 = 0xffffffff;
|
||||
if (0xf < menuAnmPath._capacity) {
|
||||
uVar3 = menuAnmPath._capacity + 1;
|
||||
@@ -53,9 +53,9 @@ void PauseScreen::load_drop_player_menu()
|
||||
animData = *GHIDRA_CAST<uint8_t **>((in_ECX + 0x38));
|
||||
if (animData == GHIDRA_CAST<uint8_t *>(0x0)) {
|
||||
LAB_008d1114:
|
||||
bVar1 = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>((in_ECX + 4)))))->ANM2::SetAnimation(GHIDRA_CAST<uint8_t *>("Background"),1);
|
||||
bVar1 = ANM2::SetAnimation(GHIDRA_CAST<ANM2 *>((in_ECX + 4)),GHIDRA_CAST<uint8_t *>("Background"),1);
|
||||
if (bVar1 != 0) {
|
||||
(GHIDRA_CAST<AnimationState *>((GHIDRA_CAST<AnimationState *>((in_ECX + 0x34)))))->AnimationState::Rewind();
|
||||
AnimationState::Rewind(GHIDRA_CAST<AnimationState *>((in_ECX + 0x34)));
|
||||
*GHIDRA_CAST<uint8_t *>((in_ECX + 0x48)) = 1;
|
||||
}
|
||||
}
|
||||
@@ -96,7 +96,7 @@ LAB_008d1106:
|
||||
counterAnmPath._capacity = 0x1f;
|
||||
builtin_strncpy((*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(GHIDRA_CAST<char *>(counterAnmPath._buf))) + 0x0))),"gfx/ui/DropPlayer_Counter.anm2",0x1f);
|
||||
local_14 = 1;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>((in_ECX + 0x118)))))->ANM2::Load(&counterAnmPath,1);
|
||||
ANM2::Load(GHIDRA_CAST<ANM2 *>((in_ECX + 0x118)),&counterAnmPath,1);
|
||||
local_14 = 0xffffffff;
|
||||
if (0xf < counterAnmPath._capacity) {
|
||||
uVar3 = counterAnmPath._capacity + 1;
|
||||
@@ -141,9 +141,9 @@ LAB_008d123d:
|
||||
if ((uVar3 == 0) && ((animData[0x34] == 0 || (*GHIDRA_CAST<char *>((in_ECX + 0x15c)) != '\0'))))
|
||||
goto LAB_008d1269;
|
||||
}
|
||||
bVar1 = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>((in_ECX + 0x118)))))->ANM2::SetAnimation(GHIDRA_CAST<uint8_t *>("UpperSelector"),1);
|
||||
bVar1 = ANM2::SetAnimation(GHIDRA_CAST<ANM2 *>((in_ECX + 0x118)),GHIDRA_CAST<uint8_t *>("UpperSelector"),1);
|
||||
if (bVar1 != 0) {
|
||||
(GHIDRA_CAST<AnimationState *>((GHIDRA_CAST<AnimationState *>((in_ECX + 0x148)))))->AnimationState::Rewind();
|
||||
AnimationState::Rewind(GHIDRA_CAST<AnimationState *>((in_ECX + 0x148)));
|
||||
*GHIDRA_CAST<uint8_t *>((in_ECX + 0x15c)) = 1;
|
||||
}
|
||||
LAB_008d1269:
|
||||
@@ -179,12 +179,12 @@ void PauseScreen::update_player_info_page()
|
||||
}
|
||||
build_player_user_list(this);
|
||||
if ((*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x10d))) != '\0') {
|
||||
(GHIDRA_CAST<AnimationState *>((GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x34)))))))->AnimationState::Update();
|
||||
(GHIDRA_CAST<AnimationState *>((GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x54)))))))->AnimationState::Update();
|
||||
AnimationState::Update(GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x34)))));
|
||||
AnimationState::Update(GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x54)))));
|
||||
}
|
||||
if ((*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x221))) != '\0') {
|
||||
(GHIDRA_CAST<AnimationState *>((GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x148)))))))->AnimationState::Update();
|
||||
(GHIDRA_CAST<AnimationState *>((GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x168)))))))->AnimationState::Update();
|
||||
AnimationState::Update(GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x148)))));
|
||||
AnimationState::Update(GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x168)))));
|
||||
}
|
||||
memberCount = online_lobby_get_member_count();
|
||||
optionCount = memberCount + -1;
|
||||
@@ -310,9 +310,9 @@ LAB_008d15c1:
|
||||
}
|
||||
}
|
||||
}
|
||||
bVar1 = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x118)))))))->ANM2::SetAnimation(local_8,1);
|
||||
bVar1 = ANM2::SetAnimation(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x118)))),local_8,1);
|
||||
if (bVar1 != 0) {
|
||||
(GHIDRA_CAST<AnimationState *>((GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x148)))))))->AnimationState::Rewind();
|
||||
AnimationState::Rewind(GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x148)))));
|
||||
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x15c))) = 1;
|
||||
}
|
||||
return;
|
||||
@@ -615,9 +615,9 @@ LAB_008d3472:
|
||||
LAB_008d354d:
|
||||
update_items_page();
|
||||
if (*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x38)))) == 0) {
|
||||
arrowLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x304)))))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("DescriptionArrowUp"));
|
||||
arrowLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x304)))),GHIDRA_CAST<uint8_t *>("DescriptionArrowUp"));
|
||||
arrowLayer->_visible = 0;
|
||||
arrowLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x304)))))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("DescriptionArrowDown"));
|
||||
arrowLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x304)))),GHIDRA_CAST<uint8_t *>("DescriptionArrowDown"));
|
||||
arrowLayer->_visible = 0;
|
||||
update_trinket_display(this);
|
||||
update_pocket_item_display(this);
|
||||
@@ -629,10 +629,10 @@ LAB_008d354d:
|
||||
descriptionLineCount =
|
||||
InfoDisplayEntry::count_lines(player,*GHIDRA_CAST<uint32_t *>((*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x38)))) + 4)));
|
||||
iVar1 = *GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x44))));
|
||||
arrowLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x304)))))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("DescriptionArrowUp"));
|
||||
arrowLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x304)))),GHIDRA_CAST<uint8_t *>("DescriptionArrowUp"));
|
||||
arrowLayer->_visible = 0 < iVar1;
|
||||
uVar2 = *GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x48))));
|
||||
arrowLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x304)))))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("DescriptionArrowDown"));
|
||||
arrowLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x304)))),GHIDRA_CAST<uint8_t *>("DescriptionArrowDown"));
|
||||
arrowLayer->_visible = uVar2 < descriptionLineCount;
|
||||
update_trinket_display(this);
|
||||
update_pocket_item_display(this);
|
||||
@@ -694,7 +694,7 @@ void PauseScreen::render_items_page()
|
||||
}
|
||||
if (*GHIDRA_CAST<int *>((in_ECX + 0x338)) != 0) {
|
||||
backButtonNull =
|
||||
(GHIDRA_CAST<AnimationState *>((GHIDRA_CAST<AnimationState *>((in_ECX + 0x334)))))->AnimationState::GetNullFrame(GHIDRA_CAST<uint8_t *>("BackButton"));
|
||||
AnimationState::GetNullFrame(GHIDRA_CAST<AnimationState *>((in_ECX + 0x334)),GHIDRA_CAST<uint8_t *>("BackButton"));
|
||||
if (backButtonNull != GHIDRA_CAST<float *>(0x0)) {
|
||||
glyphX = pagePos.x + *backButtonNull;
|
||||
glyphY = pagePos.y + backButtonNull[1];
|
||||
@@ -896,9 +896,9 @@ void PauseScreen::update_items_page()
|
||||
in_ECX[0xd] = 0;
|
||||
in_ECX[0xe] = 0;
|
||||
(GHIDRA_CAST<KAGE::SmartPointer *>((in_ECX + 0xf)))->KAGE::SmartPointer::reset((void *)0x0);
|
||||
arrowLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>((in_ECX + 0xc1)))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("ItemsArrowUp"));
|
||||
arrowLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>((in_ECX + 0xc1)),GHIDRA_CAST<uint8_t *>("ItemsArrowUp"));
|
||||
arrowLayer->_visible = 0;
|
||||
arrowLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>((in_ECX + 0xc1)))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("ItemsArrowDown"));
|
||||
arrowLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>((in_ECX + 0xc1)),GHIDRA_CAST<uint8_t *>("ItemsArrowDown"));
|
||||
arrowLayer->_visible = 0;
|
||||
goto LAB_008d3fcb;
|
||||
}
|
||||
@@ -1067,10 +1067,10 @@ LAB_008d3ede:
|
||||
(GHIDRA_CAST<SoundEffects *>((&manager->_sfxManager)))->SoundEffects::Play(GHIDRA_INT(local_48),1.0,2,0,1.0,0.0);
|
||||
}
|
||||
isArrowVisible = 0 < in_ECX[0xc];
|
||||
arrowLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>((in_ECX + 0xc1)))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("ItemsArrowUp"));
|
||||
arrowLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>((in_ECX + 0xc1)),GHIDRA_CAST<uint8_t *>("ItemsArrowUp"));
|
||||
arrowLayer->_visible = isArrowVisible;
|
||||
isArrowVisible = GHIDRA_UINT(in_ECX[2]) < GHIDRA_UINT((local_28 - in_ECX[0xc]));
|
||||
arrowLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>((in_ECX + 0xc1)))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("ItemsArrowDown"));
|
||||
arrowLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>((in_ECX + 0xc1)),GHIDRA_CAST<uint8_t *>("ItemsArrowDown"));
|
||||
arrowLayer->_visible = isArrowVisible;
|
||||
LAB_008d3fcb:
|
||||
if (shownItems != (void *)0x0) {
|
||||
@@ -1176,10 +1176,10 @@ void PauseScreen::update_trinket_display()
|
||||
0x41f00000,*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x14)))) == 2);
|
||||
scrollLimit = InfoDisplayEntry::count_lines(pEVar4,pEVar4->_trinketsID[0]);
|
||||
trinketConfig = *GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x58))));
|
||||
arrowLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x304)))))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("TrinketArrowUp"));
|
||||
arrowLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x304)))),GHIDRA_CAST<uint8_t *>("TrinketArrowUp"));
|
||||
arrowLayer->_visible = 0 < trinketConfig;
|
||||
uVar3 = *GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((pauseScreen)) + 0x5c))));
|
||||
arrowLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x304)))))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("TrinketArrowDown"));
|
||||
arrowLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x304)))),GHIDRA_CAST<uint8_t *>("TrinketArrowDown"));
|
||||
arrowLayer->_visible = uVar3 < scrollLimit;
|
||||
ExceptionList = local_10;
|
||||
return;
|
||||
@@ -1189,9 +1189,9 @@ void PauseScreen::update_trinket_display()
|
||||
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x4c)))) = 0;
|
||||
(GHIDRA_CAST<KAGE::SmartPointer *>((&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x50))))))->KAGE::SmartPointer::reset((void *)0x0);
|
||||
}
|
||||
arrowLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x304)))))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("TrinketArrowUp"));
|
||||
arrowLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x304)))),GHIDRA_CAST<uint8_t *>("TrinketArrowUp"));
|
||||
arrowLayer->_visible = 0;
|
||||
arrowLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x304)))))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("TrinketArrowDown"));
|
||||
arrowLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x304)))),GHIDRA_CAST<uint8_t *>("TrinketArrowDown"));
|
||||
arrowLayer->_visible = 0;
|
||||
ExceptionList = local_10;
|
||||
return;
|
||||
@@ -1251,7 +1251,7 @@ void PauseScreen::update_pocket_item_display()
|
||||
joined_r0x008d4475:
|
||||
if (pocketId == 0) {
|
||||
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x60)))) = 0;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x64)))))))->ANM2::Reset();
|
||||
ANM2::Reset(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x64)))));
|
||||
goto LAB_008d448a;
|
||||
}
|
||||
}
|
||||
@@ -1279,7 +1279,7 @@ joined_r0x008d4475:
|
||||
in_stack_ffffff80 = 5;
|
||||
pickupConfig = (GHIDRA_CAST<EntityConfig *>((entityConfig)))->EntityConfig::GetEntity(5,0x46,player->_pocketSlots[iVar5 * 2]);
|
||||
if (pickupConfig == GHIDRA_CAST<EntityConfig_Entity *>(0x0)) {
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x64)))))))->ANM2::Reset();
|
||||
ANM2::Reset(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x64)))));
|
||||
}
|
||||
else {
|
||||
anm2PathChars = &pickupConfig->anm2Path;
|
||||
@@ -1288,7 +1288,7 @@ joined_r0x008d4475:
|
||||
}
|
||||
(GHIDRA_CAST<msvc::string *>((anm2PathStr._buf)))->msvc::string::string_from_cstr(GHIDRA_CAST<uint8_t *>(anm2PathChars));
|
||||
local_14 = 0;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x64)))))))->ANM2::Load(&anm2PathStr,1);
|
||||
ANM2::Load(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x64)))),&anm2PathStr,1);
|
||||
local_14 = 0xffffffff;
|
||||
if (0xf < anm2PathStr._capacity) {
|
||||
uVar4 = anm2PathStr._capacity + 1;
|
||||
@@ -1304,7 +1304,7 @@ joined_r0x008d4475:
|
||||
operator_delete(freePtr,uVar4);
|
||||
}
|
||||
in_stack_ffffff80 = 0x8d44e9;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x64)))))))->ANM2::Play(s_Idle,0);
|
||||
ANM2::Play(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x64)))),s_Idle,0);
|
||||
}
|
||||
}
|
||||
else {
|
||||
@@ -1327,7 +1327,7 @@ joined_r0x008d4475:
|
||||
pickupConfig = (GHIDRA_CAST<EntityConfig *>((&manager->_entityConfig)))->EntityConfig::GetEntity(5,300,*GHIDRA_CAST<int *>((pocketId + 0x54)))
|
||||
;
|
||||
if (pickupConfig == GHIDRA_CAST<EntityConfig_Entity *>(0x0)) {
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x64)))))))->ANM2::Reset();
|
||||
ANM2::Reset(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x64)))));
|
||||
}
|
||||
else {
|
||||
anm2PathStr._size = 0;
|
||||
@@ -1341,7 +1341,7 @@ joined_r0x008d4475:
|
||||
anm2PathStr._capacity = 0x1f;
|
||||
builtin_strncpy((*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(GHIDRA_CAST<char *>(anm2PathStr._buf))) + 0x0))),"gfx/ui/ui_cardspills.anm2",0x1a);
|
||||
local_14 = 1;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x64)))))))->ANM2::Load(&anm2PathStr,1);
|
||||
ANM2::Load(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x64)))),&anm2PathStr,1);
|
||||
local_14 = 0xffffffff;
|
||||
if (0xf < anm2PathStr._capacity) {
|
||||
uVar4 = anm2PathStr._capacity + 1;
|
||||
@@ -1357,13 +1357,13 @@ joined_r0x008d4475:
|
||||
operator_delete(freePtr,uVar4);
|
||||
}
|
||||
in_stack_ffffff80 = 0x8d4636;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x64)))))))->ANM2::SetFrame(GHIDRA_CAST<std_string *>("CardFronts"),
|
||||
ANM2::SetFrame(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x64)))),GHIDRA_CAST<std_string *>("CardFronts"),
|
||||
player->_pocketSlots[iVar5 * 2]);
|
||||
uVar4 = 0;
|
||||
isAnyLayerVisible = false;
|
||||
if (*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0xe4)))) != 0) {
|
||||
do {
|
||||
pvVar2 = (GHIDRA_CAST<AnimationState *>((GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x94)))))))->AnimationState::GetLayerFrame(uVar4);
|
||||
pvVar2 = AnimationState::GetLayerFrame(GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x94)))),uVar4);
|
||||
if ((pvVar2 != (void *)0x0) && (*GHIDRA_CAST<char *>((GHIDRA_CAST<char *>(pvVar2) + 0x2c)) != '\0')) {
|
||||
isAnyLayerVisible = true;
|
||||
}
|
||||
@@ -1377,7 +1377,7 @@ joined_r0x008d4475:
|
||||
}
|
||||
(GHIDRA_CAST<msvc::string *>((cardAnm2Path._buf)))->msvc::string::string_from_cstr(GHIDRA_CAST<uint8_t *>(anm2PathChars));
|
||||
local_14 = 2;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x64)))))))->ANM2::Load(&cardAnm2Path,1);
|
||||
ANM2::Load(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x64)))),&cardAnm2Path,1);
|
||||
local_14 = 0xffffffff;
|
||||
if (0xf < cardAnm2Path._capacity) {
|
||||
uVar4 = cardAnm2Path._capacity + 1;
|
||||
@@ -1396,7 +1396,7 @@ joined_r0x008d4475:
|
||||
cardAnm2Path._capacity = 0xf;
|
||||
(*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(cardAnm2Path._buf)) + 0x0))) = (*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(cardAnm2Path._buf)) + 0x0))) & 0xffffff00;
|
||||
in_stack_ffffff80 = 0x8d4712;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x64)))))))->ANM2::Play(&DAT_00b6b338,0);
|
||||
ANM2::Play(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x64)))),&DAT_00b6b338,0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1407,18 +1407,18 @@ LAB_008d471f:
|
||||
in_stack_ffffff80,0x41f00000,*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x14)))) == 3);
|
||||
uVar3 = InfoDisplayEntry::count_lines(player,player->_pocketSlots[0]);
|
||||
pocketId = *GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x17c))));
|
||||
arrowLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x304)))))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("PocketArrowUp"));
|
||||
arrowLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x304)))),GHIDRA_CAST<uint8_t *>("PocketArrowUp"));
|
||||
arrowLayer->_visible = 0 < pocketId;
|
||||
uVar4 = *GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x180))));
|
||||
arrowLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x304)))))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("PocketArrowDown"));
|
||||
arrowLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x304)))),GHIDRA_CAST<uint8_t *>("PocketArrowDown"));
|
||||
arrowLayer->_visible = uVar4 < uVar3;
|
||||
ExceptionList = local_1c;
|
||||
return;
|
||||
}
|
||||
LAB_008d448a:
|
||||
arrowLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x304)))))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("PocketArrowUp"));
|
||||
arrowLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x304)))),GHIDRA_CAST<uint8_t *>("PocketArrowUp"));
|
||||
arrowLayer->_visible = 0;
|
||||
arrowLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x304)))))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("PocketArrowDown"));
|
||||
arrowLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x304)))),GHIDRA_CAST<uint8_t *>("PocketArrowDown"));
|
||||
arrowLayer->_visible = 0;
|
||||
ExceptionList = local_1c;
|
||||
return;
|
||||
@@ -1635,15 +1635,15 @@ void PauseScreen::constructor()
|
||||
local_10 = ExceptionList;
|
||||
ExceptionList = &local_10;
|
||||
this->_menuType = 0;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x2c)))))))->ANM2::constructor();
|
||||
ANM2::constructor(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x2c)))));
|
||||
local_8 = 0;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x140)))))))->ANM2::constructor();
|
||||
ANM2::constructor(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x140)))));
|
||||
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x0))) = 1;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x254)))))))->ANM2::constructor();
|
||||
ANM2::constructor(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x254)))));
|
||||
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x0))) = 2;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x368)))))))->ANM2::constructor();
|
||||
ANM2::constructor(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x368)))));
|
||||
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x0))) = 3;
|
||||
(GHIDRA_CAST<ANM2 *>((&(this->_genericPrompt)._sprite)))->ANM2::constructor();
|
||||
ANM2::constructor(&(this->_genericPrompt)._sprite);
|
||||
(this->_genericPrompt)._isOnlineVote = 0;
|
||||
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&((this->_genericPrompt))) + 0x114)))) = 0;
|
||||
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&((this->_genericPrompt))) + 0x118)))) = 0;
|
||||
@@ -1675,7 +1675,7 @@ void PauseScreen::constructor()
|
||||
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x890)))) = 0;
|
||||
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x894)))) = 0;
|
||||
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x898)))) = 0;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x89c)))))))->ANM2::constructor();
|
||||
ANM2::constructor(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x89c)))));
|
||||
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x9b0)))) = 0xffffffff;
|
||||
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x9b4)))) = 0;
|
||||
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x9b8)))) = 0;
|
||||
@@ -1684,17 +1684,17 @@ void PauseScreen::constructor()
|
||||
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x9d0)))) = 0xf;
|
||||
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x9bc))) = 0;
|
||||
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x0))) = 10;
|
||||
(GHIDRA_CAST<Font *>((GHIDRA_CAST<Font *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x9d4)))))))->Font::Font();
|
||||
Font::Font(GHIDRA_CAST<Font *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x9d4)))));
|
||||
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xa20)))) = 0;
|
||||
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xa24)))) = 0x3f800000;
|
||||
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x0))) = 0xb;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xa28)))))))->ANM2::constructor();
|
||||
ANM2::constructor(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xa28)))));
|
||||
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x0))) = 0xc;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xb3c)))))))->ANM2::constructor();
|
||||
ANM2::constructor(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xb3c)))));
|
||||
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x0))) = 0xd;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xc50)))))))->ANM2::constructor();
|
||||
ANM2::constructor(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xc50)))));
|
||||
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x0))) = 0xe;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xd64)))))))->ANM2::constructor();
|
||||
ANM2::constructor(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xd64)))));
|
||||
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x0))) = 0xf;
|
||||
(GHIDRA_CAST<KAGE::SmartPointer *>((&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xe78))))))->KAGE::SmartPointer::SmartPointer((void *)0x0);
|
||||
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xe80)))) = 0;
|
||||
@@ -1702,14 +1702,14 @@ void PauseScreen::constructor()
|
||||
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xe88)))) = 0;
|
||||
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xe8c)))) = 0;
|
||||
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x0))) = 0x11;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xe94)))))))->ANM2::constructor();
|
||||
ANM2::constructor(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xe94)))));
|
||||
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x0))) = 0x12;
|
||||
(GHIDRA_CAST<MenuDialog *>((this + 1)))->MenuDialog::constructor();
|
||||
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x0))) = 0x13;
|
||||
*GHIDRA_CAST<uint32_t *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[1])) + 0x268)))) = 0;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[1])) + 0x26c)))))))->ANM2::constructor();
|
||||
ANM2::constructor(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[1])) + 0x26c)))));
|
||||
local_8 = CONCAT31((*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x1))),0x14);
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[1])) + 0x380)))))))->ANM2::constructor();
|
||||
ANM2::constructor(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[1])) + 0x380)))));
|
||||
pGVar1 = &this[1]._genericPrompt;
|
||||
(pGVar1->_sprite)._animDefaultName._buf[0] = '\0';
|
||||
(pGVar1->_sprite)._animDefaultName._buf[1] = '\0';
|
||||
@@ -1750,9 +1750,9 @@ PauseScreen::~PauseScreen()
|
||||
FUN_008d0f10(__security_cookie ^ GHIDRA_INT(register0x00000010) - 4U);
|
||||
(GHIDRA_CAST<MenuDialog *>((this + 1)))->MenuDialog::~MenuDialog();
|
||||
local_8 = 0;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xe94)))))))->ANM2::Reset();
|
||||
(GHIDRA_CAST<AnimationState *>((GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xee4)))))))->AnimationState::~AnimationState();
|
||||
(GHIDRA_CAST<AnimationState *>((GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xec4)))))))->AnimationState::~AnimationState();
|
||||
ANM2::Reset(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xe94)))));
|
||||
AnimationState::~AnimationState(GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xee4)))));
|
||||
AnimationState::~AnimationState(GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xec4)))));
|
||||
(GHIDRA_CAST<msvc::string *>((&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xeac))))))->msvc::string::_Tidy_deallocate();
|
||||
(GHIDRA_CAST<msvc::string *>((&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xe94))))))->msvc::string::_Tidy_deallocate();
|
||||
local_8 = 1;
|
||||
@@ -1765,33 +1765,33 @@ PauseScreen::~PauseScreen()
|
||||
(GHIDRA_CAST<PauseScreen_MyStuff *>((&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x838))))))->PauseScreen_MyStuff::~PauseScreen_MyStuff();
|
||||
(GHIDRA_CAST<Menu_Options *>((GHIDRA_CAST<Menu_Options *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x5b0)))))))->Menu_Options::~Menu_Options();
|
||||
local_8 = 2;
|
||||
(GHIDRA_CAST<ANM2 *>((&(this->_genericPrompt)._sprite)))->ANM2::Reset();
|
||||
(GHIDRA_CAST<AnimationState *>((&(this->_genericPrompt)._sprite._overlayAnimState)))->AnimationState::~AnimationState();
|
||||
(GHIDRA_CAST<AnimationState *>((&(this->_genericPrompt)._sprite._animState)))->AnimationState::~AnimationState();
|
||||
ANM2::Reset(&(this->_genericPrompt)._sprite);
|
||||
AnimationState::~AnimationState(&(this->_genericPrompt)._sprite._overlayAnimState);
|
||||
AnimationState::~AnimationState(&(this->_genericPrompt)._sprite._animState);
|
||||
(GHIDRA_CAST<msvc::string *>(((this->_genericPrompt)._sprite._animDefaultName._buf)))->msvc::string::_Tidy_deallocate();
|
||||
(GHIDRA_CAST<msvc::string *>((GHIDRA_CAST<char *>(&this->_genericPrompt))))->msvc::string::_Tidy_deallocate();
|
||||
local_8 = 3;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x368)))))))->ANM2::Reset();
|
||||
(GHIDRA_CAST<AnimationState *>((GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x3b8)))))))->AnimationState::~AnimationState();
|
||||
(GHIDRA_CAST<AnimationState *>((GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x398)))))))->AnimationState::~AnimationState();
|
||||
ANM2::Reset(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x368)))));
|
||||
AnimationState::~AnimationState(GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x3b8)))));
|
||||
AnimationState::~AnimationState(GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x398)))));
|
||||
(GHIDRA_CAST<msvc::string *>((&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x380))))))->msvc::string::_Tidy_deallocate();
|
||||
(GHIDRA_CAST<msvc::string *>((&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x368))))))->msvc::string::_Tidy_deallocate();
|
||||
local_8 = 4;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x254)))))))->ANM2::Reset();
|
||||
(GHIDRA_CAST<AnimationState *>((GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x2a4)))))))->AnimationState::~AnimationState();
|
||||
(GHIDRA_CAST<AnimationState *>((GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x284)))))))->AnimationState::~AnimationState();
|
||||
ANM2::Reset(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x254)))));
|
||||
AnimationState::~AnimationState(GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x2a4)))));
|
||||
AnimationState::~AnimationState(GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x284)))));
|
||||
(GHIDRA_CAST<msvc::string *>((&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x26c))))))->msvc::string::_Tidy_deallocate();
|
||||
(GHIDRA_CAST<msvc::string *>((&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x254))))))->msvc::string::_Tidy_deallocate();
|
||||
local_8 = 5;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x140)))))))->ANM2::Reset();
|
||||
(GHIDRA_CAST<AnimationState *>((GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x190)))))))->AnimationState::~AnimationState();
|
||||
(GHIDRA_CAST<AnimationState *>((GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x170)))))))->AnimationState::~AnimationState();
|
||||
ANM2::Reset(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x140)))));
|
||||
AnimationState::~AnimationState(GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x190)))));
|
||||
AnimationState::~AnimationState(GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x170)))));
|
||||
(GHIDRA_CAST<msvc::string *>((&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x158))))))->msvc::string::_Tidy_deallocate();
|
||||
(GHIDRA_CAST<msvc::string *>((&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x140))))))->msvc::string::_Tidy_deallocate();
|
||||
local_8 = 6;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x2c)))))))->ANM2::Reset();
|
||||
(GHIDRA_CAST<AnimationState *>((GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x7c)))))))->AnimationState::~AnimationState();
|
||||
(GHIDRA_CAST<AnimationState *>((GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x5c)))))))->AnimationState::~AnimationState();
|
||||
ANM2::Reset(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x2c)))));
|
||||
AnimationState::~AnimationState(GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x7c)))));
|
||||
AnimationState::~AnimationState(GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x5c)))));
|
||||
(GHIDRA_CAST<msvc::string *>((&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x44))))))->msvc::string::_Tidy_deallocate();
|
||||
(GHIDRA_CAST<msvc::string *>((&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x2c))))))->msvc::string::_Tidy_deallocate();
|
||||
ExceptionList = local_10;
|
||||
@@ -1852,7 +1852,7 @@ void PauseScreen::Init()
|
||||
anm2Path._capacity = 0x1f;
|
||||
builtin_strncpy((*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(GHIDRA_CAST<char *>(anm2Path._buf))) + 0x0))),"gfx/ui/PauseScreen.anm2",0x18);
|
||||
local_14 = 0;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((deathScreenSprite)) + 0x2c)))))))->ANM2::Load(&anm2Path,1);
|
||||
ANM2::Load(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((deathScreenSprite)) + 0x2c)))),&anm2Path,1);
|
||||
local_14 = 0xffffffff;
|
||||
if (0xf < anm2Path._capacity) {
|
||||
uVar4 = anm2Path._capacity + 1;
|
||||
@@ -1878,7 +1878,7 @@ void PauseScreen::Init()
|
||||
anm2Path._capacity = 0x1f;
|
||||
builtin_strncpy((*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(GHIDRA_CAST<char *>(anm2Path._buf))) + 0x0))),"gfx/ui/PauseScreen_small.anm2",0x1e);
|
||||
local_14 = 1;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((deathScreenSprite)) + 0x140)))))))->ANM2::Load(&anm2Path,1);
|
||||
ANM2::Load(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((deathScreenSprite)) + 0x140)))),&anm2Path,1);
|
||||
local_14 = 0xffffffff;
|
||||
if (0xf < anm2Path._capacity) {
|
||||
uVar4 = anm2Path._capacity + 1;
|
||||
@@ -1904,7 +1904,7 @@ void PauseScreen::Init()
|
||||
anm2Path._capacity = 0x1f;
|
||||
builtin_strncpy((*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(GHIDRA_CAST<char *>(anm2Path._buf))) + 0x0))),"gfx/ui/PauseScreenStats.anm2",0x1d);
|
||||
local_14 = 2;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((deathScreenSprite)) + 0x254)))))))->ANM2::Load(&anm2Path,1);
|
||||
ANM2::Load(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((deathScreenSprite)) + 0x254)))),&anm2Path,1);
|
||||
local_14 = 0xffffffff;
|
||||
if (0xf < anm2Path._capacity) {
|
||||
uVar4 = anm2Path._capacity + 1;
|
||||
@@ -1931,7 +1931,7 @@ void PauseScreen::Init()
|
||||
anm2Path._capacity = 0x1f;
|
||||
builtin_strncpy((*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(GHIDRA_CAST<char *>(anm2Path._buf))) + 0x0))),"gfx/ui/Death Screen.anm2",0x19);
|
||||
local_14 = 3;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(deathScreenSprite))))->ANM2::Load(&anm2Path,1);
|
||||
ANM2::Load(GHIDRA_CAST<ANM2 *>(deathScreenSprite),&anm2Path,1);
|
||||
local_14 = 0xffffffff;
|
||||
if (0xf < anm2Path._capacity) {
|
||||
uVar4 = anm2Path._capacity + 1;
|
||||
@@ -1972,19 +1972,19 @@ LAB_009b5bd0:
|
||||
LAB_009b5bd5:
|
||||
if ((uVar4 == 0) && ((pbVar5[0x34] == 0 || ((*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((deathScreenSprite)) + 0x3ac))) != '\0')))) goto LAB_009b5c01;
|
||||
}
|
||||
bVar2 = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(deathScreenSprite))))->ANM2::SetAnimation(GHIDRA_CAST<uint8_t *>("Diary"),1);
|
||||
bVar2 = ANM2::SetAnimation(GHIDRA_CAST<ANM2 *>(deathScreenSprite),GHIDRA_CAST<uint8_t *>("Diary"),1);
|
||||
if (bVar2 != 0) {
|
||||
(GHIDRA_CAST<AnimationState *>((GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((deathScreenSprite)) + 0x398)))))))->AnimationState::Rewind();
|
||||
AnimationState::Rewind(GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((deathScreenSprite)) + 0x398)))));
|
||||
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((deathScreenSprite)) + 0x3ac))) = 1;
|
||||
}
|
||||
LAB_009b5c01:
|
||||
pbVar5 = GHIDRA_CAST<uint8_t *>(0x0);
|
||||
do {
|
||||
layer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(deathScreenSprite))))->ANM2::GetLayer(pbVar5);
|
||||
layer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(deathScreenSprite),pbVar5);
|
||||
pbVar5 = pbVar5 + 1;
|
||||
layer->_visible = 0;
|
||||
} while (GHIDRA_INT(pbVar5) < 7);
|
||||
layer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(deathScreenSprite))))->ANM2::GetLayer(&DAT_00000006);
|
||||
layer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(deathScreenSprite),&DAT_00000006);
|
||||
layer->_visible = 1;
|
||||
other = Manager::LoadImage(myStuffImage,GHIDRA_CAST<uint8_t *>("gfx/ui/menu_mystuff.png"));
|
||||
pPVar1 = pauseScreen;
|
||||
@@ -2345,7 +2345,7 @@ LAB_009b6311:
|
||||
iVar3 = (GHIDRA_CAST<InputManager *>((&g_manager->_netplayManager)))->InputManager::FirstLocalDeviceID();
|
||||
}
|
||||
local_21 = iVar3 == 0;
|
||||
backKeyLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xb3c)))))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("BackKey"));
|
||||
backKeyLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0xb3c)))),GHIDRA_CAST<uint8_t *>("BackKey"));
|
||||
backKeyLayer->_visible = local_21;
|
||||
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x848))) = 1;
|
||||
local_60 = CONCAT44((*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(local_60)) + 0x4))),(uint32_t)local_60);
|
||||
@@ -2485,8 +2485,8 @@ void PauseScreen::Render()
|
||||
if (iVar2 != 1) {
|
||||
spriteOffset = 0x2c;
|
||||
}
|
||||
local_18.x = (float)(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(((this->_genericPrompt)._sprite._filename._buf +
|
||||
spriteOffset + -0x47c)))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("Menu Title"));
|
||||
local_18.x = (float)ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(((this->_genericPrompt)._sprite._filename._buf +
|
||||
spriteOffset + -0x47c)),GHIDRA_CAST<uint8_t *>("Menu Title"));
|
||||
if (GHIDRA_CAST<LayerState *>(local_18.x) != GHIDRA_CAST<LayerState *>(0x0)) {
|
||||
if ((g_manager->_netplayManager == *GHIDRA_CAST<int *>((g_manager + 1))) ||
|
||||
((game->_dailyChallenge)._id != 0)) {
|
||||
@@ -2502,8 +2502,8 @@ void PauseScreen::Render()
|
||||
if (iVar2 != 1) {
|
||||
spriteOffset = 0x2c;
|
||||
}
|
||||
layer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(((this->_genericPrompt)._sprite._filename._buf +
|
||||
spriteOffset + -0x47c)))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("SeedPaper"));
|
||||
layer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(((this->_genericPrompt)._sprite._filename._buf +
|
||||
spriteOffset + -0x47c)),GHIDRA_CAST<uint8_t *>("SeedPaper"));
|
||||
if (layer != GHIDRA_CAST<LayerState *>(0x0)) {
|
||||
layer->_visible = (game->_dailyChallenge)._id == 0;
|
||||
iVar2 = this->_menuType;
|
||||
@@ -2521,7 +2521,8 @@ void PauseScreen::Render()
|
||||
if (iVar2 != 1) {
|
||||
spriteOffset = 0x2c;
|
||||
}
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(((this->_genericPrompt)._sprite._filename._buf + spriteOffset + -0x47c)))))->ANM2::Render(&renderPos,&g_vectorZero,&g_vectorZero);
|
||||
ANM2::Render(GHIDRA_CAST<ANM2 *>(((this->_genericPrompt)._sprite._filename._buf + spriteOffset + -0x47c)),
|
||||
&renderPos,&g_vectorZero,&g_vectorZero);
|
||||
render_lobby_buttons(this,&renderPos);
|
||||
iVar2 = 0x170;
|
||||
if (this->_menuType != 1) {
|
||||
@@ -2535,16 +2536,16 @@ void PauseScreen::Render()
|
||||
layerName = GHIDRA_CAST<uint8_t *>(0x0);
|
||||
if (*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x2d4)))) != 0) {
|
||||
do {
|
||||
targetLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x254)))))))->ANM2::GetLayer(layerName);
|
||||
targetLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x254)))),layerName);
|
||||
(targetLayer->_pos).x = *GHIDRA_CAST<float *>(((layer->_spriteSheetPath)._buf + 8));
|
||||
(targetLayer->_pos).y = *GHIDRA_CAST<float *>(((layer->_spriteSheetPath)._buf + 0xc));
|
||||
targetLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x254)))))))->ANM2::GetLayer(layerName);
|
||||
targetLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x254)))),layerName);
|
||||
layerName = layerName + 1;
|
||||
(targetLayer->_size).x = (float)(layer->_spriteSheetPath)._size;
|
||||
(targetLayer->_size).y = (float)(layer->_spriteSheetPath)._capacity;
|
||||
} while (layerName < *GHIDRA_CAST<uint8_t **>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x2d4)))));
|
||||
}
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x254)))))))->ANM2::Render(&renderPos,&g_vectorZero,&g_vectorZero);
|
||||
ANM2::Render(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x254)))),&renderPos,&g_vectorZero,&g_vectorZero);
|
||||
}
|
||||
iVar2 = 0x170;
|
||||
render_seed_paper(this,&renderPos);
|
||||
@@ -2657,9 +2658,9 @@ LAB_009b7713:
|
||||
iVar3 = 0x2c;
|
||||
}
|
||||
menuSprite = GHIDRA_CAST<ANM2 *>(((this->_genericPrompt)._sprite._filename._buf + iVar3 + -0x47c));
|
||||
bVar1 = (GHIDRA_CAST<ANM2 *>((menuSprite)))->ANM2::SetAnimation(GHIDRA_CAST<uint8_t *>("Appear"),1);
|
||||
bVar1 = ANM2::SetAnimation(menuSprite,GHIDRA_CAST<uint8_t *>("Appear"),1);
|
||||
if (bVar1 != 0) {
|
||||
(GHIDRA_CAST<AnimationState *>((&menuSprite->_animState)))->AnimationState::Rewind();
|
||||
AnimationState::Rewind(&menuSprite->_animState);
|
||||
(menuSprite->_animState)._isPlaying = 1;
|
||||
}
|
||||
if (g_manager->_netplayManager == *GHIDRA_CAST<int *>((g_manager + 1))) {
|
||||
@@ -2734,8 +2735,8 @@ LAB_009b77c7:
|
||||
if (menuType != 1) {
|
||||
iVar3 = 0x2c;
|
||||
}
|
||||
local_10.x = (float)(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(((this->_genericPrompt)._sprite._filename._buf +
|
||||
iVar3 + -0x47c)))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("Invite"));
|
||||
local_10.x = (float)ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(((this->_genericPrompt)._sprite._filename._buf +
|
||||
iVar3 + -0x47c)),GHIDRA_CAST<uint8_t *>("Invite"));
|
||||
if (GHIDRA_CAST<LayerState *>(local_10.x) != GHIDRA_CAST<LayerState *>(0x0)) {
|
||||
(GHIDRA_CAST<LayerState *>(local_10.x))->_visible = g_manager->_netplayManager != *GHIDRA_CAST<int *>((g_manager + 1));
|
||||
menuType = this->_menuType;
|
||||
@@ -2744,8 +2745,8 @@ LAB_009b77c7:
|
||||
if (menuType != 1) {
|
||||
iVar3 = 0x2c;
|
||||
}
|
||||
local_10.x = (float)(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(((this->_genericPrompt)._sprite._filename._buf +
|
||||
iVar3 + -0x47c)))))->ANM2::GetLayer(&DAT_00b79bb0);
|
||||
local_10.x = (float)ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(((this->_genericPrompt)._sprite._filename._buf +
|
||||
iVar3 + -0x47c)),&DAT_00b79bb0);
|
||||
if (GHIDRA_CAST<LayerState *>(local_10.x) != GHIDRA_CAST<LayerState *>(0x0)) {
|
||||
if ((g_manager->_netplayManager == *GHIDRA_CAST<int *>((g_manager + 1))) ||
|
||||
(GHIDRA_UINT((*GHIDRA_CAST<int *>((g_manager + 1)) - g_manager->_netplayManager >> 2)) < 2)) {
|
||||
@@ -2760,8 +2761,8 @@ LAB_009b77c7:
|
||||
if (menuType != 1) {
|
||||
iVar2 = 0x2c;
|
||||
}
|
||||
bloodLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(((this->_genericPrompt)._sprite._filename._buf +
|
||||
iVar2 + -0x47c)))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("Blood"));
|
||||
bloodLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(((this->_genericPrompt)._sprite._filename._buf +
|
||||
iVar2 + -0x47c)),GHIDRA_CAST<uint8_t *>("Blood"));
|
||||
if (bloodLayer != GHIDRA_CAST<LayerState *>(0x0)) {
|
||||
bloodLayer->_visible = g_game->_difficulty == 1;
|
||||
}
|
||||
@@ -2813,7 +2814,7 @@ void PauseScreen::load_graphics()
|
||||
anm2Path._capacity = 0x1f;
|
||||
builtin_strncpy((*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(GHIDRA_CAST<char *>(anm2Path._buf))) + 0x0))),"gfx/ui/PauseScreen.anm2",0x18);
|
||||
local_14 = 0;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>((in_ECX + 0x2c)))))->ANM2::Load(&anm2Path,1);
|
||||
ANM2::Load(GHIDRA_CAST<ANM2 *>((in_ECX + 0x2c)),&anm2Path,1);
|
||||
local_14 = 0xffffffff;
|
||||
if (0xf < anm2Path._capacity) {
|
||||
uVar3 = anm2Path._capacity + 1;
|
||||
@@ -2839,7 +2840,7 @@ void PauseScreen::load_graphics()
|
||||
anm2Path._capacity = 0x1f;
|
||||
builtin_strncpy((*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(GHIDRA_CAST<char *>(anm2Path._buf))) + 0x0))),"gfx/ui/PauseScreen_small.anm2",0x1e);
|
||||
local_14 = 1;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>((in_ECX + 0x140)))))->ANM2::Load(&anm2Path,1);
|
||||
ANM2::Load(GHIDRA_CAST<ANM2 *>((in_ECX + 0x140)),&anm2Path,1);
|
||||
local_14 = 0xffffffff;
|
||||
if (0xf < anm2Path._capacity) {
|
||||
uVar3 = anm2Path._capacity + 1;
|
||||
@@ -2865,7 +2866,7 @@ void PauseScreen::load_graphics()
|
||||
anm2Path._capacity = 0x1f;
|
||||
builtin_strncpy((*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(GHIDRA_CAST<char *>(anm2Path._buf))) + 0x0))),"gfx/ui/PauseScreenStats.anm2",0x1d);
|
||||
local_14 = 2;
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>((in_ECX + 0x254)))))->ANM2::Load(&anm2Path,1);
|
||||
ANM2::Load(GHIDRA_CAST<ANM2 *>((in_ECX + 0x254)),&anm2Path,1);
|
||||
local_14 = 0xffffffff;
|
||||
if (0xf < anm2Path._capacity) {
|
||||
uVar3 = anm2Path._capacity + 1;
|
||||
@@ -2893,7 +2894,7 @@ void PauseScreen::load_graphics()
|
||||
anm2Path._capacity = 0x1f;
|
||||
builtin_strncpy((*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(GHIDRA_CAST<char *>(anm2Path._buf))) + 0x0))),"gfx/ui/Death Screen.anm2",0x19);
|
||||
local_14 = 3;
|
||||
(GHIDRA_CAST<ANM2 *>((diarySprite)))->ANM2::Load(&anm2Path,1);
|
||||
ANM2::Load(diarySprite,&anm2Path,1);
|
||||
local_14 = 0xffffffff;
|
||||
if (0xf < anm2Path._capacity) {
|
||||
uVar3 = anm2Path._capacity + 1;
|
||||
@@ -2911,9 +2912,9 @@ void PauseScreen::load_graphics()
|
||||
curAnimName = *GHIDRA_CAST<uint8_t **>((in_ECX + 0x39c));
|
||||
if (curAnimName == GHIDRA_CAST<uint8_t *>(0x0)) {
|
||||
LAB_009b7d75:
|
||||
bVar1 = (GHIDRA_CAST<ANM2 *>((diarySprite)))->ANM2::SetAnimation(GHIDRA_CAST<uint8_t *>("Diary"),1);
|
||||
bVar1 = ANM2::SetAnimation(diarySprite,GHIDRA_CAST<uint8_t *>("Diary"),1);
|
||||
if (bVar1 != 0) {
|
||||
(GHIDRA_CAST<AnimationState *>((GHIDRA_CAST<AnimationState *>((in_ECX + 0x398)))))->AnimationState::Rewind();
|
||||
AnimationState::Rewind(GHIDRA_CAST<AnimationState *>((in_ECX + 0x398)));
|
||||
*GHIDRA_CAST<uint8_t *>((in_ECX + 0x3ac)) = 1;
|
||||
}
|
||||
}
|
||||
@@ -2945,11 +2946,11 @@ LAB_009b7d67:
|
||||
}
|
||||
curAnimName = GHIDRA_CAST<uint8_t *>(0x0);
|
||||
do {
|
||||
layer = (GHIDRA_CAST<ANM2 *>((diarySprite)))->ANM2::GetLayer(curAnimName);
|
||||
layer = ANM2::GetLayer(diarySprite,curAnimName);
|
||||
curAnimName = curAnimName + 1;
|
||||
layer->_visible = 0;
|
||||
} while (GHIDRA_INT(curAnimName) < 7);
|
||||
layer = (GHIDRA_CAST<ANM2 *>((diarySprite)))->ANM2::GetLayer(&DAT_00000006);
|
||||
layer = ANM2::GetLayer(diarySprite,&DAT_00000006);
|
||||
layer->_visible = 1;
|
||||
image = Manager::LoadImage(loadedImage,GHIDRA_CAST<uint8_t *>("gfx/ui/menu_mystuff.png"));
|
||||
temp_3f06a66df3 = savedThis;
|
||||
@@ -2976,7 +2977,7 @@ LAB_009b7d67:
|
||||
deathScreenPath._capacity = 0x1f;
|
||||
builtin_strncpy((*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(GHIDRA_CAST<char *>(deathScreenPath._buf))) + 0x0))),"gfx/ui/Death Screen.anm2",0x19);
|
||||
local_14 = 6;
|
||||
(GHIDRA_CAST<ANM2 *>((diarySprite)))->ANM2::Load(&deathScreenPath,1);
|
||||
ANM2::Load(diarySprite,&deathScreenPath,1);
|
||||
local_14 = 0xffffffff;
|
||||
if (0xf < deathScreenPath._capacity) {
|
||||
uVar3 = deathScreenPath._capacity + 1;
|
||||
@@ -3021,21 +3022,21 @@ LAB_009b7f08:
|
||||
if ((uVar3 == 0) && ((curAnimName[0x34] == 0 || (*GHIDRA_CAST<char *>((temp_3f06a66df3 + 0xc94)) != '\0'))))
|
||||
goto LAB_009b7f34;
|
||||
}
|
||||
bVar1 = (GHIDRA_CAST<ANM2 *>((diarySprite)))->ANM2::SetAnimation(GHIDRA_CAST<uint8_t *>("Diary"),1);
|
||||
bVar1 = ANM2::SetAnimation(diarySprite,GHIDRA_CAST<uint8_t *>("Diary"),1);
|
||||
if (bVar1 != 0) {
|
||||
(GHIDRA_CAST<AnimationState *>((GHIDRA_CAST<AnimationState *>((temp_3f06a66df3 + 0xc80)))))->AnimationState::Rewind();
|
||||
AnimationState::Rewind(GHIDRA_CAST<AnimationState *>((temp_3f06a66df3 + 0xc80)));
|
||||
*GHIDRA_CAST<uint8_t *>((temp_3f06a66df3 + 0xc94)) = 1;
|
||||
}
|
||||
LAB_009b7f34:
|
||||
curAnimName = GHIDRA_CAST<uint8_t *>(0x0);
|
||||
if (*GHIDRA_CAST<int *>((savedThis + 0xcd0)) != 0) {
|
||||
do {
|
||||
layer = (GHIDRA_CAST<ANM2 *>((diarySprite)))->ANM2::GetLayer(curAnimName);
|
||||
layer = ANM2::GetLayer(diarySprite,curAnimName);
|
||||
curAnimName = curAnimName + 1;
|
||||
layer->_visible = 0;
|
||||
} while (curAnimName < *GHIDRA_CAST<uint8_t **>((savedThis + 0xcd0)));
|
||||
}
|
||||
layer = (GHIDRA_CAST<ANM2 *>((diarySprite)))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("Items"));
|
||||
layer = ANM2::GetLayer(diarySprite,GHIDRA_CAST<uint8_t *>("Items"));
|
||||
layer->_visible = 1;
|
||||
ExceptionList = local_1c;
|
||||
return;
|
||||
@@ -3101,16 +3102,16 @@ LAB_009b8065:
|
||||
if (currentPlayer->_menuType != 1) {
|
||||
iVar3 = 0x2c;
|
||||
}
|
||||
arrowLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(((currentPlayer->_genericPrompt)._sprite._filename._buf +
|
||||
iVar3 + -0x47c)))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("StuffArrow1"));
|
||||
arrowLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(((currentPlayer->_genericPrompt)._sprite._filename._buf +
|
||||
iVar3 + -0x47c)),GHIDRA_CAST<uint8_t *>("StuffArrow1"));
|
||||
if (arrowLayer != GHIDRA_CAST<LayerState *>(0x0)) {
|
||||
arrowLayer->_visible = 0 < *GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((currentPlayer)) + 0x24))));
|
||||
}
|
||||
if (currentPlayer->_menuType != 1) {
|
||||
iVar2 = 0x2c;
|
||||
}
|
||||
arrowLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(((currentPlayer->_genericPrompt)._sprite._filename._buf +
|
||||
iVar2 + -0x47c)))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("StuffArrow2"));
|
||||
arrowLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(((currentPlayer->_genericPrompt)._sprite._filename._buf +
|
||||
iVar2 + -0x47c)),GHIDRA_CAST<uint8_t *>("StuffArrow2"));
|
||||
if (arrowLayer != GHIDRA_CAST<LayerState *>(0x0)) {
|
||||
arrowLayer->_visible = *GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((currentPlayer)) + 0x24)))) < maxScroll;
|
||||
return;
|
||||
@@ -3122,8 +3123,8 @@ LAB_009b8065:
|
||||
if (iVar3 != 1) {
|
||||
iVar2 = 0x2c;
|
||||
}
|
||||
arrowLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(((currentPlayer->_genericPrompt)._sprite._filename._buf +
|
||||
iVar2 + -0x47c)))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("StuffArrow1"));
|
||||
arrowLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(((currentPlayer->_genericPrompt)._sprite._filename._buf +
|
||||
iVar2 + -0x47c)),GHIDRA_CAST<uint8_t *>("StuffArrow1"));
|
||||
if (arrowLayer != GHIDRA_CAST<LayerState *>(0x0)) {
|
||||
arrowLayer->_visible = 0;
|
||||
iVar3 = currentPlayer->_menuType;
|
||||
@@ -3131,8 +3132,8 @@ LAB_009b8065:
|
||||
if (iVar3 != 1) {
|
||||
arrowSpriteOffset = 0x2c;
|
||||
}
|
||||
arrowLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(((currentPlayer->_genericPrompt)._sprite._filename._buf +
|
||||
arrowSpriteOffset + -0x47c)))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("StuffArrow2"));
|
||||
arrowLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(((currentPlayer->_genericPrompt)._sprite._filename._buf +
|
||||
arrowSpriteOffset + -0x47c)),GHIDRA_CAST<uint8_t *>("StuffArrow2"));
|
||||
if (arrowLayer != GHIDRA_CAST<LayerState *>(0x0)) {
|
||||
arrowLayer->_visible = 0;
|
||||
}
|
||||
@@ -3185,7 +3186,8 @@ void PauseScreen::render_seed_paper(Vector *renderOffset)
|
||||
iVar2 = 0x2c;
|
||||
}
|
||||
seedPaperLayer =
|
||||
(GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(((this->_genericPrompt)._sprite._filename._buf + iVar2 + -0x47c)))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("SeedPaper"));
|
||||
ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(((this->_genericPrompt)._sprite._filename._buf + iVar2 + -0x47c)),
|
||||
GHIDRA_CAST<uint8_t *>("SeedPaper"));
|
||||
if (seedPaperLayer != GHIDRA_CAST<LayerState *>(0x0)) {
|
||||
if ((g_game->_dailyChallenge)._id == 0) {
|
||||
seedPaperLayer->_visible = 1;
|
||||
@@ -3238,10 +3240,10 @@ void PauseScreen::render_seed_paper(Vector *renderOffset)
|
||||
}
|
||||
memcpy(halfText,psVar1,*psVar3);
|
||||
manager = g_manager;
|
||||
(GHIDRA_CAST<FontSettings *>((firstHalfSettings)))->FontSettings::constructor();
|
||||
FontSettings::constructor(firstHalfSettings);
|
||||
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_14)) + 0x0))) = 1;
|
||||
(GHIDRA_CAST<KColor *>((&textColor)))->KColor::SetFromARGB(0xff362f2d);
|
||||
(GHIDRA_CAST<Font *>((&manager->_font2_TeamMeatEx12)))->Font::DrawStringScaled(halfText,&firstLinePos,color,settings);
|
||||
Font::DrawStringScaled(&manager->_font2_TeamMeatEx12,halfText,&firstLinePos,color,settings);
|
||||
local_50 = 4;
|
||||
local_54 = seedStringSize - 4;
|
||||
local_80 = 0;
|
||||
@@ -3272,7 +3274,7 @@ void PauseScreen::render_seed_paper(Vector *renderOffset)
|
||||
halfText[0xf] = 0;
|
||||
memcpy(halfText,psVar1->_buf + 5,*psVar3);
|
||||
manager = g_manager;
|
||||
(GHIDRA_CAST<FontSettings *>((secondHalfSettings)))->FontSettings::constructor();
|
||||
FontSettings::constructor(secondHalfSettings);
|
||||
local_14 = CONCAT31((*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_14)) + 0x1))),2);
|
||||
(GHIDRA_CAST<KColor *>((&textColor)))->KColor::SetFromARGB(0xff362f2d);
|
||||
Font::DrawStringScaled
|
||||
@@ -3343,7 +3345,7 @@ void PauseScreen::render_my_stuff(Vector *pos)
|
||||
iVar2 = 0x2c;
|
||||
}
|
||||
local_5c = GHIDRA_CAST<Sprite *>(((this->_genericPrompt)._sprite._filename._buf + iVar2 + -0x47c));
|
||||
local_4c = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(local_5c))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("MyStuff"));
|
||||
local_4c = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(local_5c),GHIDRA_CAST<uint8_t *>("MyStuff"));
|
||||
if (local_4c != GHIDRA_CAST<LayerState *>(0x0)) {
|
||||
if (local_4c->_layerData == GHIDRA_CAST<int *>(0x0)) {
|
||||
iVar2 = -1;
|
||||
@@ -3357,8 +3359,8 @@ void PauseScreen::render_my_stuff(Vector *pos)
|
||||
if (iVar2 != 1) {
|
||||
iVar3 = 0x2c;
|
||||
}
|
||||
local_48 = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(((this->_genericPrompt)._sprite._filename._buf +
|
||||
iVar3 + -0x47c)))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("StuffArrow1"));
|
||||
local_48 = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(((this->_genericPrompt)._sprite._filename._buf +
|
||||
iVar3 + -0x47c)),GHIDRA_CAST<uint8_t *>("StuffArrow1"));
|
||||
if (local_48 != GHIDRA_CAST<LayerState *>(0x0)) {
|
||||
menuSprite = GHIDRA_CAST<Sprite *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x2c))));
|
||||
if (iVar2 == 1) {
|
||||
@@ -3377,7 +3379,7 @@ void PauseScreen::render_my_stuff(Vector *pos)
|
||||
if (iVar2 == 1) {
|
||||
pAVar8 = GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x140))));
|
||||
}
|
||||
pLVar4 = (GHIDRA_CAST<ANM2 *>((pAVar8)))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("StuffArrow2"));
|
||||
pLVar4 = ANM2::GetLayer(pAVar8,GHIDRA_CAST<uint8_t *>("StuffArrow2"));
|
||||
if (pLVar4 != GHIDRA_CAST<LayerState *>(0x0)) {
|
||||
menuSprite = GHIDRA_CAST<Sprite *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x2c))));
|
||||
if (iVar2 == 1) {
|
||||
@@ -3402,7 +3404,7 @@ void PauseScreen::render_my_stuff(Vector *pos)
|
||||
else {
|
||||
iVar2 = *GHIDRA_CAST<int *>(local_4c->_layerData);
|
||||
}
|
||||
pvVar5 = (GHIDRA_CAST<AnimationState *>((GHIDRA_CAST<AnimationState *>((puVar9 + 0x30)))))->AnimationState::GetLayerFrame(iVar2);
|
||||
pvVar5 = AnimationState::GetLayerFrame(GHIDRA_CAST<AnimationState *>((puVar9 + 0x30)),iVar2);
|
||||
if (pvVar5 != (void *)0x0) {
|
||||
local_58 = GHIDRA_CAST<uint8_t *>((local_44->x + *GHIDRA_CAST<float *>((GHIDRA_CAST<char *>(pvVar5) + 0x10))));
|
||||
local_5c = GHIDRA_CAST<Sprite *>((local_44->y + *GHIDRA_CAST<float *>((GHIDRA_CAST<char *>(pvVar5) + 0x14))));
|
||||
@@ -3420,14 +3422,14 @@ void PauseScreen::render_my_stuff(Vector *pos)
|
||||
else {
|
||||
iVar2 = *GHIDRA_CAST<int *>(local_48->_layerData);
|
||||
}
|
||||
pvVar5 = (GHIDRA_CAST<AnimationState *>((GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x398)))))))->AnimationState::GetLayerFrame(iVar2);
|
||||
pvVar5 = AnimationState::GetLayerFrame(GHIDRA_CAST<AnimationState *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x398)))),iVar2);
|
||||
if (pvVar5 != (void *)0x0) {
|
||||
local_4c = *GHIDRA_CAST<LayerState **>((GHIDRA_CAST<char *>(pvVar5) + 0x10));
|
||||
local_48 = *GHIDRA_CAST<LayerState **>((GHIDRA_CAST<char *>(pvVar5) + 0x14));
|
||||
pLVar4 = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x368)))))))->ANM2::GetLayer(&DAT_00000006);
|
||||
pLVar4 = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x368)))),&DAT_00000006);
|
||||
(pLVar4->_pos).x = -(float)local_4c;
|
||||
(pLVar4->_pos).y = -(float)local_48;
|
||||
pLVar4 = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x368)))))))->ANM2::GetLayer(&DAT_00000006);
|
||||
pLVar4 = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x368)))),&DAT_00000006);
|
||||
(pLVar4->_size).x = scaleX;
|
||||
(pLVar4->_size).y = scaleY;
|
||||
}
|
||||
@@ -3694,7 +3696,7 @@ LAB_009b8afd:
|
||||
in_stack_ffffff74 = 0x9b8ba1;
|
||||
pos_00.y = in_stack_ffffff80;
|
||||
pos_00.x = in_stack_ffffff7c;
|
||||
(GHIDRA_CAST<Font *>((&manager->_font1_TeamMeatEx10)))->Font::DrawString(GHIDRA_CAST<uint8_t *>(&DAT_00b1bddc),pos_00,
|
||||
Font::DrawString(&manager->_font1_TeamMeatEx10,GHIDRA_CAST<uint8_t *>(&DAT_00b1bddc),pos_00,
|
||||
(Vector)0x3f19999a3f19999a,color_00,GHIDRA_CAST<FontSettings *>(&fontSettings));
|
||||
local_14 = 0xffffffff;
|
||||
}
|
||||
@@ -3705,8 +3707,8 @@ LAB_009b8afd:
|
||||
if (this->_menuType != 1) {
|
||||
iVar3 = 0x2c;
|
||||
}
|
||||
buttonLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(((this->_genericPrompt)._sprite._filename._buf +
|
||||
iVar3 + -0x47c)))))->ANM2::GetLayer(GHIDRA_CAST<uint8_t *>("Invite"));
|
||||
buttonLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(((this->_genericPrompt)._sprite._filename._buf +
|
||||
iVar3 + -0x47c)),GHIDRA_CAST<uint8_t *>("Invite"));
|
||||
iVar3 = 0x170;
|
||||
if (buttonLayer->_visible != 0) {
|
||||
iVar2 = 0x174;
|
||||
@@ -3751,8 +3753,8 @@ LAB_009b8afd:
|
||||
if (this->_menuType != 1) {
|
||||
iVar2 = 0x2c;
|
||||
}
|
||||
buttonLayer = (GHIDRA_CAST<ANM2 *>((GHIDRA_CAST<ANM2 *>(((this->_genericPrompt)._sprite._filename._buf +
|
||||
iVar2 + -0x47c)))))->ANM2::GetLayer(&DAT_00b79bb0);
|
||||
buttonLayer = ANM2::GetLayer(GHIDRA_CAST<ANM2 *>(((this->_genericPrompt)._sprite._filename._buf +
|
||||
iVar2 + -0x47c)),&DAT_00b79bb0);
|
||||
if (buttonLayer->_visible != 0) {
|
||||
iVar2 = 0x174;
|
||||
if (this->_menuType != 1) {
|
||||
|
||||
Reference in new issue
Block a user